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
6db01aca
Commit
6db01aca
authored
May 04, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabled far objects detection when doing mismatch measurements
parent
c2c4ce6e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ImageDtt.java
src/main/java/ImageDtt.java
+3
-1
No files found.
src/main/java/ImageDtt.java
View file @
6db01aca
...
@@ -1400,6 +1400,7 @@ public class ImageDtt {
...
@@ -1400,6 +1400,7 @@ public class ImageDtt {
final
double
[][][][][]
clt_corr_partial
,
// [tilesY][tilesX][quad]color][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
final
double
[][][][][]
clt_corr_partial
,
// [tilesY][tilesX][quad]color][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
// [tilesY][tilesX] should be set by caller
// [tilesY][tilesX] should be set by caller
// When clt_mismatch is non-zero, no far objects extraction will be attempted
final
double
[][]
clt_mismatch
,
// [12][tilesY * tilesX] // ***** transpose unapplied ***** ?. null - do not calculate
final
double
[][]
clt_mismatch
,
// [12][tilesY * tilesX] // ***** transpose unapplied ***** ?. null - do not calculate
// values in the "main" directions have disparity (*_CM) subtracted, in the perpendicular - as is
// values in the "main" directions have disparity (*_CM) subtracted, in the perpendicular - as is
...
@@ -2200,7 +2201,8 @@ public class ImageDtt {
...
@@ -2200,7 +2201,8 @@ public class ImageDtt {
if
(
dmExists
(
disparity_map
,
DBG2_INDEX
))
disparity_map
[
DBG2_INDEX
][
tIndex
]
=
mod_disparity_diff
[
0
];
if
(
dmExists
(
disparity_map
,
DBG2_INDEX
))
disparity_map
[
DBG2_INDEX
][
tIndex
]
=
mod_disparity_diff
[
0
];
if
(
dmExists
(
disparity_map
,
DBG12_INDEX
))
disparity_map
[
DBG12_INDEX
][
tIndex
]
=
mod_disparity_diff
[
1
];
if
(
dmExists
(
disparity_map
,
DBG12_INDEX
))
disparity_map
[
DBG12_INDEX
][
tIndex
]
=
mod_disparity_diff
[
1
];
if
(
mod_disparity_diff
[
0
]
!=
disparity
)
{
// if it changed
// Do not use modified far object distance when mismatch is measured
if
((
mod_disparity_diff
[
0
]
!=
disparity
)
&&
(
clt_mismatch
==
null
)){
// if it changed
if
(
imgdtt_params
.
fo_correct
&&
(
strength
>
imgdtt_params
.
fo_min_strength
))
{
// always
if
(
imgdtt_params
.
fo_correct
&&
(
strength
>
imgdtt_params
.
fo_min_strength
))
{
// always
disparity
=
mod_disparity_diff
[
0
];
disparity
=
mod_disparity_diff
[
0
];
disparity_map
[
DISPARITY_INDEX_CM
]
[
tIndex
]
=
disparity
;
disparity_map
[
DISPARITY_INDEX_CM
]
[
tIndex
]
=
disparity
;
...
...
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