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
97bfc4bf
Commit
97bfc4bf
authored
Aug 10, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More debug images
parent
bcba8c48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
2 deletions
+34
-2
CuasMotion.java
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
+34
-2
No files found.
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
View file @
97bfc4bf
...
...
@@ -3598,11 +3598,43 @@ public class CuasMotion {
boolean
save_filtered_high
=
intermed_high
&&
(
niter
<
iter_show
);
boolean
save_filtered_giga
=
intermed_giga
&&
(
niter
<
iter_show
);
if
(
save_filtered_low
)
{
//title_vf_all
ImagePlus
imp_ms1
=
showVectorFieldsSequence
(
motion_scan
,
// double [][][] vector_fields_sequence,
speed_min
,
// double speed_min,
speed_pref
,
// double speed_pref,
speed_boost
,
// double speed_boost,
slice_titles
,
// String [] titles, // all slices*frames titles or just slice titles or null
model_prefix
+
"MS1-n"
+
niter
,
// String title,
false
,
// boolean nan_effective_strength,
!
batch_mode
,
// boolean show,
cuasMotion
.
tilesX
);
// int tilesX) {
parentCLT
.
saveImagePlusInModelDirectory
(
imp_ms1
);
}
// remove known bad targets. TODO: maybe will need to modify corr2d and recalculate, if the same tile is shared by a target and background
motion_scan
=
subtractMotionScans
(
// motion vectors
motion_scan
,
// double [][][] scan0, // all tried for targets
targets_bad
,
// double [][][] scan1) // good targets
remain
);
if
(
save_filtered_low
)
{
//title_vf_all
ImagePlus
imp_ms1
=
showVectorFieldsSequence
(
motion_scan
,
// double [][][] vector_fields_sequence,
speed_min
,
// double speed_min,
speed_pref
,
// double speed_pref,
speed_boost
,
// double speed_boost,
slice_titles
,
// String [] titles, // all slices*frames titles or just slice titles or null
model_prefix
+
"MS1-NOBAD-n"
+
niter
,
// String title,
false
,
// boolean nan_effective_strength,
!
batch_mode
,
// boolean show,
cuasMotion
.
tilesX
);
// int tilesX) {
parentCLT
.
saveImagePlusInModelDirectory
(
imp_ms1
);
}
if
(
debugLevel
>
-
4
)
printRemain
(
remain
,
"motion_scan wo bad"
,
true
);
// filter remaining (no known bad ones)
boolean
[][]
filter5
=
filterMotionScan
(
...
...
@@ -3618,8 +3650,8 @@ public class CuasMotion {
if
(
save_filtered_low
)
{
ImagePlus
imp_filter5
=
ShowDoubleFloatArrays
.
makeArrays
(
filter5
,
// double[][] pixels,
cuasMotion
.
gpu_max_width
,
cuasMotion
.
gpu_max_height
,
cuasMotion
.
tilesX
,
cuasMotion
.
tilesY
,
model_prefix
+
"-FILTER5-n"
+
niter
,
// String title,
slice_titles
);
if
(!
batch_mode
)
{
...
...
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