C# Class Accord.Imaging.Filters.BaseResizeFilter

Base class for image resizing filters.

The abstract class is the base class for all filters, which implement image rotation algorithms.

Inheritance: BaseTransformationFilter
Afficher le fichier Open project: accord-net/framework

Protected Properties

Свойство Type Description
newHeight int
newWidth int

Méthodes protégées

Méthode Description
BaseResizeFilter ( int newWidth, int newHeight ) : System

Initializes a new instance of the BaseResizeFilter class.

CalculateNewImageSize ( UnmanagedImage sourceData ) : Size

Calculates new image size.

Method Details

BaseResizeFilter() protected méthode

Initializes a new instance of the BaseResizeFilter class.
protected BaseResizeFilter ( int newWidth, int newHeight ) : System
newWidth int Width of the new resized image.
newHeight int Height of the new resize image.
Résultat System

CalculateNewImageSize() protected méthode

Calculates new image size.
protected CalculateNewImageSize ( UnmanagedImage sourceData ) : Size
sourceData UnmanagedImage Source image data.
Résultat System.Drawing.Size

Property Details

newHeight protected_oe property

New image height.
protected int newHeight
Résultat int

newWidth protected_oe property

New image width.
protected int newWidth
Résultat int