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
52b6cf3c
Commit
52b6cf3c
authored
Nov 08, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging
parent
5ca7d76c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
EyesisAberrations.java
src/main/java/EyesisAberrations.java
+10
-0
No files found.
src/main/java/EyesisAberrations.java
View file @
52b6cf3c
...
@@ -1089,12 +1089,22 @@ public class EyesisAberrations {
...
@@ -1089,12 +1089,22 @@ public class EyesisAberrations {
boolean
[]
selectedChannels
=
this
.
aberrationParameters
.
getChannelSelection
(
distortions
);
boolean
[]
selectedChannels
=
this
.
aberrationParameters
.
getChannelSelection
(
distortions
);
int
numSelected
=
0
;
int
numSelected
=
0
;
int
numDeselected
=
0
;
int
numDeselected
=
0
;
if
(
debugLevel
>
1
){
for
(
int
i
=
0
;
i
<
selectedChannels
.
length
;
i
++){
System
.
out
.
println
(
"Channel "
+
i
+
" is "
+(
selectedChannels
[
i
]?
"Enabled"
:
"Disabled"
));
}
}
for
(
int
imgNum
=
0
;
imgNum
<
selectedImages
.
length
;
imgNum
++)
if
(
selectedImages
[
imgNum
])
{
for
(
int
imgNum
=
0
;
imgNum
<
selectedImages
.
length
;
imgNum
++)
if
(
selectedImages
[
imgNum
])
{
int
numChannel
=
distortionCalibrationData
.
gIP
[
imgNum
].
channel
;
int
numChannel
=
distortionCalibrationData
.
gIP
[
imgNum
].
channel
;
if
(
debugLevel
>
1
){
System
.
out
.
println
(
"Image "
+
imgNum
+
" channel "
+
numChannel
+
" is "
+(
selectedChannels
[
numChannel
]?
"ENABLED"
:
"DISABLED"
));
}
if
(!
selectedChannels
[
numChannel
]){
if
(!
selectedChannels
[
numChannel
]){
selectedImages
[
imgNum
]=
false
;
selectedImages
[
imgNum
]=
false
;
numDeselected
++;
numDeselected
++;
}
else
numSelected
++;
}
else
numSelected
++;
}
else
if
(
debugLevel
>
1
){
System
.
out
.
println
(
"Skipping disabled image "
+
imgNum
);
}
}
if
(
debugLevel
>
0
)
System
.
out
.
println
(
"Enabled "
+
numSelected
+
" source files ("
+
numDeselected
+
") were removed by channel selection"
);
if
(
debugLevel
>
0
)
System
.
out
.
println
(
"Enabled "
+
numSelected
+
" source files ("
+
numDeselected
+
") were removed by channel selection"
);
...
...
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