- 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
- 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.
- 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
- To improve the characteristics of the segmented image, you can follow the advance segmentation techniques such as Active Contour and Graph Cut method.
- For Active Contour segmentation: https://in.mathworks.com/help/images/use-active-contours-to-refine-the-segmentation.html
- For Graph Cut Segmentation: https://in.mathworks.com/help/images/segment-image-using-graph-cut.html
- For more Image Segmentation techniques, please go through the following documentation: https://in.mathworks.com/help/images/image-segmentation.html