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
ce517a59
Commit
ce517a59
authored
Apr 05, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restoring infinity testing
parent
9e5d4e97
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
168 additions
and
162 deletions
+168
-162
AlignmentCorrection.java
src/main/java/AlignmentCorrection.java
+156
-152
QuadCLT.java
src/main/java/QuadCLT.java
+12
-10
No files found.
src/main/java/AlignmentCorrection.java
View file @
ce517a59
...
@@ -334,6 +334,10 @@ public class AlignmentCorrection {
...
@@ -334,6 +334,10 @@ public class AlignmentCorrection {
debugLevel
);
debugLevel
);
if
(
debugLevel
>
-
1
){
if
(
debugLevel
>
-
1
){
System
.
out
.
println
(
"infinityCorrection(): coefficient increments from infinityMismatchCorrection"
);
System
.
out
.
println
(
"infinityCorrection(): coefficient increments from infinityMismatchCorrection"
);
if
(
mismatch_corr_coefficients
==
null
)
{
// non-null only for poly !
System
.
out
.
println
(
"imismatch_corr_coefficients == null"
);
return
mismatch_corr_coefficients
;
}
show_fine_corr
(
show_fine_corr
(
mismatch_corr_coefficients
,
// double [][][] corr,
mismatch_corr_coefficients
,
// double [][][] corr,
""
);
// String prefix)
""
);
// String prefix)
...
...
src/main/java/QuadCLT.java
View file @
ce517a59
...
@@ -4315,12 +4315,13 @@ public class QuadCLT {
...
@@ -4315,12 +4315,13 @@ public class QuadCLT {
show_fine_corr
(
this
.
fine_corr
,
" was"
);
show_fine_corr
(
this
.
fine_corr
,
" was"
);
}
}
}
}
if
(
debugLevel
>
1
){
if
(
corr
==
null
)
{
System
.
out
.
println
(
"New correction is null (only non-null for poly, not for infinity"
);
return
;
}
else
{
if
(
debugLevel
>
1
){
if
(
debugLevel
>
1
){
show_fine_corr
(
corr
,
"added"
);
show_fine_corr
(
corr
,
"added"
);
}
}
}
for
(
int
n
=
0
;
n
<
corr
.
length
;
n
++){
for
(
int
n
=
0
;
n
<
corr
.
length
;
n
++){
for
(
int
i
=
0
;
i
<
corr
[
n
].
length
;
i
++){
for
(
int
i
=
0
;
i
<
corr
[
n
].
length
;
i
++){
for
(
int
j
=
0
;
j
<
corr
[
n
][
i
].
length
;
j
++){
for
(
int
j
=
0
;
j
<
corr
[
n
][
i
].
length
;
j
++){
...
@@ -4332,6 +4333,7 @@ public class QuadCLT {
...
@@ -4332,6 +4333,7 @@ public class QuadCLT {
show_fine_corr
(
this
.
fine_corr
,
""
);
show_fine_corr
(
this
.
fine_corr
,
""
);
}
}
}
}
}
public
void
show_fine_corr
()
public
void
show_fine_corr
()
{
{
show_fine_corr
(
this
.
fine_corr
,
""
);
show_fine_corr
(
this
.
fine_corr
,
""
);
...
...
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