MATLAB Answers

How to do masking automatically for irregular shape?

조회 수: 3(최근 30일)
sarah afqh
sarah afqh 21 Oct 2019
I have images like rice, fish and spinach. I've attached some images. I'm planning to do masking to the images automatically but I only know how to do masking using imfreehand as they got irregular shapes. I want to use masking because i want to get the ROI only. Background will be removed and set to black colour.
For example, i want to do masking to the rice image, and my ROI is the white part of the rice only. Can someone help how to make the images masked automatically?
Thank you.

  댓글 수: 1

Yes, do apply color thresholding or appropriate segmentation methods, it can be done

로그인 to comment.

답변 수 (0)

이 질문에 답변하려면 로그인을(를) 수행하십시오.

Translated by