Today I discovered a free plugin that does Fourier Transforms, offered free of charge at a site specializing in forensic software. This is a Windows plugin, and will work in both Photoshop and Photoshop Elements, as well as any other program supporting Photoshop plugins.
There are a number of interesting things you can do with this plugin, but one of the coolest is the removal of halftone dots and paper patterns from your images. If you have not used Fourier transforms this way before, believe me this is light years away from simply blurring the image to get rid of the dots.
The plugin and documentation, including an example of removing halftone dots from a thumbprint image are here:
http://home.planet.nl/~ber03728/4N6site/improc/fftplugin/howto.htm
http://www.3d4x.ch/Swift's-Reality/FFT-Photoshop-plugin-by-Alex-Chirokov/16,35 (more recent link to same or similar plugin)
I will be providing my own example shortly, but I suggest that you download their thumbprint image, and walk through their example carefully. You will be rewarded with a technique that will be worth its weight in gold, next time you encounter a valuable image that is available only via a newspaper or magazine print, or a family portrait that is printed on textured paper.
A couple of hints about the demo. When the diagonal banding is removed, note that this is done by removing the relatively subtle diagonal lines near the very center of the FFT pattern. Removal of the halftone dots may be done by simply blacking out the center of each star-shaped pattern, rather than by usinig the clone tool as discussed in the howto.
Mike
Fourier Transform Plug-in - get rid of "newsprint dots"
-
- Posts: 4927
- Joined: Fri Sep 20, 2013 8:29 pm
-
- Posts: 4927
- Joined: Fri Sep 20, 2013 8:29 pm
Here is a halftoned image that I've cleaned up using the FFT plugin discussed at the beginning of this thread. The process is as follows:
1) run the FFT plugin as discussed in the first article of this thread.
2) select the red channel in the channel palette
3) paint out all of the "stars", except the very center one.
4) select RGB in the channels palette, and run the inverse FFT plugin
5) no dots!
This is the only method of removing the dots that actually appears to reveal additional information in the image, instead of merely degrading it. Although this is a black and white image, the same procedure works with color images with the following modification: Duplicate the image to a new layer, and when you are done, set the mode of your "descreened" layer to luminosity to restore your color image.
Elements does not directly support editing individual channels. See the next article in this thread for how to modify only the red channel using Elements.
Mike
1) run the FFT plugin as discussed in the first article of this thread.
2) select the red channel in the channel palette
3) paint out all of the "stars", except the very center one.
4) select RGB in the channels palette, and run the inverse FFT plugin
5) no dots!
This is the only method of removing the dots that actually appears to reveal additional information in the image, instead of merely degrading it. Although this is a black and white image, the same procedure works with color images with the following modification: Duplicate the image to a new layer, and when you are done, set the mode of your "descreened" layer to luminosity to restore your color image.
Elements does not directly support editing individual channels. See the next article in this thread for how to modify only the red channel using Elements.
Mike
Here's a way to use the FFT plugiin with Elements. This procedure uses a Levels adjustment layer to hide the green and blue channels, and a cyan multiply brush to erase only the red channel.
- dupe the image
- add a levels adjustment layer to the duplicate, and set the output levels to zero for the green and blue channels. The image will appear red.
- click on the background layer, and run FFT on the new image. You'll see the characteristic star pattern in the red channel.
- set the foreground color to cyan RGB(0,255,255)
- set the brush mode to multiply
- use the brush to black out the stars other than the center star
- run inverse FFT
- drag the modified image from the layer palette onto your original image
- set the mode of the new layer to Luminance
- run gaussian blur on your original image, with the radius set to about 2.0.
-
- Posts: 4927
- Joined: Fri Sep 20, 2013 8:29 pm
Here's a way to use the FFT plug-in with Photoshop Elements ( X.0)
Readers,
for me I wrote earlier, that I could not use the FFT plug-in in Photoshop elements 4.0 ( P.S.E. 4.0)
That is right.
Perhaps my P.S.E 4.0 is a dutch version ?
I don't know.
But on the site :
http://home.planet.nl/~ber03728/4N6site/improc/fftplugin/howto.htm
there is spoken it could be used with P.S.E ( X.0)
But Mike Russell has developed a way how to use it also in P.S.E ( X.0)
But I have e-mailed with him several times about the subject.
The end result was that I could use it on his way.
But the result was not satisfied.
So I thanked Mike for his Support and did something else.
Suddenly I get a idea and it was a simple idea.
I have Hidden powers from Lynch ( that's special for P.S.E X.0) and I had tried in the past several ways to a solution to try FFT.
But I tried the new idea and indeed, It succeeded.
It was also a little inspired By Mike's way to contribute to the solution.
So when you have Hidden powers from Lynch the solution to use FFT and IFFT is simple.
Yes all is simple, when you know it.
First get the demo1.jpg ( the thumb) om this page:
http://home.planet.nl/~ber03728/4N6site/improc/fftplugin/images/demo1.jpg
and load it in P.S.E ( X.0)
you see a small source or background in picture "00"
USE the FFT plug-in!
You get then what you see in picture "01"
You see the changed thumb and thumb source and a part of the effects from Hidden Powers.
You must double click on the Red one the RGB Sep(aration)
The result of the separation can you see in picture "02"
Then you must close all the eyes , except from the red-component.
See picture "03"
Make the foreground color in P.S.E ( X.0) to cyan RGB(0,255,255-picture "04") in multiply mode
set the brush mode to multiply
( that I have learned from Mike: I have tried black and others ways but it must be so)
Make the RED-Component the active layer.
Then strike over the stars on the way you see in the picture, with a brush in Cyan color.
use the brush to black out the stars other than the center star.
See picture "05".
After that set all eyes "ON"
You get picture "06".
After that you make "ONE" layer of them.
then comes the end: Click on IFFT and you have a nice thumb.
Frits
the picture are less nice by the big compressios that I must use.
Readers,
for me I wrote earlier, that I could not use the FFT plug-in in Photoshop elements 4.0 ( P.S.E. 4.0)
That is right.
Perhaps my P.S.E 4.0 is a dutch version ?
I don't know.
But on the site :
http://home.planet.nl/~ber03728/4N6site/improc/fftplugin/howto.htm
there is spoken it could be used with P.S.E ( X.0)
But Mike Russell has developed a way how to use it also in P.S.E ( X.0)
But I have e-mailed with him several times about the subject.
The end result was that I could use it on his way.
But the result was not satisfied.
So I thanked Mike for his Support and did something else.
Suddenly I get a idea and it was a simple idea.
I have Hidden powers from Lynch ( that's special for P.S.E X.0) and I had tried in the past several ways to a solution to try FFT.
But I tried the new idea and indeed, It succeeded.
It was also a little inspired By Mike's way to contribute to the solution.
So when you have Hidden powers from Lynch the solution to use FFT and IFFT is simple.
Yes all is simple, when you know it.
First get the demo1.jpg ( the thumb) om this page:
http://home.planet.nl/~ber03728/4N6site/improc/fftplugin/images/demo1.jpg
and load it in P.S.E ( X.0)
you see a small source or background in picture "00"
USE the FFT plug-in!
You get then what you see in picture "01"
You see the changed thumb and thumb source and a part of the effects from Hidden Powers.
You must double click on the Red one the RGB Sep(aration)
The result of the separation can you see in picture "02"
Then you must close all the eyes , except from the red-component.
See picture "03"
Make the foreground color in P.S.E ( X.0) to cyan RGB(0,255,255-picture "04") in multiply mode
set the brush mode to multiply
( that I have learned from Mike: I have tried black and others ways but it must be so)
Make the RED-Component the active layer.
Then strike over the stars on the way you see in the picture, with a brush in Cyan color.
use the brush to black out the stars other than the center star.
See picture "05".
After that set all eyes "ON"
You get picture "06".
After that you make "ONE" layer of them.
then comes the end: Click on IFFT and you have a nice thumb.
Frits
the picture are less nice by the big compressios that I must use.
-
- Posts: 4927
- Joined: Fri Sep 20, 2013 8:29 pm
Here's another example, this time using FFT to remove texture from a scanned print.
These are the before and after images, and the modified red channel.
Notice that the edges of the image retain the textured pattern. To avoid this problem you may want to scan the white margins of the print that also contain the texture, and crop the edges after the FFT procedure. Otherwise use the clone tool to remove any remaining texture from the image.
These are the before and after images, and the modified red channel.
Notice that the edges of the image retain the textured pattern. To avoid this problem you may want to scan the white margins of the print that also contain the texture, and crop the edges after the FFT procedure. Otherwise use the clone tool to remove any remaining texture from the image.
-
- Posts: 4927
- Joined: Fri Sep 20, 2013 8:29 pm
Who is online
Users browsing this forum: No registered users and 4 guests