Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
cab46f4d
Commit
cab46f4d
authored
12 years ago
by
Jonathan Guinet
Browse files
Options
Downloads
Patches
Plain Diff
TEST: DisparityMap applications tests are no longer dependents.
parent
50459420
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Testing/Applications/DisparityMap/CMakeLists.txt
+11
-26
11 additions, 26 deletions
Testing/Applications/DisparityMap/CMakeLists.txt
with
11 additions
and
26 deletions
Testing/Applications/DisparityMap/CMakeLists.txt
+
11
−
26
View file @
cab46f4d
...
...
@@ -62,7 +62,7 @@ OTB_TEST_APPLICATION(NAME apTvDmFineRegistrationTest
#stereo reconstruction of images pair
#--- StereoRectificationGridGenerator ---#
OTB_TEST_APPLICATION
(
NAME apT
v
DmStereoRectificationGridGeneratorTest
OTB_TEST_APPLICATION
(
NAME apT
u
DmStereoRectificationGridGeneratorTest
APP StereoRectificationGridGenerator
OPTIONS -io.inleft
${
INPUTDATA
}
/sensor_stereo_left.tif
-io.inright
${
INPUTDATA
}
/sensor_stereo_right.tif
...
...
@@ -74,32 +74,30 @@ OTB_TEST_APPLICATION(NAME apTvDmStereoRectificationGridGeneratorTest
)
#--- GridBasedImageResampling ---#
OTB_TEST_APPLICATION
(
NAME apT
v
DmGridBasedImageResamplingLeftTest
OTB_TEST_APPLICATION
(
NAME apT
u
DmGridBasedImageResamplingLeftTest
APP GridBasedImageResampling
OPTIONS -io.in
${
INPUTDATA
}
/sensor_stereo_left.tif
-io.out
${
TEMP
}
/apTvDmGridBasedImageResamplingLeftTest.tif
-grid.in
${
TEMP
}
/apTvDmS
tereo
R
ectif
icationGridGeneratorLeftTes
t.tif
-grid.in
${
INPUTDATA
}
/sensor_s
tereo
_r
ectif
_lef
t.tif
-out.sizex 158
-out.sizey 158
)
SET_TESTS_PROPERTIES
(
apTvDmGridBasedImageResamplingLeftTest PROPERTIES DEPENDS apTvDmStereoRectificationGridGeneratorTest
)
OTB_TEST_APPLICATION
(
NAME apT
v
DmGridBasedImageResamplingRightTest
OTB_TEST_APPLICATION
(
NAME apT
u
DmGridBasedImageResamplingRightTest
APP GridBasedImageResampling
OPTIONS -io.in
${
INPUTDATA
}
/sensor_stereo_right.tif
-io.out
${
TEMP
}
/apTvDmGridBasedImageResamplingRightTest.tif
-grid.in
${
TEMP
}
/apTvDmS
tereo
R
ectif
icationGridGeneratorRightTes
t.tif
-grid.in
${
INPUTDATA
}
/sensor_s
tereo
_r
ectif
_righ
t.tif
-out.sizex 158
-out.sizey 158
)
SET_TESTS_PROPERTIES
(
apTvDmGridBasedImageResamplingRightTest PROPERTIES DEPENDS apTvDmStereoRectificationGridGeneratorTest
)
#--- BlockMatching ---#
OTB_TEST_APPLICATION
(
NAME apTvDmBlockMatchingTest
APP BlockMatching
OPTIONS -io.inleft
${
TEMP
}
/apTvDmG
rid
B
ased
ImageR
esampling
LeftTest
.tif
-io.inright
${
TEMP
}
/apTvDmG
rid
B
ased
ImageR
esampling
RightTest
.tif
OPTIONS -io.inleft
${
INPUTDATA
}
/sensor_stereo_left_g
rid
b
ased
r
esampling.tif
-io.inright
${
INPUTDATA
}
/sensor_stereo_right_g
rid
b
ased
r
esampling.tif
-io.out
${
TEMP
}
/apTvDmBlockMatchingTest.tif
-bm.minhd -24
-bm.maxhd 0
...
...
@@ -114,36 +112,23 @@ OTB_TEST_APPLICATION(NAME apTvDmBlockMatchingTest
${
INPUTDATA
}
/sensor_stereo_blockmatching_output.tif
${
TEMP
}
/apTvDmBlockMatchingTest.tif
)
set_property
(
TEST apTvDmBlockMatchingTest APPEND PROPERTY DEPENDS apTvDmGridBasedImageResamplingRightTest
)
set_property
(
TEST apTvDmBlockMatchingTest APPEND PROPERTY DEPENDS apTvDmGridBasedImageResamplingLeftTest
)
#--- BandMath application to mask disparity-----
OTB_TEST_APPLICATION
(
NAME apTvDmDisparityMapLeftMask
APP BandMath
OPTIONS -il
${
TEMP
}
/apTvDmGridBasedImageResamplingLeftTest.tif
-out
${
TEMP
}
/apTvDmDisparityMapLeftMask.tif uint8
-exp
"if(im1b1 != 0,255,0)"
)
SET_TESTS_PROPERTIES
(
apTvDmDisparityMapLeftMask PROPERTIES DEPENDS apTvDmGridBasedImageResamplingLeftTest
)
#--- DisparityMapToElevationMap ---#
OTB_TEST_APPLICATION
(
NAME apTvDmDisparityMapToElevationMap
APP DisparityMapToElevationMap
OPTIONS -io.in
${
TEMP
}
/apTvDmB
lock
M
atching
Tes
t.tif
OPTIONS -io.in
${
INPUTDATA
}
/sensor_stereo_b
lock
m
atching
_outpu
t.tif
-io.left
${
INPUTDATA
}
/sensor_stereo_left.tif
-io.right
${
INPUTDATA
}
/sensor_stereo_right.tif
-io.lgrid
${
TEMP
}
/apTvDmS
tereo
R
ectif
icationGridGeneratorLeftTes
t.tif
-io.rgrid
${
TEMP
}
/apTvDmS
tereo
R
ectif
icationGridGeneratorRightTes
t.tif
-io.lgrid
${
INPUTDATA
}
/sensor_s
tereo
_r
ectif
_lef
t.tif
-io.rgrid
${
INPUTDATA
}
/sensor_s
tereo
_r
ectif
_righ
t.tif
-io.out
${
TEMP
}
/apTvDmDisparityMapToElevationMapTest.tif
-hmin 130
-hmax 220
-elev.average.value 140
-step 2.5
-io.mask
${
TEMP
}
/apTvDmDisparityMapLeftM
ask.tif
-io.mask
${
INPUTDATA
}
/sensor_stereo_dmap_m
ask.tif
VALID --compare-image
${
EPSILON_10
}
${
BASELINE_EXAMPLE
}
/elevationOutput.tif
${
TEMP
}
/apTvDmDisparityMapToElevationMapTest.tif
)
set_property
(
TEST apTvDmDisparityMapToElevationMap APPEND PROPERTY DEPENDS apTvDmBlockMatchingTest
)
set_property
(
TEST apTvDmDisparityMapToElevationMap APPEND PROPERTY DEPENDS apTvDmDisparityMapLeftMask
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment