Help with Radial profie

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

Help with Radial profie

Josep M. Lanau
Hello everybody,

I am interested in measuring radial profile from a huge set of images.
Radial profile extended does exactly what I do need (profiles from a stack),
but it is performed from the same selection in all the images.

The problem is that I need to measure from a different selection in each image.

It would be ideal that RadialProfileExtended accumulated the results from
several radial measurements in a single plot or result table, so that could be
easily solved with a macro routine, but it does open a new plot window each
time.

I have built up a macro that automatically performs the required selection
(from the center of the biggest particle at a given threshold) and runs
radialprofile. It works fine, but only for a single image. I don't know how to
redirect and accumulate the results on to a file.

Any help or advice will be strongly welcome. Thank you very much in advance.

Josep M. Lanau
BEMF -  Bank of Edible and Medicinal Mushrooms

Departament de Biologia Vegetal, Unitat de Botànica.
Facultat de Biologia, Universitat de Barcelona (UB).

 





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Reply | Threaded
Open this post in threaded view
|

Re: Help with Radial profie

Josep M. Lanau
Hi all,

I managed to achieve what I was looking for by applying some blank margins
to the image and centering the whole image with the translate function.
It is a rude way to do this, but it works for me (the object I need to
measure uses to be about the center of the image).

I have found another problem, though.

I do work with a scale equivalence in cm. When I measure the centroid of a
particle, coordinates X and Y are given in cm. But If I want to make a
selection or translate the image by programming a macro, I must work with
coordinates in pixel values.
Is there any macro function to get the current pixel-cm equivalence set in
the image, so I can make my macros work in images with a scale?

Thank you in advance.

JM