Specific Intel's Helper Kernels for OpenVX* 1.0.1

File read image from Intel MDData (com.intel.helpers.fread_image_from_mddata)

Description

Reads an image from an MDData object stored in memory.

Parameters

Direction

Name

Type

Description

In

Input_MDData_path

vx_intel_md_data

MDData object to extract the images from

Out

Output_Image

vx_image

The output image size must be in VX_DF_IMAGE_S16 or VX_DF_IMAGE_U16 pixel format

File read Intel MDData (com.intel.helpers.fread_mddata)

Description

Reads an MDData from a file.

Parameters

Direction

Name

Type

Description

In

File_path

vx_array

File path to the input MDData

Out

Output_MDData

vx_intel_md_data

MDData object read from the input file

File write Intel MDData (com.intel.helpers.fwrite_mddata)

Description

Receives an MDData object and writes it into a file.

Parameters

Direction

Name

Type

Description

In

File_path

vx_array

File path to where to store the MDData object

In

Input_md_data

vx_intel_md_data

The input MDData object that should written to the file

Get Intel MdData maximum (com.intel.helpers.get_mddata_max)

Description

Returns the maximum element in the MDData object and its index.

Parameters

Direction

Name

Type

Description

In

Input_MDData

vx_intel_md_data

The input Intel MDData

Out

Max_value

vx_scalar

The maximum value in the MDData

Out

Max_value_index

vx_scalar

The index of the maximum value in the MDData

Get Intel MdData minimum (com.intel.helpers.get_mddata_min)

Description

Returns the minimum element in the MDData object and its index.

Parameters

Direction

Name

Type

Description

In

Input_ MDData

vx_intel_md_data

The input MDData object

Out

Min_value

vx_scalar

The minimal value in the MDData

Out

Min_value_index

vx_scalar

The index of the minimal value in the MDData

Scale Intel MdData (com.intel.helpers.scalemddata)

Description

Scales a MDData data object.

Parameters

Direction

Name

Type

Description

In

Input_ MDData

vx_intel_md_data

The input MDData with data type of VX_DF_INTEL_MDDATA_Q78

In

Scale_factor

vx_scalar

The scale factor for the MDData of type VX_FLOAT_32

Out

Output_ MDData

vx_intel_md_data

The output MDData with data type of VX_DF_INTEL_MDDATA_Q78

For more complete information about compiler optimizations, see our Optimization Notice.