Skip to content

non local means out of bound #41

@Ray-Luo

Description

@Ray-Luo

https://github.com/10x-Engineers/Infinite-ISP/blob/main/modules/noise_reduction_2d/non_local_means.py#L42

It should be distance = np.arange(256**2) instead of 255**2, the distance between 0 and 255 is 256. otherwise weights_lut[distance] can be out of bounds.

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