Login  Register

Re: profile extraction

Posted by Peter Haub on Dec 14, 2015; 8:50am
URL: http://imagej.273.s1.nabble.com/profile-extraction-tp5015223p5015227.html

Dear Martin,

here is a VERY simple macro that extracts some information of the edge
profile.
Copy it into a macro window and run :

setOption("BlackBackground", false);
run("Make Binary");
run("Invert");
run("Select All");
run("Plot Profile");

Maybe this is all you need.

But this information can not be used as a direct roughness measurement
since it is distributed along a circular shape. A better strategy would
be to approximate a circle to this 'simple' data and to measure the edge
positions in the original image with sub-pixel accuracy along this circle.

Regards,

Peter

On 14.12.2015 02:22, Braekevelt Martin wrote:

> Dear all,
>
> I am only starting using imageJ, but I am doing metallograpy for 30 years already.
> In the past I was using an open software platform software, with macro scripting and module building, now we are forced to change due to windows 7 to change for other software, so that's how I find imageJ.
> My most urgent concern is to transform our roughness measurement module.
> All I need is to collect the xy coordinates from a profile determined by a circle segment.
> I included an example image in annex.
> With the old software this was done by simple tresholding to select the data for segmenting.
> I think within imagej there are multiple ways to get this profile plot.
> It would be a great help to get some advice from experienced users, what would be the best way to extract that profile and record the xy coordinates into a txt format for further processing with our dedicated roughness software.
> I know that imagej is mainly used by people from the biological, medical science, I am interested if there are also other metallography science users.
>
> Braekevelt Martin
> Global Metallographic Lab Process Owner(GLaM)
> Oude Heerweg 5
> 8540 DEERLIJK
> Tel. +32 56 767114
> Mobile :+32475805738
>
> ::DISCLAIMER:: This e-mail is confidential and intended for use by the addressee only. If you are not the intended recipient, please notify us immediately and delete this e-mail, as well as any attachment.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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