
www.techwellinc.com
Preliminary
TW2804/TW2802 Multiple Video Decoder
Techwell, Inc.
Datasheet Rev. 2.4
09/09/2003
20
Motion Detector
The TW280X supports hardware motion detector for 4 channels individually. The motion
detection algorithm built in the TW280X uses difference between two luminance levels of the
adjacent two fields. Motion is detected for full screen image and each channel has 144(12x12)
mask regions, which enable or disable motion detection for that region. The motion detection
has several attributes, sensitivity and velocity of motion detector controlled by programming the
register. The Host takes the result of motion detection via IRQ or NVMD pin. Refer to the host
Interface for the detail.
Sensitivity Control
The motion detector has three sensitivity control parameters. One is level sensitivity control
parameter (LVLSENS), another is spatial sensitivity control parameter (SPTSENS), and a third
is temporal sensitivity control parameter (TMPSENS). The recommended values of sensitivity
control parameters for a proper operation are listed in Table 3
LVLSENS (Level Sensitivity)
In built-in motion detection algorithm, motion is detected when luminance level difference
between two fields is greater than the value, which is defined by LVLSENS. The smaller
LVLSENS value makes the motion detector sense more sensitively, and the larger is the
opposite. When LVLSENS is too small, the motion detector can be weak in noise.
SPTSENS (Spatial Sensitivity)
Motion detection from only luminance level difference between two fields is very weak in spatial
random noise. To remove the fake motion detection from the random noise, spatial filter is used.
SPTSENS adjusts the window size of the spatial filter to control the spatial sensitivity so that the
large SPTSENS value increases the immunity of spatial random noise.
TMPSENS (Temporal Sensitivity)
Likewise, temporal filter is used to remove the fake motion detection from the temporal random
noise. TMPSENS regulates the number of taps in the temporal filter to control the temporal
sensitivity so that the large TMPSENS value increases the immunity of temporal random noise.