can anybody explain regionprops with superpixels?

1 次查看(过去 30 天)
I have generated 200 superpixels and used S=regionprops(L,'pixelList'); I got S= 196*1 struct value. How to access them and how do I know which one is column or row? help me is idx=label2idx(L); idx{i} helpful to access superpixel region?

回答(1 个)

Image Analyst
Image Analyst 2017-4-15
With superpixels, row and column don't really have any meaning, do they? So don't think like that. You need to think about what you really want to do with the superpixels, or even if superpixels are what you really should be doing in the first place to process your image. Post your image and tell us what you want to do with it (like what you need to measure), and explain why you think superpixels is the best approach to accomplishing that. Maybe it is, but maybe it isn't - I don't know yet.
  10 个评论
Image Analyst
Image Analyst 2017-4-19
I don't have any code for you. I suggest you follow the concepts of region growing here: https://en.wikipedia.org/wiki/Region_growing

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by