Transforms the coordinates of a rectangle between original input and processed versions of the image.
Syntax
Parameters
- rect
- Rectangle whose coordinates are to be transformed.
- fromCurrentToOriginal
- When true, the method will treat the values in
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.
See Also