100 #define IN_FILE_NAME "${VX_TEST_DATA_PATH}/colors.bmp" 103 #define OUT_FILE_NAME "${VX_TEST_DATA_PATH}/vx_tutorial_image_extract_channel_out.bmp" 126 printf(
" vx_tutorial_image_extract_channel: Tutorial Started !!! \n");
303 printf(
" vx_tutorial_image_extract_channel: Tutorial Done !!! \n");
struct _vx_image * vx_image
vx_status VX_API_CALL vxQueryImage(vx_image image, vx_enum attribute, void *ptr, vx_size size)
vx_status VX_API_CALL vxReleaseContext(vx_context *context)
struct _vx_context * vx_context
struct _vx_reference * vx_reference
vx_image VX_API_CALL vxCreateImage(vx_context context, vx_uint32 width, vx_uint32 height, vx_df_image color)
vx_status VX_API_CALL vxSetReferenceName(vx_reference ref, const vx_char *name)
vx_status VX_API_CALL vxuChannelCombine(vx_context context, vx_image plane0, vx_image plane1, vx_image plane2, vx_image plane3, vx_image output)
void show_image_attributes(vx_image image)
Show attributes of previously created image.
vx_image tivx_utils_create_vximage_from_bmpfile(vx_context context, const char *filename, vx_bool convert_to_gray_scale)
Create a image data object given BMP filename as input.
vx_context VX_API_CALL vxCreateContext()
vx_status tivx_utils_save_vximage_to_bmpfile(const char *filename, vx_image image)
Save data from image object to PNG file.
vx_status VX_API_CALL vxReleaseImage(vx_image *image)