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
411af03f
Commit
411af03f
authored
Jul 24, 2022
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved filtering
parent
330ac1f3
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
550 additions
and
243 deletions
+550
-243
CLTPass3d.java
src/main/java/com/elphel/imagej/tileprocessor/CLTPass3d.java
+3
-0
OpticalFlow.java
...ain/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
+176
-121
QuadCLT.java
src/main/java/com/elphel/imagej/tileprocessor/QuadCLT.java
+214
-107
QuadCLTCPU.java
...main/java/com/elphel/imagej/tileprocessor/QuadCLTCPU.java
+148
-11
TileProcessor.java
...n/java/com/elphel/imagej/tileprocessor/TileProcessor.java
+4
-3
TwoQuadCLT.java
...main/java/com/elphel/imagej/tileprocessor/TwoQuadCLT.java
+5
-1
No files found.
src/main/java/com/elphel/imagej/tileprocessor/CLTPass3d.java
View file @
411af03f
...
...
@@ -1148,6 +1148,9 @@ public class CLTPass3d{
}
}
public
void
setSecondMax
(
double
[]
second_max
)
{
// setting "fake" for the non-measurement scan
this
.
second_max
=
second_max
;
}
public
void
setSecondMax
()
{
this
.
second_max
=
getSecondMaxDiff
(
false
);
}
...
...
src/main/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
View file @
411af03f
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/QuadCLT.java
View file @
411af03f
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/QuadCLTCPU.java
View file @
411af03f
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/TileProcessor.java
View file @
411af03f
...
...
@@ -3912,11 +3912,12 @@ ImageDtt.startAndJoin(threads);
{
double
[]
disparity
=
scan
.
getDisparity
(
use_final
?
0
:
1
);
double
[]
disparityLMA
=
scan
.
getDisparityLMA
();
double
[]
second_max_bg
=
scan
.
getSecondMax
();
if
(!
use_final
)
{
scan
.
setStrength
(
null
);
}
double
[]
strength
=
scan
.
getStrength
();
return
new
double
[][]
{
disparity
,
strength
,
disparityLMA
};
return
new
double
[][]
{
disparity
,
strength
,
disparityLMA
,
second_max_bg
};
// second maximal difference between channels in BG
}
// TODO: update for variable length
...
...
src/main/java/com/elphel/imagej/tileprocessor/TwoQuadCLT.java
View file @
411af03f
...
...
@@ -80,6 +80,8 @@ public class TwoQuadCLT {
public
static
int
DSI_STRENGTH_MAIN
=
6
;
public
static
int
DSI_STRENGTH_AUX
=
7
;
public
static
int
DSI_STRENGTH_RIG
=
8
;
public
static
int
DSI_SPREAD_MAIN
=
9
;
public
static
int
DSI_SPREAD_AUX
=
10
;
public
static
String
DSI_COMBO_SUFFIX
=
"-DSI_COMBO"
;
public
static
String
DSI_MAIN_SUFFIX
=
"-DSI_MAIN"
;
...
...
@@ -93,7 +95,9 @@ public class TwoQuadCLT {
"disparity_x3d"
,
"strength_main"
,
"strength_aux"
,
"strength_rig"
};
"strength_rig"
,
"spread_main"
,
"spread_aux"
};
public
long
startTime
;
// start of batch processing
public
long
startSetTime
;
// start of set processing
...
...
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