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
78002a6b
Commit
78002a6b
authored
Oct 06, 2020
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Center of mass calculation for X/Y motion vector
parent
82ae5d53
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
589 additions
and
159 deletions
+589
-159
Correlation2d.java
...n/java/com/elphel/imagej/tileprocessor/Correlation2d.java
+2
-2
ImageDttCPU.java
...ain/java/com/elphel/imagej/tileprocessor/ImageDttCPU.java
+73
-125
OpticalFlow.java
...ain/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
+508
-27
TwoQuadCLT.java
...main/java/com/elphel/imagej/tileprocessor/TwoQuadCLT.java
+6
-5
No files found.
src/main/java/com/elphel/imagej/tileprocessor/Correlation2d.java
View file @
78002a6b
...
@@ -452,7 +452,7 @@ public class Correlation2d {
...
@@ -452,7 +452,7 @@ public class Correlation2d {
tcorr
[
col
],
tcorr
[
col
],
fat_zero
/
scale_value
);
fat_zero
/
scale_value
);
if
(
first_col
<
0
)
{
// accum
m
ulate all channels in first non-null color ( 0 for color, 2 for mono?)
if
(
first_col
<
0
)
{
// accumulate all channels in first non-null color ( 0 for color, 2 for mono?)
first_col
=
col
;
// first non-empty color (2, green) or 0 for color images
first_col
=
col
;
// first non-empty color (2, green) or 0 for color images
for
(
int
n
=
0
;
n
<
4
;
n
++)
{
for
(
int
n
=
0
;
n
<
4
;
n
++)
{
for
(
int
i
=
0
;
i
<
transform_len
;
i
++)
{
for
(
int
i
=
0
;
i
<
transform_len
;
i
++)
{
...
...
src/main/java/com/elphel/imagej/tileprocessor/ImageDttCPU.java
View file @
78002a6b
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
View file @
78002a6b
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/TwoQuadCLT.java
View file @
78002a6b
...
@@ -8297,6 +8297,7 @@ if (debugLevel > -100) return true; // temporarily !
...
@@ -8297,6 +8297,7 @@ if (debugLevel > -100) return true; // temporarily !
double
[][][]
pair_sets
=
double
[][][]
pair_sets
=
opticalFlow
.
get_pair
(
opticalFlow
.
get_pair
(
clt_parameters
,
// CLTParameters clt_parameters,
k_prev
,
k_prev
,
quadCLTs
[
i
],
quadCLTs
[
i
],
qPrev
,
qPrev
,
...
...
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