Adds a specified plane to the input image to correct for a tilt in the image luminance.
Syntax
Parameters
- page
- An ImageGear.Core.ImGearRasterPage class object to process.
- slopeX
- Specifies the slope of the plane in X direction, in units per pixel.
- slopeY
- Specifies the slope of the plane in Y direction, in units per pixel.
Example
// Find the tilt of an image.
double slopeX, slopeY, piston;
ImGearRasterProcessing.FindTilt(igRasterPage, out slopeX, out slopeY, out piston);
// Add the found tilt from the image, in effect removing it.
ImGearRasterProcessing.AddTilt(igRasterPage, slopeX, slopeY);
' Find the tilt of an image.
Dim slopeX As Double, slopeY As Double, piston As Double
ImGearRasterProcessing.FindTilt(igRasterPage, slopeX, slopeY, piston)
' Add the found tilt from the image, in effect removing it.
ImGearRasterProcessing.AddTilt(igRasterPage, slopeX, slopeY)
See Also