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
57110f17
Commit
57110f17
authored
Oct 19, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging slow goniometer scan
parent
4c01a1b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
MatchSimulatedPattern.java
src/main/java/MatchSimulatedPattern.java
+3
-1
No files found.
src/main/java/MatchSimulatedPattern.java
View file @
57110f17
...
@@ -10724,6 +10724,7 @@ error=Sum(W(x,y)*(F^2 + 2*F*(A*x^2+B*y^2+C*x*y+D*x+E*y-Z(x,y)) +(...) )
...
@@ -10724,6 +10724,7 @@ error=Sum(W(x,y)*(F^2 + 2*F*(A*x^2+B*y^2+C*x*y+D*x+E*y-Z(x,y)) +(...) )
}
else
if
(
this
.
algorithmNumber
==
4
){
}
else
if
(
this
.
algorithmNumber
==
4
){
double
avOn
,
avOff
;
double
avOn
,
avOff
;
noise
=
new
double
[
whichOn
.
length
][];
noise
=
new
double
[
whichOn
.
length
][];
if
(
debugLevel
>
debugTiming
)
printTiming
(
"alg_"
+
this
.
algorithmNumber
+
"-start-"
+
title
);
for
(
int
numPointer
=
0
;
numPointer
<
whichOn
.
length
;
numPointer
++){
for
(
int
numPointer
=
0
;
numPointer
<
whichOn
.
length
;
numPointer
++){
noise
[
numPointer
]=
new
double
[
len
];
noise
[
numPointer
]=
new
double
[
len
];
for
(
int
i
=
0
;
i
<
len
;
i
++){
for
(
int
i
=
0
;
i
<
len
;
i
++){
...
@@ -10756,6 +10757,7 @@ error=Sum(W(x,y)*(F^2 + 2*F*(A*x^2+B*y^2+C*x*y+D*x+E*y-Z(x,y)) +(...) )
...
@@ -10756,6 +10757,7 @@ error=Sum(W(x,y)*(F^2 + 2*F*(A*x^2+B*y^2+C*x*y+D*x+E*y-Z(x,y)) +(...) )
// mask out too dim/too bright - TODO: still need to grow overexposed mask
// mask out too dim/too bright - TODO: still need to grow overexposed mask
/* Mask out pixels closer than overexposedRadius from overesposed areas*/
/* Mask out pixels closer than overexposedRadius from overesposed areas*/
//overexposedRadius
//overexposedRadius
if
(
debugLevel
>
debugTiming
)
printTiming
(
"alg_"
+
this
.
algorithmNumber
+
"-done-"
+
title
);
if
(!
headLaserMode
)
{
if
(!
headLaserMode
)
{
int
discardBorder
=
5
;
int
discardBorder
=
5
;
if
(
this
.
overexposedRadius
>
0
){
if
(
this
.
overexposedRadius
>
0
){
...
@@ -10803,7 +10805,7 @@ error=Sum(W(x,y)*(F^2 + 2*F*(A*x^2+B*y^2+C*x*y+D*x+E*y-Z(x,y)) +(...) )
...
@@ -10803,7 +10805,7 @@ error=Sum(W(x,y)*(F^2 + 2*F*(A*x^2+B*y^2+C*x*y+D*x+E*y-Z(x,y)) +(...) )
for
(
int
i
=
0
;
i
<
len
;
i
++){
for
(
int
i
=
0
;
i
<
len
;
i
++){
if
(
overexposed
[
i
])
debugNumOver
++;
if
(
overexposed
[
i
])
debugNumOver
++;
}
}
System
.
out
.
println
(
"Number of overexposed/border pixels="
+
debugNumOver
+
" border pixels="
+
debugNumBorder
);
if
(
debugLevel
>
2
)
System
.
out
.
println
(
"Number of overexposed/border pixels="
+
debugNumOver
+
" border pixels="
+
debugNumBorder
+
" for "
+
title
);
for
(
int
numPointer
=
0
;
numPointer
<
whichOn
.
length
;
numPointer
++)
{
for
(
int
numPointer
=
0
;
numPointer
<
whichOn
.
length
;
numPointer
++)
{
for
(
int
i
=
0
;
i
<
len
;
i
++)
if
(
overexposed
[
i
])
diffOnOff
[
numPointer
][
i
]=
0.0
;
// too close to overexposed in no-lasers image
for
(
int
i
=
0
;
i
<
len
;
i
++)
if
(
overexposed
[
i
])
diffOnOff
[
numPointer
][
i
]=
0.0
;
// too close to overexposed in no-lasers image
...
...
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