diff --git a/Modules/Segmentation/MarkovRandomFieldsClassifiers/include/itkRGBGibbsPriorFilter.h b/Modules/Segmentation/MarkovRandomFieldsClassifiers/include/itkRGBGibbsPriorFilter.h index 041319118c5..c18d499cd17 100644 --- a/Modules/Segmentation/MarkovRandomFieldsClassifiers/include/itkRGBGibbsPriorFilter.h +++ b/Modules/Segmentation/MarkovRandomFieldsClassifiers/include/itkRGBGibbsPriorFilter.h @@ -104,8 +104,7 @@ class ITK_TEMPLATE_EXPORT RGBGibbsPriorFilter : public MRFImageFilter::SetClassifier(typename Class m_ClassifierPtr->SetNumberOfClasses(m_NumberOfClasses); } -/* Set the training image. */ -template -void -RGBGibbsPriorFilter::SetTrainingImage(TrainingImageType image) -{ - m_TrainingImage = image; -} - /* Check if 2 number are identical. */ template int