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
efd35b70
Commit
efd35b70
authored
Nov 09, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more debug
parent
e2086aa9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
EyesisAberrations.java
src/main/java/EyesisAberrations.java
+5
-1
MatchSimulatedPattern.java
src/main/java/MatchSimulatedPattern.java
+4
-3
No files found.
src/main/java/EyesisAberrations.java
View file @
efd35b70
...
@@ -1304,6 +1304,10 @@ public class EyesisAberrations {
...
@@ -1304,6 +1304,10 @@ public class EyesisAberrations {
}
}
if
(
iRetry
==
MaxRetries
)
{
if
(
iRetry
==
MaxRetries
)
{
System
.
out
.
println
(
"File "
+
files
[
imgNum
][
1
]+
" has problems - finished at "
+
IJ
.
d2s
(
0.000000001
*(
System
.
nanoTime
()-
startTime
),
3
));
System
.
out
.
println
(
"File "
+
files
[
imgNum
][
1
]+
" has problems - finished at "
+
IJ
.
d2s
(
0.000000001
*(
System
.
nanoTime
()-
startTime
),
3
));
if
(
stopRequested
.
get
()>
0
)
{
if
(
debugLevel
>
0
)
System
.
out
.
println
(
"User requested stop"
);
break
;
}
continue
;
continue
;
}
}
...
...
src/main/java/MatchSimulatedPattern.java
View file @
efd35b70
...
@@ -3469,7 +3469,8 @@ public class MatchSimulatedPattern {
...
@@ -3469,7 +3469,8 @@ public class MatchSimulatedPattern {
" current="
+
iUVdir
[
0
]+
"/"
+
iUVdir
[
1
]+
" len="
+
iUVdir
.
length
);
" current="
+
iUVdir
[
0
]+
"/"
+
iUVdir
[
1
]+
" len="
+
iUVdir
.
length
);
continue
;
continue
;
}
else
if
((
refCell
[
0
]!=
null
)
&&
(
refCell
[
0
].
length
>
3
)){
}
else
if
((
refCell
[
0
]!=
null
)
&&
(
refCell
[
0
].
length
>
3
)){
System
.
out
.
println
(
"**** refCell was deleted ****"
);
System
.
out
.
println
(
"**** refCell was deleted **** u="
+
iUVRef
[
0
]+
" v="
+
iUVRef
[
1
]+
" current="
+
iUVdir
[
0
]+
"/"
+
iUVdir
[
1
]+
" len="
+
iUVdir
.
length
);
}
}
//found reference cell, calculate x/y, make sure it is inside the selection w/o borders
//found reference cell, calculate x/y, make sure it is inside the selection w/o borders
double
[][]
wv
=
new
double
[
2
][];
double
[][]
wv
=
new
double
[
2
][];
...
@@ -5767,8 +5768,8 @@ public class MatchSimulatedPattern {
...
@@ -5767,8 +5768,8 @@ public class MatchSimulatedPattern {
// restore initial distortionParameters.correlationMinInitialContrast
// restore initial distortionParameters.correlationMinInitialContrast
distortionParameters
.
correlationMinInitialContrast
=
savedCorrelationMinInitialContrast
;
distortionParameters
.
correlationMinInitialContrast
=
savedCorrelationMinInitialContrast
;
if
(!
foundGoodCluster
){
if
(!
foundGoodCluster
){
System
.
out
.
println
(
"calculateDistortions(): Pattern too small"
);
System
.
out
.
println
(
"calculateDistortions(): Pattern too small
, initial cluster had "
+
patternCells
+
" cells
"
);
if
(
global_debug_level
>
2
)
IJ
.
showMessage
(
"Error"
,
"Pattern too small
"
);
if
(
global_debug_level
>
2
)
IJ
.
showMessage
(
"Error"
,
"Pattern too small
: "
+
patternCells
);
return
distortionParameters
.
errPatternNotFound
;
return
distortionParameters
.
errPatternNotFound
;
}
}
if
(!
patternOK
())
{
if
(!
patternOK
())
{
...
...
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