![]() |
| |||||||
| RP Tutorials Discussion for tutorials published via our automated system, and about the tutorial publishing system itself. |
| | Thread Tools |
|
#31
| ||||
| ||||
| Quote:
what I think happened is that you run FFT on a Layer instead of a flattend image ... |
|
#32
| ||||
| ||||
| No I definatly had only one Layer. I even did step 1, duplicate the image. It's a strage one |
|
#33
| ||||
| ||||
| IFFT is real choosy and doesn't respond to anything but the most basic of images. Besides not allowing layers, you also cannot have any masking or alpha channels and your (one) layer must be "Background" (Flatten the layer <alt><L><F>). If this doesn't help, another tip is to keep checking the IFFT from time to time instead of waiting till the end. If it's OK then just undo (<ctrl><z>) and continue fixing the FFT image. Hope this helps, Rô |
|
#34
| ||||
| ||||
| Hi Wils and deadants There IS a mac version. It’s called ImageJ Image J is part of The Image Processing Toolkit Available Here for Free http://rsb.info.nih.gov/ij/download.html ImageJ runs on Linux, Mac OS 9, Mac OS X and Windows The Docs are here http://rsb.info.nih.gov/ij/docs/ And the bit about FFT is here http://rsb.info.nih.gov/ij/docs/menus/process.html#fft It is Not a plugin but a complete program. You will need Java Installed. Deadants I have also had a similar problem with the image going transparent. I found it was because I went too close to the cross and the centre star. Do as Byro suggests and keep going back to check your results and saving them. Ken |
|
#35
| ||||
| ||||
| Hi Guys, I did all of the suggested steps but it just kept going transparent, so what I did was create a new background layer and filled with black, then placed the transparent layer over it. That seems to have solved the problem. I have tried imajeJ but It works a bit differently I found after much trial and error that you have to completely erase the centre star. I wonder if someone else with a Mac could confirm what I'm doing. You can see the attached image has on the left the original halftone image, the centre is the FFT and the right is the IFFT. I know it doesn't look to good but if I erase the outer stars and leave the centre star untouched the image turns black. |
|
#36
| ||||
| ||||
| Hi deadants I have ImageJ installed and I can probably help but this is probably not the correct thread to do this in. You can start a new thread in the help section or We can continue in the thread that started this tutorial Here http://www.retouchpro.com/forums/image-help/10660-fft-golf-balls.html Ken |
|
#37
| ||||
| ||||
| OK Ken, New thread coming up. |
|
#38
| |||
| |||
| FFT Filter I am scanning fine art pictures and have tried this tut. I am still picking up the canvas texture from the picture I have scanned. Is there any way to remedy this? Thanks, June |
|
#39
| ||||
| ||||
| Hi June. Welcome to RetouchPro. FFT works on a uniform pattern of texture. If you are working on canvas originals then the canvas may be stretched and then the pattern is no longer uniform If this is the case then you could try splitting your picture into sections and using FFT on each section. If your fine art pictures are not on canvas then post your results and we will try to help. Ken |
|
#40
| |||
| |||
| help with fft i am trying to use this filter. At step two, the entire image goes black? Any help will be appreciated. Thanks, |
|
#41
| ||||
| ||||
| Hi June. 2) Flatten all Layers You may not need this but, for precaution, flatten all the layers...<alt><L>, <F>. This is because FFT doesn’t understand layers, masks, alpha channels etc. The image must be just one “Background” layer and nothing else; Byro included this step to make sure you only have one layer as FFT will not work on Layers. This should not make your image black Try using the mouse instead of the shortcut. Layer > Flatten Image. If Flatten Image is greyed out then skip this step and move to step3 Ken |
|
#42
| |||
| |||
| Thanks I checked that. Tell me, is there a limitation on the size of the file the filter will work on? Thanks again, June |
|
#43
| ||||
| ||||
| There is nothing in the code to limit file size. However I suspect that FFT could be memory intensive so file size will be limited by your computers memory and disk space. This will not affect the quality of the results. It will just slow down the conversion. Ken |
|
#44
| |||
| |||
| Step 8 Hi, WOW what a great time saver, thanks Ro. One question. 99% of my work has been on gray images so I'm not familiar with a lot of the color operations. In trying an RGB and getting to your Step 8 (Put the colours back in) you state "Slide, with ......". My question is Slide what? Where does this luminosity layer come from? Its not listed in the channels or layer list. Thanks for bearing with my ignorance, ebbtide |
|
#45
| ||||
| ||||
| Glad you found this useful. The FFT process works only on the luminosity (greyscale) of the image. So, what we want to do in this step is to mix the colour information of the original with our "clean" luminosity. This could be done by copying (<ctrl><C>) the new luminosity image and pasting (<ctrl><V>) on top of the original. The "slide" method is just a short-cut. Details...... - You need to have the "luminosity" image active, but also have visible some part of the original image.Yeah, I know - the short-cut looks longer than the original. On paper, yes. In practice, no. Rô |
|
#46
| ||||
| ||||
| Quote:
Pierre |
|
#47
| |||
| |||
| Thanks, less star painting Ro, I followed your additional instruction and got two gray scale images but all was OK once I realized that the color didn't return until the luminosity blending was selected, then everything was ok. Because the FFT is a symmetric math function made of cosines you only need to paint out the stars on either the left side to the vertical axis or from the right side of the image. Saving a little painting time if you have a lot of unwanted frequencies in your image. Thanks for the instant help Ro ! |
|
#48
| ||||
| ||||
| Quote:
I can understand the logic, but it seems strange that 50% (or maybe 75%) of the information is just waste. Also, if I paint just one side how is the IFFT function going to know which side it should consider, original or painted? It would be nice if it was true, but I think it's unlikely. Rô |
|
#49
| ||||
| ||||
| Pierre I went to http://www.pages.drexel.edu/~avc25/archive.htm#FFT to try to find some more information. But is sadly lacking and does not say if a picture can be on layers. However I did do some tests. When you run FFT on a layer then the texture from only that layer is removed and the image comes back transparent (hence the black layer required) but this gives darker results than working from a flattened picture. I can’t understand why you would want to work on a layer as texture removal should be the first step in the workflow My Quote was not my words but an extract of step 2 in the tutorial and I think it is a sensible precaution and should be left as it is. Ebbtide I also tried your method and still had texture in the picture Ken |
|
#50
| |||
| |||
| Too Fast Yea, I shot too fast on saying you could only do half the symmetric star pattern. I scanned a newspaper picture and did my grand experiment. Painting out half worked as well as painting all. But on retrospect I guess it was because it was such a bad image I couldn't see the difference. On trying a high quality image with interference in it, you do definitely need to paint out all stars. Sorry for the fire drill guys. |
|
#51
| |||
| |||
| Here's what I've found about the FFT: Each quadrant is a stretched copy with a 90*x degree rotation about the center of the image. If you don't believe me, run the FFT on a square image with even-numbered dimensions and then duplicate one quadrant into the remaining three with the difference blending mode. You'll get perfect black. Here's what I've done to improve the process: 1. Copy the noisy document to a new document & flatten. 2. Increase canvas size by 400px on X & Y with 50% gray background color. 3. Run the FFT RGB filter. 4. Copy the Red channel to a new layer. 5. Make a new layer. 6. Knock out the white stars with a black star brush on the top part of the image. 7. Duplicate the layer with the black stars. 8. Make a new temp layer and just dump whatever color into it. 9. Link the duplicate and the dump layers. 10. Rotate the dump layer 180 deg. 11. unlink & delete the dump layer. 12. link the two star layers & the copied red channel & CTRL-E to merge linked. 13. Copy all. Hide the layer. paste into the red channel with the background selected. Delete that extra layer or just flatten. 14. Run the IFFT filter. 15. Copy & paste some of the "striping" that's in the grey area, (usually it's vertical) stretch it over the whole canvas, and invert & set to hard light 50%. I'm not sure why it shows up in the first place. 16. Crop off the extra 400px & slap the grey image onto the original. Run median on the color part. Woo. Done. ![]() Now then, what I havn't been able to figure out when enough is enough. At what point do i say "This star is too small. if I knock it out with black then I'll just get a big cloudy mess." I have a feeling that I should be using grey to knock out stars sometimes instead of black -- like when they get really close to the center. Sometimes it seems like being quick and dirty about knocking out stars is better than being maticulous. [For example], This picture turned out fine, but sometimes I get cloudy mess all over the place. [MINI FFT TUTORIAL] Last edited by Bmud; 12-22-2005 at 01:35 PM. |
|
#52
| ||||
| ||||
| Hi there, Bmud. Welcome to RetouchPRO Thank you for a very interesting post. - As I see it each quadrant would be a mirrored copy, and not a rotated copy. Other than that, yes agreed - Are you sure you posted the right brush? I had imagined something star-shaped (which would be a great idea) but what came out was an "alphabet" brush. - In your "example" picture, I think you've painted out way too many stars. If you are trying to eliminate paper texture, then only the larger stars of the central diamond need painting. If you follow the repetitive pattern of these stars you'll find a few other less obvious stars that may still produce unwanted texture (see attachment). The other small stars may be due to some element of the actual image, or the effect of the 400 pixel border that you added - and should be left alone; - The striping trick is quite neat, I'll have to try that out. As to why it happens - my theory would be that when we replaced the stars with black holes we threw away some information that would be needed at the edges; - I too have the feeling that some sort of an average grey would be better than just pure black. When I defended this I got shot down by the theorists, but I haven't given up yet. - As to when is enough. The important stars, due to the paper texture form a regular pattern around the centre. These are the only one's you need to paint - but be sure to get them all. If you are getting close to centre, then you're probably knocking out something important from the image and not unwanted paper texture. Hope to hear more from you, Rô |
|
#53
| |||
| |||
| I fixed the FFT Brush download. Thanks for the tip. I'm probably going to save a bunch of time now. The behavior seems to vary, but no doubt the images are completely identical when the top is rotated 180 degrees and brought to the bottom. Last edited by Bmud; 11-23-2005 at 11:47 AM. |
|
#54
| ||||
| ||||
| Fun (1) things to do with the FFT..... - Do a big radial blur from the centre - makes an "arty" halo effect; - Double the size (centre and crop) of the Red channel. As I remember (can't check now) you get 4, quarter-sized, almost identical versions. Rô (1) Some people, like me, have a wierd definition of "fun" |
|
#55
| ||||
| ||||
| Quote:
|
|
#56
| ||||
| ||||
| Quote:
Oops, you're quite right. I'll have to fix that.Rô |
|
#57
| |||
| |||
| Basically, if you increase your canvas by 400px, then any star that's 400px away from the edge (or less) can be ignored. That alone has saved me a bunch of time. I like the Radial Zoom effect! That'll come in handy the next time I need to make something dirty-looking Check this out, a moire nightmare... I've tried FFT on this, but the dot pattern is really big compared to the whole image (I think) www.osysi.net/files/fft/fft_nightmare.png Last edited by Bmud; 11-25-2005 at 10:39 AM. |
|
#58
| ||||
| ||||
| There were certainly a lot of stars in the fft! For color, I blurred the a and b channels in LAB mode. After the fft, I ran eat Image, corrected and sharpened, then ran Neat Image again. I thought I would get rid of the remaining pattern by running the fft again, but there were no stars left to blacken .Pierre |
|
#59
| ||||
| ||||
| Bmud, you're sure bringing up some interesting points here..... 1) Moire - For me, at least, moire patterns are caused by the interference of two high frequencies resulting in a new perceived low frequency. The "dot Pattern" on the picture you posted probably has another name (which I don't remember now). 2) Texture x Colour - For the images we've been considering in the tutorial the superimposed pattern was due to physical texture ridges of the paper on which the photograph was printed. In your image the pattern is not superimposed, rather each colour has a patterned disposition. What this means is that when we do the FFT process it is not enough just to consider the luminosity, you should process each channel separately (see attachment) 3) I downloaded your FFT brush again, and got an alphabet again - maybe I'm doing something wrong. Anyway, based on (what I believe was) your idea, I made my own (see zip attachment). Actually it makes star painting easier because you can line just up the horizontal and vertical line and hit the star right on. Rô |
|
#60
| ||||
| ||||
| I took what Pierre did and ran the jpeg artifact remover in PSPX. That's the (1st attachment). Followed that with the PSP NR tool (2nd attachment) Bart |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove a texture from an Scanned Image | Neville310 | Photo Restoration | 9 | 08-30-2011 11:55 PM |
| 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 |
| 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 |