AForge.Imaging.Filters.QuadrilateralTransformationNearestNeighbor.QuadrilateralTransformationNearestNeighbor C# (CSharp) Method

QuadrilateralTransformationNearestNeighbor() public method

Initializes a new instance of the QuadrilateralTransformationNearestNeighbor class.

This constructor sets AutomaticSizeCalculaton to , which means that destination image will have width and height automatically calculated based on SourceCorners property.

public QuadrilateralTransformationNearestNeighbor ( List sourceCorners ) : System
sourceCorners List Corners of the source quadrilateral area.
return System
        public QuadrilateralTransformationNearestNeighbor( List<IntPoint> sourceCorners ) 
        {
            baseFilter = new SimpleQuadrilateralTransformation( sourceCorners );
            baseFilter.UseInterpolation = false;
        }

Same methods

QuadrilateralTransformationNearestNeighbor::QuadrilateralTransformationNearestNeighbor ( List sourceCorners, int newWidth, int newHeight ) : System