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
241391f7
Commit
241391f7
authored
May 15, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debjugging conflict resolution
parent
c5e8df93
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
175 additions
and
18 deletions
+175
-18
SuperTiles.java
src/main/java/SuperTiles.java
+156
-18
TileProcessor.java
src/main/java/TileProcessor.java
+19
-0
No files found.
src/main/java/SuperTiles.java
View file @
241391f7
This diff is collapsed.
Click to expand it.
src/main/java/TileProcessor.java
View file @
241391f7
...
@@ -3435,6 +3435,7 @@ public class TileProcessor {
...
@@ -3435,6 +3435,7 @@ public class TileProcessor {
-
1
);
// debugLevel);
-
1
);
// debugLevel);
// just testing
// just testing
/*
for (int pass = 0; pass < 10; pass ++) {
for (int pass = 0; pass < 10; pass ++) {
int [] dual_tri_results = st. resolveDualTriangularConflicts(
int [] dual_tri_results = st. resolveDualTriangularConflicts(
conflicts0, // int [][][] conflicts,
conflicts0, // int [][][] conflicts,
...
@@ -3450,6 +3451,24 @@ public class TileProcessor {
...
@@ -3450,6 +3451,24 @@ public class TileProcessor {
System.out.println("Pass "+(pass+1)+": dual_tri_results (success/failures) = "+dual_tri_results[0]+" / "+dual_tri_results[1]);
System.out.println("Pass "+(pass+1)+": dual_tri_results (success/failures) = "+dual_tri_results[0]+" / "+dual_tri_results[1]);
if (dual_tri_results[0] == 0) break;
if (dual_tri_results[0] == 0) break;
}
}
*/
for
(
int
pass
=
0
;
pass
<
1
;
pass
++)
{
int
[]
conflict_resoultion_results
=
st
.
resolveMultiTriangularConflicts
(
conflicts0
,
// int [][][] conflicts,
conflicts0_stats
,
clt_parameters
.
plMaxEigen
,
clt_parameters
.
plStarOrtho
,
// double orthoWeight,
clt_parameters
.
plStarDiag
,
// double diagonalWeight,
clt_parameters
.
plDblTriLoss
,
// double diagonalWeight,
clt_parameters
.
plPreferDisparity
,
1
,
// final int debugLevel)
clt_parameters
.
tileX
,
clt_parameters
.
tileY
);
System
.
out
.
println
(
"Pass "
+(
pass
+
1
)+
": dual_tri_results (success/failures) = "
+
conflict_resoultion_results
[
0
]+
" / "
+
conflict_resoultion_results
[
1
]);
if
(
conflict_resoultion_results
[
0
]
==
0
)
break
;
}
int
[]
conflicts1_stats
=
st
.
getNumConflicts
(
int
[]
conflicts1_stats
=
st
.
getNumConflicts
(
conflicts0
,
conflicts0
,
-
1
);
// debugLevel);
-
1
);
// debugLevel);
...
...
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