RetouchPRO

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


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

Using the FFT filter to remove photgraphic paper texture

Reply
 
Thread Tools
  #81  
Old 01-04-2006, 09:29 PM
bart_hickman's Avatar
bart_hickman bart_hickman is offline
Senior Member
 
Join Date: Nov 2005
Location: Oregon, USA
Posts: 479
Here's a handy RGB splitting script for PSPX users

Here's a handy script I use to split the active layer into RGB components so I can edit them directly. For the FFT, you can paint on the red layer. When you're done, just merge the group and you're ready for the IFFT. The colors are put into groups so it's very easy to quickly add a curve to the red channel to make the stars more vivid while you erase them. Just delete or turn off the added layers prior to merging the RGB group.

In PSPX, it can run in the restricted folder. It won't run in PSP9 or earlier yet--I have that on my to-do list.

http://home.comcast.net/~zumbari/Scr...pRGB.PspScript

Bart
Reply With Quote top
  #82  
Old 01-23-2006, 11:21 AM
Bmud Bmud is offline
Junior Member
 
Join Date: Nov 2005
Posts: 10
I just recently found the magic of the new Reduce Noise filter circa Photoshop CS2. I havn't run FFT in quite a while.
Reply With Quote top
  #83  
Old 01-24-2006, 12:43 AM
bart_hickman's Avatar
bart_hickman bart_hickman is offline
Senior Member
 
Join Date: Nov 2005
Location: Oregon, USA
Posts: 479
Hi Klassy,

Is there a chance you used the wrong FFT? There are two FFT plugins--you want to use the RGB FFT. Which image did you do the FFT on? Can you post the result of the FFT?

Bart
Reply With Quote top
  #84  
Old 01-24-2006, 05:28 PM
bart_hickman's Avatar
bart_hickman bart_hickman is offline
Senior Member
 
Join Date: Nov 2005
Location: Oregon, USA
Posts: 479
Your attached image is too small for me to see the texture. Could you post either a larger size or a link to the original?

Bart
Reply With Quote top
  #85  
Old 01-24-2006, 11:56 PM
bart_hickman's Avatar
bart_hickman bart_hickman is offline
Senior Member
 
Join Date: Nov 2005
Location: Oregon, USA
Posts: 479
The FFT technique works on pattern noise. Pattern noise is concentrated at a few discrete frequencies so when you do a Fourier transform on the image, the pattern noise shows up as a star pattern--the stars are the frequency-domain representation of the noise. (The technical term for noise like this is spurious noise and the stars are called spurs.)

In the image you attached, it looks like a combination of aliasing (due to image size reduction) and jpeg compression has caused the pattern noise to be converted into essentially random noise and thus no longer removable with the FFT.

If you have textured photos, you want to be sure to scan at a high enough resolution to not just capture the image details, but capture the details of the texture as well.

Bart
Reply With Quote top
  #86  
Old 01-28-2006, 02:05 PM
videosean videosean is offline
Senior Member
 
Join Date: Jan 2006
Location: Columbus, OH
Posts: 115
Quote:
Originally Posted by Bmud
Apparently the plugin doesn't like images over a certain size. I've been trying to pinpoint the behavior as to reverse engineer some sizing rules or to make a proper bug report, but FFT i so slow while I'm at work that I'm having no luck even with a binary method. Just losing lots of time on the clock. It might also be a RAM problem.

Somewhere around the thus far, i've gotten..

bigger than 2662x2991
smaller than 2862x3191

I'm guessing that this means that 1024*3 = 3072 is the magic number. I'll do some more tests at home with my dual core and 2gb of RAM and see if I get similar results. I've got a 512 stick here.
Your post is getting close to what my problem has been I think. I have a scanned image that is 2878x3996 and I get a Red channel that is nothing but black (flat, 0 grey value) after running FFT-RGB and a Green channel with alot of noise and a cross pattern but no stars and the Blue channel is a flat 128 grey value.

I resized my image so that it was 2253 x 3072 (using your 3072 as the largest dimension - I had also added a 50% grey border before downsizing as per other user tips in this thread) and got the results I was expecting... stars and whatnot For a free filter I guess this is acceptable. The texture I'm trying to remove is a fairly typical mid to late 1970's matte paper surface from a portrait studio. The color in the image is completely faded/shifted to red/orange and there isn't any kind of watermark on the back of the print nor a studio's name on the front.

edit - because I'm lazy, I used the magic wand to select all the stars for fixing.

1. Magic wand tolerance = 8, uncheck contiguous, click in the middle of a star to select the brightest point.
2. Use the lasso tool, deselect all the areas you don't wish to correct - the large cross, for example, I deselected as well as a few small points that didn't look like stars.
3. Select -> modify -> expand by 5 pixels
4. Image -> Adjust -> Brightness/Contrast, I just reduced the contrast all the way down and the made a slight adjustment to the brightness so it looked like it matched.

This image has been a personal project that I've left sitting on my HD (it's been maybe 2 years since I scanned this image LOL) waiting for the day I found a good way to kill the paper's texture. Thanks RetouchPro and Alex
Attached Images
File Type: jpg FFT-before.jpg (26.2 KB, 140 views)
File Type: jpg FFT-After.jpg (95.3 KB, 139 views)

Last edited by videosean; 01-28-2006 at 02:44 PM.
Reply With Quote top
  #87  
Old 02-20-2006, 02:55 PM
sattva sattva is offline
Junior Member
 
Join Date: Feb 2006
Posts: 1
Quote:
Originally Posted by Taco
I've searched for a while for something that would remove the moire (or halftone dot) pattern that is found in magazine prints. ... I'd like to apply filter and process complete. I wouldn't hesitate to pay for a commercial version if this were the case.
Taco,
There are a special Descreen filter to eliminate the halftone dots (the screen) and prevent the moire pattern:
http://www.descreen.net/eng/soft/descreen/descreen.htm
This plug-in employs the FFT.

Attachments:
1) The original image.
2) The same image after screen removing. You may see the prominent halftone moire pattern.
3) The same image after screen removing and moire reducing.
Attached Images
File Type: jpg sample1.jpg (64.7 KB, 84 views)
File Type: jpg sample2.jpg (27.2 KB, 78 views)
File Type: jpg sample3.jpg (22.9 KB, 85 views)
Reply With Quote top
  #88  
Old 10-04-2007, 03:46 AM
chiko321's Avatar
chiko321 chiko321 is offline
Junior Member
 
Join Date: Apr 2005
Location: Central US
Posts: 18
Re: Using the FFT filter to remove photgraphic paper texture

I had come across another technique to remove the texture if you are having trouble getting software to work. It is quite simple. If you think of the texture that you see as a result of shadows and highlights on what is basically glossy paper, all you need to do is 1 of 2 things. Get a scanner that has dual bulbs, that is to say, one before and after the scanning head. If you can't find a scanner with dual bulbs, you can also do a neat trick by scanning the photo upright and then scanning the photo again (precisely 180 degrees) and scanning the "shadows and highlights" in reverse. Once the 2nd scan is rotated upright and aligned to the first scan at 50% transparency, pretty much all of the texture can be eliminated. This works best if your scanner head does not have any problems with variable skewing, otherwise you'll be "fudging" and stretching different zones of the photo to blend well with the first scan. In the meantime i'll definitely be looking into this other app as time allows! It could be a great timesaver! Especially if you know how to create actions or JSX scripts for CS3!
Reply With Quote top
  #89  
Old 10-08-2007, 01:59 AM
oppor2nity oppor2nity is offline
Junior Member
 
Join Date: Aug 2006
Posts: 3
Re: Using the FFT filter to remove photgraphic paper texture

First of all, thanks for posting this tutorial, as it seemed to be the solution to my current problem, and most likely will be. Alas, right now I cannot make this work.

No matter how I try, I can't achieve the final result as shown in the tutorial.

I'm starting out with an RGB8 scan which is yellow-ish as has a heavy embossed dot pattern all over the image. I have also tried desaturating this first, but that hasn't changed anything.

I copy, apply FFT, select the red channel only, see the stars and paint them out. I apply IFFT and end up with an image in which the pattern seems to be not gone, but more like cancelled out. The problem is, it resembles a negative. I drag that over the original and change the blending mode to Luminosity, but no colour can be seen through the greyish layer.

Where am I going wrong?

Cheers,

/Ulf
Attached Images
File Type: jpg 1_original.jpg (60.6 KB, 44 views)
File Type: jpg 2_FFT_applied.jpg (52.0 KB, 30 views)
File Type: jpg 3_stars_painted_out.jpg (54.9 KB, 27 views)
File Type: jpg 4_IFFT_applied.jpg (46.5 KB, 23 views)
File Type: jpg 5_final_layered_result.jpg (48.2 KB, 23 views)
Reply With Quote top
  #90  
Old 10-08-2007, 02:58 AM
chillin's Avatar
chillin chillin is offline
Senior Member
 
Join Date: Sep 2006
Location: The Golden State
Posts: 1,324
Blog Entries: 1
Re: Using the FFT filter to remove photgraphic paper texture

You could use ImageJ instead. It requires less steps.
Attached Images
File Type: jpg 1_originalA.jpg (4.7 KB, 39 views)
Reply With Quote top
Reply

  RetouchPRO > Technique > RP Tutorials


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Orange Peel Skin Texture - How to get ray12 Photo Retouching 96 07-07-2013 11:20 PM
Remove photopaper texture from old photo Vespeera Photo Restoration 86 07-10-2012 02:21 PM
Remove a texture from an Scanned Image Neville310 Photo Restoration 9 08-30-2011 11:55 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 08:27 PM.


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