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
1a329010
Commit
1a329010
authored
Sep 06, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating Corr2dLMA to support variable number of image sensors
parent
e6a1d91b
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
421 additions
and
289 deletions
+421
-289
Corr2dLMA.java
src/main/java/com/elphel/imagej/tileprocessor/Corr2dLMA.java
+345
-248
Correlation2d.java
...n/java/com/elphel/imagej/tileprocessor/Correlation2d.java
+52
-22
ImageDtt.java
src/main/java/com/elphel/imagej/tileprocessor/ImageDtt.java
+4
-4
ImageDttCPU.java
...ain/java/com/elphel/imagej/tileprocessor/ImageDttCPU.java
+20
-15
No files found.
src/main/java/com/elphel/imagej/tileprocessor/Corr2dLMA.java
View file @
1a329010
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/Correlation2d.java
View file @
1a329010
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/ImageDtt.java
View file @
1a329010
...
...
@@ -2591,7 +2591,7 @@ public class ImageDtt extends ImageDttCPU {
lma
=
corr2d
.
corrLMA
(
imgdtt_params
,
// ImageDttParameters imgdtt_params,
fake_corrs
,
// double [][] corrs,
0x11
,
// imgdtt_params.dbg_pair_mask, // int pair_mask, // which pairs to process
corr2d
.
longToArray
(
0x11
),
//
0x11, // imgdtt_params.dbg_pair_mask, // int pair_mask, // which pairs to process
false
,
// boolean run_poly_instead, // true - run LMA, false - run 2d polynomial approximation
corr_stat
[
0
],
// double xcenter, // preliminary center x in pixels for largest baseline
imgdtt_params
.
ortho_vasw_pwr
,
// double vasw_pwr, // value as weight to this power,
...
...
@@ -2602,7 +2602,7 @@ public class ImageDtt extends ImageDttCPU {
lma
=
corr2d
.
corrLMA
(
imgdtt_params
,
// ImageDttParameters imgdtt_params,
corrs
,
// double [][] corrs,
used_pairs
,
// imgdtt_params.dbg_pair_mask, // int pair_mask, // which pairs to process
corr2d
.
longToArray
(
used_pairs
),
//
used_pairs, // imgdtt_params.dbg_pair_mask, // int pair_mask, // which pairs to process
false
,
// boolean run_poly_instead, // true - run LMA, false - run 2d polynomial approximation
corr_stat
[
0
],
// double xcenter, // preliminary center x in pixels for largest baseline
imgdtt_params
.
ortho_vasw_pwr
,
// double vasw_pwr, // value as weight to this power,
...
...
@@ -3253,7 +3253,7 @@ public class ImageDtt extends ImageDttCPU {
corrs
,
// double [][] corrs,
tile_disp_dist
,
rXY
,
// double [][] rXY, // non-distorted X,Y offset per nominal pixel of disparity
imgdtt_params
.
dbg_pair_mask
,
// int pair_mask, // which pairs to process
corr2d
.
longToArray
(
imgdtt_params
.
dbg_pair_mask
),
//
imgdtt_params.dbg_pair_mask, // int pair_mask, // which pairs to process
null
,
// disp_str[cTile], //corr_stat[0], // double xcenter, // preliminary center x in pixels for largest baseline
poly_disp
,
// double[] poly_ds, // null or pair of disparity/strength
imgdtt_params
.
ortho_vasw_pwr
,
// double vasw_pwr, // value as weight to this power,
...
...
@@ -3571,7 +3571,7 @@ public class ImageDtt extends ImageDttCPU {
corrs
,
// double [][] corrs,
tile_disp_dist
,
rXY
,
// double [][] rXY, // non-distorted X,Y offset per nominal pixel of disparity
imgdtt_params
.
dbg_pair_mask
,
// int pair_mask, // which pairs to process
corr2d
.
longToArray
(
imgdtt_params
.
dbg_pair_mask
),
//
imgdtt_params.dbg_pair_mask, // int pair_mask, // which pairs to process
null
,
// disp_str[cTile], //corr_stat[0], // double xcenter, // preliminary center x in pixels for largest baseline
poly_disp
,
// double[] poly_ds, // null or pair of disparity/strength
imgdtt_params
.
ortho_vasw_pwr
,
// double vasw_pwr, // value as weight to this power,
...
...
src/main/java/com/elphel/imagej/tileprocessor/ImageDttCPU.java
View file @
1a329010
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