Skip to content
Snippets Groups Projects
Commit a4e9c9c4 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: virtual method for ConvolutionImageFilter + debug output

parent 8d1e23c6
No related branches found
No related tags found
No related merge requests found
......@@ -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()) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment