Borrar filtros
Borrar filtros

A cropped image that has a single object that has been thresholded and converted to binary image. Is it best to use regionprops to find the area of that image or some other method?

1 visualización (últimos 30 días)
A cropped image that has a single object that has been thresholded and converted to binary image. Is it best to use regionprops to find the area of that image or some other method?

Respuesta aceptada

Guillaume
Guillaume el 18 de Ag. de 2016
If there is only one object in the binarised image, then sum(binaryimage) will be marginally faster than using regionprops.
It's hardly likely you'll notice the difference though.

Más respuestas (0)

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by