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
f68abd2e
Commit
f68abd2e
authored
Nov 19, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging missing grids
parent
7d08fe37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
MatchSimulatedPattern.java
src/main/java/MatchSimulatedPattern.java
+9
-4
No files found.
src/main/java/MatchSimulatedPattern.java
View file @
f68abd2e
...
...
@@ -3343,16 +3343,16 @@ public class MatchSimulatedPattern {
int numDefinedCells=0;
int debug_left=nodeQueue.size();
for (GridNode gn:nodeQueue){ // trying candidates as grid seeds - until found or nothing left
debug_left--;
if (global_debug_level>1) {
System
.
out
.
println
(
"distortions: nodeQueue has "
+(
debug_left
--)+
" candidates left (in
cluding this one)"
);
System.out.println("distortions: nodeQueue has "+(debug_left
)+" candidates left (ex
cluding this one)");
}
if (!updating){
double [][] node=gn.getNode();
double [] centerXY=node[0];
if (global_debug_level>0) {
// System.out.println("distortions: node X/Y are "+centerXY[0]+"/"+centerXY[1]);
System
.
out
.
println
(
"distortions: nodeQueue has "
+(
debug_left
--)+
" candidates left (in
cluding this one) :node X/Y are "
+
centerXY
[
0
]+
"/"
+
centerXY
[
1
]);
System.out.println("distortions: nodeQueue has "+(debug_left
)+" candidates left (ex
cluding this one) :node X/Y are "+centerXY[0]+"/"+centerXY[1]);
}
// if (debugLevel>1) {
...
...
@@ -4022,7 +4022,12 @@ public class MatchSimulatedPattern {
final boolean updateStatus,
final int debugLevel
){
if (debugLevel>0) {
int debugNumLeft=0;
for (boolean b:triedIndices) if (!b) debugNumLeft++;
System.out.println("findPatternCandidates(), startScanIndex= "+startScanIndex+",triedIndices.length="+triedIndices.length+" debugNumLeft="+debugNumLeft);
}
final Thread[] threads = newThreadArray(threadsMax);
final AtomicInteger seqNumber = new AtomicInteger(startScanIndex);
// final AtomicBoolean nodeSet=new AtomicBoolean(false);
...
...
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