Rotates images by arbitrary angles. [more]
Categories: Geometry
Keywords: image rotation, pixel interpolation
[hide]
Angle
The rotation angle ranges from 0° to 180°. Instead of using negative and positive angles, we talk of clockwise and counter clockwise angles, respectively. You can define the rotation angle in a rapid and coarse way by clicking and dragging on the rotation angle diagram, which is a square graph at the right side of the Rotation section. You can also enter a rotation angle in degrees directly using the corresponding edit field.
Clockwise
Uncheck this check box to specify a positive rotation angle (counter clockwise direction). Activate this option to rotate by a negative angle (clockwise direction). When dragging and moving around the rotation angle diagram, the Clockwise checkbox is checked or unchecked automatically, depending on wether the angle defined is negative or positive, respectively.
Use fast rotations
Rotations by 90° clockwise or counter clockwise and 180° can be applied through fast rotation operations. When this option is selected, only pixel copy and exchange operations are used to perform fast rotations, instead of making use of interpolation algorithms, to generate the output image. Copying and exchanging pixels are nondestructive operations: as long as no parts of the image are cropped, an unlimited number of these operations could be applied without modifying the original pixel values (they would only change their positions in the output image). However, interpolated pixel values cannot be used to recover the original values, so we say that interpolation is a destructive operation.
Pixel interpolation algorithms are necessary to compute output image pixels when the process rotates an image. The exception is when the image is being rotated by ±90° or 180° and the Use fast rotations option is enabled (see the Rotation section above).
For detailed information on interpolation algorithms, refer to the Interpolation Algorithms documentation.
In this section you can define the color and opacity of the pixels used to fill the empty areas that fall outside the original image on the output rotated image. You can adjust three slider controls, corresponding to the individual RGB components, plus one slider for the alpha (opacity) channel. For grayscale monochrome images, only the first slider (R) applies. A rectangular control below the sliders shows a sample of the custom color and its opacity.
You can read the fill color directly from any image by clicking on it in readout mode. This only works when the Fill Color section of the Rotation interface is expanded.
Copyright © 2011 Pleiades Astrophoto. All Rights Reserved.