Gimp-Forum.net
sterograph - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: sterograph (/Thread-sterograph)



sterograph - denzjos - 05-05-2021

Anyone can help me to find this plugin for gimp 2.10.24 : http://sites.inka.de/sites/bunsen/alex/english/gimp/magic.99.html
Thanks in advance.
PS: I know there is such a thing in Qt-Gmic, but that's not satisfying.


RE: sterograph - trandoductin - 05-25-2021

I don't know if it exists or not...but I thought it would be fun trying to translate it from original C-source to Python Plug-in.
Here it is: https://gimplearn.net/viewtopic.php?f=3&t=2974&p=36502#p36502

I was able to verify that the Cross-Eye version works (and because of my inability to see Stereo-graphs images, other than seeing that it looks like a cutout instead of bumped when using cross-eye technique, I was only able to verify that it looks cutout like other stereo-graphs that I see)...


RE: sterograph - denzjos - 05-28-2021

@trandoductin, thanks for the link. The plugin magic-eye work on gimp 2.10.24 windows 10 but need some experience to get a good result (and it is very slow)


RE: sterograph - trandoductin - 05-28-2021

Sorry I don't know how to speed it up as it's already using fast pixel access.


RE: sterograph - trandoductin - 05-28-2021

Please try version 3. Major Speed enhancement.
I put as much calculation as possible outside of the inner loop to reduce repeated calculations. I was surprised at how much faster it is

What took about:
95 seconds(in v2) versus 2 seconds (in v3)


RE: sterograph - trandoductin - 05-29-2021

(05-28-2021, 11:48 PM)trandoductin Wrote: Please try version 3. Major Speed enhancement.
I put as much calculation as possible outside of the inner loop to reduce repeated calculations. I was surprised at how much faster it is

What took about:
95 seconds(in v2) versus 2 seconds (in v3)

Version 4 removes all multiplication and divisions from loop
so
~95 (in v2) is now about ~1 second (in v4)...
Ok I don't think I can milk any speed out of this.