IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
ids_peak_icv.datatypes.image Namespace Reference

Data Structures

class  Image
 Image Class for working with algorithms. More...
 

Functions

int _get_byte_size (Size size, int bits_per_pixel, bool packed_or_yuv)
 Calculate the byte size of an image buffer for a given size and pixel format.
 
Any _check_and_get_icv_image (Any image_var)
 
Any _check_icv_image (Any image_var)
 

Function Documentation

◆ _check_and_get_icv_image()

Any _check_and_get_icv_image ( Any image_var)
protected

Definition at line 671 of file image.py.

◆ _check_icv_image()

Any _check_icv_image ( Any image_var)
protected

Definition at line 678 of file image.py.

◆ _get_byte_size()

int _get_byte_size ( Size size,
int bits_per_pixel,
bool packed_or_yuv )
protected

Calculate the byte size of an image buffer for a given size and pixel format.

Parameters
sizeThe image dimensions (width, height) in pixels.
bits_per_pixelThe number of storage bits per pixel for the pixel format.
packed_or_yuvIf True, assumes packed or yuv format (truncate bits to full bytes). If False, assumes other format (round up to nearest byte).
Returns
The byte size of the buffer.

Definition at line 653 of file image.py.