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
896c7c33
Commit
896c7c33
authored
Sep 21, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added x-shift to the initial SFE dialog
parent
08b36456
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
LensAdjustment.java
src/main/java/LensAdjustment.java
+5
-1
No files found.
src/main/java/LensAdjustment.java
View file @
896c7c33
...
...
@@ -1349,6 +1349,8 @@ public class LensAdjustment {
gd
.
addNumericField
(
"Optional manufacturing state modifier (0.."
+
maxMod
+
")"
,
manufacturingIndexMod
[
1
],
0
,
1
,
""
);
gd
.
addCheckbox
(
"Ask lens serial number on each camera power cycle"
,
this
.
askLensSerial
);
gd
.
addNumericField
(
"Required X-shift between the lens axis and the sensor center"
,
this
.
centerDeltaX
,
0
,
4
,
"pix (180 for tilted)"
);
gd
.
addNumericField
(
"Required Y-shift between the lens axis and the sensor center"
,
this
.
centerDeltaY
,
0
,
4
,
"pix"
);
gd
.
showDialog
();
if
(
gd
.
wasCanceled
())
return
false
;
this
.
comment
=
gd
.
getNextString
();
...
...
@@ -1359,6 +1361,8 @@ public class LensAdjustment {
int
manIndex
=
gd
.
getNextChoiceIndex
();
int
manMod
=
(
int
)
gd
.
getNextNumber
();
this
.
askLensSerial
=
gd
.
getNextBoolean
();
this
.
centerDeltaX
=
gd
.
getNextNumber
();
this
.
centerDeltaY
=
gd
.
getNextNumber
();
if
(
manMod
<
0
)
manMod
=
0
;
else
if
(
manMod
>
maxMod
)
manMod
=
maxMod
;
if
(
manIndex
<
manufacturingIndexMod
[
0
]){
...
...
@@ -1443,7 +1447,7 @@ public class LensAdjustment {
gd
.
addCheckbox
(
"Ask lens serial number on each camera power cycle"
,
this
.
askLensSerial
);
gd
.
addCheckbox
(
"Add lens serial number to filenames"
,
this
.
includeLensSerial
);
gd
.
addNumericField
(
"Required X-shift between the lens axis and the sensor center"
,
this
.
centerDeltaX
,
0
,
4
,
"pix"
);
gd
.
addNumericField
(
"Required X-shift between the lens axis and the sensor center"
,
this
.
centerDeltaX
,
0
,
4
,
"pix
(180 for tilted)
"
);
gd
.
addNumericField
(
"Required Y-shift between the lens axis and the sensor center"
,
this
.
centerDeltaY
,
0
,
4
,
"pix"
);
gd
.
addStringField
(
"Grid geometry file"
,
this
.
gridGeometryFile
,
40
);
gd
.
addStringField
(
"Initial camera intrinsic/extrinsic parametres file"
,
this
.
initialCalibrationFile
,
40
);
...
...
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