1 | initial version |
hi guy :) i resolved this is the code for visual basic
Dim seedPoint As Point = New Point(0, 0) Dim cc As Emgu.CV.Structure.MCvConnectedComp CvInvoke.cvFloodFill(img, seedPoint, New MCvScalar(0, 0, 0), New MCvScalar(100, 100, 100), New MCvScalar(100, 100, 100), cc, 4, ImgStor) Me.Text = cc.area PictureBox1.Image = img.ToBitmap
I hope will be of help to others.
2 | No.2 Revision |
hi guy :)
:)
i resolved
resolved
this is the code for visual basic
Dim seedPoint As Point = New Point(0, 0)
0)
Dim cc As Emgu.CV.Structure.MCvConnectedComp
Emgu.CV.Structure.MCvConnectedComp
CvInvoke.cvFloodFill(img, seedPoint, New MCvScalar(0, 0, 0), New MCvScalar(100, 100, 100), New MCvScalar(100, 100, 100), cc, 4, ImgStor)
ImgStor)
Me.Text = cc.area
cc.area
PictureBox1.Image = img.ToBitmap
I hope will be of help to others.
3 | No.3 Revision |
hi guy :)
i resolved
this is the code for visual basic
Dim ImgStor As MemStorage
Dim seedPoint As Point = New Point(0, 0)
Dim cc As Emgu.CV.Structure.MCvConnectedComp
CvInvoke.cvFloodFill(img, seedPoint, New MCvScalar(0, 0, 0), New MCvScalar(100, 100, 100), New MCvScalar(100, 100, 100), cc, 4, ImgStor)
Me.Text = cc.area
PictureBox1.Image = img.ToBitmap
I hope will be of help to others.