Posted by
Francis Burton-3 on
Sep 25, 2014; 7:20am
URL: http://imagej.273.s1.nabble.com/1D-Fourier-transform-in-macro-tp5009727p5009754.html
Dear Ludovic,
I have used simple DFT code in these situations with perfectly acceptable performance - in my case to obtain power spectra of fluorescence intensity signals from z profiles of confocal image stacks.
The code is available here:
http://nayuki.eigenstate.org/page/how-to-implement-the-discrete-fourier-transformIt also has the benefit, at 11 or so lines of code, of being more easily understandable.
Does this help at all?
Francis Burton
University of Glasgow
________________________________________
From: ImageJ Interest Group [
[hidden email]] on behalf of Ludovic Pinier [
[hidden email]]
Sent: 25 September 2014 08:07
To:
[hidden email]
Subject: Re: 1D Fourier transform in macro
Herbie,
the pictures I work with are 16bits unsigned grey level from a CT machine (raw format). No color.
And using a Fourier transform is the method described in the standard applying to CT I use (ASTM E-1695). This standard also prevents to remove the mean or alter the contrast/brightness. To be standard-compliant, profile (the "Edge Spread Function") is mandatory. You are only allowed to frequency-filter it, and remove aberrant points. Even the Fourier transform sampling has to be compliant with the standard criteria.
Concerning the Fourier transform, I am used to manipulate time-frequency transforms, but not to deal with the programming aspects.
Last, my reason is that the tool built in the machine is not accurate.
And the "slanted edge method" plugin is inappropriate for the geometry of my targets (which are also defined according to the standard: material, shape and size).
The standard requires a line profile, and the slanted edge produces an integration of the profile along the edge.
I could use this plugin with 1pixel-wide areas, but ,that means I need to rotate the image; and even if is an as-accurate-as-possible transformation, it is an interpolation that produces a calculated image. It is not the direct capture from the sensor anymore. That is also the reason why the slanted edge method was introduced in the ISO12233. But unfortunately, the target definition in this standard is inappropriate for my use.
I know your suggestions could definitely help, but they don't apply to my need.
Best regards,
Ludovic
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html