Apply the perspective transformation coeffs to
the image.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static Image Perspective( Image image, PerspectiveTransformation coeffs, Size2D targetSize, Interpolation interpolation )
Parameters
- image
- Type: Stemmer.CvbImage
Image to transform. - coeffs
- Type: Stemmer.Cvb.FoundationPerspectiveTransformation
Perspective transformaton coefficients. - targetSize
- Type: Stemmer.CvbSize2D
Size of the destination image. - interpolation
- Type: Stemmer.Cvb.FoundationInterpolation
Interpolation to use.
Return Value
Type: ImageThe transformed image.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If image is null. |
ObjectDisposedException | If image has been disposed. |
See Also