RetouchPRO

Go Back   RetouchPRO > Technique > RP Tutorials
Register Blogs FAQ Members List Site Nav Search Today's Posts Mark Forums Read Chat Room


RP Tutorials Discussion for tutorials published via our automated system, and about the tutorial publishing system itself.

Reply
 
LinkBack Thread Tools
  #1  
Old 06-23-2005, 10:49 AM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,578
Post Using the FFT filter to remove photgraphic paper texture

One problem that can come up from time to time is the need to retouch a photograph that has a heavy paper texture. On such a photograph the use of the day-to-day retouching techniques can be very difficult, as the texture gets just too mixed up in with the underlying image.
[details]

This is not meant to be THE definitive tutorial on FFT. I intend to be altering this tutorial as time goes by and new ideas arise.
Comments are most welcome, and when pertinent will be incorporated into the tutorial.



Last edited by byRo; 06-23-2005 at 05:27 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 06-23-2005, 12:50 PM
Gary Richardson's Avatar
Moderator
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,718
Thanks for a well written and informative tutorial. I'm sure I'm not the only one who's not totally at home with the FFT filter, and this gives a good grounding in how to use it.

Sorry, I forgot. Yes, the pictures are showing fine.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #3  
Old 06-23-2005, 01:25 PM
Flora's Avatar
Moderator
Patron
 
Join Date: Mar 2002
Location: Milan, Italy
Posts: 2,112
Blog Entries: 3
Thanks for a great Tutorial, Rô!!!

...and YES ... all your pictures are perfectly visible in Italy as well!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #4  
Old 06-23-2005, 02:22 PM
jcr6's Avatar
Member
 
Join Date: Oct 2002
Location: Asheville, NC
Posts: 44
A couple of quick things

1) If you increase the canvas size, filling with gray, by at least 100 pixels on both dimensions before doing the FFT (and doing a new crop afterwards) you can solve the "ringing at the edges" of your image. The provides some padding and cuts in half the amplitude of the step from the top to the bottom. It would be even better to fill that in with the Average of the image, but 128 gray is sufficient.

2) I must really strongly urge using a black brush with solid black in the middle of it instead of gray and especially instead of cloning. Otherwise a small amount of the pattern will remain.

3) The radius 2-3 Gaussian Blur makes me nervous. You're potentially killing a lot of real stuff.

Now, that being said, it is a GREAT TUTORIAL. Very clear and concise and usable without scaring people.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #5  
Old 06-23-2005, 02:32 PM
Flora's Avatar
Moderator
Patron
 
Join Date: Mar 2002
Location: Milan, Italy
Posts: 2,112
Blog Entries: 3
Hi jcr6,

Quote:
Originally Posted by jcr6
1) If you increase the canvas size, filling with gray, by at least 100 pixels on both dimensions before doing the FFT (and doing a new crop afterwards) you can solve the "ringing at the edges" of your image. The provides some padding and cuts in half the amplitude of the step from the top to the bottom. It would be even better to fill that in with the Average of the image, but 128 gray is sufficient.
You are my HERO!!!! The "ringing at the edges" was something I had given up on .... I think I tried every single variation, but If I wanted the blasted texture minimized I always ended up with "ringing at the edges"

Quote:
Originally Posted by jcr6
2) I must really strongly urge using a black brush with solid black in the middle of it instead of gray and especially instead of cloning. Otherwise a small amount of the pattern will remain.

3) The radius 2-3 Gaussian Blur makes me nervous. You're potentially killing a lot of real stuff.
Same as before .... (I'm very lazy...)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #6  
Old 06-23-2005, 03:05 PM
Gary Richardson's Avatar
Moderator
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,718
Great tips JCR6, as Flora says, ringing was a problem I did'nt have an answer to.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #7  
Old 06-23-2005, 05:10 PM
Caitlin's Avatar
Senior Member
 
Join Date: Mar 2005
Location: Sydney, Australia
Posts: 494
Thanks Ro! Great job - thanks for responding to the constant nagging! *lol*

Do you think it would be worth amending the introduction to say it can also be used for newspaper print, and any other righly regular pattern? I know my confusion early on with FFT is knowing WHEN I could use it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #8  
Old 06-23-2005, 05:22 PM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,578
Chris,

Thanks for the great tip. I have included it (with due credit ) in the tutorial.

As to the Gaussian Blur step, I have now changed it to Noise>Median (thank you Flora). It wasn't too clear, and maybe still isn't, but the "blur" is applied only to the colours, not to the luminosity that we just fixed. With the Median filter the possible problem should be even less.

Caitlin,

Well remembered! I'll fit that in somewhere.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #9  
Old 06-23-2005, 07:29 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,113
Thanks byRo for a very clear tutorial, the pictures are fine.

Jcr6 has made some excellent points again

One thing that I have learned is that as every picture is different so is every FFT.

There is a posting in the Help requested Forum at the moment called “Can this picture be saves”. If you look at the FFT of this there are no stars only lines. What I did was select the central star with a large feather then invert the selection and Gaussian blur all the line out.
The results are OK. So I suppose once you know how to do things correctly then you can bend the rules as far as you want.

Thanks for the credit byRo (that seems to be your only spelling mistake)

Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #10  
Old 06-24-2005, 06:34 AM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,578
Quote:
Originally Posted by Cameraken
....So I suppose once you know how to do things correctly then you can bend the rules as far as you want.
Yep! I've even tried FFT art! Didn't get too far though.

Quote:
Originally Posted by Cameraken
....Thanks for the credit byRo (that seems to be your only spelling mistake)
Ooops. Think I did a portuguese version. Fixed now.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #11  
Old 06-24-2005, 02:14 PM
Member
 
Join Date: Apr 2005
Posts: 62
Great tutorial ByRo!

Can FFT be used to remove noise as well, or just repeated texture?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #12  
Old 06-24-2005, 02:33 PM
jcr6's Avatar
Member
 
Join Date: Oct 2002
Location: Asheville, NC
Posts: 44
Random Noise vs. Pattern Noise

We call that "repeated texture" of yours Pattern Noise.

You can implement a blur function, which is good at removing Random Noise with an FFT (including some filters that are much more interesting than a Gaussian Blur). That is pretty much the limit, however. There is no equivalent to a Median filter or the new Smart Blur in PSCS2.

So the answer is "Yes, but..."

...but they're not very useful except in specific cases.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #13  
Old 06-25-2005, 10:31 PM
Junior Member
 
Join Date: Jun 2005
Location: Los Angeles Area
Posts: 3
Having difficulty with IFFT

Hello -- I am somewhat a pretty novice user of Photoshop CS2 and am interested in the FFT tutorial.

I am having difficulty, however at step 6, the Inverse Fourier Transform. I took particulat note of step 6. When I do the inverse FFT I do not get a grey scale image, I get something like the FFT but colored, no image at all.

I must be missing something. Please help.

SteveD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #14  
Old 06-26-2005, 09:59 AM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,578
Hi Steve, welcome to RetouchPRO

When you said step 6 inverse FFT, I think you meant step 7. Step 6 is just a reminder to turn the channels back on

If you are getting something coloured after the inverse FFT, then I say that you probably did the FFT again and not the IFFT. When things go wrong in the IFFT, you usually get a semi-transparent grey mess.
Try doing the FFT and then the IFFT immediately after, see if that works.

One thing that isn't (wasn't) in the tutorial is that before doing the IFFT the image must again be just one background layer.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #15  
Old 06-26-2005, 03:18 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,113
I think I know what Steve is doing

6) Select all channels again
- On the channels palette turn back on the green and blue channel (easy to forget this bit);
- If necessary, flatten the layers (<Alt><L><F>);

It is not enough to simply have the “eye” on the RGB channel as in picture 1
You must have the RGB channel Highlighted as in picture 2

Ken
Attached Images
File Type: jpg both.jpg (78.1 KB, 100 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #16  
Old 06-26-2005, 03:24 PM
Junior Member
 
Join Date: Jun 2005
Location: Los Angeles Area
Posts: 3
Re: FFT filter implementation problems

Ro,

Thank you for responding so quickly.

I did as you suggested doing an FFT and then immediately doing the IFFT, It worked just fine.

I then decided to again go step by step thru the tutorial -- This time it all worked great; just as your tutorial indicated.

I have no idea what I was doing wrong before.

Thank you so much

SteveD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #17  
Old 06-27-2005, 01:28 PM
Junior Member
 
Join Date: Jun 2005
Location: Los Angeles Area
Posts: 3
FFT filter problem - Solved

Cameraken

Thank you for your post.

I believe you are correct, I think I just turned on the eye.

Thank you all so much.

SteveD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #18  
Old 06-29-2005, 04:46 PM
nebgranny's Avatar
Senior Member
 
Join Date: Mar 2005
Posts: 521
Well there is a lot of interest in this tutorial , I am trying it as well. I am stuck on step 5, the spots will not change, wonder what I am doing wrong. I am new to using photoshop but you just click on brush and make sure black is selected and then brush over the marks with it right? NEB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #19  
Old 06-29-2005, 05:01 PM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,578
Neb, let's try a few things....

- Are you seeing something like the image in step 4 - a grey noisy background with a few white stars?
- Did you leave on ONLY the Red channel in the Channel Palette?
- Is the opacity of the brush high (not 0, at least)?
- Do you have a selection active?
- Is the blending of the brush set to normal?
- If this doesn't help, then you could open another (Non-FFT) image and see if you can paint on that. Then, at least, you'll know if the problem is in the brush or the image.

Any luck now?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #20  
Old 06-29-2005, 05:34 PM
nebgranny's Avatar
Senior Member
 
Join Date: Mar 2005
Posts: 521
Looking good now, had to set opacity up and mode to normal, everything else ok. Going on to next step now. Thanks Ro Neb
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #21  
Old 07-01-2005, 07:30 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,113
byRo Famous

Looks like your Tutorial is spreading

http://photoshoptechniques.com/main/defaulth.php

Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #22  
Old 07-01-2005, 08:46 PM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,578
Quote:
Originally Posted by Cameraken
Looks like your Tutorial is spreading
Sorry, Ken, I normally don't like correcting other people's english, but the "y" shouldn't be there....

Looks like our Tutorial is spreading

Thanks to stroker it seems.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #23  
Old 07-13-2005, 09:44 AM
kl2 kl2 is offline
Junior Member
 
Join Date: Jul 2005
Posts: 1
can't install fft

hi

this looks like a great trick - I want to try it.
have followed your instructions on down;oading the fft and winrar, tried to extract relevant files to filters folder, but nothing is showing up in my filters drop down list.

photoshop help says it might be in imports or exports, but I don't see it there either. Do I need to restart?

I am working on photoshop 7 on pc. Is that a problem?

thanks for your time.
karin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #24  
Old 07-13-2005, 10:43 AM
Junior Member
 
Join Date: Jul 2005
Posts: 20
"Plugins" folder

Close PhotoShop!

Quote:
Copy files *.8bf from bin folder to "Plugins" folder. Such as :

"C:\Program Files\Adobe\Photoshop 7.0\Plug-Ins".

Open PhotoShop.

It's now in Filter>Fourier Transform.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #25  
Old 07-20-2005, 05:36 PM
Junior Member
 
Join Date: Sep 2003
Posts: 6
There is a new version of this magical FFT Filter online.
Any changes in the tutorial neccesary or recommendation for the new filter ?
mfG. scsi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #26  
Old 07-21-2005, 06:32 AM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,578
Quote:
Originally Posted by scsi
There is a new version of this magical FFT Filter online.
Hi, scsi,

If by "new version" you mean the April 2005 verison of the Alex Chirakov filter, then this is the one used in the tutorial.
The "old" version coded the FFT information into Hue / Saturation / Brightness and needed the RGB->HSB filter before and after the star painting.

If, however there is another "new version" please post us a link.

All the best,

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #27  
Old 07-21-2005, 02:21 PM
Junior Member
 
Join Date: Sep 2003
Posts: 6
Hi Ro,
thank you for the info. I just want to get certain that I didn't something wrong. I used this filter the very first time two days ago along with yor real great tutorial. It seems that I did everything ok, but I had to duplicate the luminance layer twice to get a stronger effect. After that i had to go with some tweaking with curves due to the misti look of the final image. But now it looks ok for me...
mfG. scsi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #28  
Old 08-16-2005, 09:14 PM
Junior Member
 
Join Date: Sep 2002
Location: Austin Texas USA
Posts: 6
Fft

Thanks for the tutorial, and making me aware that this existed!!
I've spent hours getting texture out.
Flora may not remember but we corresponded on it's removal 3+ yrs. ago.
:-( I run on Mac so can't play with this.

You reference commercial products. What are they?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #29  
Old 08-17-2005, 10:59 PM
deadants's Avatar
Senior Member
 
Join Date: Nov 2004
Location: Port Stephens, NSW, Australia
Posts: 184
I'm using a mac as well and have googled all over looking for a plugin. So far no luck.

I have borrowed my brothers PC laptop and installed the filters, I tried the FFT RGB and imeadiatly did the IFFT RGB but the image came out transparent. Any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #30  
Old 08-18-2005, 01:53 AM
deadants's Avatar
Senior Member
 
Join Date: Nov 2004
Location: Port Stephens, NSW, Australia
Posts: 184
OK, something weird going on. I tried it on a photo taken from a newspaper that was scanned in RGB mode and it worked flawlessly. I have been working on another photo that was scanned in greyscale, which I changed in Photoshop to RGB mode and after I finished painting the stars turned the channels on and doing the IFFT RGB the photo is transparent.

The file I’m working on that is giving me greif is here. http://www.rootschat.com/forum/index...;id=7099;image
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove photopaper texture from old photo Vespeera Photo Restoration 84 01-24-2009 07:25 PM
Orange Peel Skin Texture - How to get ray12 Photo Retouching 89 04-29-2008 02:38 PM
Remove a texture from an Scanned Image Neville310 Photo Restoration 8 12-22-2006 11:35 PM
Removal of photographic paper texture drettig Photo Restoration 9 11-28-2005 09:03 PM
Tutorial: Texturizer Filter tricks DannyRaphael Photo-Based Art 6 07-13-2002 03:13 PM


All times are GMT -6. The time now is 06:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 2008 Doug Nelson. All Rights Reserved