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
eeacc90a
Commit
eeacc90a
authored
Jan 16, 2026
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temporarily hard-wired half-step in scene sequence traversing.
parent
8a35a76a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
155 additions
and
66 deletions
+155
-66
ShowDoubleFloatArrays.java
.../java/com/elphel/imagej/common/ShowDoubleFloatArrays.java
+1
-1
GroundPlane.java
...ain/java/com/elphel/imagej/tileprocessor/GroundPlane.java
+1
-1
OpticalFlow.java
...ain/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
+141
-56
QuadCLTCPU.java
...main/java/com/elphel/imagej/tileprocessor/QuadCLTCPU.java
+12
-8
No files found.
src/main/java/com/elphel/imagej/common/ShowDoubleFloatArrays.java
View file @
eeacc90a
...
...
@@ -220,7 +220,7 @@ import ij.process.ImageProcessor;
dpixels
,
// double[][] pixels,
width
,
// int width,
height
,
// int height,
num_slices
,
// int slices,
num_slices
,
// int slices,
title
,
// String title,
combo_titles
,
// String [] titles);
show
);
// boolean show
...
...
src/main/java/com/elphel/imagej/tileprocessor/GroundPlane.java
View file @
eeacc90a
...
...
@@ -1104,7 +1104,7 @@ public class GroundPlane {
return
null
;
}
double
[][]
ground_xyzatr
=
ErsCorrection
.
invertXYZATR
(
to_ground_xyzatr
);
// straight down from the camera, then rotated
double
altitude
=
ground_xyzatr
[
0
][
2
]
-
offset
;
// offset to the ground level (negative)
double
altitude
=
ground_xyzatr
[
0
][
2
]
+
offset
;
// offset to the ground level (negative)
double
true_disparity
=
ref_Clt
.
getGeometryCorrection
().
getDisparityFromZ
(-
altitude
);
double
corrected_disparity
=
true_disparity
+
ref_Clt
.
getDispInfinityRef
();
int
tilesX
=
ref_Clt
.
getTilesX
();
...
...
src/main/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
View file @
eeacc90a
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/QuadCLTCPU.java
View file @
eeacc90a
...
...
@@ -2261,7 +2261,7 @@ public class QuadCLTCPU {
rslt_suffix
+=
(
clt_parameters
.
correlate_lma
?
"-LMA"
:
"-NOLMA"
);
final
int
tilesX
=
tp
.
getTilesX
();
final
int
tilesY
=
tp
.
getTilesY
();
saveDoubleArrayInModelDirectory
(
//
error
saveDoubleArrayInModelDirectory
(
//
prints "saveDoubleArrayInModelDirectory(): saved ..."
rslt_suffix
,
// String suffix,
OpticalFlow
.
COMBO_DSN_TITLES
,
// combo_dsn_titles_full, // null, // String [] labels, // or null
combo_dsn_final
,
// dbg_data, // double [][] data,
...
...
@@ -4803,7 +4803,9 @@ public class QuadCLTCPU {
combo_dsi
,
// double [][] dsi, // if null - just check file exists
silent
);
// boolean silent);
if
(
num_slices
>=
0
)
{
System
.
out
.
println
(
"restoreComboDSI(): used "
+
getX3dDirectory
()+
Prefs
.
getFileSeparator
()
+
image_name
+
extra_suffix
+
DSI_SUFFIXES
[
indx
]
+
".tiff"
);
if
(!
silent
)
{
System
.
out
.
println
(
"restoreComboDSI(): used "
+
getX3dDirectory
()+
Prefs
.
getFileSeparator
()
+
image_name
+
extra_suffix
+
DSI_SUFFIXES
[
indx
]
+
".tiff"
);
}
setDSIFromCombo
(
combo_dsi
);
// reformat
return
combo_dsi
;
}
...
...
@@ -5218,10 +5220,12 @@ public class QuadCLTCPU {
}
return
-
1
;
}
if
(
dsi
==
null
)
{
System
.
out
.
println
(
"restoreDSI(): has "
+
imp
.
getStackSize
()+
" slices in file: "
+
file_path
);
}
else
{
System
.
out
.
println
(
"restoreDSI(): got "
+
imp
.
getStackSize
()+
" slices from file: "
+
file_path
);
if
(!
silent
)
{
if
(
dsi
==
null
)
{
System
.
out
.
println
(
"restoreDSI(): has "
+
imp
.
getStackSize
()+
" slices in file: "
+
file_path
);
}
else
{
System
.
out
.
println
(
"restoreDSI(): got "
+
imp
.
getStackSize
()+
" slices from file: "
+
file_path
);
}
}
if
(
imp
.
getStackSize
()
<
2
)
{
if
(!
silent
)
{
...
...
@@ -6534,7 +6538,7 @@ public class QuadCLTCPU {
ImagePlus
imp
=
new
ImagePlus
(
file_name
,
imageStack
);
FileSaver
fs
=
new
FileSaver
(
imp
);
fs
.
saveAsTiff
(
file_path
);
System
.
out
.
println
(
"saveDoubleArrayInModelDirectory(): saved "
+
file_path
);
System
.
out
.
println
(
"saveDoubleArrayIn
Top
ModelDirectory(): saved "
+
file_path
);
return
imp
;
}
...
...
@@ -6582,7 +6586,7 @@ public class QuadCLTCPU {
FileSaver
fs
=
new
FileSaver
(
imp
);
fs
.
saveAsTiff
(
file_path
);
// image processor null?
System
.
out
.
println
(
"save
DoubleArray
InModelDirectory(): saved "
+
file_path
);
System
.
out
.
println
(
"save
ImagePlus
InModelDirectory(): saved "
+
file_path
);
return
file_path
;
}
...
...
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