Photon Focus MV1-D3360 Series User Manual page 101

Cmos camera with gige interface
Table of Contents

Advertisement

7.5.5 Predefined LUT settings
Some predefined LUT are stored in the camera. To activate a predefined LUT:
1.
Select LUT and RegionLUT (if required) as described in Section 7.5.2 and Section 7.5.3.
2.
Set LUTAutoMode (in category LUTControl) to the desired value. The available settings are
described in property list of the camera which is contained in the PFInstaller.
3.
If the LUTAutoMode requires additional settings (e.g. Gamma LUTAutoMode), then it can be set
with LUTAutoValue.
7.6 MROI
The MROI feature is described in Section 5.1.2. This section describes how to set the MROI
values.
When MROI is enabled, then the camera internally processes the MROI entries sequentially,
starting at MROI_Index 0. The processing is stopped when either the last MROI_Index is reached or
when an entry with MROI_H = 0 is reached.
Procedure to write MROI entries:
1.
Disable MROI by setting MROI_Enable to False. This is mandatory otherwise setting the
MROI entries will be ignored.
2.
Set MROI_Index. In the first run it is set to 0 and then incremented in every run.
3.
Set MROI_Y to the starting row of the MROI.
4.
Set MROI_H to the height of the MROI.
5.
Proceed with step 2, incrementing the MROI_Index. If no more MROI should be set, then
run the steps 2 to 4 again (incrementing MROI_Index) but set MROI_H to 0.
6.
Enable MROI by setting MROI_Enable to True.
7.
Read the property MROI_Htot. Set the property Height (in category ImageFormatControl) to
the value of MROI_Htot. This is mandatory as this value is not automatically updated.
Example pseudo-code to set two MROI: The resulting total height of the example will be 400.
SetFeature('MROI_Enable', false);
SetFeature('MROI_Index', 0);
SetFeature('MROI_Y', 50);
SetFeature('MROI_H', 100);
SetFeature('MROI_Index', 1);
SetFeature('MROI_Y', 600);
SetFeature('MROI_H', 300);
SetFeature('MROI_Index', 2);
SetFeature('MROI_H', 0);
SetFeature('MROI_Enable', true);
int heightTot;
GetFeature('MROI_Htot', &heightTot);
SetFeature('Height', heightTot);
MAN071 12/2018 V1.1
7.6 MROI
101 of 125

Advertisement

Table of Contents
loading

Table of Contents