Cheetah Pregius Camera with 10 GigE Vision Interface – User Manual
October 8, 2020
Page
158
of
170
Rev 1.0
Creating a DPM/HPM Using a Text Editor
You can create your own DPM and HPM files using any ASCII text editor, such as Notepad or
similar. Alternatively, any spreadsheet program (i.e. Microsoft Excel) can be used by converting
the spreadsheet into a comma delimited (.csv) file. In either case, the file must be renamed to
include the .dpm or .hpm file extension. The files look like this:
-- Defective Pixel Map,
-- Date: 5.18.2020,
-- Model#: SFP-C6440M,
-- Serial#: LAC001,
:Table,
-- Column(X),Row(Y)
5683,155
3091,332
3532,893
650,1017
701,1017
1712,1053
914,1067
Pixel maps have two main sections: a header and a table. The header section is a free text area
of up to 256 ASCII characters. Each line of the header section must be terminated with a comma.
The table section of the file contains an array of lines with each line containing an X (column
number) value followed by a comma and a Y (row number) value.
All pixels are listed in the DPM or HPM in order of increasing Y (row) location. If the Y location is
identical, the listing is in order of increasing X (column) location.
The maximum number of pixels in the DMP list is 1024 and in HPM list is 4096.
To create a DPM or HPM file:
1.
Identify defective or hot pixels (refer to the sections
and
IMPORTANT:
When creating a new pixel map, you need to get all defective pixel visible.
Make sure that the
DefectivePixelCorrection
and
BadPixelCorrection
are set to Off in the
Data Correction menu of the software GUI, so the camera does not correct the known pixel
defects.
2.
Locate and adjust defective pixels’ coordinates (refer to the section
STEP1 – STEP3
).
3.
Place pixels’ coordinates into the pixel map and save the file (refer to the section
STEP4, STEP5
).
EXAMPLE
In this example, the first table entry is pixel 4 from row 1, the next entry is pixel 588 from row 1,
and the next entry is pixel 78 from row 5, and so on. The file looks like this:
:Table,
-- Column(X),Row(Y)
4,1
588,1
78,5
82,27
405,300