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
a8e74029
Commit
a8e74029
authored
May 05, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added some filtereing to tiles-to-surfaces assignment
parent
e3a23742
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
517 additions
and
144 deletions
+517
-144
EyesisCorrectionParameters.java
src/main/java/EyesisCorrectionParameters.java
+99
-16
SuperTiles.java
src/main/java/SuperTiles.java
+3
-1
TileProcessor.java
src/main/java/TileProcessor.java
+156
-79
TileSurface.java
src/main/java/TileSurface.java
+259
-48
No files found.
src/main/java/EyesisCorrectionParameters.java
View file @
a8e74029
This diff is collapsed.
Click to expand it.
src/main/java/SuperTiles.java
View file @
a8e74029
...
...
@@ -3641,6 +3641,7 @@ public class SuperTiles{
* Find mutual links between multi-layer planes for supertiles. requires that for each plane there are calculated smalles eigenvalues
* for merging with each plane for each of 8 neighbors
* @param rquality maximal degradation by merging (does not depend on the total weight)
* @param okMergeEigen if result eigenvalue of the merged planes is below, OK to bypass worst worsening
* @param maxEigen maximal eigenvalue of each of the merged planes
* @param minWeight minimal weight of each of the planes
* @param debugLevel debug level
...
...
@@ -3650,6 +3651,7 @@ public class SuperTiles{
public
void
selectNeighborPlanesMutual
(
final
double
rquality
,
final
double
weakWorsening
,
final
double
okMergeEigen
,
final
double
dispNorm
,
final
double
maxEigen
,
// maximal eigenvalue of planes to consider
final
double
minWeight
,
// minimal pain weight to consider
...
...
@@ -3759,7 +3761,7 @@ public class SuperTiles{
w2
);
// double w2)
double
this_rq_norm
=
this_rq
;
if
((
w1
+
w2
)
<
weakWorsening
)
this_rq_norm
*=
(
w1
+
w2
)
/
weakWorsening
;
// forgive more for weak planes
if
(
this_rq_norm
<=
rquality
)
{
if
(
(
this_rq_norm
<=
rquality
)
||(
merge_ev
[
np
]
<=
okMergeEigen
)
)
{
this_rq
/=
(
w1
+
w2
);
// for comparision reduce this value for stronger planes
if
(
Double
.
isNaN
(
best_rqual
)
||
(
this_rq
<
best_rqual
)){
// OK if Double.isNaN(this_rq[np])
best_rqual
=
this_rq
;
...
...
src/main/java/TileProcessor.java
View file @
a8e74029
This diff is collapsed.
Click to expand it.
src/main/java/TileSurface.java
View file @
a8e74029
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