You can straighten a raster that is slightly crooked. You can specify the angle that you want to use, or ask Imagenation to estimate the angle.
Effect of deskew:
To return the deskew angle's lower and upper bounds:
· Use the IN_GetDeskewLimits function. Specify the active raster layer ID as objectID.
The skew angle that you specify or that is estimated must be within the limit returned by this function.
To return an estimate of the angle by which an image is skewed:
· Use the IN_GuessDeskewAngle function. Specify the active raster layer ID as objectID.
This gives you an estimate of the skew angle, without deskewing the image. You can use the negative of this value to straighten the image.
To deskew the image:
· Use the IN_Deskew function. Specify the active raster layer ID as objectID.
The image is straightened by the angle specified.
Back to: Overview: Improving raster images