Login  Register

Re: Problem using ImageJ

Posted by Jeremy Adler on Nov 16, 2020; 10:59am
URL: http://imagej.273.s1.nabble.com/Problem-using-ImageJ-tp5024184p5024186.html

Hej Odeline,

The exclude on edges problem.

A solution
1) Measure the perimeter with exclude on edges OFF - the perimeter measurement includes the contact with edge of the image and is too large

2) Find the area of edge contact
Create a selection (Edit/ selection/ Create Selection) that is 2 pixels smaller than your image
And set the position to 1,1 with x and y size  set to 2 pixels less than the image size.
Now invert this selection  (Edit/ Selection/ Invert) - you now have selected a 1 pixel strip around the edge
Measure this - the area (not the perimeter) is the extra perimeter  included in perimeter measured by 1).

Subtract the area from the perimeter.

Jeremy Adler




-----Original Message-----
From: ImageJ Interest Group <[hidden email]> On Behalf Of Odeline Dumas
Sent: Monday, November 16, 2020 10:59 AM
To: [hidden email]
Subject: Problem using ImageJ

Dear reader,

I don't know if I'm in the right place to ask a question. My colleagues don't know how to answer it, so I didn't have many more possibilities than to contact you. I would like to measure the total perimeter of the interface between the red phase and the black phase (see here attached). As you can see on the attached picture, I have some issues. More precisely, an area on the left is not taken into account and all the black grains surrounded by red (or vice versa) are not taken into account even though I ticked 'include holes'. Can you help me?

Thank you in advance,

Odeline Dumas



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








När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy

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