Instantiates a new BlobRemovalOptions object setting the specified values.
Syntax
'Declaration
Public Function New( _
ByVal As Rectangle, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim area As Rectangle
Dim minimumPixelCount As Integer
Dim maximumPixelCount As Integer
Dim minimumDensity As Integer
Dim instance As New BlobRemovalOptions(area, minimumPixelCount, maximumPixelCount, minimumDensity)
public BlobRemovalOptions(
Rectangle ,
int ,
int ,
int
)
public: BlobRemovalOptions(
Rectangle ,
int ,
int ,
int
)
public:
BlobRemovalOptions(
Rectangle ,
int ,
int ,
int
)
Parameters
- area
- The area of the image where the blob removal process will search.
- minimumPixelCount
- The minimum number of pixels for an object to be considered a blob for removal purposes.
- maximumPixelCount
- The maximum number of pixels for an object to be considered a blob for removal purposes.
- minimumDensity
- The ratio of black pixels to all pixels within the convex hull of an object.
See Also