Login  Register

Re: create an image according to its radial profile

Posted by Michael Schmid on Oct 07, 2016; 1:04pm
URL: http://imagej.273.s1.nabble.com/create-an-image-according-to-its-radial-profile-tp5017303p5017310.html

Hi Michael,

you could try the Polar Transformer plugin in 'Cartesian' mode
   https://imagej.nih.gov/ij/plugins/polar-transformer.html

Create a 1D image from the profile, and then transform to polar.
It seems that the Polar Transformer needs the image at least two lines
high, so you actually need an image with two equal lines.

If you have the data in a file, read it via Import>Raw (binary data) or
Import>Text Image (list of numbers) to get the 1D image. If the input
data are pairs of r & value, delete the 'r' column by cropping the
image, leaving only the second column. If you have with a vertical image
(column of pixels), rotate it 90°. Then adjust the size to get the two
lines.

<or check the Polar Transformer code and fix the problem that makes it
crash with a single line of pixels>

Michael
________________________________________________________________

On 2016-10-05 23:30, Michael Elbaum wrote:

> Dear listers,

> I'd like to generate a grayscale image based on a radial profile
> curve. I wonder if such a procedure/macro might already exist. thanks
> for any help, Michael
>
>
> Prof Michael Elbaum

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