I want to find the centroid at a specific image

2 visualizaciones (últimos 30 días)
WanYu
WanYu el 29 de En. de 2020
Comentada: Image Analyst el 26 de Jun. de 2024
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?

Respuestas (1)

Image Analyst
Image Analyst el 19 de Jun. de 2024
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.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by