Skip to content
Snippets Groups Projects
Commit 8aeab374 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: add GetModifiableFunctor to modify the functorImageFilter

parent a4474caf
Branches
Tags
No related merge requests found
......@@ -119,7 +119,7 @@ int main(int argc, char* argv[])
typedef otb::UnConstrainedLeastSquareImageFilter<ImageType, ImageType, double> UCLSUnmixingFilterType;
UCLSUnmixingFilterType::Pointer unmixer = UCLSUnmixingFilterType::New();
unmixer->SetInput(rescaler->GetOutput());
unmixer->SetMatrix(endMember2Matrix->GetMatrix());
unmixer->GetModifiableFunctor().SetMatrix(endMember2Matrix->GetMatrix());
unmixer->SetNumberOfThreads(1); // FIXME : currently buggy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment