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
25577f58
Commit
25577f58
authored
Aug 08, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging
parent
147f6635
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
CuasMotion.java
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
+6
-5
No files found.
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
View file @
25577f58
...
@@ -3067,6 +3067,7 @@ public class CuasMotion {
...
@@ -3067,6 +3067,7 @@ public class CuasMotion {
int
[]
remain
=
new
int
[
num_corr_samples
];
int
[]
remain
=
new
int
[
num_corr_samples
];
boolean
debug_tum
=
false
;
boolean
debug_tum
=
false
;
String
model_prefix
=
parentCLT
.
getImageName
()+
getParametersSuffix
(
clt_parameters
,
null
);
String
model_prefix
=
parentCLT
.
getImageName
()+
getParametersSuffix
(
clt_parameters
,
null
);
float
[][]
fpixels_tum
=
fpixels
;
if
(
temporal_um
>
0
)
{
if
(
temporal_um
>
0
)
{
if
(
intermed_high
&&
debug_tum
)
{
if
(
intermed_high
&&
debug_tum
)
{
ImagePlus
imp_src
=
ShowDoubleFloatArrays
.
makeArrays
(
ImagePlus
imp_src
=
ShowDoubleFloatArrays
.
makeArrays
(
...
@@ -3136,12 +3137,12 @@ public class CuasMotion {
...
@@ -3136,12 +3137,12 @@ public class CuasMotion {
}
}
// modify original fpixels
// modify original fpixels
fpixels
=
subtract
(
fpixels
_tum
=
subtract
(
fpixels
,
// float [][] fpixels,
fpixels
,
// float [][] fpixels,
fpixels_ra
);
// float [][] fpixels_avg)
fpixels_ra
);
// float [][] fpixels_avg)
if
(
intermed_high
)
{
if
(
intermed_high
)
{
ImagePlus
imp_diff
=
ShowDoubleFloatArrays
.
makeArrays
(
ImagePlus
imp_diff
=
ShowDoubleFloatArrays
.
makeArrays
(
fpixels
,
// float[][] pixels,
fpixels
_tum
,
// float[][] pixels,
cuasMotion
.
gpu_max_width
,
// int width,
cuasMotion
.
gpu_max_width
,
// int width,
cuasMotion
.
gpu_max_height
,
// int height,
cuasMotion
.
gpu_max_height
,
// int height,
model_prefix
+
"-SOURCE-DIFF"
,
//String title,
model_prefix
+
"-SOURCE-DIFF"
,
//String title,
...
@@ -3155,10 +3156,10 @@ public class CuasMotion {
...
@@ -3155,10 +3156,10 @@ public class CuasMotion {
}
}
}
}
float
[][]
fpixels_ra
=
fpixels
;
float
[][]
fpixels_ra
=
fpixels
_tum
;
//fpixels
;
if
(
precorr_ra
>
1
)
{
if
(
precorr_ra
>
1
)
{
fpixels_ra
=
runningAverage
(
fpixels_ra
=
runningAverage
(
fpixels
,
// final float [][] fpixels,
fpixels
_tum
,
// fpixels
, // final float [][] fpixels,
precorr_ra
,
// final int ra_length,
precorr_ra
,
// final int ra_length,
cuasMotion
.
gpu_max_width
);
// final int width)
cuasMotion
.
gpu_max_width
);
// final int width)
if
(
intermed_high
)
{
if
(
intermed_high
)
{
...
@@ -3331,7 +3332,7 @@ public class CuasMotion {
...
@@ -3331,7 +3332,7 @@ public class CuasMotion {
float
[][]
fpixels_accumulated
=
cuasMotion
.
shiftAndRenderAccumulate
(
float
[][]
fpixels_accumulated
=
cuasMotion
.
shiftAndRenderAccumulate
(
clt_parameters
,
// CLTParameters clt_parameters,
clt_parameters
,
// CLTParameters clt_parameters,
false
,
// final boolean fill_zeros,
false
,
// final boolean fill_zeros,
fpixels
,
// final float [][] fpixels,
fpixels
_tum
,
// final float [][] fpixels,
extended_scan
,
// final double [][][] vector_field,
extended_scan
,
// final double [][][] vector_field,
frame0
,
// final int frame0, // for vector_field[0]
frame0
,
// final int frame0, // for vector_field[0]
corr_inc
,
// final int frame_step,
corr_inc
,
// final int frame_step,
...
...
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