U
SER
M
ANUAL
8
K
/4
K
CL
M
ONO
–
R
EV
I
–
06/2017
P
A G E
|
50
7.7
Statistics and Line Profile
This function allows the User to get some statistics on a pre-defined ROI. On request, the Camera acquires and
then calculates some key values as the min, the max, the average or the standard deviation in this Region of
Interest.
The grab and calculation command and also the collection of the results is not performed in real time as it is done
through the serial connection.
This function and the results are available in CommCam in the “Line Profile Average” Section :
Line Profile average measurement
(
LineAverageProfile
) : Control the grab and computation of the
statistics.
Read function : “
r pixs
” : Get the status of the calculation
Returned by the camera : 0 : finished, 1: running
Write function :
“
w pixs
1
” : Start the accumulation and then the computing
“
w pixs
0
” : Abort the computing.
The Calculated values are detailed as following :
o
Pixel average Value
(
PixelROIMean
) : Average gray level value calculated on whole Region of
interest
Read function : “
r pavr
” : Get the average value
Returned by the camera : Unsigned format value : U12.4
o
Pixel Standard deviation
(
PixelROIStandardDeviation
) : standard deviation of all the pixel gray
level values of Region of interest
Read function : “
r pstd
” : Get the standard deviation
Returned by the camera : Unsigned format value : U12.4
o
Pixel Min value
(
PixelROIMin
) : Minimum gray level pixel value on the whole region of interest.
Read function : “
r pmin
” : Get the Minimum value
Returned by the camera : Unsigned format value : U12.4
o
Pixel Max Value
(
PixelROIMax
) : Maximum gray level pixel value on the whole region of interest
Read function : “
r pmax
” : Get the maximum value
Returned by the camera : Unsigned format value : U12.4
Pixel access Line number
(
PixelAccessLineNumer
) : Set the number of lines to accumulate.
Read function : “
r pixl
” : Get the number of line
Returned by the camera : 1, 256, 512 or 1024
Write function : “
w pixl <val>
” : Set the number of lines. <val> is 1, 256, 512 or 1024.
Pixel ROI Start
(
PixelRoiStart
) : Set the Region of Interest start position.
Read function : “
r prod
” : Get the starting pixel
Returned by the camera : value between 0 and 16383
Write function : “
w prod <val>
” : Set the starting pixel. <val> is between 0 and 16383
Pixel ROI Width
(
PixelRoiWidth
) : Set the Width of the Region of Interest.
Read function : “
r prow
” : Get the width in pixel
Returned by the camera : value between 1 and 16384
Write function : “
w prow <val>
” : Set the ROI width in pixels. <val> is between 1 and 16384
After performing a line profile measurement, all the values computed which are described
below are not refreshed automatically in CommCam : You have to right-click on each value
and ask for an individual refresh.