C# Класс AForge.Imaging.Filters.QuadrilateralTransformationNearestNeighbor

Наследование: BaseTransformationFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
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