I want to find the centroid at a specific image

조회 수: 1 (최근 30일)
WanYu
WanYu 2020년 1월 29일
댓글: Image Analyst 2024년 6월 26일
I want to find the centroid on the label of the wine bottle. After finding the centroid, I want to crop out the whole label image as it is my ROI.
Please, anyone can help me with the coding?

답변 (1개)

Image Analyst
Image Analyst 2024년 6월 19일
Your segmentation is all messed up. I probably could have fixed it for you if you had attached the original RGB image, but since you're just attaching the failed segmented binary image, there's nothing I can do with that.
It's a generic, general purpose demo of how to threshold an image to find blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.
  댓글 수: 1
Image Analyst
Image Analyst 2024년 6월 26일
Reminder -- did you see my reply to your question?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by