01MMDB Introduction en 2023
01MMDB Introduction en 2023
Michael Granitzer
Chair of Distributed Information Systems / Chair of Data Science
Organisation
◦ Stud.IP
◦ Office hours (Sprechstunde): Mo, 16-18, Upon request per Email
to [email protected]
◦ All Material available on Stud.IP
Credits
◦ Master Computer Science in the Focus Group “Information and
Communication Systems”
◦ Master Computational Mathematics in the Focus Group “Data
Analysis and Data Management and Programming”
◦ Master AI Engineering in the Module Group “AI Applications“
◦ Double-Master Informatique-Informatik Lyon-Passau
Exams
◦ Written exam, 90min
Multimedia Databases 2
Lecturers:
◦ Prof. Mario Döller
◦ Prof. Harald Kosch
The first three lectures take place 16-18 each Tuesday (28.4, 25.4, 2.5) in HS 13.
Information on the schedule is given in Stud.IP by Kanishka Ghosh Dastidar and Alaa
Alhamzeh
Multimedia Databases 3
Books
◦ Meinel & Sack, Digital Communication, Springer, 2014
◦ Steinmetz R & Nahrstedt K, “Multimedia Technologie: Grundlagen,
Komponenten und Systeme”, 3. Auflage , Springer, 2000.
◦ Steinmetz R & Nahrstedt K, “Multimedia Systems”, Springer-Verlag, Berlin,
Heidelberg, New York, 2004
◦ Steinmetz R & Nahrstedt K, “Multimedia Applications”, Springer-Verlag, Berlin,
Heidelberg, New York, 2004
◦ Ze-Nian Li & Mark S. Drew, "Fundamentals of Multimedia", Pearson Education,
2004.
◦ Harald Kosch: “Distributed Multimedia Database Technologies supported by
MPEG-7 and MPEG-21”, CRC Press, November 2003, ISBN 0-8493-1854-8.
◦ Kenny A. Hunt: "The Art of Image Processing with Java", CRC Press, 2010.
Conferences
◦ ACM Multimedia
◦ IEEE International Conference on Multimedia & Expo (ICME)
◦ …
Journals
◦ IEEE MultiMedia
◦ Multimedia Tools and Applications
◦ …
Multimedia Databases 4
Topics Contents
Definition, Multimedia according to Steinmetz,
01 Introduction
Media Types, Development of MM-DB
02 Colors Color and Color Perception
Raster graphics/Vector graphics, Image
03 Image medium
formats, Image manipulation (Filter, etc.)
Basics of media (formats, etc.), technology for
04 Video/Text/Audio
video segmentation etc.
05 Compression Encoding and compression of media data
06 Modeling Modeling of media data (MPEG-7)
Information- and content based retrieval of
07 CBIR
media data
Characteristics and types of MM query
08 Query languages
languages and MM query processing
Multimedia Databases 5
Block Contents
High dimensional feature vectors indexing
09 Index Structures
techniques
Presentation of current systems
10 Systems (commercial/research) for media storage and
retrieval
Multimedia Databases 6
Main literature:
◦ Steinmetz R & Nahrstedt K, “Multimedia Systems”, Springer-
Verlag, Berlin, Heidelberg, New York, 2004
◦ Steinmetz R & Nahrstedt K, “Multimedia Applications”,
Springer-Verlag, Berlin, Heidelberg, New York, 2004
Supplemental Article:
◦ Zixia Huang, Klara Nahrstedt, and Ralf Steinmetz. 2013.
Evolution of temporal multimedia synchronization
principles: A historical viewpoint. ACM Trans. Multimedia
Comput. Commun. Appl. 9, 1s, Article 34 (October 2013),
◦ https://dl.acm.org/doi/10.1145/2490821
Multimedia Databases 7
1 Multimedia Definition
2 Multimedia Systems
3 Multimedia – Main Domains
4 Data Streams
5 Types of Media
6 Multimedia Databases
Multimedia Databases 8
1 Multimedia Definition
2 Multimedia Systems
3 Multimedia – Main Domains
4 Data Streams
5 Types of Media
6 Multimedia Databases
Multimedia Databases 9
Multi - many, various, …
Medium - a substance regarded as the means of
transmission of a force or effect; a channel or system of
communication, information, or entertainment
(Merriam-Webster Dictionary )
So, Multimedia???
◦ The term Multi & Medium does not make a lot of sense!
◦ The notion of “medium” must be further investigated
Multimedia Databases 10
Medium as defined by the
Multimedia and Hypermedia
Experts Group (MHEG) of ISO
◦ Medium
◦ Means of distributing and
presenting information
◦ Classification based on
perception, presentation,
representation, transmission
etc.
Is adequate to the
definition of multimedia
Multimedia Databases 11
The medium of perception (Perception = Sensory perception)
◦ Primary differentiation by and
The medium of representation
◦ Reference to the internal computer presentation of the information
◦ Formats for text, graphics, single image, animated pictures, …
The medium of presentation
◦ Reference to in- and output
◦ Output media: Paper, screen, loudspeakers, …
◦ Input media: Keyboard, camera, mouse, microphone, …
The medium of storage
◦ Distinction based on the data carrier: magnetic discs, DVD, paper, …
The medium of transmission
◦ By what means is the information transferred? Coaxial cable, glass fiber, …
The medium of information exchange
◦ What information carriers are used for the exchange between various spots?
(storage media + transfer media)
Multimedia Databases 12
Space and Time dimensions for representing media
Time is an important dimension in the representation of the
media.
Wrt. time, a medium may be qualified as:
◦ Time independent (discrete)
Ex.: Text, Graphics
◦ Time dependent (continuous)
Continuous sequences of time-dependent values
Ex.: Audio, Video
Multimedia Databases 13
In the most general sense, Multimedia is any combination of
digitally manipulable types of media (text, sound, image,
animation, video).
Multimedia Databases 14
Multimedia elements can be produced by means of authoring
systems (Flash/SMIL/HTML 5 etc.).
Multimedia Databases 15
Multimedia is interactive when the user is able to control
which elements are delivered and when
Multimedia Databases 16
Multimedia is linear when it can only be presented in a single
continuous flow over time.
◦ Examples:
Film
Internet Radio
(in general, linear multimedia is non-interactive)
Multimedia Databases 17
1 Multimedia Definition
2 Multimedia System
3 Multimedia – Main Domains
4 Data Streams
5 Types of Media
6 Multimedia Databases
Parts of the lecture adapted from the set of slides provided by Prof. Dr.
Andreas Henrich, University of Bamberg
Multimedia Databases 18
Definition:
◦ A Multimedia System is characterized by the computer-controlled
generation, manipulation, presentation, storage, and
communication of a set of independent media, which include at
least one continuous (time-dependent) and one discrete
(independent of time) medium.[1]
Multimedia Databases 19
Combination of media
◦ An MM application should be able to process at least one discrete
and one continuous medium!
Independence
◦ No rigid connection between the combined media
Communicating systems
◦ Realization of MM-systems in distributed environments
Multimedia Databases 20
(c) Shiguo Lian, Dimitris Kanellopoulos, Giancarlo Ruffo; Recent Advances in
Multimedia Information System Security; Informtica; 33(1):3-24; 2009
Multimedia Databases 21
1 Multimedia Definition
2 Multimedia System
3 Multimedia – Main Domains
4 Data Streams
5 Types of Media
6 Multimedia Databases
Parts of the lecture have been adopted and applied from the set of slides provided by
Prof. Dr. Andreas Henrich, University of Bamberg
Multimedia Databases 22
Usage
Services
.....
System
Basics
Multimedia Databases 24
System
Central aspect: Quality of service
◦ Represents a defined, controllable system behavior according to
measurable parameters
Basic Functionalities:
◦ Processing
Task of operating systems and programming environment:
abstracted interface to the computer hardware
Abstraction can be provided by the MM-operational system, a computer language
or a OO-class hierarchy
◦ Storage
Usage of specific storage devices; the stored multimedia is managed by e.g. a
media server or a DBMS
◦ Communication
Multimedia imposes a number of requirements on communication networks:
high bandwidth
high level of reliability in order to meet the time constraints (video streaming)
Multimedia Databases 25
Services
.....
Multimedia Databases 26
Usage
Applications and user interfaces represent the user-
perceivable aspects of multimedia data
Important: the question of MM-specific design
Examples of applications:
◦ E-teaching and e-learning
Areas of increasing importance:
◦ Specific tools for MM applications development
◦ Project management for MM applications development
But:
◦ There is more to MM-Systems than just MM-applications
development!
Multimedia Databases 27
1 Multimedia Definition
2 Multimedia System
3 Multimedia – Main Domains
4 Data Streams
5 Types of Media
6 Multimedia Databases
Multimedia Databases 28
A data stream is a sequence of individual packets that are
transmitted under time-dependent constraints
◦ Packets can include any information (continuous or discrete)
Modes of transmission
◦ Asynchronous
Packets should reach the recipient as soon as possible –
but no guarantee is provided
Perfectly suitable for discrete media
For continuous media, additional temporal restrictions
may have to be considered (when streaming)
Multimedia Databases 29
◦ Synchronous
Defines a maximal end-to-end delay
Packets may also arrive earlier
Sufficient memory is required on the receiver side! Ex:
processing uncompressed video data with a data rate of 150
Mbps and a maximal end-to-end delay of 1 second to the
recipient, 18.75 Mbytes of memory are required.
◦ Isochronous
Defines a maximal & minimal end-to-end delay
Reduces storage requirements on the receiver
Multimedia Databases 30
Periodicity of the transmission
◦ Strongly periodical
Ex: PCM -Pulse-Code Modulation to encode speech for VoIP
T T T T
…
t
◦ Weakly periodical: periodic properties every n packets
T1 T2 T3 T1 T2 T3
…
T T
t
◦ Aperiodic
Ex: Cooperative applications with a shared window
T1 T2 T3 T4
…
t
Multimedia Databases 31
Variations of contiguous packet sizes
T
t t t
FBR VBR VBR
(fixed bitrate) (variable bitrate)
Multimedia Databases 32
1 Multimedia Definition
2 Multimedia Systems
3 Multimedia – Main Domains
4 Data Streams
5 Types of Media
6 Multimedia Databases
Multimedia Databases 33
discrete = static = independent of time
Examples
◦ Text (font)
◦ Graphics (drawings, diagrams, etc.)
◦ Real pictures (Photography, etc.)
Multimedia Databases 34
Audio Video
◦ Speech ◦ Real film
◦ Music ◦ Animation
◦ Tones, sounds, noises
Multimedia Databases 35
1 Multimedia Definition
2 Multimedia Systems
3 Multimedia – main domains
4 Data streams
5 Types of media
6 Multimedia Databases
Multimedia Databases 36
A MMDBMS must provide the following
functionalities:
Multimedia Databases 37
Multimedia Databases 38
Multimedia-Data (no streaming)
Client
Descriptive information
Storage
Multimedia Databases
Multimedia-Query
39
Multimedia Databases 40
Retrieval of structured data:
◦ is typically managed by a Database Management System (DBMS)
◦ The DBMS provides a query language (e.g. SQL)
◦ A deterministic matching of query and stored data is conducted
Multimedia Databases 41
A Multimedia Database Management System should combine
both DBMS and IR technologies
◦ Best of both worlds: Data modelling capabilities of DBMS +
extended and similarity-based capabilities of an IR-system
Multimedia Databases 42
Matching of queries and document representations:
◦ Consider the whole set of attributes and their relation in queries
and document representations (make use of structured and
unstructured attributes and objects)
◦ Combine exact matching of structured data with fuzzy matching
of unstructured data
Distribution of data:
◦ Browsing and retrieval
◦ Time-related restrictions of video and audio presentations must
be considered
Multimedia Databases 43
1) As in many retrieval-systems the user must be able to
browse and navigate the dataset through hyperlinks, using
for example:
◦ Topic maps (ISO/IEC 13250:2000 standard)
◦ Summarization of multimedia objects
Multimedia Databases 44
◦ Attribute-predicates:
concern the attributes of multimedia objects with precise values
(cf. traditional DB attributes):
e.g. date of an image, name of a show
◦ Structure-predicates:
temporal predicates to specify info related to time
synchronization:
for continuous media, such as sound and video
for the expression of temporal relations
e.g. “Find all the objects in which a jingle is running along
for the duration of an image”
Multimedia Databases 45
◦ Spatial-predicates to specify spatial layout properties of
multimedia objects:
Example predicates: contains, is contained in, cuts, adjoins
e.g. “Find all images in which the car is parked next to a tree”
Multimedia Databases 46
Semantic predicates:
◦ Target the semantic content of the data
◦ Are represented by features that are extracted and stored for
each multimedia object
◦ Uncertainty, proximity and significance can be expressed in
the query
◦ Ex. "Find all videos in which two brothers shake hands"
Multimedia Databases 47
Query by example:
The user submits an example data item. Its features are extracted
and compared to those of the objects of the DB. A ranked list of
matching objects is returned.
e.g. in a graphic user interface (GUI): Users provide an image of a
house and select desired features to express the query: “Find all
houses with similar shape but different color”
Question-answering
◦ e.g. Pose questions related to the content of MM objects: “How
many birds sit on the tree? ”
Multimedia Databases 48