Skip to content

Commit

Permalink
specify color range when scaling degrain limit (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichunjo authored Mar 12, 2024
1 parent f27e074 commit 3fa267d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsdenoise/mvtools/mvtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def degrain(
'"limit" values should be between 0 and 255 (inclusive)!', self.degrain
)

limitf, limitCf = scale_value(limit, 8, ref), scale_value(limitC, 8, ref)
limitf, limitCf = scale_value(limit, 8, ref, ColorRange.FULL), scale_value(limitC, 8, ref, ColorRange.FULL)

thSCD1, thSCD2 = self.normalize_thscd(thSCD, thSAD, self.degrain)

Expand Down

0 comments on commit 3fa267d

Please sign in to comment.