In the name of Allah In the name of Allah the compassionate, the - - PowerPoint PPT Presentation

in the name of allah in the name of allah
SMART_READER_LITE
LIVE PREVIEW

In the name of Allah In the name of Allah the compassionate, the - - PowerPoint PPT Presentation

In the name of Allah In the name of Allah the compassionate, the merciful Digital Video Processing S. Kasaei S. Kasaei Room: CE 307 Department of Computer Engineering Sharif University of Technology E-Mail: skasaei@sharif.edu Web Page:


slide-1
SLIDE 1
slide-2
SLIDE 2

In the name of Allah In the name of Allah

the compassionate, the merciful

slide-3
SLIDE 3

Digital Video Processing

  • S. Kasaei
  • S. Kasaei

Room: CE 307 Department of Computer Engineering Sharif University of Technology

E-Mail: skasaei@sharif.edu Web Page: http://sharif.edu/~skasaei http://mehr.sharif.edu/~ipl

slide-4
SLIDE 4

Chapter 4 Chapter 4

Video Sampling Rate Video Sampling Rate Conversion Conversion

slide-5
SLIDE 5

Kasaei 5

Sampling Rate Conversion

Sometimes it is required to display:

A PAL signal on an NTSC TV system. A motion picture on film on PAL TV

broadcasting.

Made-for-TV material on a computer screen,

which uses progressive display (an interlaced raster into a progressive raster known as deinterlacing).

An MPEG2 video on a mobile phone (H263). A H.263 video format on H.264/MPEG4 devices

(transcoding).

slide-6
SLIDE 6

Kasaei 6

Conversion of Signals Sampled on Different Lattices

Once in the digital domain, we often need

to convert a digital video signal from one format (in terms of spatial & temporal) to another (from one lattice to another).

The solution depends on the relation

between two lattices.

This leads to up-conversion (interpolation)

  • r down-conversion (decimation), or both.
slide-7
SLIDE 7

Kasaei 7

Conversion of Signals Sampled on Different Lattices

For up-conversion, we first zero-pad the lattice

points & then estimate the values of new points by interpolation.

For down-conversion, to avoid aliasing, we need

to pre-filter the signal to limit its bandwidth to the Voronoi cell of the reciprocal of the new lattice.

For arbitrary rate conversion, the third lattice

contains both lattices & the filter fulfills both interpolation & spectrum limitation.

slide-8
SLIDE 8

Kasaei 8

Conversion of Signals Sampled on Different Lattices

slide-9
SLIDE 9

Kasaei 9

UP-Conversion

slide-10
SLIDE 10

Kasaei 10

Down-Conversion

slide-11
SLIDE 11

Kasaei 11

slide-12
SLIDE 12

Kasaei 12

Sampling Rate Conversion

  • General procedure includes:
  • 1. Determining the equivalent sampling

lattices of the input & output signals, & an intermediate lattice that covers the samples in both signals.

  • 2. Determining the desired filter frequency

response (based on the Voronoi cells of the three lattices).

  • 3. Designing a filter that approximates the

desired response.

slide-13
SLIDE 13

Kasaei 13

Sampling Rate Conversion

  • In practice to reduce the computational

complexity one can:

  • Use very low-tap filter (specially in the

temporal direction).

  • Decompose spatiotemporal conversion

problem into spatial conversion followed by temporal conversion (or vise versa).

slide-14
SLIDE 14

Kasaei 14

Deinterlacing

slide-15
SLIDE 15

Kasaei 15

slide-16
SLIDE 16

Kasaei 16

Deinterlacing

Practical interlacing:

Uses simpler filters. Vertical interpolation (averaging) within the same field

(line averaging).

To improve the performance, longer vertical

interpolation filters can be used.

A simple temporal interpolation is field merging (that

just copies the corresponding line from the top/bottom field).

To improve the performance, a symmetric filter can be

used (field averaging).

To achieve a compromise between the spatial &

temporal artifacts, both vertical & temporal interpolations are used (line & field averaging).

slide-17
SLIDE 17

Kasaei 17

slide-18
SLIDE 18

Kasaei 18

Conversion between PAL & NTSC Signals

For direct conversion, because of the very

complicated shape of the reciprocal Voronoi cells, the filter is not easy to design.

In practice, the problem is more often

solved in several sequential steps.

slide-19
SLIDE 19

Kasaei 19

slide-20
SLIDE 20

Kasaei 20

Conversion between PAL & NTSC Signals

slide-21
SLIDE 21

Kasaei 21

slide-22
SLIDE 22

Kasaei 22

slide-23
SLIDE 23

Kasaei 23

Conversion between PAL & NTSC Signals

slide-24
SLIDE 24

Kasaei 24

Conversion between PAL & NTSC Signals

slide-25
SLIDE 25

Kasaei 25

Conversion between PAL & NTSC Signals

slide-26
SLIDE 26

Kasaei 26

Motion-Adaptive Interpolation

In stationary regions, temporal

interpolation yields an accurate result.

In regions undergoing rapid temporal

changes, same spatial indices may correspond to different object regions.

In this case, spatial interpolation alone is

better (no temporal interpolation).

To overcome such problems, motion-

adaptive interpolation filters can be used.

slide-27
SLIDE 27

Kasaei 27

Motion-Adaptive Interpolation

With such a filter, one switches between

vertical & temporal interpolation at each pixel, depending on the output of a motion detector (motion vertical interpolation).

Motion detection can be performed locally. To further improve the performance,

motion-compensated interpolation can be investigated.

slide-28
SLIDE 28

The End