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
e3a23742
Commit
e3a23742
authored
May 04, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more debugging of surfaces and tile sorting
parent
d129b782
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
234 additions
and
42 deletions
+234
-42
EyesisCorrectionParameters.java
src/main/java/EyesisCorrectionParameters.java
+43
-7
TileProcessor.java
src/main/java/TileProcessor.java
+30
-17
TileSurface.java
src/main/java/TileSurface.java
+161
-18
No files found.
src/main/java/EyesisCorrectionParameters.java
View file @
e3a23742
This diff is collapsed.
Click to expand it.
src/main/java/TileProcessor.java
View file @
e3a23742
...
@@ -2969,16 +2969,20 @@ public class TileProcessor {
...
@@ -2969,16 +2969,20 @@ public class TileProcessor {
tileSel
,
// final boolean [][] tileSel,
tileSel
,
// final boolean [][] tileSel,
debugLevel
);
// final int debugLevel,
debugLevel
);
// final int debugLevel,
for
(
int
nTry
=
0
;
nTry
<
100
;
nTry
++)
{
int
[]
stats
=
tileSurface
.
assignTilesToSurfaces
(
int
[]
stats
=
tileSurface
.
assignTilesToSurfaces
(
clt_parameters
.
tsMaxDiff
,
//final double maxDiff,
clt_parameters
.
tsMaxDiff
,
//final double maxDiff,
clt_parameters
.
tsMinDiffOther
,
//final double minDiffOther, // should be >= maxDiff
clt_parameters
.
tsMinDiffOther
,
//final double minDiffOther, // should be >= maxDiff
clt_parameters
.
tsMinStrength
,
//final double minStrength,
clt_parameters
.
tsMinStrength
,
//final double minStrength,
clt_parameters
.
tsMaxStrength
,
//final double maxStrength,
clt_parameters
.
tsMaxStrength
,
//final double maxStrength,
clt_parameters
.
tsMinSurface
,
//final double minSurfStrength, // minimal surface strength at the tile location
clt_parameters
.
tsMoveDirs
,
//final int moveDirs, // 1 increase disparity, 2 - decrease disparity, 3 - both directions
clt_parameters
.
tsMoveDirs
,
//final int moveDirs, // 1 increase disparity, 2 - decrease disparity, 3 - both directions
clt_parameters
.
tsEnMulti
,
//final boolean enMulti,
clt_parameters
.
tsEnMulti
,
//final boolean enMulti,
clt_parameters
.
tsSurfStrPow
,
//final double surfStrPow, // surface strength power
clt_parameters
.
tsSurfStrPow
,
//final double surfStrPow, // surface strength power
clt_parameters
.
tsAddStrength
,
//final double addStrength,
clt_parameters
.
tsSigma
,
//final double sigma,
clt_parameters
.
tsSigma
,
//final double sigma,
clt_parameters
.
tsNSigma
,
//final double nSigma,
clt_parameters
.
tsNSigma
,
//final double nSigma,
clt_parameters
.
tsMinPull
,
//final double minPull,
clt_parameters
.
tsMinAdvantage
,
//final double minAdvantage,
clt_parameters
.
tsMinAdvantage
,
//final double minAdvantage,
clt_parameters
.
plDispNorm
,
// final double dispNorm, // disparity normalize (proportionally scale down disparity difference if above
clt_parameters
.
plDispNorm
,
// final double dispNorm, // disparity normalize (proportionally scale down disparity difference if above
dispStrength
,
// final double [][][] dispStrength,
dispStrength
,
// final double [][][] dispStrength,
...
@@ -2986,6 +2990,15 @@ public class TileProcessor {
...
@@ -2986,6 +2990,15 @@ public class TileProcessor {
clt_parameters
.
tileX
,
clt_parameters
.
tileX
,
clt_parameters
.
tileY
);
clt_parameters
.
tileY
);
tileSurface
.
printStats
(
stats
);
tileSurface
.
printStats
(
stats
);
if
(!
clt_parameters
.
tsEnMulti
||
!
clt_parameters
.
tsLoopMulti
||
!
tileSurface
.
makesSensToTry
(
stats
)){
break
;
}
}
if
(
clt_parameters
.
tsShow
){
tileSurface
.
showAssignment
(
"assignments"
,
// String title,
dispStrength
);
// final double [][][] dispStrength)
}
return
true
;
return
true
;
}
}
...
...
src/main/java/TileSurface.java
View file @
e3a23742
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