Automatic calculation of destination image or not.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: (


public bool AutomaticSizeCalculaton { get; set; }


The property specifies how to calculate size of destination (transformed) image. If the property is set to falseFalsefalsefalse (False in Visual Basic), then NewWidth and NewHeight properties have effect and destination image's size is specified by user. If the property is set to trueTruetruetrue (True in Visual Basic), then setting the above mentioned properties does not have any effect, but destionation image's size is automatically calculated from SourceCorners property - width and height come from length of longest edges.

See Also