/// <summary>
 /// Initializes a new instance of the <see cref="QuadrilateralTransformationBilinear"/> class.
 /// </summary>
 /// 
 /// <param name="sourceCorners">Corners of the source quadrilateral area.</param>
 /// 
 /// <remarks><para>This constructor sets <see cref="AutomaticSizeCalculaton"/> to
 /// <see langword="true"/>, which means that destination image will have width and
 /// height automatically calculated based on <see cref="SourceCorners"/> property.</para></remarks>
 ///
 public QuadrilateralTransformationBilinear( List<IntPoint> sourceCorners )
 {
     baseFilter = new SimpleQuadrilateralTransformation( sourceCorners );
     baseFilter.UseInterpolation = true;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QuadrilateralTransformationNearestNeighbor"/> class.
 /// </summary>
 ///
 /// <param name="sourceCorners">Corners of the source quadrilateral area.</param>
 ///
 /// <remarks><para>This constructor sets <see cref="AutomaticSizeCalculaton"/> to
 /// <see langword="true"/>, which means that destination image will have width and
 /// height automatically calculated based on <see cref="SourceCorners"/> property.</para></remarks>
 ///
 public QuadrilateralTransformationNearestNeighbor(List <IntPoint> sourceCorners)
 {
     baseFilter = new SimpleQuadrilateralTransformation(sourceCorners);
     baseFilter.UseInterpolation = false;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QuadrilateralTransformationNearestNeighbor"/> class.
 /// </summary>
 /// 
 /// <param name="sourceCorners">Corners of the source quadrilateral area.</param>
 /// 
 /// <remarks><para>This constructor sets <see cref="AutomaticSizeCalculaton"/> to
 /// <see langword="true"/>, which means that destination image will have width and
 /// height automatically calculated based on <see cref="SourceCorners"/> property.</para></remarks>
 ///
 public QuadrilateralTransformationNearestNeighbor( List<IntPoint> sourceCorners ) 
 {
     baseFilter = new SimpleQuadrilateralTransformation( sourceCorners );
     baseFilter.UseInterpolation = false;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QuadrilateralTransformationBilinear"/> class.
 /// </summary>
 ///
 /// <param name="sourceCorners">Corners of the source quadrilateral area.</param>
 ///
 /// <remarks><para>This constructor sets <see cref="AutomaticSizeCalculaton"/> to
 /// <see langword="true"/>, which means that destination image will have width and
 /// height automatically calculated based on <see cref="SourceCorners"/> property.</para></remarks>
 ///
 public QuadrilateralTransformationBilinear(List <IntPoint> sourceCorners)
 {
     baseFilter = new SimpleQuadrilateralTransformation(sourceCorners);
     baseFilter.UseInterpolation = true;
 }