Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
4bfd5679
Commit
4bfd5679
authored
Nov 24, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented saving of pixel defects to the sensor calibration files
parent
7d18fb0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
Aberration_Calibration.java
src/main/java/Aberration_Calibration.java
+14
-12
No files found.
src/main/java/Aberration_Calibration.java
View file @
4bfd5679
...
@@ -9748,20 +9748,20 @@ if (MORE_BUTTONS) {
...
@@ -9748,20 +9748,20 @@ 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
if
(
interactive
){
GenericDialog
gd
=
new
GenericDialog
(
"accummulateImages"
);
gd
.
addCheckbox
(
"Show accumulated images"
,
showImages
);
gd
.
addCheckbox
(
"Save accumulated images"
,
saveImages
);
gd
.
showDialog
();
if
(
gd
.
wasCanceled
())
return
;
// cancel all command
showImages
=
gd
.
getNextBoolean
();
saveImages
=
gd
.
getNextBoolean
();
}
if
(
showImages
)
for
(
ImagePlus
imp:
accImages
)
if
(
imp
!=
null
)
imp
.
show
();
// SFEPhases sfe_phases= new SFEPhases();
SFEPhases
.
Defect
[][]
defectList
=
null
;
//Defect [][]
//Defect [][]
SFEPhases
.
Defect
[][]
defectList
=
null
;
do
{
do
{
if
(
interactive
){
GenericDialog
gd
=
new
GenericDialog
(
"accummulateImages"
);
gd
.
addCheckbox
(
"Show accumulated images"
,
showImages
);
gd
.
addCheckbox
(
"Save accumulated images"
,
saveImages
);
gd
.
showDialog
();
if
(
gd
.
wasCanceled
())
return
;
// cancel all command
showImages
=
gd
.
getNextBoolean
();
saveImages
=
gd
.
getNextBoolean
();
}
if
(
showImages
)
for
(
ImagePlus
imp:
accImages
)
if
(
imp
!=
null
)
imp
.
show
();
// SFEPhases sfe_phases= new SFEPhases();
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment