SlideShare une entreprise Scribd logo
1  sur  26
Resource-Oriented Architecture for
  Managing Multimedia Content

                         Margareth Florián & María Trujillo
                                              Universidad del Valle



  Latin-American Conference on Networked and Electronic Media
                        LACNEM2009
Outline


      Motivation

      The MPEG-7 Standard

      Web Services Architectures

      Architecture

      Resources for Managing Multimedia Content

      Final Remarks



LACNEM09      Resource-Oriented Architecture for Managing Multimedia Content   Slide 2 / 26
Motivation

           Storage and retrieval in very large repositories


  Cell phones                                                                    Cameras




                Scanners                                    Other devices



LACNEM09        Resource-Oriented Architecture for Managing Multimedia Content       Slide 3 / 26
Problem Statement

                            Content Based Retrieval


           Manual annotation                              Automatic annotation

            Subjective                                        Objective
            Context Knowledge                                 Consistence
              Key words
              Description                                       MPEG-7
              Title




                  It does not provide a model for                          The use of the
                   mapping MPEG-7 descriptors                           MPEG-7 XM requires
                       into a database system                           technical knowledge


LACNEM09           Resource-Oriented Architecture for Managing Multimedia Content    Slide 4 / 26
The MPEG-7 Standard (I)


       MPEG-7

    The MPEG-7 is a standard for describing multimedia content


               Searching          Filtering        Managing                Processing



     Descriptors: describe individual features of multimedia content



     MPEG-7 media
      descriptors
                         = XML documents + media description Schemes



LACNEM09         Resource-Oriented Architecture for Managing Multimedia Content         Slide 5 / 26
The MPEG-7 Standard (II)


       MPEG-7 descriptors
      Color Descriptors                                            Motion Descriptors
           Dominant Color                                               Camera Motion
           Scalable Color                                               Motion Trajectory
           Color Layout                                                 Parametric Motion
           Color Structure                                              Motion Activity

      Texture Descriptors                                          Localization
           Homogenous Texture                                           Region Locator
           Texture Browsing                                             Spatio Temporal Locator
           Edge Histogram
                                                                   Others
      Shape Descriptors                                                 Face Recognition
           Region Shape
           Contour Shape
           Shape 3D



LACNEM09           Resource-Oriented Architecture for Managing Multimedia Content      Slide 6 / 26
MPEG-7 Technical Knowledge


                MPEG-7 extracting and matching
       Color descriptor: Dominant Color                             Color descriptor: Color Layout

        Extraction                                                 Extraction
Di =   Σ h(n) ||x(n)-ci||2,       x(n) Є Ci                                                 Image
                                                                                          partitioning
                                                                                                                      Representative
                                                                                                                      color selection
       n
                                                               Binary            Zigzag scanning                           DCT
                                                               marks              and weighting                       transformation


        Matching                                                   Matching

                                                                   √Σw (DY – DY ’) +√Σw (DCb – DCb ’)
                    N1      N2         N1N2
                                                                                                      2                                       2
D2(F   1, F2)   =   Σp12i + Σp22j – ΣΣ (2a1i,2j)p1ip2j         D=       i
                                                                                yi        i       i
                                                                                                                  i
                                                                                                                      bi      i           i

                    i=1     j=1       i=1j=1
                                                                    +√Σw (DCr – DCr ’)
                                                                            i
                                                                                     ri       i           i
                                                                                                              2




   LACNEM09                   Resource-Oriented Architecture for Managing Multimedia Content                               Slide 7 / 26
MPEG-7 Technical Knowledge


              Using the MPEG-7 eXperimental Model
                The use of the MPEG-7 XM requires technical knowledge

          /usr/local/XM/bin/XMMain_linux6.1.exe –a ColorStructureClient -b bitstreams/1.xml -p parfiles/ColorStructure.par -l
                                                     storage/1.lst -r error.log
 User
                                                                                                 Retrieve
  ?                      Retrieve
                                          Client             clientDominantColor                  result
                                                                                                                        Merge files

                         Images
                                        Application
                                          Name
                                                      ?      clientColorLayout
                                                                                                            Options
                                                              ….
MPEG-7                                                                                                      Config file
  XM           ?                                                                       Parameters   ?       Bitstream file
program
                                          Server             serverDominantColor                            Storage file
                         Storage
                         Images
                                        Application
                                          Name
                                                      ?      serverColorLayout
                                                              ….
        /usr/local/XM/bin/XMMain_linux6.1.exe –a ColorStructureServer -b bitstreams/1.xml -p parfiles/ColorStructure.par -l
                                                    storage/1.lst -r error.log




   LACNEM09                     Resource-Oriented Architecture for Managing Multimedia Content                  Slide 8 / 26
Requirements


       Client Requirements

                                        User options


                                      Output: search result



            Storage                                    Retrieval information

           Multimedia                    Query by Example               View-Based
            resource                                                       search


                           User interface (WEB Portal)




LACNEM09       Resource-Oriented Architecture for Managing Multimedia Content        Slide 9 / 26
Web Services


               Web services for using MPEG-7 standard by non technical users

                                                           requires work

                                                           delivers result
                                                                                                    does
                                                                                                              [Hüttenrauch 2006]
                                       Consumer/Client                                              work
                                                                             Service Provider




  Service-Oriented Architecture                                                         Resource-Oriented Architecture
             (SOA)                                                                                 (ROA)



[Hüttenrauch 2006] Hüttenrauch, S.: Definitions, Historical Development, Advantages and Drawbacks of Service - Oriented
Computing. Technische Berichte Nr. 16 des Hasso-Plattner-Instituts für Software system technik an der Universität Potsdam (2006).

 LACNEM09                        Resource-Oriented Architecture for Managing Multimedia Content                               Slide 10 / 26
Web Services Architectures (I)


             Service-Oriented Architecture (SOA)
                      Service
                      Broker                                 Commonly based on Remote Procedures Call
                                                           (RPC)
                                  UDDI

                                                              Provides internal algorithms programming-language-
                                                           like interface
           WSDL                  WSDL

                                                             Provides one Uniform Resource Interface (URI) for
                    SOAP                                   every process capable of handling
    f(x)
  Service                              Service                The method and scoping information goes inside
 Requester                            Provider             the envelope
                [Grund 2006]




[Grund 2006] M. Grund Service Communication and Discovery - Fundamentals of Service-Oriented Engineering. 2006



LACNEM09                        Resource-Oriented Architecture for Managing Multimedia Content                   Slide 11 / 26
Web Services Architectures (II)


         Resource-Oriented Architecture (ROA)
                                               Uses the standards HTTP methods: GET, POST,
   Optional
                                             PUT and DELETE

                                               Provides internal data through a document-
                WADL
                                             processing interface
   URI        HTTP
                                               The method information goes into the HTTP method.
                             Service         The scoping information goes into the URI
    Client
                            Provider
                                               There is a URI for every piece of data the client
                                             might want to operate




LACNEM09             Resource-Oriented Architecture for Managing Multimedia Content   Slide 12 / 26
Web Service Architecture (III)


          Selected Web Service Architecture
 Service Oriented Architecture                                           Resource Oriented Architecture
         REST-RPC                                                                   REST
                  Service Broker
                                                                            Optional
                               UDDI
                                           [Grund 2006]                                  WADL


           WSDL                WSDL



   f(x)             SOAP                                                    URI          HTTP

  Client                               Service                                                   Service
                                                                            Client
                                      Provider                                                  Provider

                             Action                       REST-RPC                     REST
                      show image id=2            GET /images/show/2         GET /images/2
                      create new image           POST /images/create        POST /images/
                      destroy image id=2         GET /images/destroy/2      DELETE /images/2
                      update image id=2          POST /images/update/2      PUT /images/2

LACNEM09                    Resource-Oriented Architecture for Managing Multimedia Content        Slide 13 / 26
Web Service Architecture
                      for Managing Multimedia Content

       Selected Web Service Architecture
 Selection Criteria     service architectures                    SOA                     ROA
                            Information in headers                Low                     High
 Envelope formats
                            Final user knowledge                Medium                     Low
                                                               WSDL, is           WADL, is complementary
 Description                XML-based vocabulary
                                                               necessary               information
 Languages
                            Final user knowledge                Medium                     Low
                            Control provide services              YES                      NO
 Discover web services
                            Final user knowledge                Medium                     Low
                            WS-Security standard                  YES                      YES
 Security
                            Extend standard                       YES                      NO
                                                                                  GET, PUT, DELETE and
                                                            by defining extra
 Reliable Messaging         WS-messaging standard                                 HEAD are idempotent
                                                                stickers
                                                                                        operations
                            WS-Atomic transaction                 YES                      YES
 Transactions
                            WS-bussinessActivity                  YES                      YES

LACNEM09               Resource-Oriented Architecture for Managing Multimedia Content         Slide 14 / 26
MPEG-7 SOS
                                                      (Service Oriented System)


                        Architecture
                                                                                                                                                                                               Mapping to
                                                                                                                                                                                               database
                                                                                                            Annotation
          HTTP




                                    Storage                                                                 Web Services




                                                          User interface (WEB Portal)
                                   Multimedia




                                                                                                                            Web Services/Resources
                                    resource                                                                 Automatic –




                                                                                                                                                                 Database Access Interface
                                                                                                              MPEG-7                                                                             Manual
                                                                                                                                                                                                Annotation




                                                                                        HTTP




                                                                                                                                                     MPEG-7 XM
                                                                                               Web Server
                 Web Server




                                                                                                               Textual
                                                                                                             descriptions




                                                                                                                                                                                                              DBMS
 User                         Retrieval information
options
                               Query by Example
                                                                                                                                                                                                 MPEG-7
                                                                                                            Information                                                                         descriptors
          HTTP




                                                                                                              retrieval
                                  View-Based
                                                                                                            Web Services
                                    search


                                                                                                                                                                                                Database
                                                                                                                                                                                                querying

     LACNEM09                           Resource-Oriented Architecture for Managing Multimedia Content                                                                                       Slide 15 / 26
A Database Model for MPEG-7 visual
                                 descriptors (I)
                                                                                                      sos_DedgeHistogram
           Used Database schema                                                                        Image_id
                                                                                                 1     eh_group1
                                                                                                       eh_group2
                 sos_DcolorStructure 1                                  1                              eh_group3
                Image_id                                                                               eh_group4
                DcolorStructure_values
                                                               sos_image                               eh_group5
                                                              image_id                                 eh_group6
                                                          1   image_name            1
                                                              image_desc
                                                              Image_author
                                                              image_date
                                                              image_url
                                                              image_size                         sos_DcolorLayout
                                                                        1                       Image_id
                                 1                                                              cl_YDCCoeff
                                                                                              1
                 sos_DdominantColor                                                             cl_CbDCCoeff
                                                                                                cl_CrDCCoeff
               Image_id                                                                         cl_YACCoeff5
               dc_spatialcoherency                                                              cl_CbACCoeff2
               dc_coloursnumber                                                                 cl_CrACCoeff2
               dc_percentages
               dc_indexes


Florián, M., Trujillo, M.: Relational Database Schema for MPEG-7 Visual Descriptors. Encuentro de Investigación en Ingeniería de Sistemas
y Computación. Bogota, Colombia (2008).

LACNEM09                        Resource-Oriented Architecture for Managing Multimedia Content                               Slide 16 / 26
Resources and Database Connection


      Content-based Retrieval
                                                              MPEG-7 XM
             DominantColorDistance.so                     extracted C function

                   Store
                 procedure                                                            SQL
      SELECT DominantGetDistance(table_columns, example_image_values)
                                   as distance, id
      FROM sosdominantcolors
      ORDER BY distance

                                                  sos_DdominantColor
                                                 id
                                                 dc_spatialcoherency
                                                 dc_coloursnumber
                                                 dc_percentages
                                                 dc_indexes



LACNEM09           Resource-Oriented Architecture for Managing Multimedia Content   Slide 17 / 26
Resources for Managing Multimedia Content


       Resources for MPEG-7 visual descriptors

   ROA has three kinds of resources:
       1.      Predefined one-off
       2.      A resource for every object is providing through the service
       3.      Resources representing the result of algorithms applied to the data set

  Resource                              URI                            UI method          Representation
 Application     http://mpeg7sos.com/                                GET                 html
 Images          http://mpeg7sos.com/sosimages/{imageid}             GET, POST           jpg, gif, png
 Descriptors     http://mpeg7sos.com/{descriptorname}                GET,POST            text/xml
 Images          http://mpeg7sos.com/{descriptorname}
                                                                     GET                 text/xml
 directory       /{exampleimage}



 Support web-services: new image and search images forms
LACNEM09                Resource-Oriented Architecture for Managing Multimedia Content              Slide 18 / 26
Resources for Managing Multimedia Content


      Resources user navigation

  Storing                                             User visible steps
                                                      Hidden for user

                Input Form
                               Browse
                                                     link
                 Manual
                 information form

                        Save
                                                                                 sosimages/{imageid}
                                                                                     Web-service
                             POST HTTP method
                                                              redirect
      sosimages web-service

                                        mapping   descriptors            save mapping
                                                  web-services                             DB

                MPEG-7 XM                                                          Proposed DB schema
            Server Extraction Tool

LACNEM09               Resource-Oriented Architecture for Managing Multimedia Content           Slide 19 / 26
Resources for Managing Multimedia Content


          Resources user navigation
                                                                               User visible steps
     Retrieving                                 Query by Example               Hidden for user



 Color Layout        link   Example Image          Search form       Image 1: 90%        Link
 Dominant Color                        Browse                        Image 2: 88%
 Color Structure                                                     Image 3: 80%
 Edge Histogram                   Search                             …

                                                                                                    Sosimages/{imageid}
                                       GET HTTP method                                                  Web-service
                                                                   Format response
     {sosdescriptorname}/{imagename}
                web-service
                   Example Image           Execute sql command                                             MPEG-7 XM
                                                                                        execute
                                                                                                           extracted C
                                                                         DB         store-procedure
                                                                                                           function
                            MPEG-7 XM
                                                                 Proposed DB schema
                      Server Extraction Tool


LACNEM09                    Resource-Oriented Architecture for Managing Multimedia Content                  Slide 20 / 26
Resources for Managing Multimedia Content


      Resources user navigation
                                                                       User visible steps
   Retrieving                               View-based                 Hidden for user



             View based search
             Name                       Search      Image 1             link
             Description                 form       Image 2
                                                    Image 3
             Key words
                                                    …
                    Search
                                                                                Sosimages/{imageid}
                                                                                    Web-service
                            GET HTTP method Format response

      sosimages?{params}
          web-service
                               Execute sql command
                                                                DB

                                                       Proposed DB schema


LACNEM09                   Resource-Oriented Architecture for Managing Multimedia Content             Slide 21 / 26
Web-services Usage Example


            Simple Connection                       view-based search example
                                                 requires work
                            http://server_name/images?name=Garden&author=&desc=&keywords
                                                                                                                does
      Consumer/Client                                                                                           work
                                                                                             Service Provider

Resource URL: http://server_name/images                                      SELECT *
Params GET:                                                                  FROM ‘images’
            name=‘Garden’                                                    WHERE image_name LIKE ‘%Garden%’ and
            author=‘’                                                                image_author LIKE ‘%%’ and
            desc=‘’                                                                  image_desc LIKE ‘%%’
            keywords=‘’


                                                 delivers result
                                          html / xml / json / …




   LACNEM09                 Resource-Oriented Architecture for Managing Multimedia Content           Slide 22 / 26
Web-services Usage Example


           Simple Connection                          content-based search example
                                                 requires work
                           http://server_name/sos_DdominantColor?image=codified_image
                                                                                                                does
     Consumer/Client                                                                                            work
                                                                                             Service Provider

Resource URL: http://server_name/sos_DdominantColor                        SELECT DominantGetDistance(table_columns,
Params GET:                                                                                      example_image_values)
            image = http send image                                                as distance, id
                                                                           FROM sosdominantcolors
                                                                           ORDER BY distance



                                                 delivers result
                                         html / xml / json / …



                                     49557986          50080672          51807768


   LACNEM09                Resource-Oriented Architecture for Managing Multimedia Content            Slide 23 / 26
Web-services Usage Example


            Simple Connection                       save image example
                                                 requires work
                                                                                                                   does
      Consumer/Client                                                                                              work
                                                                                               Service Provider

Resource URL: http://server_name/images                                           Execute XM for extracting descriptors
Params POST:                                                                      Save information to database




                                                 delivers result
                                          html / xml / json / …

                                                 Result:OK   status 200




   LACNEM09                 Resource-Oriented Architecture for Managing Multimedia Content             Slide 24 / 26
Final Remarks


      MPEG-7 Technical Knowledge

   Six criteria for selecting web service oriented architecture were proposed
      (1)   Envelope formats,                          (4)   Security,
      (2)   Description Languages,                     (5)   Reliable Messaging, and
      (3)   Discover web services                      (6)   Transactions


    Resource oriented architecture (ROA) was selected for accessing MPEG-7 XM
  functionalities



   In general terms, the HTTP uniform interface, the HTTP header information,
   and the natural web navigation provide advantages over SOA for creating
   public web services


LACNEM09           Resource-Oriented Architecture for Managing Multimedia Content      Slide 25 / 26
Resource-
           Resource-Oriented Architecture for
             Managing Multimedia Content




                                      Multimedia content
                                      The MPEG-7 Standard
                                      Web Services Architectures
                                      Architecture
                                      Resources for Managing Multimedia Content
                                      Final Remarks

LACNEM09     Resource-Oriented Architecture for Managing Multimedia Content   Slide 26 / 26

Contenu connexe

Tendances

Programacion multiobjetivo
Programacion multiobjetivoProgramacion multiobjetivo
Programacion multiobjetivo
Diego Bass
 
libHPC: Software sustainability and reuse through metadata preservation
libHPC: Software sustainability and reuse through metadata preservationlibHPC: Software sustainability and reuse through metadata preservation
libHPC: Software sustainability and reuse through metadata preservation
SoftwarePractice
 
Secure Communication with Privacy Preservation in VANET
Secure Communication with Privacy Preservation in VANETSecure Communication with Privacy Preservation in VANET
Secure Communication with Privacy Preservation in VANET
Ankit Gupta
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
ijceronline
 

Tendances (20)

A0360105
A0360105A0360105
A0360105
 
Ad24210214
Ad24210214Ad24210214
Ad24210214
 
Digital Image Watermarking Basics
Digital Image Watermarking BasicsDigital Image Watermarking Basics
Digital Image Watermarking Basics
 
D0941824
D0941824D0941824
D0941824
 
Programacion multiobjetivo
Programacion multiobjetivoProgramacion multiobjetivo
Programacion multiobjetivo
 
Hybrid Approach for Robust Digital Video Watermarking
Hybrid Approach for Robust Digital Video WatermarkingHybrid Approach for Robust Digital Video Watermarking
Hybrid Approach for Robust Digital Video Watermarking
 
A Novel Method for Speaker Independent Recognition Based on Hidden Markov Model
A Novel Method for Speaker Independent Recognition Based on Hidden Markov ModelA Novel Method for Speaker Independent Recognition Based on Hidden Markov Model
A Novel Method for Speaker Independent Recognition Based on Hidden Markov Model
 
Solvers and Applications with CP
Solvers and Applications with CPSolvers and Applications with CP
Solvers and Applications with CP
 
libHPC: Software sustainability and reuse through metadata preservation
libHPC: Software sustainability and reuse through metadata preservationlibHPC: Software sustainability and reuse through metadata preservation
libHPC: Software sustainability and reuse through metadata preservation
 
Secure Communication with Privacy Preservation in VANET
Secure Communication with Privacy Preservation in VANETSecure Communication with Privacy Preservation in VANET
Secure Communication with Privacy Preservation in VANET
 
H3602056060
H3602056060H3602056060
H3602056060
 
Performance comparison of hybrid wavelet transforms formed using dct, walsh, ...
Performance comparison of hybrid wavelet transforms formed using dct, walsh, ...Performance comparison of hybrid wavelet transforms formed using dct, walsh, ...
Performance comparison of hybrid wavelet transforms formed using dct, walsh, ...
 
Overview of the TriBITS Lifecycle Model
Overview of the TriBITS Lifecycle ModelOverview of the TriBITS Lifecycle Model
Overview of the TriBITS Lifecycle Model
 
Novel DCT based watermarking scheme for digital images
Novel DCT based watermarking scheme for digital imagesNovel DCT based watermarking scheme for digital images
Novel DCT based watermarking scheme for digital images
 
Neural Style Transfer in practice
Neural Style Transfer in practiceNeural Style Transfer in practice
Neural Style Transfer in practice
 
CSMR06a.ppt
CSMR06a.pptCSMR06a.ppt
CSMR06a.ppt
 
CSMR12.ppt
CSMR12.pptCSMR12.ppt
CSMR12.ppt
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Land Cover Feature Extraction using Hybrid Swarm Intelligence Techniques - A ...
Land Cover Feature Extraction using Hybrid Swarm Intelligence Techniques - A ...Land Cover Feature Extraction using Hybrid Swarm Intelligence Techniques - A ...
Land Cover Feature Extraction using Hybrid Swarm Intelligence Techniques - A ...
 

Similaire à Resource Oriented Architecture for Managing Multimedia Content by Florian

Annotated Bibliography On Multimedia Security
Annotated Bibliography On Multimedia SecurityAnnotated Bibliography On Multimedia Security
Annotated Bibliography On Multimedia Security
Brenda Higgins
 
multimedia mpeg-7
multimedia mpeg-7multimedia mpeg-7
multimedia mpeg-7
nil65
 
Image Compression Using Hybrid Svd Wdr And Svd Aswdr
Image Compression Using Hybrid Svd Wdr And Svd AswdrImage Compression Using Hybrid Svd Wdr And Svd Aswdr
Image Compression Using Hybrid Svd Wdr And Svd Aswdr
Melanie Smith
 
Gephi short introduction
Gephi short introductionGephi short introduction
Gephi short introduction
Sébastien
 

Similaire à Resource Oriented Architecture for Managing Multimedia Content by Florian (20)

Relational Database Schema for MPEG 7 Visual Descriptors by Florian
Relational Database Schema for MPEG 7 Visual Descriptors by FlorianRelational Database Schema for MPEG 7 Visual Descriptors by Florian
Relational Database Schema for MPEG 7 Visual Descriptors by Florian
 
ANALYSING JPEG CODING WITH MASKING
ANALYSING JPEG CODING WITH MASKINGANALYSING JPEG CODING WITH MASKING
ANALYSING JPEG CODING WITH MASKING
 
Tutorial MPEG 3D Graphics
Tutorial MPEG 3D GraphicsTutorial MPEG 3D Graphics
Tutorial MPEG 3D Graphics
 
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
Contribution of Non-Scrambled Chroma Information in Privacy-Protected Face Im...
 
Event-driven Model Transformations in Domain-specific Modeling Languages
Event-driven Model Transformations in Domain-specific Modeling LanguagesEvent-driven Model Transformations in Domain-specific Modeling Languages
Event-driven Model Transformations in Domain-specific Modeling Languages
 
Annotated Bibliography On Multimedia Security
Annotated Bibliography On Multimedia SecurityAnnotated Bibliography On Multimedia Security
Annotated Bibliography On Multimedia Security
 
IJET-V2I6P17
IJET-V2I6P17IJET-V2I6P17
IJET-V2I6P17
 
multimedia mpeg-7
multimedia mpeg-7multimedia mpeg-7
multimedia mpeg-7
 
Kliment oggioni ppt_gi2011_env_europe_remote_final
Kliment oggioni ppt_gi2011_env_europe_remote_finalKliment oggioni ppt_gi2011_env_europe_remote_final
Kliment oggioni ppt_gi2011_env_europe_remote_final
 
Basics of Mpeg 4 3D Graphics Compression
Basics of Mpeg 4 3D Graphics CompressionBasics of Mpeg 4 3D Graphics Compression
Basics of Mpeg 4 3D Graphics Compression
 
Swws
SwwsSwws
Swws
 
Swws
SwwsSwws
Swws
 
Image Compression Using Hybrid Svd Wdr And Svd Aswdr
Image Compression Using Hybrid Svd Wdr And Svd AswdrImage Compression Using Hybrid Svd Wdr And Svd Aswdr
Image Compression Using Hybrid Svd Wdr And Svd Aswdr
 
Gephi short introduction
Gephi short introductionGephi short introduction
Gephi short introduction
 
A0540106
A0540106A0540106
A0540106
 
Semi-supervised concept detection by learning the structure of similarity graphs
Semi-supervised concept detection by learning the structure of similarity graphsSemi-supervised concept detection by learning the structure of similarity graphs
Semi-supervised concept detection by learning the structure of similarity graphs
 
11.compression technique using dct fractal compression
11.compression technique using dct fractal compression11.compression technique using dct fractal compression
11.compression technique using dct fractal compression
 
Compression technique using dct fractal compression
Compression technique using dct fractal compressionCompression technique using dct fractal compression
Compression technique using dct fractal compression
 
Ja2415771582
Ja2415771582Ja2415771582
Ja2415771582
 
MPEG-4-WWW.ppt
MPEG-4-WWW.pptMPEG-4-WWW.ppt
MPEG-4-WWW.ppt
 

Plus de Multimedia and Vision Laboratory at Universidad del Valle

An Evaluation Methodology for Stereo Correspondence Algorithms
An Evaluation Methodology for Stereo Correspondence AlgorithmsAn Evaluation Methodology for Stereo Correspondence Algorithms
An Evaluation Methodology for Stereo Correspondence Algorithms
Multimedia and Vision Laboratory at Universidad del Valle
 

Plus de Multimedia and Vision Laboratory at Universidad del Valle (15)

Descriptores de Textura
Descriptores de TexturaDescriptores de Textura
Descriptores de Textura
 
Identificación de Núcleos de las Células Epiteliales Asistido por Ordenador
Identificación de Núcleos de las Células Epiteliales Asistido por OrdenadorIdentificación de Núcleos de las Células Epiteliales Asistido por Ordenador
Identificación de Núcleos de las Células Epiteliales Asistido por Ordenador
 
Presentation Daniel Barragan
Presentation Daniel BarraganPresentation Daniel Barragan
Presentation Daniel Barragan
 
A Comparison of Block-Matching Motion Estimation Algorithms
A Comparison of Block-Matching Motion Estimation AlgorithmsA Comparison of Block-Matching Motion Estimation Algorithms
A Comparison of Block-Matching Motion Estimation Algorithms
 
Identificación de Patrones en Imágenes de Hígado Utilizando Template Matching
Identificación de Patrones en Imágenes de Hígado Utilizando Template MatchingIdentificación de Patrones en Imágenes de Hígado Utilizando Template Matching
Identificación de Patrones en Imágenes de Hígado Utilizando Template Matching
 
An Evaluation Methodology for Stereo Correspondence Algorithms
An Evaluation Methodology for Stereo Correspondence AlgorithmsAn Evaluation Methodology for Stereo Correspondence Algorithms
An Evaluation Methodology for Stereo Correspondence Algorithms
 
Contribucion a la caracterizacion del descriptor de color del estandar MPEG-7
Contribucion a la caracterizacion del descriptor de color del estandar MPEG-7Contribucion a la caracterizacion del descriptor de color del estandar MPEG-7
Contribucion a la caracterizacion del descriptor de color del estandar MPEG-7
 
On the Impact of the Error Measure Selection in Evaluating Disparity Maps
On the Impact of the Error Measure Selection in Evaluating Disparity MapsOn the Impact of the Error Measure Selection in Evaluating Disparity Maps
On the Impact of the Error Measure Selection in Evaluating Disparity Maps
 
Búsqueda de Puntos Correspondientes Mediante Técnicas Globales by Gonzalez
Búsqueda de Puntos Correspondientes Mediante Técnicas Globales by GonzalezBúsqueda de Puntos Correspondientes Mediante Técnicas Globales by Gonzalez
Búsqueda de Puntos Correspondientes Mediante Técnicas Globales by Gonzalez
 
Identificacion Imagenes Carbonizados Borrosas Poco Contenido by Chaves
Identificacion Imagenes Carbonizados Borrosas Poco Contenido by ChavesIdentificacion Imagenes Carbonizados Borrosas Poco Contenido by Chaves
Identificacion Imagenes Carbonizados Borrosas Poco Contenido by Chaves
 
Impacto del Muestreo en la Clasificación de Carbonizados de Carbón by Chaves
Impacto del Muestreo en la Clasificación de Carbonizados de Carbón by ChavesImpacto del Muestreo en la Clasificación de Carbonizados de Carbón by Chaves
Impacto del Muestreo en la Clasificación de Carbonizados de Carbón by Chaves
 
Muestreo y Cuantificación de Imágenes de Carbonizados by Chaves
Muestreo y Cuantificación de Imágenes de Carbonizados by ChavesMuestreo y Cuantificación de Imágenes de Carbonizados by Chaves
Muestreo y Cuantificación de Imágenes de Carbonizados by Chaves
 
Mpeg 7 Service Oriented System by Florian
Mpeg 7 Service Oriented System   by  FlorianMpeg 7 Service Oriented System   by  Florian
Mpeg 7 Service Oriented System by Florian
 
An Approach for Estimating the Fundamental Matrix by Barragan
An Approach for Estimating the Fundamental Matrix by BarraganAn Approach for Estimating the Fundamental Matrix by Barragan
An Approach for Estimating the Fundamental Matrix by Barragan
 
A Cells Segmentation Approach in Epithelial Tissue using Histology Images by ...
A Cells Segmentation Approach in Epithelial Tissue using Histology Images by ...A Cells Segmentation Approach in Epithelial Tissue using Histology Images by ...
A Cells Segmentation Approach in Epithelial Tissue using Histology Images by ...
 

Dernier

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Dernier (20)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

Resource Oriented Architecture for Managing Multimedia Content by Florian

  • 1. Resource-Oriented Architecture for Managing Multimedia Content Margareth Florián & María Trujillo Universidad del Valle Latin-American Conference on Networked and Electronic Media LACNEM2009
  • 2. Outline Motivation The MPEG-7 Standard Web Services Architectures Architecture Resources for Managing Multimedia Content Final Remarks LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 2 / 26
  • 3. Motivation Storage and retrieval in very large repositories Cell phones Cameras Scanners Other devices LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 3 / 26
  • 4. Problem Statement Content Based Retrieval Manual annotation Automatic annotation Subjective Objective Context Knowledge Consistence Key words Description MPEG-7 Title It does not provide a model for The use of the mapping MPEG-7 descriptors MPEG-7 XM requires into a database system technical knowledge LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 4 / 26
  • 5. The MPEG-7 Standard (I) MPEG-7 The MPEG-7 is a standard for describing multimedia content Searching Filtering Managing Processing Descriptors: describe individual features of multimedia content MPEG-7 media descriptors = XML documents + media description Schemes LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 5 / 26
  • 6. The MPEG-7 Standard (II) MPEG-7 descriptors Color Descriptors Motion Descriptors Dominant Color Camera Motion Scalable Color Motion Trajectory Color Layout Parametric Motion Color Structure Motion Activity Texture Descriptors Localization Homogenous Texture Region Locator Texture Browsing Spatio Temporal Locator Edge Histogram Others Shape Descriptors Face Recognition Region Shape Contour Shape Shape 3D LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 6 / 26
  • 7. MPEG-7 Technical Knowledge MPEG-7 extracting and matching Color descriptor: Dominant Color Color descriptor: Color Layout Extraction Extraction Di = Σ h(n) ||x(n)-ci||2, x(n) Є Ci Image partitioning Representative color selection n Binary Zigzag scanning DCT marks and weighting transformation Matching Matching √Σw (DY – DY ’) +√Σw (DCb – DCb ’) N1 N2 N1N2 2 2 D2(F 1, F2) = Σp12i + Σp22j – ΣΣ (2a1i,2j)p1ip2j D= i yi i i i bi i i i=1 j=1 i=1j=1 +√Σw (DCr – DCr ’) i ri i i 2 LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 7 / 26
  • 8. MPEG-7 Technical Knowledge Using the MPEG-7 eXperimental Model The use of the MPEG-7 XM requires technical knowledge /usr/local/XM/bin/XMMain_linux6.1.exe –a ColorStructureClient -b bitstreams/1.xml -p parfiles/ColorStructure.par -l storage/1.lst -r error.log User Retrieve ? Retrieve Client clientDominantColor result Merge files Images Application Name ? clientColorLayout Options …. MPEG-7 Config file XM ? Parameters ? Bitstream file program Server serverDominantColor Storage file Storage Images Application Name ? serverColorLayout …. /usr/local/XM/bin/XMMain_linux6.1.exe –a ColorStructureServer -b bitstreams/1.xml -p parfiles/ColorStructure.par -l storage/1.lst -r error.log LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 8 / 26
  • 9. Requirements Client Requirements User options Output: search result Storage Retrieval information Multimedia Query by Example View-Based resource search User interface (WEB Portal) LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 9 / 26
  • 10. Web Services Web services for using MPEG-7 standard by non technical users requires work delivers result does [Hüttenrauch 2006] Consumer/Client work Service Provider Service-Oriented Architecture Resource-Oriented Architecture (SOA) (ROA) [Hüttenrauch 2006] Hüttenrauch, S.: Definitions, Historical Development, Advantages and Drawbacks of Service - Oriented Computing. Technische Berichte Nr. 16 des Hasso-Plattner-Instituts für Software system technik an der Universität Potsdam (2006). LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 10 / 26
  • 11. Web Services Architectures (I) Service-Oriented Architecture (SOA) Service Broker Commonly based on Remote Procedures Call (RPC) UDDI Provides internal algorithms programming-language- like interface WSDL WSDL Provides one Uniform Resource Interface (URI) for SOAP every process capable of handling f(x) Service Service The method and scoping information goes inside Requester Provider the envelope [Grund 2006] [Grund 2006] M. Grund Service Communication and Discovery - Fundamentals of Service-Oriented Engineering. 2006 LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 11 / 26
  • 12. Web Services Architectures (II) Resource-Oriented Architecture (ROA) Uses the standards HTTP methods: GET, POST, Optional PUT and DELETE Provides internal data through a document- WADL processing interface URI HTTP The method information goes into the HTTP method. Service The scoping information goes into the URI Client Provider There is a URI for every piece of data the client might want to operate LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 12 / 26
  • 13. Web Service Architecture (III) Selected Web Service Architecture Service Oriented Architecture Resource Oriented Architecture REST-RPC REST Service Broker Optional UDDI [Grund 2006] WADL WSDL WSDL f(x) SOAP URI HTTP Client Service Service Client Provider Provider Action REST-RPC REST show image id=2 GET /images/show/2 GET /images/2 create new image POST /images/create POST /images/ destroy image id=2 GET /images/destroy/2 DELETE /images/2 update image id=2 POST /images/update/2 PUT /images/2 LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 13 / 26
  • 14. Web Service Architecture for Managing Multimedia Content Selected Web Service Architecture Selection Criteria service architectures SOA ROA Information in headers Low High Envelope formats Final user knowledge Medium Low WSDL, is WADL, is complementary Description XML-based vocabulary necessary information Languages Final user knowledge Medium Low Control provide services YES NO Discover web services Final user knowledge Medium Low WS-Security standard YES YES Security Extend standard YES NO GET, PUT, DELETE and by defining extra Reliable Messaging WS-messaging standard HEAD are idempotent stickers operations WS-Atomic transaction YES YES Transactions WS-bussinessActivity YES YES LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 14 / 26
  • 15. MPEG-7 SOS (Service Oriented System) Architecture Mapping to database Annotation HTTP Storage Web Services User interface (WEB Portal) Multimedia Web Services/Resources resource Automatic – Database Access Interface MPEG-7 Manual Annotation HTTP MPEG-7 XM Web Server Web Server Textual descriptions DBMS User Retrieval information options Query by Example MPEG-7 Information descriptors HTTP retrieval View-Based Web Services search Database querying LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 15 / 26
  • 16. A Database Model for MPEG-7 visual descriptors (I) sos_DedgeHistogram Used Database schema Image_id 1 eh_group1 eh_group2 sos_DcolorStructure 1 1 eh_group3 Image_id eh_group4 DcolorStructure_values sos_image eh_group5 image_id eh_group6 1 image_name 1 image_desc Image_author image_date image_url image_size sos_DcolorLayout 1 Image_id 1 cl_YDCCoeff 1 sos_DdominantColor cl_CbDCCoeff cl_CrDCCoeff Image_id cl_YACCoeff5 dc_spatialcoherency cl_CbACCoeff2 dc_coloursnumber cl_CrACCoeff2 dc_percentages dc_indexes Florián, M., Trujillo, M.: Relational Database Schema for MPEG-7 Visual Descriptors. Encuentro de Investigación en Ingeniería de Sistemas y Computación. Bogota, Colombia (2008). LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 16 / 26
  • 17. Resources and Database Connection Content-based Retrieval MPEG-7 XM DominantColorDistance.so extracted C function Store procedure SQL SELECT DominantGetDistance(table_columns, example_image_values) as distance, id FROM sosdominantcolors ORDER BY distance sos_DdominantColor id dc_spatialcoherency dc_coloursnumber dc_percentages dc_indexes LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 17 / 26
  • 18. Resources for Managing Multimedia Content Resources for MPEG-7 visual descriptors ROA has three kinds of resources: 1. Predefined one-off 2. A resource for every object is providing through the service 3. Resources representing the result of algorithms applied to the data set Resource URI UI method Representation Application http://mpeg7sos.com/ GET html Images http://mpeg7sos.com/sosimages/{imageid} GET, POST jpg, gif, png Descriptors http://mpeg7sos.com/{descriptorname} GET,POST text/xml Images http://mpeg7sos.com/{descriptorname} GET text/xml directory /{exampleimage} Support web-services: new image and search images forms LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 18 / 26
  • 19. Resources for Managing Multimedia Content Resources user navigation Storing User visible steps Hidden for user Input Form Browse link Manual information form Save sosimages/{imageid} Web-service POST HTTP method redirect sosimages web-service mapping descriptors save mapping web-services DB MPEG-7 XM Proposed DB schema Server Extraction Tool LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 19 / 26
  • 20. Resources for Managing Multimedia Content Resources user navigation User visible steps Retrieving Query by Example Hidden for user Color Layout link Example Image Search form Image 1: 90% Link Dominant Color Browse Image 2: 88% Color Structure Image 3: 80% Edge Histogram Search … Sosimages/{imageid} GET HTTP method Web-service Format response {sosdescriptorname}/{imagename} web-service Example Image Execute sql command MPEG-7 XM execute extracted C DB store-procedure function MPEG-7 XM Proposed DB schema Server Extraction Tool LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 20 / 26
  • 21. Resources for Managing Multimedia Content Resources user navigation User visible steps Retrieving View-based Hidden for user View based search Name Search Image 1 link Description form Image 2 Image 3 Key words … Search Sosimages/{imageid} Web-service GET HTTP method Format response sosimages?{params} web-service Execute sql command DB Proposed DB schema LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 21 / 26
  • 22. Web-services Usage Example Simple Connection view-based search example requires work http://server_name/images?name=Garden&author=&desc=&keywords does Consumer/Client work Service Provider Resource URL: http://server_name/images SELECT * Params GET: FROM ‘images’ name=‘Garden’ WHERE image_name LIKE ‘%Garden%’ and author=‘’ image_author LIKE ‘%%’ and desc=‘’ image_desc LIKE ‘%%’ keywords=‘’ delivers result html / xml / json / … LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 22 / 26
  • 23. Web-services Usage Example Simple Connection content-based search example requires work http://server_name/sos_DdominantColor?image=codified_image does Consumer/Client work Service Provider Resource URL: http://server_name/sos_DdominantColor SELECT DominantGetDistance(table_columns, Params GET: example_image_values) image = http send image as distance, id FROM sosdominantcolors ORDER BY distance delivers result html / xml / json / … 49557986 50080672 51807768 LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 23 / 26
  • 24. Web-services Usage Example Simple Connection save image example requires work does Consumer/Client work Service Provider Resource URL: http://server_name/images Execute XM for extracting descriptors Params POST: Save information to database delivers result html / xml / json / … Result:OK status 200 LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 24 / 26
  • 25. Final Remarks MPEG-7 Technical Knowledge Six criteria for selecting web service oriented architecture were proposed (1) Envelope formats, (4) Security, (2) Description Languages, (5) Reliable Messaging, and (3) Discover web services (6) Transactions Resource oriented architecture (ROA) was selected for accessing MPEG-7 XM functionalities In general terms, the HTTP uniform interface, the HTTP header information, and the natural web navigation provide advantages over SOA for creating public web services LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 25 / 26
  • 26. Resource- Resource-Oriented Architecture for Managing Multimedia Content Multimedia content The MPEG-7 Standard Web Services Architectures Architecture Resources for Managing Multimedia Content Final Remarks LACNEM09 Resource-Oriented Architecture for Managing Multimedia Content Slide 26 / 26