Skip to content
Snippets Groups Projects
Commit 9219d7f7 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : change accessor in NDBI test

parent 5fda1266
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,10 @@ int otbNDBIMultiChannelTM4AndTM5IndexImageFilter(int argc, char * argv[])
reader->SetFileName( inputFilename );
writer->SetFileName( outputFilename );
filter->GetFunctor().SetTM5Index(tm5Channel);
filter->GetFunctor().SetTM4Index(tm4Channel);
filter->GetFunctor().SetIndex1(tm4Channel);
filter->GetFunctor().SetIndex2(tm5Channel);
//filter->GetFunctor().SetTM5Index(tm5Channel);
//filter->GetFunctor().SetTM4Index(tm4Channel);
filter->SetInput( reader->GetOutput() );
writer->SetInput( filter->GetOutput() );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment