开发者

How to find shapes on image

This is not related to any language atm, only math algorithm required. I have some image, lets say this one

How to find shapes on image

I need to cut tree

How to find shapes on image

from this image, sky with clouds and grass should 开发者_StackOverflow社区be threated as background. Thanks for any help.


Probably the algorithm that your looking for is "blob detection". Here's a video example. Blob detection is implemented, for example, in OpenCV.

In general, though, as several people have pointed out in the comments, what one means by "object" needs to be defined by image properties and not image interpretation. For example, in your image, are the "objects" the tress, lions, or clouds? Trees are green blobs, clouds are white blobs, etc.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜