Commit 4bfd5679 authored by Andrey Filippov's avatar Andrey Filippov

Implemented saving of pixel defects to the sensor calibration files

parent 7d18fb0e
...@@ -9748,6 +9748,9 @@ if (MORE_BUTTONS) { ...@@ -9748,6 +9748,9 @@ if (MORE_BUTTONS) {
DEBUG_LEVEL); DEBUG_LEVEL);
boolean showImages=false; boolean showImages=false;
boolean saveImages=true; // not yet implemented boolean saveImages=true; // not yet implemented
//Defect [][]
SFEPhases.Defect[][] defectList=null;
do {
if (interactive){ if (interactive){
GenericDialog gd= new GenericDialog("accummulateImages"); GenericDialog gd= new GenericDialog("accummulateImages");
gd.addCheckbox ("Show accumulated images", showImages); gd.addCheckbox ("Show accumulated images", showImages);
...@@ -9759,9 +9762,6 @@ if (MORE_BUTTONS) { ...@@ -9759,9 +9762,6 @@ if (MORE_BUTTONS) {
} }
if (showImages) for (ImagePlus imp:accImages) if (imp!=null) imp.show(); if (showImages) for (ImagePlus imp:accImages) if (imp!=null) imp.show();
// SFEPhases sfe_phases= new SFEPhases(); // SFEPhases sfe_phases= new SFEPhases();
SFEPhases.Defect[][] defectList=null;
//Defect [][]
do {
defectList= (new SFEPhases()).interactiveExtractDefectListsFromAccumulatedImages( defectList= (new SFEPhases()).interactiveExtractDefectListsFromAccumulatedImages(
accImages, accImages,
128, // tileClearSize, 128, // tileClearSize,
...@@ -9779,6 +9779,8 @@ if (MORE_BUTTONS) { ...@@ -9779,6 +9779,8 @@ if (MORE_BUTTONS) {
5.0, // gapWidth2, // absolute 5.0, // gapWidth2, // absolute
true, // processHot, true, // processHot,
true, // processCold, true, // processCold,
true, // updateSensorCalibrationFiles
false, // clearDefects, // clear defects if none detected
new MatchSimulatedPattern(DISTORTION.FFTSize), //matchSimulatedPattern= new MatchSimulatedPattern(DISTORTION.FFTSize), //matchSimulatedPattern=
COMPONENTS, COMPONENTS,
THREADS_MAX, THREADS_MAX,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment