GdPicture.NET Reference Guide
FxBitonalClose8 Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : FxBitonalClose8 Method
GdPicture Image Identifier.
Performs a morphological close operation a GdPicture image or in an area of a GdPicture image defined by SetROI() method. An open morphological operation is a dilation operation followed an erosion operation.
Syntax
'Declaration
 
Public Function FxBitonalClose8( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus FxBitonalClose8( 
   int ImageID
)
public function FxBitonalClose8( 
    ImageID: Integer
): GdPictureStatus; 
public function FxBitonalClose8( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus FxBitonalClose8( 
   int ImageID
) 
public:
GdPictureStatus FxBitonalClose8( 
   int ImageID
) 

Parameters

ImageID
GdPicture Image Identifier.

Return Value

A member of the GdPictureStatus enumeration.
Example
Using FxBitonalClose8 on a binary image .
Dim oGdPictureImaging As New GdPictureImaging
Dim ImageID As Integer = oGdPictureImaging.CreateGdPictureImageFromFile("input.tif")
If imageId <> 0 Then
   oGdPictureImaging.FxBitonalClose8(ImageID)
   oGdPictureImaging.SaveAsTIFF(ImageID, "test.tif", TiffCompression.TiffCompressionAUTO)
   oGdPictureImaging.ReleaseGdPictureImage(ImageID)
Else
   MessageBox.Show("Error: " + oGdPictureImaging.GetStat().ToString())
End If
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
SetROI Method
ResetROI Method
FxBitonalErode4 Method