Skip to content

thSAD are blocksize dependent for dct>0 #20

@erazortt

Description

@erazortt

Using MDegrain with a dct>0 (set in MAnalyze) the thresholds thSAD1, thSAD2 and thSCD1 are blocksize dependent.

Expectation:
Follwing the documentation: "The provided thSAD value is scaled to a 8x8 blocksize."
Thus the thresholds should not dependent on the blocksize.

Solution:
remove explicit multiplication of the sad value with variable nBlkSizeX in function PlaneOfBlocks::LumaSADx in each case statement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions