ImageGear Professional for Windows ActiveX
FindTilt Method

Description:

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.

This method takes into account the ROI settings of pPage object, that are accessible via the IGPage.ROI property. By default ROI is set to the entire image.

Syntax:

      FindTilt(pPage As IGPage, pSlopeX As Double, pSlopeY As Double,
pPiston As Double);

Parameters:

Name Description
pPage IGPage object for which to find tilt.
pSlopeX Returns the slope in the X direction of the tilt plane.
pSlopeY Returns the slope in the Y direction of the tilt plane.
pPiston Returns the piston of the tilt plane.

Return Value:

None

Bits Per Pixel:

8, 16, or 32bit grayscale images with one channel

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback