Terminology

Table 1 Terminology

Term

Description

widthStride

Stride of each line of pixels, also the width result from alignment of the input and output images. widthStride of an RGB image is calculated differently from that of a YUV image.

The requirements on widthStride vary according to different functions. For details, see the following restrictions:

heightStride

Number of pixel lines in the buffer, indicating the height of the input and output images after alignment.

The requirements on heightStride vary according to different functions. For details, see the following restrictions:

Top/Bottom/Left/Right offset

Used to configure the top offset, bottom offset, left offset, and right offset for the following purposes: (1) Specify the position of the crop ROI or paste ROI. (2) Specify the width and height of the crop ROI or paste ROI by using the following formulas: Right offset – Left offset + 1 = Width; Bottom offset – Top offset + 1 = Height. For details, see Figure 1.

Crop ROI

ROI selected to crop.

The minimum resolution is 10 x 6, and the maximum resolution is 4096 x 4096.

For restrictions on the crop ROI, see Restrictions on Image Cropping and Pasting.

Paste ROI

ROI selected in the canvas to paste. The minimum resolution is 10 x 6, and the maximum resolution is 4096 x 4096.

For restrictions on the paste ROI, see Restrictions on Image Cropping and Pasting.

Non-8K

Input image resolution ranging from 10 x 6 to 4096 x 4096.

In the non-8K scenario, the width stride and height stride of the input image meet the following requirements: (Width stride/Coefficient) ∈ [32, 4096], and Height stride ∈ [6, 4096].

The coefficient is related to the input image format.

  • YUV400, YUV420SP, YUV422SP, YUV444SP, and YUV440SP: The coefficient is 1.
  • YUV422 Packed: The coefficient is 2.
  • YUV444 Packed and RGB888: The coefficient is 3.
  • ARGB8888: The coefficient is 4.

8K

Input image resolution ranging from 4096 to 8192 (excluding 4096).

In the 8K scenario, the width stride and height stride of the input image meet the following requirements:

Atlas 200/300/500 Inference Product: The width stride ranges from 4096 to 8192 or the height stride ranges from 4096 to 8192 (excluding 4096).

Atlas Training Series Product: The width stride ranges from 4096 to 8192 or the height stride ranges from 4096 to 8192 (excluding 4096).