开发者

how to label a binarized image?

please help me to segment a image in binary image... more clearly, i got a image f开发者_开发技巧rom background subtraction, which is binary...means, the object area is of white color and non object object is black..now problem is how to label that white area? i m using c#.net.


If by "label the white area" you just mean create a bucket with a label (e.g., "TheObject") and add all the connected white pixels to it, then the most straightforward way is the so-called "sequential algorithm".

The two-pass algorithm described here is also easy to implement.


using python, you will find the tools you need at: http://luispedro.org/software/mahotas

under java use ImageJ with Landini's morphological plugins

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜