Find Area of the object in mm^2 from binary image
Hi All,
I have two questions related to each other.
I have a binary image and I want to calculate the area of the object in mm^2. I have calculated the area in pixel by using this code
[B,L] = bwboundaries(Bw,’noholes’);
stats = regionprops(L,’Area’,’perimeter’);
area = [stats.Area];
but I don’t know how I can convert this in mm^2.
here is my original image in cartesian coordinate and size is 512 x 512.
<</matlabcentral/answers/uploaded_files/133898/46.jpg>>
I have converted the image in polar coordinate , its size is 256×256 . here it shown
<</matlabcentral/answers/uploaded_files/133899/56.JPG>>
can I calculate the length of the line in mm^2. can anybody please help me . Thanks in AdvanceHi All,
I have two questions related to each other.
I have a binary image and I want to calculate the area of the object in mm^2. I have calculated the area in pixel by using this code
[B,L] = bwboundaries(Bw,’noholes’);
stats = regionprops(L,’Area’,’perimeter’);
area = [stats.Area];
but I don’t know how I can convert this in mm^2.
here is my original image in cartesian coordinate and size is 512 x 512.
<</matlabcentral/answers/uploaded_files/133898/46.jpg>>
I have converted the image in polar coordinate , its size is 256×256 . here it shown
<</matlabcentral/answers/uploaded_files/133899/56.JPG>>
can I calculate the length of the line in mm^2. can anybody please help me . Thanks in Advance Hi All,
I have two questions related to each other.
I have a binary image and I want to calculate the area of the object in mm^2. I have calculated the area in pixel by using this code
[B,L] = bwboundaries(Bw,’noholes’);
stats = regionprops(L,’Area’,’perimeter’);
area = [stats.Area];
but I don’t know how I can convert this in mm^2.
here is my original image in cartesian coordinate and size is 512 x 512.
<</matlabcentral/answers/uploaded_files/133898/46.jpg>>
I have converted the image in polar coordinate , its size is 256×256 . here it shown
<</matlabcentral/answers/uploaded_files/133899/56.JPG>>
can I calculate the length of the line in mm^2. can anybody please help me . Thanks in Advance area, image processing, arc length, perimeter MATLAB Answers — New Questions