Saving pet file changes values
When saving one of our test project files, e.g., multicolor.pet
the following values get changed even if no change in the UI were made:
before:
...
<EXTR_CALIBRATION>
<REPROJECTION_ERROR AVG_DH="0" AVG_PH="4.6884881402590801e-310" AVG_PX="4.6884896848343745e-310" MAX_DH="4.6884896848343745e-310" MAX_PH="4.6884881402590801e-310" MAX_PX="6.9528791764073219e-310" SD_DH="4.6884881402586848e-310" SD_PH="6.9528791763966501e-310" SD_PX="1.5962438829080507e+218" USED_HEIGHT="6.9528791763942786e-310"/>
</EXTR_CALIBRATION>
...
<CODE_MARKER>
<DICTIONARY ID="16"/>
<PARAM ADAPTIVE_THRESH_CONSTANT="7" ADAPTIVE_THRESH_WIN_SIZE_MAX="23" ADAPTIVE_THRESH_WIN_SIZE_MIN="3" ADAPTIVE_THRESH_WIN_SIZE_STEP="10" CORNER_REFINEMENT="0" CORNER_REFINEMENT_MAX_ITERATIONS="30" CORNER_REFINEMENT_MIN_ACCURACY="0.10000000000000001" CORNER_REFINEMENT_WIN_SIZE="5" ERROR_CORRECTION_RATE="0.59999999999999998" MARKER_BORDER_BITS="1" MAX_ERRONEOUS_BITS_IN_BORDER_RATE="0.34999999999999998" MAX_MARKER_PERIMETER="15" MAX_RATIO_ERROR="0.029999999999999999" MIN_CORNER_DISTANCE="0.050000000000000003" MIN_DISTANCE_TO_BORDER="3" MIN_MARKER_DISTANCE="0.050000000000000003" MIN_MARKER_PERIMETER="5" MIN_OTSU_STD_DEV="5" PERSPECTIVE_REMOVE_IGNORED_MARGIN_PER_CELL="0.13" PERSPECTIVE_REMOVE_PIXEL_PER_CELL="4" SHOW_DETECTED_CANDIDATES="0"/>
</CODE_MARKER>
...
<VIEW ANTIALIAS="0" CAMERA="2" HIDE_CONTROLS="0" OPENGL="0" SAVE_TRANSFORMED="0" TRANSFORMATION="340 0 2900 4482"/>
after:
...
<EXTR_CALIBRATION>
<REPROJECTION_ERROR AVG_DH="4.6470760810892959e-310" AVG_PH="6.9526347665129079e-310" AVG_PX="4.6470762189287692e-310" MAX_DH="4.6884896848343745e-310" MAX_PH="4.6884881402590801e-310" MAX_PX="6.9528791764073219e-310" SD_DH="4.6884881402586848e-310" SD_PH="6.9528791763966501e-310" SD_PX="1.5962438829080507e+218" USED_HEIGHT="6.9528791763942786e-310"/>
</EXTR_CALIBRATION>
...
<CODE_MARKER>
<DICTIONARY ID="16"/>
<PARAM ADAPTIVE_THRESH_CONSTANT="7" ADAPTIVE_THRESH_WIN_SIZE_MAX="27" ADAPTIVE_THRESH_WIN_SIZE_MIN="3" ADAPTIVE_THRESH_WIN_SIZE_STEP="10" CORNER_REFINEMENT="0" CORNER_REFINEMENT_MAX_ITERATIONS="30" CORNER_REFINEMENT_MIN_ACCURACY="0.10000000000000001" CORNER_REFINEMENT_WIN_SIZE="5" ERROR_CORRECTION_RATE="0.59999999999999998" MARKER_BORDER_BITS="1" MAX_ERRONEOUS_BITS_IN_BORDER_RATE="0.34999999999999998" MAX_MARKER_PERIMETER="15" MAX_RATIO_ERROR="0.029999999999999999" MIN_CORNER_DISTANCE="0.050000000000000003" MIN_DISTANCE_TO_BORDER="3" MIN_MARKER_DISTANCE="0.050000000000000003" MIN_MARKER_PERIMETER="5" MIN_OTSU_STD_DEV="5" PERSPECTIVE_REMOVE_IGNORED_MARGIN_PER_CELL="0.13" PERSPECTIVE_REMOVE_PIXEL_PER_CELL="4" SHOW_DETECTED_CANDIDATES="0"/>
</CODE_MARKER>
...
<VIEW ANTIALIAS="0" CAMERA="2" HIDE_CONTROLS="0" OPENGL="0" SAVE_TRANSFORMED="0" TRANSFORMATION="340 0 2900 4480"/>
in more detail:
- in
EXTR_CALIBRATION
the valuesAVG_DH
,AVG_PH
, andAVG_PX
changed - in
CODE_MARKER/PARAM the value
ADAPTIVE_THRESH_WIN_SIZE_MAX` changes - in
VIEW
the valueTRANSFORMATION
changes