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
b3ce3bd2
Commit
b3ce3bd2
authored
Jul 06, 2024
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Motion blur correction made symmetrical, elimination biases
parent
5a11583a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
GpuQuad.java
src/main/java/com/elphel/imagej/gpu/GpuQuad.java
+3
-2
No files found.
src/main/java/com/elphel/imagej/gpu/GpuQuad.java
View file @
b3ce3bd2
...
...
@@ -4364,7 +4364,7 @@ public class GpuQuad{ // quad camera description
double
dy
=
mb_vectors
[
1
][
nTile
];
double
mb_len
=
Math
.
sqrt
(
dx
*
dx
+
dy
*
dy
);
// in pixels/s -> 0
double
[]
centerXY_sub
=
centerXY
;
if
(
mb_len
<
min_len
)
{
if
(
mb_len
<
min_len
)
{
// No MB correction
tp_task
.
setScale
(
1.0
);
tp_task_sub
.
task
=
0
;
// disable
tp_task_sub
.
setScale
(-
min_sub
);
...
...
@@ -4380,7 +4380,8 @@ public class GpuQuad{ // quad camera description
}
dx
*=
mb_offs
;
dy
*=
mb_offs
;
centerXY_sub
=
new
double
[]
{
centerXY
[
0
]+
dx
,
centerXY
[
1
]+
dy
};
centerXY_sub
=
new
double
[]
{
centerXY
[
0
]+
0.5
*
dx
,
centerXY
[
1
]+
0.5
*
dy
};
centerXY
=
new
double
[]
{
centerXY
[
0
]-
0.5
*
dx
,
centerXY
[
1
]-
0.5
*
dy
};
tp_task_sub
.
setCenterXY
(
centerXY_sub
);
double
exp_offs
=
Math
.
exp
(-
mb_offs
/
mb_len
);
double
gain
=
1.0
/(
1.0
-
exp_offs
);
...
...
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