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
6e83b5e1
Commit
6e83b5e1
authored
13 years ago
by
Otmane Lahlou
Browse files
Options
Downloads
Patches
Plain Diff
ENH: add test for SplitImage application
parent
b816b0fc
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/Util/CMakeLists.txt
+20
-1
20 additions, 1 deletion
Testing/Applications/Util/CMakeLists.txt
with
20 additions
and
1 deletion
Testing/Applications/Util/CMakeLists.txt
+
20
−
1
View file @
6e83b5e1
...
...
@@ -124,4 +124,23 @@ add_test(NAME apTvUtBandMath
${
INPUTDATA
}
/poupees_sub.png
--out
${
TEMP
}
/apTvUtBandMathOutput.tif
--exp
"cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3,im3b4)"
)
\ No newline at end of file
)
# Split Image applciation
add_test
(
NAME apTvUtSplitImage
COMMAND otbTestDriver --compare-n-images
${
NOTOL
}
3
${
INPUTDATA
}
/poupees_sub_c1.png
${
TEMP
}
/apTvUtSplitImageOutput_0.tif
${
INPUTDATA
}
/poupees_sub_c2.png
${
TEMP
}
/apTvUtSplitImageOutput_1.tif
${
INPUTDATA
}
/poupees_sub_c3.png
${
TEMP
}
/apTvUtSplitImageOutput_2.tif
Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
SplitImage
$<TARGET_FILE_DIR:otbapp_BandMath>
--in
${
INPUTDATA
}
/poupees_sub.png
--out
${
TEMP
}
/apTvUtSplitImageOutput.tif
)
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