Rotate

Description

Rotates an image. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8, I16, RGB and HSL.

Documentation illustration (illustration unavailable in the archive). Rotate Parameters : cluster,

Documentation illustration (illustration unavailable in the archive). Angle : float, defines the angle to rotate.
Documentation illustration (illustration unavailable in the archive).
Interpolation : enum,

      • NEAREST : nearest neighbor interpolation.
      • LINEAR : bilinear interpolation.
      • CUBIC : bicubic interpolation.
      • AREA : resampling using pixel area relation. It may be a preferred method for image decimation, as it gives moire’-free results. But when the image is zoomed, it is similar to the INTER_NEAREST method.
      • LANCZOS4 : Lanczos interpolation over 8×8 neighborhood.

Documentation illustration (illustration unavailable in the archive).

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Image Dst : class

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision ​library to run it).