Skip to content

Image Transformer vTool#

The Image Transformer vTool allows you to modify the size and appearance of images using operations like translation, rotation, scaling, and resizing.

There are two transformation input modes:

  • Parameter: This allows you to specify the transformation values individually using the parameters available, e.g., horizontal and vertical translation, rotation around the center or the origin, and horizontal and vertical scaling.
  • Matrix: This allows you to edit the transformation matrix directly, e.g., if the transformation matrix is known upfront or the values come from another source.

Transforming the image may cause parts of the image to leave the original image area. For example, if you're rotating an image, its corners may be cut off. To prevent this, there is the Image Resize Mode which allows you to specify whether you want to preserve the original size of the image, which would mean losing image content, or to resize it, either manually or automatically.

Inputs#

Image#

Accepts images directly from a Camera vTool or any other vTool that outputs images.

Outputs#

Image#

Returns the transformed image with the same data type as the input image.

Supported Pixel Formats#

Depending on the pixel format of the input image, the Image Transformer vTool outputs the following pixel formats:

Input Pixel Format Output Pixel Format
Bayer GR 8 RGB 8 Planar
Bayer GR 16 RGB 16 Planar
Bayer RG 8 RGB 8 Planar
BGRA 8 Packed RGB 8 Planar
BGR 8 Packed RGB 8 Planar
Mono 8 Mono 8
Mono 10 Mono 10
Mono 12 Mono 12
Mono 16 Mono 16
RGB 8 Packed RGB 8 Planar
RGB 16 Packed RGB 16 Planar
RGB 8 Planar RGB 8 Planar
RGB 16 Planar RGB 16 Planar