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.
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.