필터 지우기
필터 지우기

How to find arc length, angle from the image?

조회 수: 5 (최근 30일)
Abhishek Saini
Abhishek Saini 2022년 3월 3일
댓글: Image Analyst 2023년 10월 17일
Dear all,
I want to find the curve length and curve orientaiton from the image. I performed the image segmentation and convert it to biary image (attached is the iamge). How can I measure the angular variation of the curves and the curve angle.
Is there a better way to perform segmentation of the image to see the more sharp and clear curvatures?
how can it be quantitatively/statistically characterise?
Thanks

답변 (2개)

Bhanu Prakash
Bhanu Prakash 2023년 10월 17일
Hi Abhishek,
As per my understanding, you have obtained the segmented binary image and want to measure the parameters such as curve length, curve angle and angular variation.
  1. To extract the curves from the segmented binary image, you can use the ‘bwboundaries’ function in MATLAB, which provides you with a set of (x,y) coordinates of each curve in the image. For more information on the ‘bwboundaries’ function, refer to the following documentation: https://in.mathworks.com/help/images/ref/bwboundaries.html
  2. To measure the curve length, you can use the ‘Arc Length formula’ to calculate the Euclidean distance between consecutive points and summing up the distances to get the total length of the curve.
  3. To measure the angular variation of the curves, you can compute the tangent direction on each point on the curve by using the ‘gradient’ function in MATLAB. Please refer to the following documentation for more information: https://in.mathworks.com/help/matlab/ref/gradient.html
  4. To improve the characteristics of the segmented image, you can follow the advance segmentation techniques such as Active Contour and Graph Cut method.
For more information on the afore-mentioned techniques, refer to the following documentation:
  1. For Active Contour segmentation: https://in.mathworks.com/help/images/use-active-contours-to-refine-the-segmentation.html
  2. For Graph Cut Segmentation: https://in.mathworks.com/help/images/segment-image-using-graph-cut.html
  3. For more Image Segmentation techniques, please go through the following documentation: https://in.mathworks.com/help/images/image-segmentation.html

Image Analyst
Image Analyst 2023년 10월 17일
See my attached fiber orientation demo.
  댓글 수: 2
Abhishek Saini
Abhishek Saini 2023년 10월 17일
Thanks for sharing the demo. It’s interesting to look those images. I can see some voids there. Is it also possible to automatically capture the dimensions of those voids and plot the distribution?
Image Analyst
Image Analyst 2023년 10월 17일
Sure, you just need to define what is a void.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Agriculture에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by