ImageGear for Java
findTilt Method
An com.accusoft.imagegear.core.ImGearRasterPage class object to process.
Returns the slope in the X direction of the tilt plane.
Returns the slope in the Y direction of the tilt plane.
Returns the piston of the tilt plane.

This method computes the least-squares best fit plane for an image. The plane will be given by formula:

f(x, y) = SlopeX * x + SlopeY * y + Piston.

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

Computes the least-squares best fit plane for an image.
Syntax
public static void findTilt( 
   ImGearRasterPage page,
   com.accusoft.imagegear.utility.ImGearRefObject<double> slopeX,
   com.accusoft.imagegear.utility.ImGearRefObject<double> slopeY,
   com.accusoft.imagegear.utility.ImGearRefObject<double> piston
)

Parameters

page
An com.accusoft.imagegear.core.ImGearRasterPage class object to process.
slopeX
Returns the slope in the X direction of the tilt plane.
slopeY
Returns the slope in the Y direction of the tilt plane.
piston
Returns the piston of the tilt plane.

This method computes the least-squares best fit plane for an image. The plane will be given by formula:

f(x, y) = SlopeX * x + SlopeY * y + Piston.

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

See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback