Function Description

Description

The following table describes the functions of the VPC and the function support of each version.

Function

Description

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Atlas A2 training products / Atlas A2 inference products

Atlas A3 training products / Atlas A3 inference products

Cropping

Crops one or more selected regions of interest (ROIs) from one or more images.

Resizing:

  • Supports 8K resizing and non-8K resizing for images with different resolutions.
  • Resizes an ROI (supporting uncompressed format) or multiple ROIs from a single image (supporting uncompressed format).
  • Other resizing modes, such as resizing an image without cropping it and resizing an image with the aspect ratio preserved.

Pasting

Crops a selected ROI from the input image, resizes the cropped image, and loads it to the output buffer. The output buffer may be a blank image (when the allocated output buffer is empty) or an existing canvas (when an image has been read into the allocated output buffer). Note that the pasting concept here refers only to the case when the output buffer is an existing canvas.

Stitching

Crops selected ROIs from the input image, resizes the cropped images, and loads them to specified areas in the output buffer.

Image pyramid

Successively downsamples an image using a Gaussian filter.

x

x

x

x

Histogram analysis

Collects statistics on the pixel value distribution of each image channel (RGB/YUV).

x

Remapping

Remaps an image to a new one based on the given configuration.

x

Border making

Creates a border around an image (also referred to as padding).

x

Format conversion

Converts between RGB and YUV.

Image grayscale

Converts a color image into a grayscale image. Note that a grayscale input image produces only a grayscale output image.

Only the data of the Y component is extracted from the YUV420SP output image.

The operation of implementing image grayscale is to output an image in YUV400 format.

The operation of implementing image grayscale is to output an image in YUV400 format.

The operation of implementing image grayscale is to output an image in YUV400 format.

The operation of implementing image grayscale is to output an image in YUV400 format.

Function Diagrams ( Atlas training products ) ( Atlas inference products )

Figure 1 VPC function diagram (cropping + resizing + pasting)
Figure 2 VPC function diagram (stitching)
Figure 3 Resizing with the aspect ratio preserved (paste ROI centered on the output image)
Figure 4 Resizing with the aspect ratio preserved (paste ROI vertically centered on the output image)
Figure 5 Resizing with the aspect ratio preserved (paste ROI horizontally centered on the output image)

Function Diagrams ( Atlas A2 training products / Atlas A2 inference products ) ( Atlas 200I/500 A2 inference products ) ( Atlas A3 training products / Atlas A3 inference products )

Figure 6 VPC function diagram (cropping + resizing + pasting)
Figure 7 VPC function diagram (stitching)
Figure 8 Resizing with the aspect ratio preserved (paste ROI centered on the output image)

See Also

The following figure shows the component layout of the RGB and YUV formats. Two YUV420SP images are used as examples for semi-planar format and an ARGB image is used as an example for Packed and RGB formats.