C# 클래스 AForge.Imaging.Filters.QuadrilateralTransformationNearestNeighbor

상속: BaseTransformationFilter
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET

공개 메소드들

메소드 설명
QuadrilateralTransformationNearestNeighbor ( List sourceCorners ) : System

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.

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

Initializes a new instance of the QuadrilateralTransformationNearestNeighbor class.

This constructor sets AutomaticSizeCalculaton to , which means that destination image will have width and height as specified by user.

보호된 메소드들

메소드 설명
CalculateNewImageSize ( UnmanagedImage sourceData ) : Size

Calculates new image size.

ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData ) : void

Process the filter on the specified image.

메소드 상세

CalculateNewImageSize() 보호된 메소드

Calculates new image size.
The specified quadrilateral's corners are outside of the given image.
protected CalculateNewImageSize ( UnmanagedImage sourceData ) : Size
sourceData UnmanagedImage Source image data.
리턴 System.Drawing.Size

ProcessFilter() 보호된 메소드

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData ) : void
sourceData UnmanagedImage Source image data.
destinationData UnmanagedImage Destination image data.
리턴 void

QuadrilateralTransformationNearestNeighbor() 공개 메소드

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.
리턴 System

QuadrilateralTransformationNearestNeighbor() 공개 메소드

Initializes a new instance of the QuadrilateralTransformationNearestNeighbor class.

This constructor sets AutomaticSizeCalculaton to , which means that destination image will have width and height as specified by user.

public QuadrilateralTransformationNearestNeighbor ( List sourceCorners, int newWidth, int newHeight ) : System
sourceCorners List Corners of the source quadrilateral area.
newWidth int Width of the new transformed image.
newHeight int Height of the new transformed image.
리턴 System