Login  Register

Re: create image from radial profile

Posted by Herbie on Feb 06, 2017; 10:24pm
URL: http://imagej.273.s1.nabble.com/create-image-from-radial-profile-tp5018029p5018039.html

Dear Michael,

after experimenting with several approaches I think I found a promising
method that works sufficiently accurate, at least for smooth 1D curves
(list of values). For the example of Jerome Mutterer (Doughnut), the
RMS-deviation of the resulting images is about 6*10^-4.

I hope to be able to post the macro tomorrow. Please stay tuned!

Best

Herbie

::::::::::::::::::::::::::::::::::::::::::::
Am 05.02.17 um 16:08 schrieb Michael Elbaum:

> Thanks Herbie,
>
> This is just what I was looking for, to generate a radially symmetric
> image from a given profile. I have the profile only as a list,
> though, rather than a function, so it should be interpolated from 1D
> on "x" to the radius. I vaguely remember seeing something that can do
> this in ImageJ, but might be imagining.
>
> best, Michael
>
> ________________________________________ From: ImageJ Interest Group
> [[hidden email]] on behalf of Herbie [[hidden email]] Sent:
> Sunday, February 05, 2017 14:41 To: [hidden email] Subject: Re:
> create image from radial profile
>
> Dear Michael,
>
> the valuable ImageJ-plugin "Radial Profile" sums the image values on
> concentric circles and displays the normalized sums as a function of
> the radii of these circles. Consequently, the result is a
> 1-dimensional curve with the radius as the abscissa.
>
> Due to the circular summing, this operation can't be reversed or, as
> you've put it, it can't be "inverted".
>
> What you may achieve however, is to generate a radially symmetric
> image from a profile. If the profile is given analytically you can
> use
>
> "Process > Math > Macro"
>
> as it was suggested by Jerome Mutterer:
> <http://forum.imagej.net/t/image-generation-donut-with-a-gaussian-cross-section/2379>
>
>  Here is his example macro using a shifted Gaussian profile:
>
> newImage( "Image from Profile", "8-bit black", 256, 256, 1 ); run(
> "Macro...", "v=255*exp(-((d-50)*(d-50)/w)/2)" );
>
> HTH
>
> Herbie
>
> :::::::::::::::::::::::::::::::::::::::::::: Am 05.02.17 um 08:47
> schrieb Michael Elbaum:
>> Dear list,     I'm wondering if there's a plugin available to do
>> the "inverse" of the Radial Profile: given a theoretical curve I
>> want to simulate an image. thanks, Michael
>>
>> -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>
> -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html