]> Creatis software - cpPlugins.git/blobdiff - plugins/ITKLevelSetFilters/ThresholdSegmentationLevelSetImageFilter.cxx
...
[cpPlugins.git] / plugins / ITKLevelSetFilters / ThresholdSegmentationLevelSetImageFilter.cxx
index 45c2b40bd15ddb073d98bd19d5e8e02318a5e087..9847f54a8641cd25a54919d0f74604e7a28c368c 100644 (file)
@@ -1,5 +1,5 @@
 #include <ITKLevelSetFilters/ThresholdSegmentationLevelSetImageFilter.h>
-#include <cpInstances/Image.h>
+#include <cpInstances/DataObjects/Image.h>
 
 #include <itkThresholdSegmentationLevelSetImageFilter.h>
 
@@ -8,9 +8,9 @@ cpPluginsITKLevelSetFilters::ThresholdSegmentationLevelSetImageFilter::
 ThresholdSegmentationLevelSetImageFilter( )
   : Superclass( )
 {
-  this->_ConfigureInput< cpInstances::Image >( "Input", true, false );
-  this->_ConfigureInput< cpInstances::Image >( "Feature", true, false );
-  this->_ConfigureOutput< cpInstances::Image >( "Output" );
+  this->_ConfigureInput< cpInstances::DataObjects::Image >( "Input", true, false );
+  this->_ConfigureInput< cpInstances::DataObjects::Image >( "Feature", true, false );
+  this->_ConfigureOutput< cpInstances::DataObjects::Image >( "Output" );
 
   this->m_Parameters.ConfigureAsReal( "PropagationScaling", 1 );
   this->m_Parameters.ConfigureAsReal( "CurvatureScaling", 1 );
@@ -32,7 +32,7 @@ void cpPluginsITKLevelSetFilters::ThresholdSegmentationLevelSetImageFilter::
 _GenerateData( )
 {
   auto o = this->GetInputData( "Input" );
-  cpPlugins_Demangle_Image_ScalarPixels_AllDims_1( o, _GD0 )
+  cpPlugins_Demangle_Image_RealPixels_AllDims_1( o, _GD0 )
     this->_Error( "Invalid input image dimension." );
 }