ImageGear .NET - Updated
Invert(ImGearRectangle) Method




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecImage Class > Invert Method : Invert(ImGearRectangle) Method
Rectangular region of the image to invert.
Inverts the specified rectangular region of the image.
Syntax
'Declaration
 
Public Overloads Sub Invert( _
   ByVal rect As ImGearRectangle _
) 
'Usage
 
Dim instance As ImGearRecImage
Dim rect As ImGearRectangle
 
instance.Invert(rect)
public void Invert( 
   ImGearRectangle rect
)
public: void Invert( 
   ImGearRectangle rect
) 
public:
void Invert( 
   ImGearRectangle rect
) 

Parameters

rect
Rectangular region of the image to invert.
Remarks
This method performs immediate inversion of the color of each pixel within the specified rectangular region of the image. For example, white becomes black, and black becomes white. This method ignores the image inversion mode setting (ImGearRecPreprocessingSettings.InversionMode property). The inverted image replaces the original one and is available to the recognition engine and the application.
See Also

Reference

ImGearRecImage Class
ImGearRecImage Members
Overload List
ImGearRectangle Structure
ImGearRecPreprocessingSettings Class