Skip to content
Snippets Groups Projects
Commit 5b27d453 authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 7c8135be
No related branches found
No related tags found
No related merge requests found
...@@ -192,7 +192,6 @@ int main(int argc, char * argv[]) ...@@ -192,7 +192,6 @@ int main(int argc, char * argv[])
ShapeLabelMapFilterType::Pointer shapeLabelMapFilter = ShapeLabelMapFilterType::Pointer shapeLabelMapFilter =
ShapeLabelMapFilterType::New(); ShapeLabelMapFilterType::New();
shapeLabelMapFilter->SetInput(labelMapFilter->GetOutput()); shapeLabelMapFilter->SetInput(labelMapFilter->GetOutput());
// Software Guide : EndCodeSnippet // Software Guide : EndCodeSnippet
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
...@@ -201,10 +200,8 @@ int main(int argc, char * argv[]) ...@@ -201,10 +200,8 @@ int main(int argc, char * argv[])
// //
// Software Guide : EndLatex // Software Guide : EndLatex
// Software Guide : BeginCodeSnippet // Software Guide : BeginCodeSnippet
RadiometricLabelMapFilterType::Pointer radiometricLabelMapFilter RadiometricLabelMapFilterType::Pointer radiometricLabelMapFilter
= RadiometricLabelMapFilterType::New(); = RadiometricLabelMapFilterType::New();
// Software Guide : EndCodeSnippet // Software Guide : EndCodeSnippet
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
...@@ -222,7 +219,6 @@ int main(int argc, char * argv[]) ...@@ -222,7 +219,6 @@ int main(int argc, char * argv[])
// //
// Software Guide : EndLatex // Software Guide : EndLatex
// Software Guide : BeginCodeSnippet // Software Guide : BeginCodeSnippet
NDVIImageFilterType:: Pointer ndviImageFilter = NDVIImageFilterType::New(); NDVIImageFilterType:: Pointer ndviImageFilter = NDVIImageFilterType::New();
ndviImageFilter->SetRedIndex(3); ndviImageFilter->SetRedIndex(3);
...@@ -236,7 +232,6 @@ int main(int argc, char * argv[]) ...@@ -236,7 +232,6 @@ int main(int argc, char * argv[])
radiometricLabelMapFilter->SetInput(shapeLabelMapFilter->GetOutput()); radiometricLabelMapFilter->SetInput(shapeLabelMapFilter->GetOutput());
radiometricLabelMapFilter->SetFeatureImage(ndviVectorImageFilter->GetOutput()); radiometricLabelMapFilter->SetFeatureImage(ndviVectorImageFilter->GetOutput());
// Software Guide : EndCodeSnippet // Software Guide : EndCodeSnippet
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
...@@ -247,7 +242,6 @@ int main(int argc, char * argv[]) ...@@ -247,7 +242,6 @@ int main(int argc, char * argv[])
// //
// Software Guide : EndLatex // Software Guide : EndLatex
// Software Guide : BeginCodeSnippet // Software Guide : BeginCodeSnippet
OpeningLabelMapFilterType::Pointer opening = OpeningLabelMapFilterType::New(); OpeningLabelMapFilterType::Pointer opening = OpeningLabelMapFilterType::New();
opening->SetInput(radiometricLabelMapFilter->GetOutput()); opening->SetInput(radiometricLabelMapFilter->GetOutput());
opening->SetAttributeName(attr); opening->SetAttributeName(attr);
...@@ -255,7 +249,6 @@ int main(int argc, char * argv[]) ...@@ -255,7 +249,6 @@ int main(int argc, char * argv[])
opening->SetReverseOrdering(lowerThan); opening->SetReverseOrdering(lowerThan);
opening->Update(); opening->Update();
// Software Guide : EndCodeSnippet // Software Guide : EndCodeSnippet
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
...@@ -264,11 +257,9 @@ int main(int argc, char * argv[]) ...@@ -264,11 +257,9 @@ int main(int argc, char * argv[])
// //
// Software Guide : EndLatex // Software Guide : EndLatex
// Software Guide : BeginCodeSnippet // Software Guide : BeginCodeSnippet
LabelMapToBinaryImageFilterType::Pointer labelMap2LabeledImage LabelMapToBinaryImageFilterType::Pointer labelMap2LabeledImage
= LabelMapToBinaryImageFilterType::New(); = LabelMapToBinaryImageFilterType::New();
labelMap2LabeledImage->SetInput(opening->GetOutput()); labelMap2LabeledImage->SetInput(opening->GetOutput());
// Software Guide : EndCodeSnippet // Software Guide : EndCodeSnippet
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
......
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