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
de75c291
Commit
de75c291
authored
Dec 09, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modifying distortion polynomial functions
parent
53924b9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Distortions.java
src/main/java/Distortions.java
+2
-2
No files found.
src/main/java/Distortions.java
View file @
de75c291
...
@@ -2780,7 +2780,7 @@ For each point in the image
...
@@ -2780,7 +2780,7 @@ For each point in the image
//matchSimulatedPattern
//matchSimulatedPattern
int
[]
fileUVShiftRot
=
dcd
.
gIP
[
numGridImage
].
getUVShiftRot
();
int
[]
fileUVShiftRot
=
dcd
.
gIP
[
numGridImage
].
getUVShiftRot
();
int
[]
extraUVShiftRot
=
matchSimulatedPattern
.
getUVShiftRot
(
true
);
// last shift/rotation during matching pattern, correct for zero shift
int
[]
extraUVShiftRot
=
matchSimulatedPattern
.
getUVShiftRot
(
true
);
// last shift/rotation during matching pattern, correct for zero shift
int
[]
extraDbg
=
matchSimulatedPattern
.
getUVShiftRot
(
false
);
//
int [] extraDbg=matchSimulatedPattern.getUVShiftRot(false);
int
[]
combinedUVShiftRot
=
matchSimulatedPattern
.
combineUVShiftRot
(
fileUVShiftRot
,
extraUVShiftRot
);
int
[]
combinedUVShiftRot
=
matchSimulatedPattern
.
combineUVShiftRot
(
fileUVShiftRot
,
extraUVShiftRot
);
dcd
.
gIP
[
numGridImage
].
setUVShiftRot
(
combinedUVShiftRot
);
dcd
.
gIP
[
numGridImage
].
setUVShiftRot
(
combinedUVShiftRot
);
System
.
out
.
println
(
"applyHintedGrids(): dcd.gIP["
+
numGridImage
+
"].hintedMatch="
+
dcd
.
gIP
[
numGridImage
].
hintedMatch
+
System
.
out
.
println
(
"applyHintedGrids(): dcd.gIP["
+
numGridImage
+
"].hintedMatch="
+
dcd
.
gIP
[
numGridImage
].
hintedMatch
+
...
@@ -2790,7 +2790,7 @@ For each point in the image
...
@@ -2790,7 +2790,7 @@ For each point in the image
System
.
out
.
println
(
"applyHintedGrids(): fileUVShiftRot= "
+
fileUVShiftRot
[
0
]+
"/"
+
fileUVShiftRot
[
1
]+
":"
+
fileUVShiftRot
[
2
]);
System
.
out
.
println
(
"applyHintedGrids(): fileUVShiftRot= "
+
fileUVShiftRot
[
0
]+
"/"
+
fileUVShiftRot
[
1
]+
":"
+
fileUVShiftRot
[
2
]);
System
.
out
.
println
(
" "
+
nonzero
+
"extraUVShiftRot= "
+
extraUVShiftRot
[
0
]+
"/"
+
extraUVShiftRot
[
1
]+
":"
+
extraUVShiftRot
[
2
]);
System
.
out
.
println
(
" "
+
nonzero
+
"extraUVShiftRot= "
+
extraUVShiftRot
[
0
]+
"/"
+
extraUVShiftRot
[
1
]+
":"
+
extraUVShiftRot
[
2
]);
System
.
out
.
println
(
" combinedUVShiftRot="
+
combinedUVShiftRot
[
0
]+
"/"
+
combinedUVShiftRot
[
1
]+
":"
+
combinedUVShiftRot
[
2
]);
System
.
out
.
println
(
" combinedUVShiftRot="
+
combinedUVShiftRot
[
0
]+
"/"
+
combinedUVShiftRot
[
1
]+
":"
+
combinedUVShiftRot
[
2
]);
System
.
out
.
println
(
" extraDbg="
+
extraDbg
[
0
]+
"/"
+
extraDbg
[
1
]+
":"
+
extraDbg
[
2
]);
//
System.out.println(" extraDbg="+extraDbg[0]+"/"+extraDbg[1]+":"+extraDbg[2]);
}
}
}
}
}
}
...
...
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