toImageCoordinates(from:imageSize:origin:)
Converts a rectangle normalized to a region within an image into full image coordinates.
Declaration
func toImageCoordinates(from regionOfInterest: NormalizedRect, imageSize: CGSize, origin: CoordinateOrigin = .lowerLeft) -> CGRectParameters
- regionOfInterest:
The region within an image you normalized the rect to.
- imageSize:
The size of the image.
- origin:
The origin.