ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecImage Class : TransformRectangle Method |
rect
rectangle as coordinates belonging to the current image, and so it will calculate the corresponding coordinates on the original (incoming) image.When false, the method will treat the values in rect
rectangle as coordinates belonging to original (incoming) image, and so the method will calculate the corresponding coordinates on the current image.
'Declaration Public Sub TransformRectangle( _ ByRef rect As ImGearRectangle, _ ByVal fromCurrentToOriginal As Boolean _ )
'Usage Dim instance As ImGearRecImage Dim rect As ImGearRectangle Dim fromCurrentToOriginal As Boolean instance.TransformRectangle(rect, fromCurrentToOriginal)
public void TransformRectangle( ref ImGearRectangle rect, bool fromCurrentToOriginal )
public: void TransformRectangle( ref ImGearRectangle rect, bool fromCurrentToOriginal )
public: void TransformRectangle( ImGearRectangle% rect, bool fromCurrentToOriginal )
rect
rectangle as coordinates belonging to the current image, and so it will calculate the corresponding coordinates on the original (incoming) image.When false, the method will treat the values in rect
rectangle as coordinates belonging to original (incoming) image, and so the method will calculate the corresponding coordinates on the current image.Note: ReduceToBitonal method clears the history of image transforms. After applying this method, Recognition engine treats the bitonal image as if it was the original one.