8.Features
© China Daheng Group, Inc. Beijing Image Vision Technology Branch 142
8.3.15. Counter
The camera only supports one counter (Counter1), which can count the number of FrameTrigger,
AcquisitionTrigger and FrameStart signals received by the camera. The counter starts counting from 0.
You can select one of the above three signals to count by CounterEventSource. The FrameTrigger and
AcquisitionTrigger signals of the counter statistics refer to the signals that have been triggered for filtering
without a trigger delay.
If CounterValue is enabled, the statistical data can be inserted into the frame information and output with
the image.
The counter can be reset by an external signal. The reset source is selected by CounterResetSource.
Currently, the CounterResetSource option supports Off, SoftWare, Line0, Line2, and Line3. Among them,
Off means no reset, SoftWare means software reset, Line0, Line2 or Line3 means reset through IO port
input signal. The polarity of the reset signal only supports RisingEdge, which means reset the Counter on
the rising edge of the reset signal.
Counter configuration:
1. Set CounterSelector, currently only Counter1 supported.
2. Set CounterEventSource, the values that can be set are FrameStart, FrameTrigger, AcquisitionTrigger.
3. Set CounterResetSource, the values that can be set are Off, SoftWare, Line0, Line2, Line3.
4. Set CounterResetActivation, currently only RisingEdge supported.
1) After the acquisition is stopped, the Counter continues to work, will not be cleared, and it will
be cleared when the camera is powered off.
2) CounterReset is used to software reset the counter.
Camera models that support this feature:
Model
MER-302-56U3M/C(-L)
8.4. Image Processing
8.4.1. Defect Pixel Correction
Due to the technical defects of the image sensor, the camera has defect pixels. Some of these defect
pixels are fixed at the same gray value and do not change with the scene, which are called dead pixels. In
acquired images, some pixels may appear significantly brighter or darker than the rest, even if uniform
light is used, resulting in a significant difference between the gray value and the surrounding pixels, which
is called dark pixels or bright pixels.
The defect pixel correction feature minimizes the influence of these sensitivity differences. The camera
identifies pixels that have a significantly higher or lower intensity value than their neighboring pixels
("outlier pixels") and adjusts their intensity value.