Reputation: 15
I have a problem that needs your help. I tried to do segmentation of rice grains following the method in "An Automatic Segmentation Algorithm for Touching Rice Grains Images" from Qing Yao. The first step of this method is to convert the image into binary and do contour extraction. After that they implement a method to detect concave corner points and search for corner point pairs, and this is my problem. Now I can construct the contours of the image but cannot detect the concave corner points. Here are my questions:
S=*R*R*A/360
. R
is the radius of a circle and A
is an acute angle, but I didn't see any recommendations for setting R
and A
. How can I set these values or is there any command in MATLAB that I can use for this purpose?
Upvotes: 1
Views: 508
Reputation: 15837
If the article doesn't well explain concave corner point extraction you may refer to other similar articles that explained the method. So I googled and found this paper: TOUCHING GRAIN KERNELS SEPARATION BY GAP-FILLINGTOUCHING GRAIN KERNELS SEPARATION BY GAP-FILLING. for connected regions and measure their properties you may use these functions:
regionprops
bwconncomp
bwlabel
Upvotes: -1