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

Commit pour test (suppression de if defined pour le constructeur).

parent 38a83107
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,8 @@ namespace otb
template <class TInputImage,
class TTrainingImage>
class ITK_EXPORT SVMImageModelEstimator:
public SVMModelEstimator<ITK_TYPENAME TInputImage::PixelType::ComponentType, ITK_TYPENAME TTrainingImage::PixelType>
public SVMModelEstimator<ITK_TYPENAME TInputImage::InternalPixelType, ITK_TYPENAME TTrainingImage::PixelType>
//public SVMModelEstimator<ITK_TYPENAME TInputImage::PixelType::ComponentType, ITK_TYPENAME TTrainingImage::PixelType>
{
public:
/** Standard class typedefs. */
......
......@@ -28,7 +28,7 @@
namespace otb
{
//Sous Visual, il n'aime pas l'appel constructeur .. bizarre !!!
#if defined(WIN32) || defined(WIN32CE)
//#if defined(WIN32) || defined(WIN32CE)
template<class TInputImage, class TTrainingImage>
SVMImageModelEstimator<TInputImage, TTrainingImage>
::SVMImageModelEstimator()
......@@ -52,7 +52,7 @@ SVMImageModelEstimator<TInputImage, TTrainingImage>
this->m_Model->DoShrinking(1);
this->m_Model->DoProbabilityEstimates(true);
}
#else
/*#else
template<class TInputImage, class TTrainingImage>
SVMImageModelEstimator<TInputImage, TTrainingImage>
::SVMImageModelEstimator(): SVMModelEstimator<ITK_TYPENAME TInputImage::PixelType::ComponentType, ITK_TYPENAME TTrainingImage::PixelType >::SVMModelEstimator()
......@@ -60,7 +60,7 @@ SVMImageModelEstimator<TInputImage, TTrainingImage>
{
}
#endif
*/
template<class TInputImage,
class TTrainingImage>
......
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