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

BUG: tentative reverting 07a1fcd8e0ed for wavelet bug

parent 79511de8
No related branches found
No related tags found
No related merge requests found
...@@ -812,18 +812,17 @@ WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, INVERSE > ...@@ -812,18 +812,17 @@ WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, INVERSE >
lowPassOperator.CreateDirectional(); lowPassOperator.CreateDirectional();
long int radius [ InputImageDimension ]; long int radius [ InputImageDimension ];
//radius[0] = lowPassOperator.GetRadius()[0]; radius[0] = lowPassOperator.GetRadius()[0];
HighPassOperatorType highPassOperator; HighPassOperatorType highPassOperator;
highPassOperator.SetDirection(0); highPassOperator.SetDirection(0);
highPassOperator.SetUpSampleFactor( this->GetUpSampleFilterFactor() ); highPassOperator.SetUpSampleFactor( this->GetUpSampleFilterFactor() );
highPassOperator.CreateDirectional(); highPassOperator.CreateDirectional();
for ( unsigned int i = 0; i < InputImageDimension; i++ ) for ( unsigned int i = 1; i < InputImageDimension; i++ )
{ {
radius[i] = lowPassOperator.GetRadius()[0]; if ( radius[i] < highPassOperator.GetRadius()[i] )
if ( radius[i] < highPassOperator.GetRadius()[0] ) radius[i] = highPassOperator.GetRadius()[i];
radius[i] = highPassOperator.GetRadius()[0];
} }
InputImageRegionType paddedRegion = destRegion; InputImageRegionType paddedRegion = destRegion;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment