Hello all,
My problem should be relatively simple to solve, but was not able to find it or to find a solution on the forum. I have a coating that was cut and polished and prepared in cross-section. What i want to do is to measure the roughness of that coating using ImageJ in this cross-section image. Any thoughts on how this could be done? I tried to use the wand tool to define the outer part of the coating with success but then i need to take out the x,y values of only the wand selection cutter part. With this i might try to do a linear interpolation and afterwards measure the roughness. But i was not able to take out the coordinates of the wand selection. Any other thoughts? Thank all -- Sent from: http://imagej.1557.x6.nabble.com/ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi A.,
you could try the following approach (assuming that the surface or interface is horizontal in your cross-section image): - Select the lower part of the image up to the surface or interface of interest - Create a mask - Convert to 32-bit (float) - Adjust image size to one pixel height, but unchanged width, with interpolation 'none' and 'average when downsizing'. This should give you the average intensity of the pixel columns. - Process>Math>Multiply by the original image height (in physical units such as microns) divided by 255. [because the mask has 255 as foreground value] - 'Select all' and create a profile (make sure that 'vertical profile is not selected in Edit>Options>Plot Options). You can then list or save the coordinates. If it works, you can use the macro Recorder to make a macro from it. See https://imagej.nih.gov/ij/developer/macro/functions.html for useful macro functions such as getPixelSize and getProfile(). Michael ________________________________________________________________ On 24/10/2017 10:07, acavaleiro wrote: > Hello all, > > My problem should be relatively simple to solve, but was not able to find it > or to find a solution on the forum. I have a coating that was cut and > polished and prepared in cross-section. What i want to do is to measure the > roughness of that coating using ImageJ in this cross-section image. Any > thoughts on how this could be done? > > I tried to use the wand tool to define the outer part of the coating with > success but then i need to take out the x,y values of only the wand > selection cutter part. With this i might try to do a linear interpolation > and afterwards measure the roughness. But i was not able to take out the > coordinates of the wand selection. > > Any other thoughts? > > Thank all -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by acavaleiro
Dear,
I have developed peripheral roughness on cross sections of wires 20 years ago, as we follow up roughness of wires during wire drawing process. All you need is a profile in x,y coordinates in a calibrated image. Further processing like cut-off filtering and parameter selections like Ra, Rt, waviness and others I do with profession software license like Omnisurf, which is very good and not expensive license. Hope this helps you further. Kindest regards, Martin. -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of acavaleiro Sent: Tuesday, October 24, 2017 10:08 AM To: [hidden email] Subject: Roughness from cross-section image Hello all, My problem should be relatively simple to solve, but was not able to find it or to find a solution on the forum. I have a coating that was cut and polished and prepared in cross-section. What i want to do is to measure the roughness of that coating using ImageJ in this cross-section image. Any thoughts on how this could be done? I tried to use the wand tool to define the outer part of the coating with success but then i need to take out the x,y values of only the wand selection cutter part. With this i might try to do a linear interpolation and afterwards measure the roughness. But i was not able to take out the coordinates of the wand selection. Any other thoughts? Thank all -- Sent from: http://imagej.1557.x6.nabble.com/ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |