RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Software Photoshop, Lightroom, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

Here is FFT for 64 bit photoshop

Reply
 
Thread Tools
  #161  
Old 10-30-2017, 08:42 AM
Ron Chambers's Avatar
Ron Chambers Ron Chambers is offline
Member
 
Join Date: May 2009
Location: Conroe, TX USA
Posts: 32
Re: Here is FFT for 64 bit photoshop

Chain
Even with the not perfect programs you could try a few things if you wish. The other pieces are already in PS. Let me know and I'll walk you through a few of them. Pulling together in actions or scripts would naturally follow.
You mentioned the symmetry in the transform output. It is actually anti-symmetry (quadrant 1 being upper right) as q 2 is a mirror of 1 along the x positive axis, q4 is mirror of 1 about y positive axis and I'll let you guess about q3. The phase info is a bit more complicated. I mentioned earlier the distance between stars is inversely related to the pimples on the original image.

You can make a couple of synthetic images and try some of this stuff.

Let me know as I'm still down. Mind hasn't stopped.
RONC
Reply With Quote top
  #162  
Old 10-31-2017, 01:03 PM
Chain's Avatar
Chain Chain is offline
Senior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 551
Re: Here is FFT for 64 bit photoshop

If i number the quadrants from 1-4, starting top left, then top right, bottom left, bottom right, then I see that 1 and 3 are identical, and 2 and 4 are identical. Just rotated. So basically half the red channel is redundant data.

This means that when removing a "star" you only need to do half the image, then you can duplicate and rotate the work over the 2nd half of the image. But the difference between the two pairs are so small you can actually do just 1/4 of the image and mirror/rotate that.

But please, do expand on the other things you can do with this besides removing repeating patterns.
Reply With Quote top
  #163  
Old 10-31-2017, 02:39 PM
Ron Chambers's Avatar
Ron Chambers Ron Chambers is offline
Member
 
Join Date: May 2009
Location: Conroe, TX USA
Posts: 32
Newbie Re: Here is FFT for 64 bit photoshop

Quote:
Originally Posted by Chain View Post
If i number the quadrants from 1-4, starting top left, then top right, bottom left, bottom right, then I see that 1 and 3 are identical, and 2 and 4 are identical. Just rotated. So basically half the red channel is redundant data.

This means that when removing a "star" you only need to do half the image, then you can duplicate and rotate the work over the 2nd half of the image. But the difference between the two pairs are so small you can actually do just 1/4 of the image and mirror/rotate that.

But please, do expand on the other things you can do with this besides removing repeating patterns.
It true you only need 2 quadrants in my system 1 and 4. The FT I wrote for other work (non pc) only computed those thereby reducing costs by 2 in cpu and memory. Reason I number my quadrants like I do is that spatial frequency 0,0 is the center of the the image. Otherwise the mass of energy would be in the 4 corners.
Now to further confuse you, the original image has its 0,0 in the upper left corner. So try a test. Take your test image and rotate 5 degrees clock wise. Crop so only non-padded pixels are shown. Delete outside of crop. Forward transform and stare for a bit. Go to channels and click deactivate all but red. Stare more. Go to Layer Adjustments and do Levels. Move arrows to show the stars really well. Stare again. Have to rethink symmetry. Might be a good way to align scanned image with pimples. I'll wait on your comments. You could attach the images at different stages for us to discuss and others to understand.

Let's try interpolation next. Take your test and forward transform. Go to Canvas and double canvas size and fill color equal black. Inverse transform and your image will be twice size. You could reload test image and interpolate using Photoshop and then compare the two. Edges are off limits for now in discussions.

I'm trying to get granddaughter to bring her pc so she can run examples for further tests.

Enjoy Fourier Transforms 101 with no equations.

RONC
Reply With Quote top
  #164  
Old 11-01-2017, 02:34 PM
Chain's Avatar
Chain Chain is offline
Senior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 551
Re: Here is FFT for 64 bit photoshop

Yeah, edges always gets messed up when using the FT stuff. There's also always some other subtle changes to brightness/contrast in the image.

Interpolation worked. That was neat. End result was very gray and low contrast though. Brightening the outside in the red channel made a funky white pattern creep into the image.

Rotation of the image (or rather the patterns in the image) caused the lines of stars to rotate by the same amount.

---

I'm really busy these days so haven't played with it much. I don't really understand too much about FTs to be honest. :S
Reply With Quote top
  #165  
Old 11-02-2017, 12:30 PM
SmpdNC SmpdNC is offline
Junior Member
 
Join Date: Nov 2017
Posts: 1
Question FFT for Photoshop CC

My apologies if I missed earlier posts regarding this question, I scanned through the 17 pages but failed to see it specifically mentioned.

I downloaded the files and copied them over per the instructions and I still do not see them listed when I open Photoshop CC.

I appreciate your assistance.
Reply With Quote top
  #166  
Old 11-02-2017, 03:54 PM
Ron Chambers's Avatar
Ron Chambers Ron Chambers is offline
Member
 
Join Date: May 2009
Location: Conroe, TX USA
Posts: 32
Re: Here is FFT for 64 bit photoshop

Not sure which set you downloaded but the original should be in Filter>Fourier Transform and the set I placed for test Filter>Fourier Transform - RC.
Have a look and get back to us.
RONC
Reply With Quote top
  #167  
Old 11-04-2017, 08:09 PM
Ron Chambers's Avatar
Ron Chambers Ron Chambers is offline
Member
 
Join Date: May 2009
Location: Conroe, TX USA
Posts: 32
Newbie Re: Here is FFT for 64 bit photoshop

Quote:
Originally Posted by Chain View Post
Yeah, edges always gets messed up when using the FT stuff. There's also always some other subtle changes to brightness/contrast in the image.

Interpolation worked. That was neat. End result was very gray and low contrast though. Brightening the outside in the red channel made a funky white pattern creep into the image.

Rotation of the image (or rather the patterns in the image) caused the lines of stars to rotate by the same amount.

---

I'm really busy these days so haven't played with it much. I don't really understand too much about FTs to be honest. :S
I'll find a simple tutorial on Fourier transform and pass in on.
The particular implementation of the Fourier transform is a cause of the edge difference. I'll explain more later. It is a trade off between filter length vs edge.
The interpolation is a not correct because of the scaling bugs in this version.
The use of the Levels was to be for viewing only. The stars should be easier to find. Doing an inverse transform is a waste of time.

RONC
Reply With Quote top
  #168  
Old 11-13-2017, 10:07 PM
Ron Chambers's Avatar
Ron Chambers Ron Chambers is offline
Member
 
Join Date: May 2009
Location: Conroe, TX USA
Posts: 32
Re: Here is FFT for 64 bit photoshop

https://betterexplained.com/articles...ier-transform/
Rather simplified tutorial for 1D Fourier transform.

I'm working again on the program. Going slowly but I think I will load another version by the end of the week.
RONC
Reply With Quote top
Reply

  RetouchPRO > Tools > Software


Currently Active Users Viewing This Thread: 2 (0 members and 2 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
Photoshop Color Settings santoro80 Software 2 02-10-2011 09:37 AM
How to size things in Photoshop? sirrduke2010 Photoshop Help 5 01-15-2011 03:26 AM
Removing banding texture. FFT Filter for MAC? SBNL Photo Retouching 12 12-15-2010 05:17 PM
Intuos4 ignores Photoshop CS5..please help! michaelbs Hardware 2 11-10-2010 02:17 PM
High Bit Scanning? Doug Nelson Input/Output/Workflow 1 08-18-2001 03:06 PM


All times are GMT -6. The time now is 08:51 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