Skip to content

Commit

Permalink
Don't use gaussian weights for grain temporal averaging
Browse files Browse the repository at this point in the history
  • Loading branch information
emotion3459 authored Oct 7, 2024
1 parent 8550361 commit 691b56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsdeband/noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def _try_grain(src: vs.VideoNode, stre: tuple[float, float] = strength, **args:
grained = _wrap_implementation(clip, True)

if do_taverage:
average = grained.std.AverageFrames(BlurMatrix.GAUSS.from_radius(self.temporal_radius))
average = grained.std.AverageFrames([1] * (self.temporal_radius * 2 + 1))
grained = grained.std.Merge(average, self.temporal_average)
grained = grained[self.temporal_radius:-self.temporal_radius]

Expand Down

0 comments on commit 691b56f

Please sign in to comment.