Create rotational slices of an image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Create rotational slices of an image

madtrick
Hi,

I want to create a stack with 360 slices from a single image, but instead of taking horizontal or vertical slices I need to create rotation slices.

Here is my original image


The rotational slices are taken from a centre point like the following three example mock up slices below
Slice 1


Slice 2


Slice 3


and so on all the around....

Does anyone know how this can be done?
Many thanks
Reply | Threaded
Open this post in threaded view
|

Re: Create rotational slices of an image

Herbie-3
Good day no-name,

as far as I understand, you wish to see 360 (centered) sectors of your
image in separate slices of a stack. In principle this can be done by an
IJ-macro using triangular selections.

However, you should be aware that--for the provided example image--you
would get only about 1.75 pixels of the outer (nearly circular) line in
every slice...

I don't think you will be happy with this approach.

Best regards

Herbie

__________________________________
On 19.10.13 18:26, madtrick wrote:

> Hi,
>
> I want to create a stack with 360 slices from a single image, but instead of
> taking horizontal or vertical slices I need to create rotation slices.
>
> Here is my original image
> <http://imagej.1557.x6.nabble.com/file/n5005252/example.jpg>
>
> The rotational slices are taken from a centre point like the following three
> example mock up slices below
> Slice 1
> <http://imagej.1557.x6.nabble.com/file/n5005252/example1.jpg>
>
> Slice 2
> <http://imagej.1557.x6.nabble.com/file/n5005252/example22.jpg>
>
> Slice 3
> <http://imagej.1557.x6.nabble.com/file/n5005252/example3.jpg>
>
> and so on all the around....
>
> Does anyone know how this can be done?
> Many thanks
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Create-rotational-slices-of-an-image-tp5005252.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Create rotational slices of an image

madtrick
Hi,

Thanks for your reply!

What I'm really trying to achieve is to use the radial profile plugin to determine how 'wavy' the outer circle is at particular points. However, as the plugin only gives an overall profile of the entire circle I am trying to create a sector per slice in a stack for the plugin to analyse individually.

What you mentioned sounds perfect, but I am new to imageJ and I was wondering if you could push me in the right direction of how to turn polygon selections into slices using a macro?

Many thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Create rotational slices of an image

karo03
Hi,

if I don't misunderstand you, you are seemingly looking for a cartesian-polar transformation. Why not give it a try, something like "Polar-Transformer" plugin?

Regards
Karsten

Am 19.10.2013 um 21:54 schrieb madtrick <[hidden email]>:

> Hi,
>
> Thanks for your reply!
>
> What I'm really trying to achieve is to use the radial profile plugin to
> determine how 'wavy' the outer circle is at particular points. However, as
> the plugin only gives an overall profile of the entire circle I am trying to
> create a sector per slice in a stack for the plugin to analyse individually.
>
> What you mentioned sounds perfect, but I am new to imageJ and I was
> wondering if you could push me in the right direction of how to turn polygon
> selections into slices using a macro?
>
> Many thanks!
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Create-rotational-slices-of-an-image-tp5005252p5005255.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Karsten
[hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Create rotational slices of an image

Herbie-3
Good day non-name,

once more it turns out that it is really helpful to know what someone is
"really trying to achieve".

Now that we know a bit more about the goal, I fully agree with Karsten
that you should give the "Polar Transformer"-plugin a try. It transforms
concentric circles into straight lines, i.e. imperfect circles into
wiggly lines. In the transformed image you can then project rectangular
selections in order to obtain measures for the local/regional deviation
from a perfect circle...

Best

Herbie

_________________________________
On 22.10.13 07:14, Karsten wrote:

> Hi,
>
> if I don't misunderstand you, you are seemingly looking for a
> cartesian-polar transformation. Why not give it a try, something like
> "Polar-Transformer" plugin?
>
> Regards Karsten
>
> Am 19.10.2013 um 21:54 schrieb madtrick <[hidden email]>:
>
>> Hi,
>>
>> Thanks for your reply!
>>
>> What I'm really trying to achieve is to use the radial profile
>> plugin to determine how 'wavy' the outer circle is at particular
>> points. However, as the plugin only gives an overall profile of the
>> entire circle I am trying to create a sector per slice in a stack
>> for the plugin to analyse individually.
>>
>> What you mentioned sounds perfect, but I am new to imageJ and I
>> was wondering if you could push me in the right direction of how to
>> turn polygon selections into slices using a macro?
>>
>> Many thanks!
>>
>>
>>
>> -- View this message in context:
>> http://imagej.1557.x6.nabble.com/Create-rotational-slices-of-an-image-tp5005252p5005255.html
>>
>>
Sent from the ImageJ mailing list archive at Nabble.com.
>>
>> -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> Karsten [hidden email]
>
> -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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