Skip to content

[BUG] Wavelet Transform of BsplineWaveletTransformATrousAlgorithm gives errors #30

Description

@chaithyagr

Here is a simple python code that tries to use the bindings to get the results:

import pysap
import numpy as np
transform = pysap.load_transform('BsplineWaveletTransformATrousAlgorithm')
linear_op = transform(nb_scale=4)
x = np.random.random((100, 100))
linear_op.data = x
linear_op.analysis()
y = linear_op.analysis_data

On running this, I see a huge set of prints as follows:
get_indexError: bad parameter bord in get_indexError: and so on.

On debugging I noticed that this particularly happened at line linear_op.analysis(), so to me it looks like a bug in this particular Wavelet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions