MATLAB: Extracting features from rice grain image


Hi,i am dealing with a project in which i have to grade the rice by extracting features of each rice grain in the image like (major axis length, major axis length, color, etc) and lable each rice grain accoringly kindly Help me.

Best Answer

  1. As the ROIs are distinct, apply the proper threshold on gray images to segment ROIs
  2. Do the image engancement (if required) before segmentation.
  3. Find the properties with regionprops