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
e66a2111
Commit
e66a2111
authored
Nov 09, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging
parent
efd35b70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
MatchSimulatedPattern.java
src/main/java/MatchSimulatedPattern.java
+5
-4
No files found.
src/main/java/MatchSimulatedPattern.java
View file @
e66a2111
...
...
@@ -3296,8 +3296,8 @@ public class MatchSimulatedPattern {
this
.
PATTERN_GRID
=
null
;
return
0
;
}
if
(
debugLevel
>
1
)
{
System
.
out
.
println
(
"
*** distortions: got "
+
nodeQueue
.
size
()+
"
candidates"
);
if
(
global_debug_level
>
0
)
{
System
.
out
.
println
(
"
distortions(): found "
+
nodeQueue
.
size
()+
" grid
candidates"
);
// System.out.println("*** distortions: Center x="+IJ.d2s(centerXY[0],3)+" y="+ IJ.d2s(centerXY[1],3));
}
...
...
@@ -3470,7 +3470,8 @@ public class MatchSimulatedPattern {
continue
;
}
else
if
((
refCell
[
0
]!=
null
)
&&
(
refCell
[
0
].
length
>
3
)){
System
.
out
.
println
(
"**** refCell was deleted **** u="
+
iUVRef
[
0
]+
" v="
+
iUVRef
[
1
]+
" current="
+
iUVdir
[
0
]+
"/"
+
iUVdir
[
1
]+
" len="
+
iUVdir
.
length
);
" current="
+
iUVdir
[
0
]+
"/"
+
iUVdir
[
1
]+
" len="
+
iUVdir
.
length
+
" ncell="
+
ncell
+
" waveFrontList.size()="
+
waveFrontList
.
size
());
}
//found reference cell, calculate x/y, make sure it is inside the selection w/o borders
double
[][]
wv
=
new
double
[
2
][];
...
...
@@ -3695,7 +3696,7 @@ public class MatchSimulatedPattern {
// end of layer - it is a hack below, marking initial wave to recalculate it from neighbors
if
(
initialWave
!=
null
){
// just after the first layer (usually one cell) - delete it and add next time - otherwise first one needs large correction
if
(
global_debug_level
>
0
)
System
.
out
.
println
(
"Removing "
+
initialWave
.
size
()+
" initial wave cells
"
);
System
.
out
.
println
(
"Removing "
+
initialWave
.
size
()+
" initial wave cells
, waveFrontList.size()="
+
waveFrontList
.
size
()
);
while
(
initialWave
.
size
()>
0
){
uvdir
=
getWaveList
(
initialWave
,
0
);
// clearPatternGridCell(PATTERN_GRID, uvdir);
...
...
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