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

Backed out changeset e3634c02a076. Not working, using uninitialized value. But...

Backed out changeset e3634c02a076. Not working, using uninitialized value. But proves that the problem comes from the padding in y
parent 6b74db06
Branches
Tags
No related merge requests found
......@@ -812,17 +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];
radius[i] = lowPassOperator.GetRadius()[0];
if ( radius[i] < highPassOperator.GetRadius()[0] )
radius[i] = highPassOperator.GetRadius()[0];
}
InputImageRegionType paddedRegion = destRegion;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment