Usage of regionprops3 command

2 visualizzazioni (ultimi 30 giorni)
Pooja Patil
Pooja Patil il 21 Feb 2020
Commentato: Pooja Patil il 21 Feb 2020
How does the command 'regionprop3' interpret an RGB image? The reference page for the same tabulates some properties for grayscale images but it is accepting RGB and HSV (three channel) images.
And how to interpret or calculate 'orientation' and 'ConvexVolume' properties?
If regionprops3 cannot be used for 3 channel images, is there a way to get the lengths of major and minor axes of a convex hull produced by 'convhull' command?

Risposta accettata

Guillaume
Guillaume il 21 Feb 2020
but it is accepting RGB and HSV (three channel) images.
No, regionprops3 is for volumes exclusively. If you pass it a 2D colour image (MxNx3) it will be interpreted as a (very thin, only 3 layers) 3D label matrix.Or if you're talking about colour volumes (MxNx3xP), these can't be passed to regionprops3 directly, you'll need to convert to greyscale and then binarise the volume.
If you are working with 2D images, you need to use regionprops not regionprops3. Again, a colour image must be binarised (or labeled).
  1 Commento
Pooja Patil
Pooja Patil il 21 Feb 2020
How do I measure the Principal Axis Length of the below figure? I request to kindly help

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by