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
633a7df1
Commit
633a7df1
authored
Jul 19, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handling no-zoom in alignment stats
parent
d7dab33b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
TwoQuadCLT.java
src/main/java/TwoQuadCLT.java
+8
-6
No files found.
src/main/java/TwoQuadCLT.java
View file @
633a7df1
...
...
@@ -6390,6 +6390,7 @@ if (debugLevel > -100) return true; // temporarily !
String
fmt
=
"\t"
+(
inPixels
?
"%8.4f"
:(
inMrad
?
"%8.4f"
:
"%8.2f"
));
String
fmt_angle
=
"\t%8.3f"
;
String
fmt_len
=
"\t%8.3f"
;
int
num_sym
=
showZooms
?
GeometryCorrection
.
CorrVector
.
LENGTH
:
GeometryCorrection
.
CorrVector
.
ZOOM_INDEX
;
class
ModVerString
{
String
model
;
String
version
;
...
...
@@ -6423,10 +6424,10 @@ if (debugLevel > -100) return true; // temporarily !
}
if
(
showSym
)
{
for
(
int
i
=
0
;
i
<
GeometryCorrection
.
CorrVector
.
LENGTH
;
i
++)
{
for
(
int
i
=
0
;
i
<
num_sym
;
i
++)
{
header
+=
String
.
format
(
"\tsym%02d-m"
,
i
);
}
num_col
+=
GeometryCorrection
.
CorrVector
.
LENGTH
;
num_col
+=
num_sym
;
}
...
...
@@ -6442,10 +6443,10 @@ if (debugLevel > -100) return true; // temporarily !
num_col
+=
4
;
}
if
(
showSym
)
{
for
(
int
i
=
0
;
i
<
GeometryCorrection
.
CorrVector
.
LENGTH
;
i
++)
{
for
(
int
i
=
0
;
i
<
num_sym
;
i
++)
{
header
+=
String
.
format
(
"\tsym%02d-a"
,
i
);
}
num_col
+=
GeometryCorrection
.
CorrVector
.
LENGTH
;
num_col
+=
num_sym
;
}
if
(
showRigATR
)
{
header
+=
String
.
format
(
"\trig azmth (%s)\trig tilt(%s)\trig roll (%s)"
,
units
,
units
,
units
);
...
...
@@ -6517,6 +6518,7 @@ if (debugLevel > -100) return true; // temporarily !
// double [] vect_main = qcm.geometryCorrection.getCorrVector().toArray();
StringBuffer
sb
=
new
StringBuffer
();
int
ncol
=
0
;
// sb.append(indx+"\t"+model+"\t"+version);
if
(
showATR
)
{
// main camera
double
[]
v
=
new
double
[
4
];
...
...
@@ -6568,7 +6570,7 @@ if (debugLevel > -100) return true; // temporarily !
}
if
(
showSym
)
{
for
(
int
i
=
0
;
i
<
GeometryCorrection
.
CorrVector
.
LENGTH
;
i
++)
{
for
(
int
i
=
0
;
i
<
num_sym
;
i
++)
{
double
v
=
scale
*
cvm
.
getExtrinsicSymParameterValue
(
i
,
inPixels
);
sb
.
append
(
String
.
format
(
fmt
,
v
));
// sym parameters
fmts
[
ncol
]
=
fmt
;
...
...
@@ -6627,7 +6629,7 @@ if (debugLevel > -100) return true; // temporarily !
}
}
if
(
showSym
)
{
for
(
int
i
=
0
;
i
<
GeometryCorrection
.
CorrVector
.
LENGTH
;
i
++)
{
for
(
int
i
=
0
;
i
<
num_sym
;
i
++)
{
double
v
=
scale
*
cva
.
getExtrinsicSymParameterValue
(
i
,
inPixels
);
sb
.
append
(
String
.
format
(
fmt
,
v
));
// sym parameters
fmts
[
ncol
]
=
fmt
;
...
...
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