InsightSoftwareConsortium / ITKIsotropicWavelets

External Module for ITK, implementing Isotropic Wavelets and Riesz Filter for multiscale phase analysis.
Apache License 2.0
13 stars 11 forks source link

BUG: Fix level returning from IndexToLevelBandSteerablePyramid #106

Closed phcerdan closed 5 years ago

phcerdan commented 5 years ago

At last index When index == forwardWavelet->GetNumberOfOutputs() - 1 IndexToLevelBandSteerablePyramid returns the pair (max_level, 0) instead of: (max_level - 1, 0)

Now it returns the right level, according to the pyramid, the last output is downsampled. This is compatible with the spacing of the outputs of forwardWavelets.