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
63e87e10
Commit
63e87e10
authored
May 15, 2015
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add PHG21 parameters
parent
6b0975f2
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
523 additions
and
9 deletions
+523
-9
CalibrationHardwareInterface.java
src/main/java/CalibrationHardwareInterface.java
+11
-8
EyesisCameraParameters.java
src/main/java/EyesisCameraParameters.java
+512
-1
No files found.
src/main/java/CalibrationHardwareInterface.java
View file @
63e87e10
...
...
@@ -150,11 +150,14 @@ public class CalibrationHardwareInterface {
this
.
thisTime
=
this
.
startTime
;
}
private
int
[][]
channelMap26
={
// ip index, channel number
{
0
,
0
},{
1
,
0
},{
2
,
0
},{
3
,
0
},{
4
,
0
},{
5
,
0
},{
6
,
0
},{
7
,
0
},
// modified!
{
0
,
1
},{
1
,
1
},{
2
,
1
},{
3
,
1
},{
4
,
1
},{
5
,
1
},{
6
,
1
},{
7
,
1
},
{
0
,
2
},{
1
,
2
},{
2
,
2
},{
3
,
2
},{
4
,
2
},{
5
,
2
},{
6
,
2
},{
7
,
2
},
{
8
,
0
},{
8
,
1
}};
private
int
[][]
channelMap21
={
// ip index, channel number
{
0
,
1
},{
0
,
0
},{
0
,
2
},
{
1
,
1
},{
1
,
0
},{
1
,
2
},
{
2
,
1
},{
2
,
0
},{
2
,
2
},
{
3
,
1
},{
3
,
0
},{
3
,
2
},
{
4
,
1
},{
4
,
0
},{
4
,
2
},
{
5
,
1
},{
5
,
0
},{
5
,
2
},
{
6
,
1
},{
6
,
0
},{
6
,
2
}};
private
int
[][]
channelMap1
={
// ip index, channel number
// {0,-1}}; // negative channel - single camera
{
0
,
0
}};
// Try with 0
...
...
@@ -264,12 +267,12 @@ public class CalibrationHardwareInterface {
for
(
int
i
=
0
;
i
<
size
;
i
++){
this
.
flipImages
[
i
]=
false
;
int
i0
=((
i
>=
this
.
channelMap3
.
length
)?(
this
.
channelMap3
.
length
-
1
):
i
);
this
.
channelMap
[
i
]=
this
.
channelMap2
6
[
i0
].
clone
();
this
.
channelMap
[
i
]=
this
.
channelMap2
1
[
i0
].
clone
();
}
}
else
for
(
int
i
=
0
;
i
<
size
;
i
++){
this
.
flipImages
[
i
]=
false
;
int
i0
=((
i
>=
this
.
channelMap2
6
.
length
)?(
this
.
channelMap26
.
length
-
1
):
i
);
this
.
channelMap
[
i
]=
this
.
channelMap2
6
[
i0
].
clone
();
int
i0
=((
i
>=
this
.
channelMap2
1
.
length
)?(
this
.
channelMap21
.
length
-
1
):
i
);
this
.
channelMap
[
i
]=
this
.
channelMap2
1
[
i0
].
clone
();
}
}
public
void
setProperties
(
String
prefix
,
Properties
properties
){
...
...
src/main/java/EyesisCameraParameters.java
View file @
63e87e10
This diff is collapsed.
Click to expand it.
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