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
a0c4b513
Commit
a0c4b513
authored
Oct 23, 2020
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixes in multiple scene fitting
parent
f62718b1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
201 additions
and
91 deletions
+201
-91
ErsCorrection.java
...n/java/com/elphel/imagej/tileprocessor/ErsCorrection.java
+11
-1
GeometryCorrection.java
...a/com/elphel/imagej/tileprocessor/GeometryCorrection.java
+0
-1
OpticalFlow.java
...ain/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
+190
-89
No files found.
src/main/java/com/elphel/imagej/tileprocessor/ErsCorrection.java
View file @
a0c4b513
...
...
@@ -434,7 +434,7 @@ public class ErsCorrection extends GeometryCorrection {
this
.
xyz
=
xyz
;
this
.
atr
=
atr
;
this
.
ers_xyz_dt
=
ers_xyz_dt
;
this
.
ers_atr_dt
=
ers_
xyz
_dt
;
this
.
ers_atr_dt
=
ers_
atr
_dt
;
this
.
ers_xyz_d2t
=
new
double
[
3
];
this
.
ers_atr_d2t
=
new
double
[
3
];
}
...
...
@@ -774,6 +774,16 @@ public class ErsCorrection extends GeometryCorrection {
setupERS
();
}
public
void
printVectors
(
double
[]
xyz
,
double
[]
atr
)
{
if
(
xyz
!=
null
)
printAngle
(
" XYZ"
,
xyz
);
if
(
atr
!=
null
)
printAngle
(
" ATR"
,
atr
);
printAngle
(
"ERS XYZ_dt"
,
ers_wxyz_center_dt
);
printAngle
(
"ERS ATR_dt"
,
ers_watr_center_dt
);
}
public
void
setupERS
()
{
double
ers_sign
=
1.0
;
// -1.0; // invert all corrections to opposite?
...
...
src/main/java/com/elphel/imagej/tileprocessor/GeometryCorrection.java
View file @
a0c4b513
...
...
@@ -58,7 +58,6 @@ public class GeometryCorrection {
public
int
debugLevel
=
0
;
public
double
line_time
=
26.5
E
-
6
;
// duration of sensor scan line (for ERS) Wrong, 36.38us (change and re-run ERS
public
int
pixelCorrectionWidth
=
2592
;
// virtual camera center is at (pixelCorrectionWidth/2, pixelCorrectionHeight/2)
public
int
pixelCorrectionHeight
=
1936
;
...
...
src/main/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
View file @
a0c4b513
This diff is collapsed.
Click to expand it.
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