アニメキャプチャ総合スレッド Part.3

このエントリーをはてなブックマークに追加
344ヘルプからのコピペ
TemporalSmoother
TemporalSmoother(clip[,strength[,radius]])

This is a port of the TemporalSmoother filter from VirtualDub.
It works in RGB32 & YUY2 pixel formats.
From VirtualDub help file:

This filter is an adaptive noise reducer, working along the time axis;
it is most effective when the image is not moving much. Increase the
filter strength to increase noise reduction, and decrease it to reduce
speckling and ghosting artifacts. It is recommended that you combine
this filter with a spatial (area-based) noise reducer for greatest effect.

All frames no more than radius away are examined. Minimum radius is 1,
maximum is 7. Larger values are of course slower. Default is 3, which
is the value used in VirtualDub. The default value for strength is 2.

Note that unlike its VirtualDub counterpart, this filter has no lag.
It ensures that the frames needed for its work are in its buffer.
Therefore, random access in the clip is slow, especially with a large radius.

Example:

# The filter effects in RGB and YUV are not 100% equivalent, especially with a high strength.
# Let's visualize the difference

cYUY2 = ConvertToRGB(TemporalSmoother(ConvertToYUY2,10))
cRGB = TemporalSmoother(10)
Subtract(cYUY2, cRGB)