IMcBitMaskConnect8 Property
|
|
True if the bit mask is counted and labeled using an 8-connected
instead of a 4-connected test.
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxProperty Connect8 As Boolean
Get
Set
Property Value
Type:
Boolean
RemarksThe Connect8 property will be True if the counting and labeling of
connected groups of bits (blobs) is done with an 8-connected test, otherwise a
4-connected labeling is used.
Set this value before calling the McBitMask.Threshold property's McThreshold.Execute
method to set the bit mask. This value is automatically set by the
SetFromSegments, SetFromBitmapBits or CopyFrom methods. The default state of
the Connect8 property is False.
Examples
Dim myBitMask As McBitMask
Set myBitMask = CreateOperator( "McBitMask", ActiveImage)
myBitMask.Connect8 = True
With myBitMask.Threshold
.AutoFindPhase = mcfpBrightest
.Execute
End With
MsgBox "We found " & myBitMask.BlobCount & " 8-connected bright blobs."
See Also