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
08d6be50
Commit
08d6be50
authored
Nov 10, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
other debugging
parent
6c9d6370
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
EyesisAberrations.java
src/main/java/EyesisAberrations.java
+1
-1
MatchSimulatedPattern.java
src/main/java/MatchSimulatedPattern.java
+9
-2
No files found.
src/main/java/EyesisAberrations.java
View file @
08d6be50
...
@@ -1256,7 +1256,7 @@ public class EyesisAberrations {
...
@@ -1256,7 +1256,7 @@ public class EyesisAberrations {
loopDebugLevel
,
// debug level
loopDebugLevel
,
// debug level
aberrationParameters
.
noMessageBoxes
);
aberrationParameters
.
noMessageBoxes
);
if
(
rslt
<
0
){
if
(
rslt
<
0
){
if
(
debugLevel
>
0
)
System
.
out
.
println
(
"calculateDistortions failed, returned error code "
+
rslt
+
"
r
iRetry="
+
iRetry
+
" (of "
+
MaxRetries
+
")"
);
if
(
debugLevel
>
0
)
System
.
out
.
println
(
"calculateDistortions failed, returned error code "
+
rslt
+
" iRetry="
+
iRetry
+
" (of "
+
MaxRetries
+
")"
);
continue
;
continue
;
}
}
correlationSizesUsed
=
matchSimulatedPattern
.
getCorrelationSizesUsed
();
correlationSizesUsed
=
matchSimulatedPattern
.
getCorrelationSizesUsed
();
...
...
src/main/java/MatchSimulatedPattern.java
View file @
08d6be50
...
@@ -3279,12 +3279,19 @@ public class MatchSimulatedPattern {
...
@@ -3279,12 +3279,19 @@ public class MatchSimulatedPattern {
);
);
if
(
nodeQueue
.
isEmpty
())
{
// nodes==null){
if
(
nodeQueue
.
isEmpty
())
{
// nodes==null){
// if (debugLevel>1) System.out.println("All start points tried");
// if (debugLevel>1) System.out.println("All start points tried");
if
(
global_debug_level
>
0
)
System
.
out
.
println
(
"All start points tried"
);
if
(
global_debug_level
>
0
)
{
System
.
out
.
println
(
"All start points tried"
);
int
numLeft
=
0
;
for
(
boolean
b:
triedIndices
)
if
(!
b
)
numLeft
++;
System
.
out
.
println
(
"startScanIndex="
+
startScanIndex
+
" numTries="
+
numTries
+
" numLeft="
+
numLeft
);
}
triedIndices
[
numTries
]=
true
;
// all tried
triedIndices
[
numTries
]=
true
;
// all tried
}
else
{
}
else
{
// if (debugLevel>1) System.out.println("Found "+nodes.length+" candidates");
// if (debugLevel>1) System.out.println("Found "+nodes.length+" candidates");
// if (debugLevel>1) System.out.println("distortions: Found "+nodeQueue.size()+" candidates");
// if (debugLevel>1) System.out.println("distortions: Found "+nodeQueue.size()+" candidates");
if
(
global_debug_level
>
0
)
System
.
out
.
println
(
"distortions: Found "
+
nodeQueue
.
size
()+
" candidates"
);
if
(
global_debug_level
>
0
){
System
.
out
.
println
(
"distortions: Found "
+
nodeQueue
.
size
()+
" candidates"
);
}
}
}
}
else
{
}
else
{
System
.
out
.
println
(
"All start points tried before - should not get here"
);
System
.
out
.
println
(
"All start points tried before - should not get here"
);
...
...
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