Skip to content

Incorrect number of pyramid levels #34

@mantiuk

Description

@mantiuk

From issue #33:

You define the min_freq at 0.2 but you create 2 more levels that are below this spatial frequency in lpyr

The offending constructor:

def __init__(self, W, H, ppd, device):

The logic for finding the right number of pyramid levels does not seem right. The peak band frequencies are (for a 1920x1080 image):

array([37.70122467, 12.16995532,  6.08497766,  3.04248883,  1.52124442,
        0.76062221,  0.3803111 ,  0.19015555,  0.09507778])

The entire class may require refactoring, as it is based on the old Matlab class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions