Deskewing an image

 

You can correct a raster that is slightly crooked. You can specify the angle that you want to use, or you can ask Imagenation to estimate the angle.

Effect of deskewing:

image\deskews.gif

To return the deskew angle's lower and upper bounds:

· Use the GetDeskewLimits transaction.

The skew angle that you specify or that is estimated must be within the limit returned by this transaction.

To return an estimate of the angle by which an image is skewed:

· Use the GuessDeskewAngle transaction.

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 Deskew transaction.

The image is straightened by the angle specified.

Back to: Overview: Improving raster images