MATLAB Answers

how to calculate the area size of each spot in the image of ROI (pixels) in Matlab

조회 수: 17(최근 30일)
chihyu 2021년 9월 18일 9:11
댓글: chihyu 2021년 9월 19일 2:02
I have a spot pattern (similar to the picture of rice grains below). I want to calculate the area of each rice grain in the image ROI. But no relevant discussions were found
height = 200;
width = 200;
roi = images.roi.Rectangle(gca,'Position',[10,10,width,height],'StripeColor','r');

채택된 답변

Image Analyst
Image Analyst 2021년 9월 18일 15:57
See my Image Segmentation Tutorial and adapt as needed:
If you need to background correct your image, see my attached demo.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by