Welcome to our Support Center

Rotate

Description

Rotates an image. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted U8, I16, RGB and HSL.

Rotate Parameters : cluster,

Angle : float, defines the angle to rotate.
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.

Output parameters

 

Image Dst : class

Example

All these exemples 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 TIGR library to run it).

Table of Contents