Commit a4e9c9c4 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: virtual method for ConvolutionImageFilter + debug output

parent 8d1e23c6
......@@ -117,7 +117,7 @@ public:
itkGetConstReferenceMacro(Radius, InputSizeType);
/** Set the input filter */
void SetFilter( ArrayType filter )
virtual void SetFilter( ArrayType filter )
{
if (filter.Size()!= m_Filter.Size())
{
......
......@@ -65,6 +65,8 @@ ConvolutionImageFilter<TInputImage, TOutputImage, TBoundaryCondition>
// pad the input requested region by the operator radius
inputRequestedRegion.PadByRadius( m_Radius );
otbMsgDevMacro(<<"Padding by " << m_Radius );
otbMsgDevMacro(<<"Region is now " << inputRequestedRegion.GetIndex() << ", "<< inputRequestedRegion.GetSize() );
// crop the input requested region at the input's largest possible region
if ( inputRequestedRegion.Crop(inputPtr->GetLargestPossibleRegion()) )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment