Click or drag to resize

IBitmapImageReduceDistortion Method

Reduces either barrel or pin cushion distortion.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IBitmapImage ReduceDistortion(
	float correction,
	Interpolation interpolation
)

Parameters

correction
Type: SystemSingle
0 equals no change. Use positive values for barrel distortion, negative for pin cusion distortion.
interpolation
Type: CohesiveComputing.ImagingInterpolation
Interpolation type.

Return Value

Type: IBitmapImage
A new image instance with effect applied.
See Also