RetouchPRO

RetouchPRO (http://www.retouchpro.com/forums/)
-   Software (http://www.retouchpro.com/forums/software/)
-   -   Here is FFT for 64 bit photoshop (http://www.retouchpro.com/forums/software/33084-here-fft-64-bit-photoshop.html)

Cadencia 04-25-2011 03:16 AM

Here is FFT for 64 bit photoshop
 
I have modified Alex Chirikov's FFT routines to run in 64 bit Photoshop, and process 16 bit images. The software may be downloaded from:
http://www.rognemedia.no/diverse/FFT.zip

I make no promises, but would appreciate feedback.

You can process either 8 or 16 bit images in either 32 bit or 64 bit photoshop.

There are no image processing enhancements except as noted above. However, the buffer usage has been improved, and there is no limit on image size other than the available RAM in your PC. Note - not Mac. If someone will lend me a Mac with Photoshop installed, I'll make it go, but I don't have such a thing myself.

The Chirokov code was available in the public domain with no specific license attached. However, it makes use of the fftw library, which is published under the GNU license, which inter alia provides that any software using it must also be published under the GNU. This means you must publish the source, and it must be free.

*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*

Doug Nelson 04-25-2011 11:41 AM

Re: Here is FFT for 64 bit photoshop
 
This is very interesting. Did Chirikov give permission to modify his code?

I've been eager to see a crossplatform FFT plugin. Perhaps you wouldn't need full access to a Mac, but could work on someone else's Mac remotely using LogMeIn Ignition or some other similar remote app?

Tony W 04-25-2011 12:38 PM

Re: Here is FFT for 64 bit photoshop
 
Hopefully the code is now in the public domain and may be freely modified?

Having to go to 32bit CS5 to use the filter has been a pain. Have downloaded and it runs as promised on Win 7 64 bit - only with a quick try so far.

Thank you for this and welcome to the forum :)

skydog 04-25-2011 05:31 PM

Re: Here is FFT for 64 bit photoshop
 
thank you...can't wait to try it.

Der_W 04-26-2011 03:26 AM

Re: Here is FFT for 64 bit photoshop
 
Great plugin, finally a 64bit compatible FFT filter :-)!

Der_W 05-24-2011 04:47 AM

Re: Here is FFT for 64 bit photoshop
 
Hi Cadencia,

hope you're still reading this thread :-)!

I've been playing a little more with the FFT filter you provided lately and found two little bugs.

The first is that converting images that have more than a total of around 130000 pixels will do a wrong transformation and the inverse transformation will be an almost white image (the red channel is completely white in this transformation).
Images with less than 1300000 pixels work just fine though :-).

Also the filter won't work with Smart Objects, it turns out that when I create a new stamp, convert it to a smart object, run the IFFT filter on it, edit the smart object, and run the FFT filter inside it, the result in the main document will be a rather dark image with lots of transparency all over the place.
This is just a minor problem, the first is way more important imo, but still it'd be nice to have the ability to work with Smart Objects.

Thanks again for your great plugin, I really appreciate it!
Keep up the good work!

Cadencia 05-24-2011 06:19 AM

Re: Here is FFT for 64 bit photoshop
 
Correct, it won't work with smart objects - they're quite complicated for a filter to cope with. Secondly, there is no artificial limit on images size, except for your RAM size. Filters run in the bit of RAM you allow Photoshop NOT to use - i.e. they are not Photoshop. You need work space of about 8 times the megapixels is bytes, but a limit of 1.3 megapixels is a bit low. Did you leave a zero off? I have processed 60 megapixel images with no problem.

Der_W 05-24-2011 08:18 AM

Re: Here is FFT for 64 bit photoshop
 
Okay, Smart Objects aren't that important anyways :-).

My RAM was set to 71% (1275MB left).
I'll try a lower setting :-).

The same when I set the available RAM lower (even if set to 3% which seems to be the lowest on my system) :-(.

I'm running Windows 7 x64 with x64 version of Photoshop btw. if that matters?

Chain 05-24-2011 09:54 AM

Re: Here is FFT for 64 bit photoshop
 
Great! Gotta download this and have a go when I get home :)

Cadencia 05-24-2011 06:04 PM

Re: Here is FFT for 64 bit photoshop
 
Well, I guess that's a limitation, then. I made no attempt to change the actual workings of the original filter, just made it run in the 64-bit environment. My system is Windows 7 x64, 12GB RAM, Photoshop CS5 64-bit. If I get the time, I may have a look at this limit to see where it clicks in. But, as I said, on my system it processes images larger than your test case, so it's obviously a moveable feast.


All times are GMT -6. The time now is 03:18 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright 2016 Doug Nelson. All Rights Reserved