diff --git a/Examples/Patented/CMakeLists.txt b/Examples/Patented/CMakeLists.txt index 26cb3757efdcf1a12bc69f7ad3d3f2f8103f0279..d12b8cbf6dd11a5b5c3827a83b20c2fb03e1b0a2 100644 --- a/Examples/Patented/CMakeLists.txt +++ b/Examples/Patented/CMakeLists.txt @@ -3,9 +3,9 @@ INCLUDE_REGULAR_EXPRESSION("^.*$") ADD_EXECUTABLE(FuzzyConnectednessImageFilter FuzzyConnectednessImageFilter.cxx ) -TARGET_LINK_LIBRARIES(FuzzyConnectednessImageFilter ITKNumerics ITKIO) +TARGET_LINK_LIBRARIES(FuzzyConnectednessImageFilter OTBIO OTBCommon ITKNumerics ITKIO) ADD_EXECUTABLE(HybridSegmentationFuzzyVoronoi HybridSegmentationFuzzyVoronoi.cxx ) -TARGET_LINK_LIBRARIES(HybridSegmentationFuzzyVoronoi ITKNumerics ITKIO) +TARGET_LINK_LIBRARIES(HybridSegmentationFuzzyVoronoi OTBIO OTBCommon ITKNumerics ITKIO) diff --git a/Examples/Patented/FuzzyConnectednessImageFilter.cxx b/Examples/Patented/FuzzyConnectednessImageFilter.cxx index 8ef0b50f8f7231a30483a3dde55d03353662345c..d1b2dbf194a2e615653d588e9a4ca2df4d0f82c4 100644 --- a/Examples/Patented/FuzzyConnectednessImageFilter.cxx +++ b/Examples/Patented/FuzzyConnectednessImageFilter.cxx @@ -84,7 +84,7 @@ int main( int argc, char *argv[] ) // Software Guide : BeginCodeSnippet typedef float InputPixelType; const unsigned int Dimension = 2; - typedef otb::Image< InputPixelType, Dimension > InputImageType; + typedef itk::Image< InputPixelType, Dimension > InputImageType; // Software Guide : EndCodeSnippet // Software Guide : BeginLatex @@ -97,7 +97,7 @@ int main( int argc, char *argv[] ) // Software Guide : BeginCodeSnippet typedef unsigned char BinaryPixelType; - typedef otb::Image< BinaryPixelType, Dimension > BinaryImageType; + typedef itk::Image< BinaryPixelType, Dimension > BinaryImageType; // Software Guide : EndCodeSnippet diff --git a/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx b/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx index 90381111ab9c23ce8a35f120d5102f718c2ebe4d..a19834e8179a0fe29e54603de4a5326ba241d4c3 100644 --- a/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx +++ b/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx @@ -51,7 +51,7 @@ // Software Guide : EndCodeSnippet -#include "otbImage.h" +#include "itkImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" @@ -81,7 +81,7 @@ int main( int argc, char *argv[] ) // Software Guide : BeginCodeSnippet typedef float InputPixelType; const unsigned int Dimension = 2; - typedef otb::Image< InputPixelType, Dimension > InputImageType; + typedef itk::Image< InputPixelType, Dimension > InputImageType; // Software Guide : EndCodeSnippet @@ -101,7 +101,7 @@ int main( int argc, char *argv[] ) // Software Guide : BeginCodeSnippet typedef unsigned char BinaryPixelType; - typedef otb::Image< BinaryPixelType, Dimension > BinaryImageType; + typedef itk::Image< BinaryPixelType, Dimension > BinaryImageType; // Software Guide : EndCodeSnippet @@ -152,7 +152,7 @@ int main( int argc, char *argv[] ) // Software Guide : BeginCodeSnippet typedef unsigned char OutputPixelType; - typedef otb::Image< OutputPixelType, Dimension > OutputImageType; + typedef itk::Image< OutputPixelType, Dimension > OutputImageType; // Software Guide : EndCodeSnippet @@ -389,7 +389,7 @@ int main( int argc, char *argv[] ) // \small // \begin{verbatim} //HybridSegmentationFuzzyVoronoi QB_Suburb.png Output.png - 140 125 140 25 0.2 2.0 + // 140 125 140 25 0.2 2.0 // \end{verbatim} // \normalsize // @@ -408,7 +408,7 @@ int main( int argc, char *argv[] ) // \small // \begin{verbatim} //HybridSegmentationFuzzyVoronoi QB_Suburb.png Output.png - 80 200 140 300 0.3 3.0 + // 80 200 140 300 0.3 3.0 // \end{verbatim} // \normalsize //