No announcement yet.

Here is FFT for 64 bit photoshop

  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:

    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
    * GNU General Public License for more details.
    Last edited by Doug Nelson; 05-09-2015, 02:18 AM. Reason: added note re license.

  • #2
    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?
    Learn by teaching
    Take responsibility for learning


    • #3
      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


      • #4
        Re: Here is FFT for 64 bit photoshop

        thank you...can't wait to try it.


        • #5
          Re: Here is FFT for 64 bit photoshop

          Great plugin, finally a 64bit compatible FFT filter :-)!


          • #6
            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!


            • #7
              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.


              • #8
                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?


                • #9
                  Re: Here is FFT for 64 bit photoshop

                  Great! Gotta download this and have a go when I get home


                  • #10
                    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.


                    • #11
                      Re: Here is FFT for 64 bit photoshop

                      Okay, thanks for your support :-).

                      I'll just work with cropped lower size images then and stitch them afterwards. Not the greatest way to deal with problems, but as long as it works, I'm fine with it :-).


                      • #12
                        Re: Here is FFT for 64 bit photoshop

                        Great I had stopped using a lot of old filters/plugins to prevent having to drop out of 64bit so this helps just had a bunch of scans with paper texture and now I will try FFT (not used it for ages) rather than noise removal


                        • #13
                          Re: Here is FFT for 64 bit photoshop

                          I dropped the filters in my filter folder but I see nothing when I I go to filters in CS5. Am I putting these items in the wrong location?


                          • #14
                            Re: Here is FFT for 64 bit photoshop

                            They are plug-ins, not filters. PS should find them if they are in the search path - and you should see them listed in help->about Plugin. Other than that, I have no suggestions.


                            • #15
                              Re: Here is FFT for 64 bit photoshop

                              I put moved them into the plug in folder...but again they are not showing up when I choose filters in CS5.


                              Related Topics


                              • Joofa
                                Developing Mac Photoshop 64 bit FFT / IFFT plugins
                                by Joofa

                                I developed freely available CS3-based Mac PS FFT/IFFT plugins a few years back as outlined here:

                                Fabio Fata graciously developed a video tutorial on how to use it, available here:
                                12-29-2015, 07:32 PM
                              • stevegrain
                                Newbie (FFT for Mac user)
                                by stevegrain
                                Hi Fellow retouchers
                                I've just joined, and I want to learn how to retouch old photos of my Dads. Firstly, I can't find anywhere the download button for the FFT plugin for Photoshop! I use a macbook air. Can anyone point me in the right direction to start downloading the plugin please.
                                05-09-2015, 02:13 AM
                              • Joofa
                                FFT plugin for Mac
                                by Joofa

                                I saw some comments regarding FFT plugin for Mac Photoshop. I have been using my own Photoshop FFT plugin for some stuff. I am making that freely and publicly available. Please visit to download it.

                                At this stage it is only CS3, Mac OS 10.6.8....
                                11-26-2011, 09:06 PM
                              • Nicksfan
                                Fast Fourier
                                by Nicksfan
                                I'm trying the FFT Tutorial and it's all good until I apply the IFFT. I get these crazy blotchy patterns. Can anyone help?
                                02-06-2007, 05:46 PM
                              • kmmbkworm
                                FFT Filter for Photoshop CS4
                                by kmmbkworm
                                Have used Photoshop since Version 6 and even taught Photoshop for four years but have never heard of a FFT filter for Photoshop. Could someone please explain an FFT filter? I gather it must be purchased as a plugin. Also, I use a Mac running CS4 and need to know where I could purchase the filter for...
                                07-23-2010, 08:51 PM