开发者

What is 'level' value in cvPyrSegmentation() in OpenCV?

开发者 https://www.devze.com 2023-02-03 04:41 出处:网络
I\'m trying to find connected components using the Pyramid Segmentation function in OpenCV and VC++. What should I put as the level of the pyramid? Please explain (I\'ve tried to make sense of the 开发

I'm trying to find connected components using the Pyramid Segmentation function in OpenCV and VC++. What should I put as the level of the pyramid? Please explain (I've tried to make sense of the 开发者_开发知识库O'Reilly book)


From here: level – Maximum level of the pyramid for the segmentation.
This means that the maximum value that level can get is the log-2 of the the minimum of the image width and height.
Realistically, you would reduce it by at least 2 or 3 as 4x4 or 8x8 images are typically not very informative...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号