ImageGear v26.5 - Updated March 3, 2025
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / RemoveTilt(ImGearRasterPage,Boolean) Method
An ImageGear.Core.ImGearRasterPage class object to process.
Flag to indicate whether to remove the mean from the de-tilted image, giving it zero-mean statistics.




In This Topic
RemoveTilt(ImGearRasterPage,Boolean) Method
In This Topic
This method computes the best-fit plane for an image, and then subtracts that plane from the image to produce the output.
Syntax
'Declaration
 
Public Shared Sub RemoveTilt( _
   ByVal page As ImGearRasterPage, _
   ByVal removeMean As Boolean _
) 
 
'Usage
 
Dim page As ImGearRasterPage
Dim removeMean As Boolean
 
ImGearRasterProcessing.RemoveTilt(page, removeMean)

Parameters

page
An ImageGear.Core.ImGearRasterPage class object to process.
removeMean
Flag to indicate whether to remove the mean from the de-tilted image, giving it zero-mean statistics.
Remarks
This method is very handy for correcting illumination gradients in a poorly digitized image.

If removeMean argument is set to true, then global mean is removed from the image as well.

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

See Also