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
1d7456a6
Commit
1d7456a6
authored
Sep 15, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modifying debug output
parent
b7e92215
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
Aberration_Calibration.java
src/main/java/Aberration_Calibration.java
+13
-2
FocusingField.java
src/main/java/FocusingField.java
+1
-1
No files found.
src/main/java/Aberration_Calibration.java
View file @
1d7456a6
...
...
@@ -5198,6 +5198,17 @@ if (MORE_BUTTONS) {
String
path
=
dFile
+
Prefs
.
getFileSeparator
()+
lensPrefix
+
CAMERAS
.
getLastTimestampUnderscored
()+
(
modeAverage
?
"-summary.csv"
:
"-tempscan.csv"
);
if
(
MASTER_DEBUG_LEVEL
>
0
)
System
.
out
.
println
((
modeAverage
?
"Saving averaged measurements to "
:
"Saving temperature measurement log data to "
)+
path
);
int
sensorWidth
=
2992
,
sensorHeight
=
1936
;
if
((
LENS_DISTORTIONS
!=
null
)
&&
(
LENS_DISTORTIONS
.
fittingStrategy
!=
null
)
&&
(
LENS_DISTORTIONS
.
fittingStrategy
!=
null
)&&
(
LENS_DISTORTIONS
.
fittingStrategy
.
distortionCalibrationData
!=
null
)
&&
(
LENS_DISTORTIONS
.
fittingStrategy
.
distortionCalibrationData
.
eyesisCameraParameters
!=
null
)){
sensorWidth
=
LENS_DISTORTIONS
.
fittingStrategy
.
distortionCalibrationData
.
eyesisCameraParameters
.
sensorWidth
;
sensorHeight
=
LENS_DISTORTIONS
.
fittingStrategy
.
distortionCalibrationData
.
eyesisCameraParameters
.
sensorHeight
;
}
if
(
FOCUSING_FIELD
!=
null
){
sensorWidth
=
FOCUSING_FIELD
.
sensorWidth
;
sensorHeight
=
FOCUSING_FIELD
.
sensorHeight
;
}
MOTORS
.
listHistory
(
path
,
// on screen, path - to csv
FOCUS_MEASUREMENT_PARAMETERS
.
serialNumber
,
...
...
@@ -5210,8 +5221,8 @@ if (MORE_BUTTONS) {
FOCUS_MEASUREMENT_PARAMETERS
.
lensDistanceWeightK
,
FOCUS_MEASUREMENT_PARAMETERS
.
lensDistanceWeightY
,
label
.
equals
(
"Focus Average"
),
FOCUS_MEASUREMENT_PARAMETERS
.
result_PX0
-
LENS_DISTORTIONS
.
fittingStrategy
.
distortionCalibrationData
.
eyesisCameraParameters
.
sensorWidth
/
2
,
FOCUS_MEASUREMENT_PARAMETERS
.
result_PY0
-
LENS_DISTORTIONS
.
fittingStrategy
.
distortionCalibrationData
.
eyesisCameraParameters
.
sensorHeight
/
2
,
FOCUS_MEASUREMENT_PARAMETERS
.
result_PX0
-
sensorWidth
/
2
,
FOCUS_MEASUREMENT_PARAMETERS
.
result_PY0
-
sensorHeight
/
2
,
FOCUS_MEASUREMENT_PARAMETERS
.
result_lastKT
,
FOCUS_MEASUREMENT_PARAMETERS
.
result_allHistoryKT
);
...
...
src/main/java/FocusingField.java
View file @
1d7456a6
...
...
@@ -8589,7 +8589,7 @@ f_corr: d_fcorr/d_zcorr=0, other: a, reff, kx -> ar[1], ar[2], ar[3], ar[4]
}
boolean
OK
=
qualBOptimize
.
qLevenbergMarquardt
(
interactive
,
// boolean openDialog,
debugLevel
+
1
);
debugLevel
+
(
interactive
?
1
:
0
)
);
if
(
OK
){
zTxTy
=
fieldFitting
.
mechanicalFocusingModel
.
getZTxTy
();
System
.
out
.
println
(
"qualBOptimize returned:\n"
+
...
...
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