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
105ebd82
Commit
105ebd82
authored
Nov 19, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more debugging of missing grids
parent
6b16236a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MatchSimulatedPattern.java
src/main/java/MatchSimulatedPattern.java
+2
-2
No files found.
src/main/java/MatchSimulatedPattern.java
View file @
105ebd82
...
@@ -3249,7 +3249,7 @@ public class MatchSimulatedPattern {
...
@@ -3249,7 +3249,7 @@ public class MatchSimulatedPattern {
}
else
{
// new multithreaded mode
}
else
{
// new multithreaded mode
int
startScanIndex
=
3
;
int
startScanIndex
=
3
;
for
(;(
startScanIndex
<
numTries
)
&&
triedIndices
[
startScanIndex
];
startScanIndex
++);
// skip already tried indices
for
(;(
startScanIndex
<
numTries
)
&&
triedIndices
[
startScanIndex
];
startScanIndex
++);
// skip already tried indices
if
((
global_debug_level
>
0
)
&&
(
startScanIndex
>
3
))
System
.
out
.
println
(
"distortions(): startScanIndex="
+
startScanIndex
);
if
((
global_debug_level
>
0
)
&&
(
startScanIndex
>
3
))
System
.
out
.
println
(
"distortions(): startScanIndex="
+
startScanIndex
+
" > 3 ####"
);
if
(
startScanIndex
<
numTries
)
{
if
(
startScanIndex
<
numTries
)
{
nodeQueue
=
findPatternCandidates
(
nodeQueue
=
findPatternCandidates
(
...
@@ -4022,7 +4022,7 @@ public class MatchSimulatedPattern {
...
@@ -4022,7 +4022,7 @@ public class MatchSimulatedPattern {
final
boolean
updateStatus
,
final
boolean
updateStatus
,
final
int
debugLevel
final
int
debugLevel
){
){
if
(
debugLevel
>
0
)
{
if
(
(
debugLevel
>
0
)
&&
((
debugLevel
>
1
)
||
(
startScanIndex
>
3
)))
{
int
debugNumLeft
=
0
;
int
debugNumLeft
=
0
;
for
(
boolean
b:
triedIndices
)
if
(!
b
)
debugNumLeft
++;
for
(
boolean
b:
triedIndices
)
if
(!
b
)
debugNumLeft
++;
System
.
out
.
println
(
"findPatternCandidates(), startScanIndex= "
+
startScanIndex
+
",triedIndices.length="
+
triedIndices
.
length
+
" debugNumLeft="
+
debugNumLeft
);
System
.
out
.
println
(
"findPatternCandidates(), startScanIndex= "
+
startScanIndex
+
",triedIndices.length="
+
triedIndices
.
length
+
" debugNumLeft="
+
debugNumLeft
);
...
...
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