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
dbf0e085
Commit
dbf0e085
authored
13 years ago
by
Manuel Grizonnet
Browse files
Options
Downloads
Patches
Plain Diff
DOC:update hyperspectral unmixing example
parent
5bbb6fba
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
Examples/Hyperspectral/HyperspectralUnmixingExample.cxx
+6
-3
6 additions, 3 deletions
Examples/Hyperspectral/HyperspectralUnmixingExample.cxx
with
6 additions
and
3 deletions
Examples/Hyperspectral/HyperspectralUnmixingExample.cxx
+
6
−
3
View file @
dbf0e085
...
...
@@ -145,7 +145,8 @@ int main(int argc, char * argv[])
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
VectorImageToMatrixImageFilterType
::
Pointer
endMember2Matrix
=
VectorImageToMatrixImageFilterType
::
New
();
VectorImageToMatrixImageFilterType
::
Pointer
endMember2Matrix
=
VectorImageToMatrixImageFilterType
::
New
();
endMember2Matrix
->
SetInput
(
vca
->
GetOutput
());
endMember2Matrix
->
Update
();
...
...
@@ -160,7 +161,8 @@ int main(int argc, char * argv[])
// Software Guide : BeginCodeSnippet
typedef
otb
::
UnConstrainedLeastSquareImageFilter
<
ImageType
,
ImageType
,
double
>
UCLSUnmixingFilterType
;
UCLSUnmixingFilterType
::
Pointer
unmixer
=
UCLSUnmixingFilterType
::
New
();
UCLSUnmixingFilterType
::
Pointer
unmixer
=
UCLSUnmixingFilterType
::
New
();
unmixer
->
SetInput
(
rescaler
->
GetOutput
());
unmixer
->
SetMatrix
(
endMember2Matrix
->
GetMatrix
());
// Software Guide : EndCodeSnippet
...
...
@@ -183,7 +185,8 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex
// Figure~\ref{fig:UNMIXING_FILTER} shows the result of applying unmixing
// to a 220 band AVIRIS image.
// to an AVIRIS image (220 bands). This dataset is freely available
// at \url{http://www.ehu.es/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes#Indian_Pines}
// \begin{figure}
// \center
// \includegraphics[width=0.25\textwidth]{UnmixingbandOutput1.eps}
...
...
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