v24.2.6764

DCIMG SDK code samples


CPP
Sample Explanation
get_fileinformation
open file and show file information
Open DCIMG file and display each session information are number of frame and image geometry.
access_recorded_image
access recorded image and output image file
Access image specified by argument and output image file as raw data. Enable directive to change access method.
get_usermetadata
get user meta data and output data file
Get user meta data specified by argument and output data file. Enable directive to change type of meta data.
get_timestamp
get and show time stamp
Get and display time stamp of all frames in specified session.
get_usermetadatablock
get user meta data block and output data file
Get user meta data of all frame in specified session at a time and output each data file. Enable directive to change type of meta data.
getdata_region
get region for data reduction
Get and display rectangle region of extraction when recorded data is extraction data.
getdata_sensorparam
get and show sensor setting information
Get sensor setting information of specified session and display binning and subarray information.

Python
Sample Explanation
Source Folder
The linked directory contains the following sources.
dcimgnp_show_image.py
Prompt the file name and frame index to read, and show the read frame with OpenCV.

MATLAB
Sample Explanation
dcimgmex
MEX source code to call DCIMG-API from MATLAB
source code of dcimgmex MEX that helps opening and reading DCIMG file from MATLAB and sample code of MATLAB script exist.

Go to top of this chapter