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.

I need help with the fft filter.

Reply
 
Thread Tools
  #1  
Old 06-26-2006, 01:11 AM
zeldakasumi zeldakasumi is offline
Junior Member
 
Join Date: Jun 2006
Posts: 2
I need help with the fft filter.

Hello! I am new here and have found this site to be extremely helpful.^^

I need to remove paper texture from some old photos and am trying to follow this tutorial http://retouchpro.com/tutorials/?m=show&id=185 but my red channel is coming out completely black after I run the first filter. Can anybody tell me why this is and what I should do? Here are the two photos I was testing it on link. Thank you very much!
Reply With Quote top
  #2  
Old 06-26-2006, 06:17 AM
Flora's Avatar
Flora Flora is offline
Senior Member
 
Join Date: Mar 2002
Location: Milan, Italy
Posts: 2,325
Blog Entries: 3
Hi zeldakasumi,

welcome to RP!

... I don't really know why that happened ... but surely something went wrong along the way ..

What I can tell you to try is:

* Make sure you didn't jump any step of the procedure,

* Make sure you work on a flattened (background only) copy of your image.

* Make sure you are working in RGB Mode. (BTW are you using the RGB FFT?)

* Make sure you are working on the composite (RGB) image and not on a single Channel when giving both commands: the (RGB)FFT first and the (RGB)IFFT after darkening the stars...

Try again and let us know... I had a quick try at one of your pictures and it can be done very well ...
Attached Images
File Type: jpg SNAP-038.jpg (92.4 KB, 100 views)
Reply With Quote top
  #3  
Old 06-26-2006, 08:56 PM
zeldakasumi zeldakasumi is offline
Junior Member
 
Join Date: Jun 2006
Posts: 2
Thank you for answering!^-^

Um, I still can't get it to work for me. I am using the RGB FFT, a flattened image, etc. What happens when I run the filter is my red channel turns completely black, a texture without stars is on the green channel, and the blue channel is a solid 50% gray. When I run the IFFT filter without doing anything to the channels the image comes out completely black. I also tried using the stand alone program ImageJ and I do get a cross with stars then but when I run the IFFT process it comes out almost completely black with just the barest silhouette of the figures.

EDIT: I tried it again with the image resampled to 300dpi instead of a 600dpi, and it worked! However, if I don't resample and change it to 300dpi it still doesn't work. I really want as much image information as I can get so I don't want to resample. How can I make this work?

Last edited by zeldakasumi; 06-26-2006 at 09:48 PM.
Reply With Quote top
  #4  
Old 06-26-2006, 11:12 PM
amontiel69 amontiel69 is offline
Junior Member
 
Join Date: Jun 2006
Posts: 4
I was having exactly the same problem

I just joined this forum today, so this is my first post. I was having the same problem the original poster had with my red channel coming out completely black and the blue channel coming out solid gray. Just like it happened to her, I was able to apply the filter when I resampled my image from 600 dpi to 300 dpi. So, apparently it only works with images set to that resolution. Unless I am doing something totally wrong here. Any comments?

Thank you

Alejandro
Reply With Quote top
  #5  
Old 06-27-2006, 01:48 AM
Flora's Avatar
Flora Flora is offline
Senior Member
 
Join Date: Mar 2002
Location: Milan, Italy
Posts: 2,325
Blog Entries: 3
Hi,

Alejandro,

welcome to RP to you too!!

When I worked on zeldakasumi's picture yesterday, I hadn't changed the resolution (600 pixels/inch) ... but, for speeding up the process, I had reduced its size... and it worked perfectly ...

After reading Alejandro's post, I made a search in our Forums, and found this post dealing with the same problem ...

Apparently the plug-in doesn't like files over a certain size ... In the quotation Bmud says that he found that "3072 is the magic number" (as the larger side of the image I guess...) ... Well, I tried that size, and still had a black red channel... so, I resized to 3000 pixels ... still no go ... I then resized the image decreasing it of 5 pixels each go ... The biggest size accepted by the FFT plug-in was: 2980x2822 pixels at the scanned resolution of 600 pixels/inch.. (see attachment)

Hope this helps.
Attached Images
File Type: jpg SNAP-040.jpg (78.8 KB, 34 views)
Reply With Quote top
  #6  
Old 06-27-2006, 04:10 AM
Cameraken's Avatar
Cameraken Cameraken is offline
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,158
Hi.

I ran a similar test to Flora here
http://www.retouchpro.com/forums/image-help/12703-fft-black-canvas-baseball-card.html

So if you want to keep the highest resolution Image Analyser will do at least a 4000 x 4000 image.

It’s available here (and it’s a bit easier to use)
http://www.retouchpro.com/forums/software/7210-freeware-image-analyzer.html


Ken.
Reply With Quote top
  #7  
Old 06-27-2006, 08:48 AM
amontiel69 amontiel69 is offline
Junior Member
 
Join Date: Jun 2006
Posts: 4
Hello Flora and Cameraken,

After I posted my message, I continued to try experimenting with the filter (I don't give up too easily) and I started changing the dimensions instead of the resolution. I was not as granular as Flora was, changing by 5 pix every time, but I arrived at 3000 on the longest side and it worked at 600 dpi. I am now having the problem that even after carefully selecting every single white spot I can see on the red channel, it still leaves a lot of the paper texture all over the image's surface. Should I select only those that clearly look like "stars" (a bright central spot with a halo around it) or everything that is white on the image?

I will look at the software on the link Cameraken posted and see how that works

Thank you for your help.
Reply With Quote top
  #8  
Old 06-27-2006, 09:17 AM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
Quote:
Originally Posted by amontiel69
Should I select only those that clearly look like "stars" (a bright central spot with a halo around it) or everything that is white on the image?
The stars really should look like stars, a bright central part with vertical / horizontal lines passing through.
The stars should also always be in some sort of regular array, so little white spots in strange places are not part of a regular texture.

Quote:
Originally Posted by amontiel69
......it still leaves a lot of the paper texture all over the image's surface.
Usually this is because there are some stars hidden in the white central vertical / horizontal axis. They are not easy to see but often by following the general pattern you can "guestimate" where the hidden star should be. Painting a few places on the central axis doesn't hurt much, just don't get close the big central star.

Reply With Quote top
  #9  
Old 06-27-2006, 10:38 AM
amontiel69 amontiel69 is offline
Junior Member
 
Join Date: Jun 2006
Posts: 4
Thank you very much for your reply. I will try again painting as you suggested. I downloaded the Image Analyzer and had a try there. Even though I do software for a living, the logic of the program just escapes me. I found your post regarding the FFT filter at http://www.retouchpro.com/forums/software/7210-freeware-image-analyzer.html, but it is just not doing what I want it to do. Even though this program seems to be a real piece of art, it is going to require a lot of experimentation with it.

I go to Map -> Make Map -> Fourier Transform and after a while I get a black image with a large bright central area and just a few dots scattered around. I assume that the way to work with this is to then select the eraser and get rid of those dots, but pressing P does not let me preview nor pressing the up and down arrow changes the eraser size.

Oh well, the world of retouching teaches me something every day.

Alejandro
Reply With Quote top
  #10  
Old 06-27-2006, 11:06 AM
amontiel69 amontiel69 is offline
Junior Member
 
Join Date: Jun 2006
Posts: 4
Hello again,

I just tried using the FFT filter painting only on those spots that look like stars and I am attaching a closeup of the results so you can see what I get after running the filter. Any ideas?

Thank you for your time and help

Alejandro
Attached Images
File Type: jpg closeup-FFT.jpg (81.2 KB, 34 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
Using the FFT filter to remove photgraphic paper texture byRo RP Tutorials 123 01-02-2016 01:34 AM
FFT filter jmhinchey Photo Restoration 2 08-06-2007 04:00 PM
Fft Filter FARSHID Photo Retouching 2 05-22-2007 01:08 PM
Filter Forge Doug Nelson Software 77 07-06-2006 03:05 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 04:31 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