diff --git a/Code/BasicFilters/otbStreamingShrinkImageFilter.h b/Code/BasicFilters/otbStreamingShrinkImageFilter.h index f1aac3d0cc067efa374a19cc92008566609f77a7..c077557e021e7e242895479b509ad395c5efa305 100644 --- a/Code/BasicFilters/otbStreamingShrinkImageFilter.h +++ b/Code/BasicFilters/otbStreamingShrinkImageFilter.h @@ -39,7 +39,7 @@ namespace otb * \ingroup Multithreaded * */ -template<class TInputImage, class TOutputImage> +template<class TInputImage, class TOutputImage = TInputImage> class ITK_EXPORT PersistentShrinkImageFilter : public PersistentImageFilter<TInputImage, TOutputImage> { @@ -134,7 +134,7 @@ private: * \ingroup Multithreaded * */ -template<class TInputImage, class TOutputImage> +template<class TInputImage, class TOutputImage = TInputImage> class ITK_EXPORT StreamingShrinkImageFilter : public PersistentFilterStreamingDecorator< PersistentShrinkImageFilter<TInputImage, TOutputImage> > {