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
5fed114d
Commit
5fed114d
authored
Apr 07, 2026
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Just a snapshot
parent
7bc39323
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
101 additions
and
38 deletions
+101
-38
CuasMotion.java
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
+78
-35
IntersceneMatchParameters.java
...lphel/imagej/tileprocessor/IntersceneMatchParameters.java
+23
-3
No files found.
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
View file @
5fed114d
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/IntersceneMatchParameters.java
View file @
5fed114d
...
...
@@ -800,9 +800,11 @@ min_str_neib_fpn 0.35
public
int
cuas_precorr_ra
=
10
;
// rolling average before correlation
public
int
cuas_corr_step
=
2
;
// correlation step when using rolling average
public
boolean
cuas_half_step
=
true
;
// half step (=cuas_corr_offset/2) when scanning for motion
public
int
cuas_max_range
=
2
;
// how far to extend local max: 1 3x3 neighbors, 2 - 5x5 neighbs
public
int
cuas_num_cycles
=
25
;
// number of cycles of testing and removing bad targets // will get out earlier
public
boolean
cuas_half_step
=
true
;
// half step (=cuas_corr_offset/2) when scanning for motion
public
int
cuas_max_range
=
2
;
// how far to extend local max: 1 3x3 neighbors, 2 - 5x5 neighbs
public
int
cuas_num_cycles
=
25
;
// number of cycles of testing and removing bad targets // will get out earlier
public
int
cuas_mul_samples
=
3
;
// multiply number of samples in slow mode
public
int
cuas_mul_offset
=
5
;
// multiply correlation offset in slow mode
// boosting weight of moving targets
public
double
cuas_speed_min
=
0.0
;
// minimal pixels per range (per cuas_corr_offset)
...
...
@@ -2690,6 +2692,13 @@ min_str_neib_fpn 0.35
gd
.
addNumericField
(
"Number of enhancement cycles"
,
this
.
cuas_num_cycles
,
0
,
3
,
""
,
"Number of cycles of testing and removing bad targets from compoetition with weaker neighbors."
);
gd
.
addMessage
(
"=== Scale correlation parameters while detecting slow targets ==="
);
gd
.
addNumericField
(
"Scale number of correlation samples"
,
this
.
cuas_mul_samples
,
0
,
3
,
""
,
"Multiply number of samples in slow mode, keep center."
);
gd
.
addNumericField
(
"Scale correlation offset"
,
this
.
cuas_mul_offset
,
0
,
3
,
""
,
"Multiply correlation offset in slow mode, keep center."
);
gd
.
addMessage
(
"=== Moving target filtering ==="
);
gd
.
addNumericField
(
"Minimal speed"
,
this
.
cuas_speed_min
,
5
,
8
,
"ppr"
,
"Minimal target speed in pixels per range (per cuas_corr_offset)."
);
...
...
@@ -4313,6 +4322,9 @@ min_str_neib_fpn 0.35
this
.
cuas_half_step
=
gd
.
getNextBoolean
();
this
.
cuas_max_range
=
(
int
)
gd
.
getNextNumber
();
this
.
cuas_num_cycles
=
(
int
)
gd
.
getNextNumber
();
this
.
cuas_mul_samples
=
(
int
)
gd
.
getNextNumber
();
this
.
cuas_mul_offset
=
(
int
)
gd
.
getNextNumber
();
this
.
cuas_speed_min
=
gd
.
getNextNumber
();
this
.
cuas_speed_pref
=
gd
.
getNextNumber
();
...
...
@@ -5600,6 +5612,9 @@ min_str_neib_fpn 0.35
properties
.
setProperty
(
prefix
+
"cuas_max_range"
,
this
.
cuas_max_range
+
""
);
// int
properties
.
setProperty
(
prefix
+
"cuas_num_cycles"
,
this
.
cuas_num_cycles
+
""
);
// int
properties
.
setProperty
(
prefix
+
"cuas_mul_samples"
,
this
.
cuas_mul_samples
+
""
);
// int
properties
.
setProperty
(
prefix
+
"cuas_mul_offset"
,
this
.
cuas_mul_offset
+
""
);
// int
properties
.
setProperty
(
prefix
+
"cuas_speed_min"
,
this
.
cuas_speed_min
+
""
);
// double
properties
.
setProperty
(
prefix
+
"cuas_speed_pref"
,
this
.
cuas_speed_pref
+
""
);
// double
properties
.
setProperty
(
prefix
+
"cuas_speed_boost"
,
this
.
cuas_speed_boost
+
""
);
// double
...
...
@@ -6821,6 +6836,9 @@ min_str_neib_fpn 0.35
if
(
properties
.
getProperty
(
prefix
+
"cuas_max_range"
)!=
null
)
this
.
cuas_max_range
=
Integer
.
parseInt
(
properties
.
getProperty
(
prefix
+
"cuas_max_range"
));
if
(
properties
.
getProperty
(
prefix
+
"cuas_num_cycles"
)!=
null
)
this
.
cuas_num_cycles
=
Integer
.
parseInt
(
properties
.
getProperty
(
prefix
+
"cuas_num_cycles"
));
if
(
properties
.
getProperty
(
prefix
+
"cuas_mul_samples"
)!=
null
)
this
.
cuas_mul_samples
=
Integer
.
parseInt
(
properties
.
getProperty
(
prefix
+
"cuas_mul_samples"
));
if
(
properties
.
getProperty
(
prefix
+
"cuas_mul_offset"
)!=
null
)
this
.
cuas_mul_offset
=
Integer
.
parseInt
(
properties
.
getProperty
(
prefix
+
"cuas_mul_offset"
));
if
(
properties
.
getProperty
(
prefix
+
"cuas_speed_min"
)!=
null
)
this
.
cuas_speed_min
=
Double
.
parseDouble
(
properties
.
getProperty
(
prefix
+
"cuas_speed_min"
));
if
(
properties
.
getProperty
(
prefix
+
"cuas_speed_pref"
)!=
null
)
this
.
cuas_speed_pref
=
Double
.
parseDouble
(
properties
.
getProperty
(
prefix
+
"cuas_speed_pref"
));
if
(
properties
.
getProperty
(
prefix
+
"cuas_speed_boost"
)!=
null
)
this
.
cuas_speed_boost
=
Double
.
parseDouble
(
properties
.
getProperty
(
prefix
+
"cuas_speed_boost"
));
...
...
@@ -8057,6 +8075,8 @@ min_str_neib_fpn 0.35
imp
.
cuas_half_step
=
this
.
cuas_half_step
;
imp
.
cuas_max_range
=
this
.
cuas_max_range
;
imp
.
cuas_num_cycles
=
this
.
cuas_num_cycles
;
imp
.
cuas_mul_samples
=
this
.
cuas_mul_samples
;
imp
.
cuas_mul_offset
=
this
.
cuas_mul_offset
;
imp
.
cuas_speed_min
=
this
.
cuas_speed_min
;
imp
.
cuas_speed_pref
=
this
.
cuas_speed_pref
;
imp
.
cuas_speed_boost
=
this
.
cuas_speed_boost
;
...
...
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