please help me to segment a image in binary image... more clearly, i got a image from 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.
Asked
Active
Viewed 371 times
1
-
1Please provide more information. Programming language, image format, and what do you mean by "label"? – Artelius Dec 24 '09 at 07:22
-
image is converted into gray matrix of type float.now label means put any color say red... to boundary of object. – ranzan Dec 24 '09 at 08:34
2 Answers
4
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.

Dathan
- 7,266
- 3
- 27
- 46
1
using python, you will find the tools you need at: http://luispedro.org/software/mahotas
under java use ImageJ with Landini's morphological plugins

Jean-Pat
- 1,839
- 4
- 24
- 41