ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / AddTilt(ImGearRasterPage,Double,Double) Method
An ImageGear.Core.ImGearRasterPage class object to process.
Specifies the slope of the plane in X direction, in units per pixel.
Specifies the slope of the plane in Y direction, in units per pixel.




In This Topic
    AddTilt(ImGearRasterPage,Double,Double) Method
    In This Topic
    Adds a specified plane to the input image to correct for a tilt in the image luminance.
    Syntax
    'Declaration
     
    Public Shared Sub AddTilt( _
       ByVal page As ImGearRasterPage, _
       ByVal slopeX As Double, _
       ByVal slopeY As Double _
    ) 
    'Usage
     
    Dim page As ImGearRasterPage
    Dim slopeX As Double
    Dim slopeY As Double
     
    ImGearRasterProcessing.AddTilt(page, slopeX, slopeY)
    public static void AddTilt( 
       ImGearRasterPage page,
       double slopeX,
       double slopeY
    )
    public: static void AddTilt( 
       ImGearRasterPage* page,
       double slopeX,
       double slopeY
    ) 
    public:
    static void AddTilt( 
       ImGearRasterPage^ page,
       double slopeX,
       double slopeY
    ) 

    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.
    Remarks
    This method adds a specified plane to the input image to correct for a tilt in the image luminance. The plane has X and Y zero crossing at the center of the input image with dSlopeX and dSlopeY as specified in the arguments.

    Can be applied only to 8, 16 or 32-bpp grayscale images with one channel.

    Example
    See Also