grabcut and lazysnapping - how to choose the number of superpixels

1 view (last 30 days)
I am trying to use the grabcut() and lazysnapping() functions in order to do segmentation.
one paremetr that is relevant for both is the label matrix L , specifies the subregions of the image.
In order to get this matrix I use the function superpixels().
my question is how to choose the number of superpixels N , to get the best result of segmentation using grabcut() and lazysnapping() functions.

Answers (0)

Community Treasure Hunt

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

Start Hunting!