Commit 7c811a0e authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

MRG

parents a4e9c9c4 63427114
......@@ -812,18 +812,18 @@ WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, INVERSE >
lowPassOperator.CreateDirectional();
long int radius [ InputImageDimension ];
radius[0] = lowPassOperator.GetRadius()[0];
//radius[0] = lowPassOperator.GetRadius()[0];
HighPassOperatorType highPassOperator;
highPassOperator.SetDirection(0);
highPassOperator.SetUpSampleFactor( this->GetUpSampleFilterFactor() );
highPassOperator.CreateDirectional();
for ( unsigned int i = 1; i < InputImageDimension; i++ )
for ( unsigned int i = 0; i < InputImageDimension; i++ )
{
if ( radius[i] < highPassOperator.GetRadius()[i] )
radius[i] = highPassOperator.GetRadius()[i];
std::cout << __FILE__ << ":" << __LINE__ << " -> "<< i << ": " << radius[i] << std::endl;
radius[i] = lowPassOperator.GetRadius()[0];
if ( radius[i] < highPassOperator.GetRadius()[0] )
radius[i] = highPassOperator.GetRadius()[0];
}
InputImageRegionType paddedRegion = destRegion;
......
Markdown is supported
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