Commit 8aeab374 authored by ctraizet's avatar ctraizet
Browse files

BUG: add GetModifiableFunctor to modify the functorImageFilter

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -119,7 +119,7 @@ int main(int argc, char* argv[]) ...@@ -119,7 +119,7 @@ int main(int argc, char* argv[])
typedef otb::UnConstrainedLeastSquareImageFilter<ImageType, ImageType, double> UCLSUnmixingFilterType; typedef otb::UnConstrainedLeastSquareImageFilter<ImageType, ImageType, double> UCLSUnmixingFilterType;
UCLSUnmixingFilterType::Pointer unmixer = UCLSUnmixingFilterType::New(); UCLSUnmixingFilterType::Pointer unmixer = UCLSUnmixingFilterType::New();
unmixer->SetInput(rescaler->GetOutput()); unmixer->SetInput(rescaler->GetOutput());
unmixer->SetMatrix(endMember2Matrix->GetMatrix()); unmixer->GetModifiableFunctor().SetMatrix(endMember2Matrix->GetMatrix());
unmixer->SetNumberOfThreads(1); // FIXME : currently buggy unmixer->SetNumberOfThreads(1); // FIXME : currently buggy
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment