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) {
DEBUG_LEVEL);
boolean showImages=false;
boolean saveImages=true; // not yet implemented
//Defect [][]
SFEPhases.Defect[][] defectList=null;
do {
if (interactive){
GenericDialog gd= new GenericDialog("accummulateImages");
gd.addCheckbox ("Show accumulated images", showImages);
......@@ -9759,9 +9762,6 @@ if (MORE_BUTTONS) {
}
if (showImages) for (ImagePlus imp:accImages) if (imp!=null) imp.show();
// SFEPhases sfe_phases= new SFEPhases();
SFEPhases.Defect[][] defectList=null;
//Defect [][]
do {
defectList= (new SFEPhases()).interactiveExtractDefectListsFromAccumulatedImages(
accImages,
128, // tileClearSize,
......@@ -9779,6 +9779,8 @@ if (MORE_BUTTONS) {
5.0, // gapWidth2, // absolute
true, // processHot,
true, // processCold,
true, // updateSensorCalibrationFiles
false, // clearDefects, // clear defects if none detected
new MatchSimulatedPattern(DISTORTION.FFTSize), //matchSimulatedPattern=
COMPONENTS,
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