PvaOperatorTypes#

Macros#

BRIEF_DESCRIPTOR_ARRAY_LENGTH

Brute Force Matcher operator's length of Brief Descriptor Array.

MAX_BF_DESCRIPTOR_COUNT

Brute Force Matcher operator's maximum number of descriptors for either queries or references.

MAX_BF_MATCHES_PER_DESCRIPTOR

Brute Force Matcher operator's maximum matches per descriptor.

Enumerations#

PVADistanceType

Defines the types of distance metrics for the DistanceTransform operator.

PVAGMMDataType

Data types for the Gaussian Mixture Model (GMM) used in background subtraction.

PVAImageResizeMethodType

Image resize interpolation method types.

PVAImageStatFlag

Image Statistics operation flags.

PVAMixChannelsCode

MixChannels Operation Codes.

PVAWarpInterpolationType

Warp perspective operator's interpolation types.

PVAWarpTransformationType

Warp perspective operator's transformation types.

PvaMorphologyType

Morphology Operation Codes.

Structs#

PVAImageStatOutput

Image Statistics output structure.

PvaBFMatchesTypeRec

Structure containing match information for a single query descriptor.

PvaBriefDescriptor

Brute Force Matcher operator's structure containing the BRIEF Descriptor.

Enumerations#

enum PVADistanceType#

Defines the types of distance metrics for the DistanceTransform operator.

Specifies the different distance calculation methods available.

Values:

enumerator DIST_L1#

Manhattan distance (L1 norm).

enumerator DIST_L2#

Euclidean distance (L2 norm).

enumerator DIST_HAMMING#

Hamming distance.

enum PVAGMMDataType#

Data types for the Gaussian Mixture Model (GMM) used in background subtraction.

Specifies the available formats for storing GMM parameters such as weight, variance, and mean.

Values:

enumerator GMM_DATA_TYPE_FP32#
enumerator GMM_DATA_TYPE_FP16#
enum PVAImageResizeMethodType#

Image resize interpolation method types.

Values:

enumerator IMAGE_RESIZE_NN#

Nearest neighbor.

enumerator IMAGE_RESIZE_LINEAR#

Bilinear interpolation.

enum PVAImageStatFlag#

Image Statistics operation flags.

Values:

enumerator IMAGE_STAT_FLAG_PIXEL_COUNT#

Calculate pixel count.

enumerator IMAGE_STAT_FLAG_SUM#

Calculate per-channel sum.

enumerator IMAGE_STAT_FLAG_MEAN#

Calculate per-channel mean, triggers IMAGE_STAT_FLAG_SUM and IMAGE_STAT_FLAG_PIXEL_COUNT.

enumerator IMAGE_STAT_FLAG_VARIANCE#

Calculate per-channel variance, triggers IMAGE_STAT_FLAG_MEAN.

enumerator IMAGE_STAT_FLAG_COVARIANCE#

Calculate full covariance matrix, triggers IMAGE_STAT_FLAG_VARIANCE.

enum PVAMixChannelsCode#

MixChannels Operation Codes.

Mix channels is a copy operation from a set of input channels to a set of output channels.

The set of inputs and outputs may be given by any number of input and output images, where each image may have one or more channels.

The channel mapping from input to output is given by two arrays, one with the indices of the input channels, and the another with the corresponding channel index in the output.

The channel indices are enumerated starting from zero and increasing monotonically across all channels of all images provided in the array. For example, given an array of 3 RGB images, index 5 corresponds to the B channel of the second image.

Values:

enumerator SPLIT_RGBA8_TO_U8#

split 1 rgba8 image into 4 u8 images, [0, 1, 2, 3] -> [0, 1, 2, 3]

enumerator MERGE_U8_TO_RGBA8#

merge 4 u8 images into 1 rgba8 image, [0, 1, 2, 3] -> [0, 1, 2, 3]

enum PVAWarpInterpolationType#

Warp perspective operator’s interpolation types.

Values:

enumerator WARP_INTERPOLATION_NN#

Nearest neighbor.

enumerator WARP_INTERPOLATION_LINEAR#

Bilinear interpolation.

enum PVAWarpTransformationType#

Warp perspective operator’s transformation types.

Values:

enumerator WARP_TRANSFORMATION_PERSPECTIVE#

Perspective transformation.

enumerator WARP_TRANSFORMATION_AFFINE#

Affine transformation.

enum PvaMorphologyType#

Morphology Operation Codes.

Values:

enumerator PVA_ERODE#

Erode operation.

enumerator PVA_DILATE#

Dilate operation.