© ISO/IEC 2010 – All rights reserved ISO/IEC JTC 1/SC 29/WG1 N5373 Date: 2010-04-30 ISO/IEC JTC 1/SC 29/WG 1 (ITU-T SG16) Coding of Still Pictures JBIG JPEG Joint Bi-level Image Joint Photographic Experts Group Experts Group TITLE: Text of Final Committee Draft for JPSearch Part-5 – Data interchange format between image repositories (ISO/IEC 24800-5) SOURCE: Frederic Dufaux (Editor) PROJECT: JPSearch STATUS: Approved REQUEST ACTIONS: for review DISTRIBUTION: WG1 Distribution List CONTACT: ISO/IEC JTC 1/SC 29/WG 1 Convener - Dr. Daniel T. Lee eBay Inc., 2145 Hamilton Avenue, San Jose, California 95125,USA eBay China Development Center, Shanghai German Center, 88 Keyuan Road, Zhangjiang Hi-Tech Park, Pudong, Shanghai 201203, China Tel: +1 408 219 4709 Fax: +1 253 830 0372, E-mail: [email protected] Document type: International Standard Document subtype: Document stage: (40) Enquiry Document language: E STD Version 2.1c2 ISO/IEC JTC 1/SC 29 N5373 Date: 2010-03-17 ISO/IEC FCD 24800-5 ISO/IEC JTC 1/SC 29/WG 1 Secretariat: Information technology — JPSearch — Part 5: Data interchange format between image repositories Élément introductif — Élément central — Partie 5: Titre de la partie Warning This document is not an ISO International Standard. It is distributed for review and comment. It is subject to change without notice and may not be referred to as an International Standard. Recipients of this draft are invited to submit, with their comments, notification of any relevant patent rights of which they are aware and to provide supporting documentation. ISO/IEC FCD 24800-5 Copyright notice This ISO document is a Draft International Standard and is copyright-protected by ISO. Except as permitted under the applicable laws of the user's country, neither this ISO draft nor any extract from it may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permission being secured. Requests for permission to reproduce should be addressed to either ISO at the address below or ISO's member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail [email protected] Web www.iso.org Reproduction may be subject to royalty payments or a licensing agreement. Violators may be prosecuted. © ISO/IEC 2010 – All rights reserved iii ISO/IEC FCD 24800-5 Contents Page Foreword ..............................................................................................................................................................v Introduction ....................................................................................................................................................... vi 1 Scope ......................................................................................................................................................1 2 Normative References ...........................................................................................................................1 3 Terms and definition .............................................................................................................................1 4 4.1 Symbols and abbreviated terms ..........................................................................................................3 Abbreviations .........................................................................................................................................3 5 5.1 5.2 5.3 File format ...............................................................................................................................................3 General ....................................................................................................................................................3 Binary file format for collection of images and metadata .................................................................3 Text-based file format for collection-level and item-level metadata ................................................4 6 Resource .................................................................................................................................................5 7 7.1 7.2 Schema and Metadata ...........................................................................................................................5 JPSearch collection metadata schema ...............................................................................................5 JPSearch XML metadata interchange format schema .......................................................................8 iv © ISO/IEC 2010 – All rights reserved ISO/IEC FCD 24800-5 Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC 24800-5 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 29, Coding of audio, picture, multimedia and hypermedia information. ISO/IEC 24800 consists of the following parts, under the general title Information technology — JPSearch: Part 1: System framework and components Part 2: Registration, identification, and management of metadata schema Part 3: Query format Part 4: Metadata embedded in image data file format Part 5: Data interchange format between image repositories © ISO/IEC 2010 – All rights reserved v ISO/IEC FCD 24800-5 Introduction ISO/IEC 24800 (JPSearch) is a recent addition to a sequence of standards that have been developed by the Joint Photographic Experts Group, JPEG. This new standard is developed to an interoperable mechanism to handle metadata among compliant systems including repository, search engine, and file entities. This part, Part-5, aims at a format for the exchange of image collections and respective metadata between JPSearch compliant repositories. It enables the synchronization of repositories in order to facilitate simple and fully interoperable exchange across different devices and platforms. vi © ISO/IEC 2010 – All rights reserved FINAL COMMITTEE DRAFT ISO/IEC FCD 24800-5 Information technology — JPSearch — Part 5: Data interchange format between image repositories 1 Scope This part of ISO/IEC 24800, JPSearch, provides a data interchange format for the exchange of image collections and respective metadata between JPSearch compliant repositories. The metadata may be at the level of the image or an image collection. By providing a solution for the carriage of image collections and associated metadata between compliant devices and platforms, the JPSearch data interchange format enables the synchronization of repositories in order to facilitate simple and fully interoperable exchange across different devices and platforms. The JPSearch data interchange format should enable to easily and faithfully transfer data between different hardware and software system. In particular, it should support functions such as: 2 Exchanging data between JPSearch repositories on different devices and platforms Consolidating metadata generated on different systems. Transferring data to a newer and better system. Consolidating selected data to a centralized repository. Archiving data in a format which will survive current products. Normative References The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 10918 (JPEG) Information technology – Digital compression and coding of continuous-tone still images ISO/IEC 14496-12 (MPEG-4) Information technology – Coding of audio-visual objects – Part 12: ISO base media file format ISO/IEC 14496-14 (MPEG-4) Information technology – Coding of audio-visual objects – Part 14: MP4 file format ISO/IEC 15444 (JPEG2000) Information technology – JPEG 2000 image coding systems ISO/IEC 23001-1 (MPEG-B) Information technology - MPEG systems technologies – Part 1: Binary MPEG format for XML 3 Terms and definition For the purposes of this document, the following terms and definitions apply. © ISO/IEC 2010 – All rights reserved 1 ISO/IEC FCD 24800-5 3.1 JPEG image coding format, defined in ISO/IEC 10918 3.2 JPEG 2000 image coding format, defined in ISO/IEC 15444 3.3 Binary MPEG format for XML Binary MPEG format for XML specification defined as ISO/IEC 23001-1 3.4 collection grouping, consisting of image resources and/or nested collections, described by an instance of the MPEG-7 ContentCollection Description Scheme 3.5 resource encoded image bitstream 3.6 internal resource resource included in the current file 3.7 external resource resource which is available outside of the current file 3.8 codestream entity of a resource. 3.9 metadata An entity of descriptive data of image data 2 © ISO/IEC 2010 – All rights reserved ISO/IEC FCD 24800-5 3.10 elementary metadata A set of metadata entity compliant to a certain schema/ontology registered in ISO/IEC 24800-2. 3.11 synchronization Process of establishing consistency among data on remote sources and the continuous harmonization of the data over time. 3.12 repositories consolidation/aggregation Process of combining selected data from repositories into an integral repository. 3.13 metadata consolidation/aggregation Consolidation/aggregation of metadata provided by multiple sources (different kind of metadata) 4 4.1 Symbols and abbreviated terms Abbreviations BiM Binary MPEG format for XML mp4 MPEG-4 (file format) 5 File format 5.1 General The JPSearch data interchange format defines two file formats. The first one is a binary file format to represent a collection of images and the associated metadata, as defined in sub-clause 5.2. The second one is a text-based file format to represent collection-level and item-level metadata, as defined in sub-clause 5.3. 5.2 Binary file format for collection of images and metadata The JPSearch data interchange binary file format for collection of images and metadata shall use the MPEG-4 file format (mp4) to carry JPEG and/or JPEG 2000 and/or JPSearch Part 4 resources and their associated metadata. Figure 1 shows the basic structure of the mp4 file format for JPSearch data interchange. The identification of the JPSearch data interchange type in the file format shall use the brand mechanism defined by the ISO base media file format (ISO/IEC 15444-12). The brand "jpsi" identifies the JPSearch data interchange format and shall appear in the compatible-brands list in the file-type box (ftyp). Internal JPEG and/or JPEG 2000 and/or JPSearch Part 4 resources shall be stored in the media data box, whereas external JPEG and/or JPEG 2000 and/or JPSearch Part 4 resources can be identified by the presence of a MediaInstance element. In both cases of JPEG and JPEG 2000 resources, their associated metadata shall be stored in the image box (the image box corresponds to the movie box as defined in the ISO © ISO/IEC 2010 – All rights reserved 3 ISO/IEC FCD 24800-5 base media file format, ISO/IEC 15444-12). The linking between metadata and each corresponding internal resource (/codestream) shall be specified by media box. Linkage information to external resources can be specified in the metadata contained in the meta box of each track box. In the mp4 file, descriptive metadata shall be stored using a “bxml box” inside a “meta box”, which can be instantiated in an image box or track boxes. The meta box in the image box shall be used to annotate collection level information and those in the track boxes shall be used for item level information. Collection level metadata shall follow the collection metadata schema as defined in clause 7.1. All the item level descriptive metadata shall be stored using Elementary Metadata Block defined in the clause 4.2 of JPSearch part-4 (ISO/IEC 24800-4). Also, meta-boxes shall be compliant to JPSearch core metadata or one of the JPSearch registered metadata. File Type box (ftyp) Media Data Box (mdat) Image Box (moov) Meta box (meta) #0 Track Box (trak) #1 Track Header Box (tkhd) JPEG / JPEG 2000 / JPSearch Part 4 codestream #1 Media Box (mdia) Meta Box (meta) #1 Track Box (trak) #N Track Header Box (tkhd) Media Box (mdia) Meta Box (meta) #N JPEG / JPEG 2000 / JPSearch Part 4 codestream #N JPEG / JPEG 2000 / JPSearch Part 4 codestream (external resource) Figure 1 — Basic structure of JPSearch data interchange format The number of meta-boxes for collection-level descriptive metadata shall be exactly one. For JPEG and JPEG 2000 codestreams, the number of meta-boxes for item-level descriptive metadata shall be the same as the number of resources in a file. For JPSearch Part 4 codestreams, the number of meta box for those specific items shall be zero. 5.3 Text-based file format for collection-level and item-level metadata The JPSearch data interchange text-based file format for collection-level and item-level metadata encapsulates all the collection-level and item-level metadata into a valid XML descriptor in a single text-based format. The aim is to enable easy exchange of metadata between repositories. 4 © ISO/IEC 2010 – All rights reserved ISO/IEC FCD 24800-5 In this case, the collection-level and item-level metadata should follow the interchange format schema as defined in clause 7.2. Besides a plain-text XML representation, in this case the descriptive metadata can optionally be stored using BiM. 6 Resource Only JPEG-conforming, JPEG 2000-conforming and JPSearch Part 4 code-streams may be used as internal or external resources in the JPSearch data interchange binary file format for collection of images and metadata. Internal JPEG and/or JPEG 2000 and/or JPSearch Part 4 resources shall be stored in the media data box. Alternatively, external JPEG and/or JPEG 2000 and/or JPSearch Part 4 resources can be identified by the presence of a MediaInstance element. As a special case, a file can have all images defined as external resources. As a result, the file only contains metadata (collection-level and item-level). 7 Schema and Metadata This clause specifies the metadata which is supported by the JPSearch data interchange format. 7.1 JPSearch collection metadata schema This clause specifies the schema that facilitates the composition of XML metadata descriptions about image collections, for the purpose of information exchange between image repositories. The following description tools are specified: The type hierarchy of the schema and the root element. 7.1.1 Wrapper of the schema The Syntax defined in this part assumes the following schema wrapper. <schema xmlns:jpcls="urn:jpeg:jpsearch:schema:collections:2009" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:jpcs="urn:jpeg:jpsearch:schema:coremetadata:2009" targetNamespace="urn:jpeg:jpsearch:schema:collections:2009" elementFormDefault="qualified" attributeFormDefault="unqualified"> <import namespace="urn:jpeg:jpsearch:schema:coremetadata:2009" schemaLocation="jpcore.xsd"/> 7.1.2 7.1.2.1 Root element (Collections) Introduction The Collections element serves as the root element of the collection metadata schema. The root element shall be used as the topmost element when collections metadata appears in an independent way. This applies when collections metadata appears within the top-level metabox of the binary file format. 7.1.2.2 Syntax <element name="Collections" type="jpcls:CollectionsType"/> © ISO/IEC 2010 – All rights reserved 5 ISO/IEC FCD 24800-5 7.1.2.3 Semantic Semantics of the Collections element: Name Definition Collections Serves as the root element of the collection metadata schema. The root element shall be used as the topmost element when collections metadata appears in an independent way. This applies when collections metadata appears within the top-level metabox of the binary file format. 7.1.2.4 Example An example for the Collections element is provided below: <?xml version="1.0" encoding="iso-8859-1"?> <Collections xmlns="urn:jpeg:jpsearch:schema:collections:2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jpcs="urn:jpeg:jpsearch:schema:2009" xsi:schemaLocation="urn:jpeg:jpsearch:schema:2009 JPSearch_core_schema_v_sardinia.xsd urn:jpeg:jpsearch:schema:collections:2009 JPSearch_collections_schema.xsd" xsi:type="CollectionsType"> <Collection> <Identifier>Col1</Identifier> <CreationDate>2009-07-16T10:32:52</CreationDate> <ModfiedDate>2009-07-16T10:32:52</ModfiedDate> <Description>The collection number 1</Description> <WithinCollectionID>Col2</WithinCollectionID> <WithinCollectionID>Col3</WithinCollectionID> </Collection> <Collection> <Identifier>Col2</Identifier> <CreationDate>2009-07-16T10:32:52</CreationDate> <ModfiedDate>2009-07-16T10:32:52</ModfiedDate> <Description>The collection number 2</Description> </Collection> <Collection> <Identifier>Col3</Identifier> <CreationDate>2009-07-16T10:32:52</CreationDate> <ModfiedDate>2009-07-16T10:32:52</ModfiedDate> <Description>The collection number 3</Description> </Collection> </Collections> 7.1.3 7.1.3.1 CollectionsType Introduction The CollectionsType type serves as the root element of the collection metadata part of the metadata interchange format schema in Clause 5.2. 7.1.3.2 Syntax <complexType name="CollectionsType"> <sequence> 6 © ISO/IEC 2010 – All rights reserved ISO/IEC FCD 24800-5 <element name="Collection" type="jpcls:CollectionType" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> 7.1.3.3 Semantic Semantics of the PersonNameType type: Name CollectionsType 7.1.4 7.1.4.1 Definition Serves as the root element of the collection metadata part of the metadata interchange format schema in Clause 5.2. CollectionType Introduction The CollectionType type allows expressing metadata related to one image collection. It includes descriptive elements from the JPSearch Core Schema in Part 2. 7.1.4.2 Syntax <complexType name="CollectionType"> <sequence> <element name="Identifier" type="anyURI"/> <element name="Creators" type="jpcs:PersonNameType" minOccurs="0" maxOccurs="unbounded"/> <element name="Modifiers" type="jpcs:PersonNameType" minOccurs="0" maxOccurs="unbounded"/> <element name="CreationDate" type="dateTime"/> <element name="ModfiedDate" type="dateTime"/> <element name="Description" type="string"/> <element name="Keyword" type="string" minOccurs="0" maxOccurs="unbounded"/> <element name="Title" type="string" minOccurs="0"/> <element name="WithinCollectionID" type="anyURI" minOccurs="0" maxOccurs="unbounded"/> <element name="TrackIDRef" type="jpcls:int32" maxOccurs="unbounded"/> </sequence> </complexType> <simpleType name="int32"> <restriction base="nonNegativeInteger"> <minInclusive value="0"/> <maxInclusive value="4294967295"/> </restriction> </simpleType> 7.1.4.3 Semantic Semantics of the CollectionType type: Name © ISO/IEC 2010 – All rights reserved Definition 7 ISO/IEC FCD 24800-5 CollectionType Identifier Modifiers Creators CreationDate ModfiedDate Description Keyword Title WithinCollectionID TrackIDRef Specifies information for a collection. Describes an identifier of the collection in the form of a URI. The identifier must be unique. Describes a modifier’s name or a list of names who changed the original collection resulting in the creation of the collection (optional). Describes a person’s name or a list of the names who created the collection or made contributions in the creation of the collection (optional). Describes the date when the collection is created. Describes the date when the collection is modified. Specifies the content of the collection in the form of text. Describes a list of keywords that characterize the collection (optional). Describes the title of the collection (optional). Describes the identifier of another collection to which this collection belongs. Collections, as images, can also belong to 1 or more collections. Describes the identifier for the tracks which belong to this specific collection 7.2 JPSearch XML metadata interchange format schema This clause specifies the schema that facilitates the interchange of XML metadata descriptions about images and collections. The following description tools are specified: The type hierarchy of the schema and the root element. 7.2.1 Wrapper of the schema The Syntax defined in this part assumes the following schema wrapper. <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jpxif="urn:jpeg:jpsearch:jpxif:2009" xmlns:jpcs="urn:jpeg:jpsearch:schema:coremetadata:2009" xmlns:jpcls="urn:jpeg:jpsearch:schema:collections:2009" targetNamespace="urn:jpeg:jpsearch:jpxif:2009" elementFormDefault="qualified"> <import namespace="urn:jpeg:jpsearch:schema:coremetadata:2009" schemaLocation="jpcore.xsd"/> <import namespace="urn:jpeg:jpsearch:schema:collections:2009" schemaLocation="JPSearch_collections_schema.xsd"/> 7.2.2 7.2.2.1 Root element (ImageBox) Introduction The ImageBox element serves as the root element of the XML metadata interchange format schema. It corresponds to the movie box as defined in the ISO base media file format (ISO/IEC 15444-12). 7.2.2.2 Syntax <element name="ImageBox" type="jpxif:ImageBoxType"/> 8 © ISO/IEC 2010 – All rights reserved ISO/IEC FCD 24800-5 7.2.2.3 Semantic Semantics of the ImageBox element: Name ImageBox 7.2.2.4 Definition Serves as the root element of the XML metadata interchange format schema. Example An example for the ImageBox element is provided below: <?xml version="1.0" encoding="iso-8859-1"?> <ImageBox xmlns="urn:jpeg:jpsearch:jpxif:2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jpcs="urn:jpeg:jpsearch:schema:2009" xmlns:jpcls="urn:jpeg:jpsearch:schema:collections:2009" xsi:schemaLocation="urn:jpeg:jpsearch:jpxif:2009 JPSearch_XML_data_interchange_format.xsd urn:jpeg:jpsearch:schema:2009 JPSearch_core_schema_v_sardinia.xsd urn:jpeg:jpsearch:schema:collections:2009 JPSearch_collections_schema.xsd"> <CollectionsMediaBox> <Collections> <jpcls:Collection> <jpcls:Identifier>Col1</jpcls:Identifier> <jpcls:CreationDate>2009-07-16T10:32:52</jpcls:CreationDate> <jpcls:ModfiedDate>2009-07-16T10:32:52</jpcls:ModfiedDate> <jpcls:Description>The collection number 1</jpcls:Description> <jpcls:WithinCollectionID>Col2</jpcls:WithinCollectionID> <jpcls:WithinCollectionID>Col3</jpcls:WithinCollectionID> </jpcls:Collection> <jpcls:Collection> <jpcls:Identifier>Col2</jpcls:Identifier> <jpcls:CreationDate>2009-07-16T10:32:52</jpcls:CreationDate> <jpcls:ModfiedDate>2009-07-16T10:32:52</jpcls:ModfiedDate> <jpcls:Description>The collection number 2</jpcls:Description> </jpcls:Collection> <jpcls:Collection> <jpcls:Identifier>Col3</jpcls:Identifier> <jpcls:CreationDate>2009-07-16T10:32:52</jpcls:CreationDate> <jpcls:ModfiedDate>2009-07-16T10:32:52</jpcls:ModfiedDate> <jpcls:Description>The collection number 3</jpcls:Description> </jpcls:Collection> </Collections> </CollectionsMediaBox> <TrackBox> <ItemMediaBox> <FilePath>Image1.jpg</FilePath> </ItemMediaBox> <ItemMetaBox> <JPSearchCore> <jpcs:Identifier>Image1</jpcs:Identifier> <jpcs:Publisher> <jpcs:PersonName> <jpcs:GivenName>Tester</jpcs:GivenName> </jpcs:PersonName> </jpcs:Publisher> <jpcs:CreationDate>2009-07-16T10:32:52</jpcs:CreationDate> <jpcs:ModfiedDate>2009-07-16T10:32:52</jpcs:ModfiedDate> © ISO/IEC 2010 – All rights reserved 9 ISO/IEC FCD 24800-5 <jpcs:Description>Image number 1</jpcs:Description> <jpcs:Source> <jpcs:RefID/> <jpcs:Relation/> </jpcs:Source> <jpcs:PreferenceValue>1</jpcs:PreferenceValue> <jpcs:Rating/> </JPSearchCore> </ItemMetaBox> </TrackBox> <TrackBox> <ItemMediaBox> <FilePath>Image1.jpg</FilePath> </ItemMediaBox> <ItemMetaBox> <JPSearchCore> <jpcs:Identifier>Image1</jpcs:Identifier> <jpcs:Publisher> <jpcs:PersonName> <jpcs:GivenName>Tester</jpcs:GivenName> </jpcs:PersonName> </jpcs:Publisher> <jpcs:CreationDate>2009-07-16T10:32:52</jpcs:CreationDate> <jpcs:ModfiedDate>2009-07-16T10:32:52</jpcs:ModfiedDate> <jpcs:Description>Image number 1</jpcs:Description> <jpcs:RightsDescription/> <jpcs:Source> <jpcs:RefID/> <jpcs:Relation/> </jpcs:Source> <jpcs:PreferenceValue>1</jpcs:PreferenceValue> <jpcs:Rating/> <jpcs:OriginalImageIdentifier/> </JPSearchCore> </ItemMetaBox> </TrackBox> </ImageBox> 7.2.3 7.2.3.1 ImageBoxType Introduction The ImageBoxType type allows expressing metadata related to images and image collections. It is composed by zero-to-many CollectionsMetaBox elements, and one-to-many TrackBox elements. It corresponds to the movie box type as defined in the ISO base media file format (ISO/IEC 15444-12). 7.2.3.2 Syntax <complexType name="ImageBoxType"> <sequence> <element name="CollectionsMetaBox" type="jpxif:CollectionsMetaBoxType" minOccurs="0"/> <element name="TrackBox" type="jpxif:TrackBoxType" maxOccurs="unbounded"/> </sequence> </complexType> 10 © ISO/IEC 2010 – All rights reserved ISO/IEC FCD 24800-5 7.2.3.3 Semantic Semantics of the ImageBoxType type: Name ImageBoxType CollectionsMetaBox TrackBox 7.2.4 7.2.4.1 Definition Allows expressing metadata related to images and image collections. It is composed by zero-to-many CollectionsMetaBox elements, and one-to-many TrackBox elements. Zero or more elements from the CollectionsMetaBoxType. One or more elements from the TrackBoxType. CollectionsMetaBoxType Introduction The CollectionsMetaBoxType type allows expressing metadata related to image collections. It is composed by multiple Collection elements from the CollectionType defined in the JPSearch collection metadata schema. 7.2.4.2 Syntax <complexType name="CollectionsMetaBoxType"> <sequence> <element name="Collection" type="jpcls:CollectionType" maxOccurs="unbounded"/> </sequence> </complexType> 7.2.4.3 Semantic Semantics of the CollectionsMetaBoxType type: Name CollectionsMetaBoxType 7.2.5 7.2.5.1 Definition Allows expressing metadata related to image collections. It is composed by multiple Collection elements from the CollectionType defined in the JPSearch collection metadata schema. TrackBoxType Introduction The TrackBoxType type allows expressing metadata related to one image. 7.2.5.2 Syntax <complexType name="TrackBoxType"> <sequence> <element name="TrackHeaderBox" type="jpxif:TrackHeaderBoxType"/> <element name="ItemMediaBox" type="jpxif:ItemMediaBoxType"/> <element name="ItemMetaBox" type="jpxif:ItemMetaBoxType" minOccurs="0" maxOccurs="unbounded"/> </sequence> © ISO/IEC 2010 – All rights reserved 11 ISO/IEC FCD 24800-5 </complexType> 7.2.5.3 Semantic Semantics of the TrackBoxType type: Name Definition TrackBoxType TrackHeaderBox ItemMediaBox ItemMetaBox Allows expressing metadata related to one image. One element from the TrackHeaderBoxType. One element from the ItemMediaBoxType. Zero or more elements from the ItemMetaBoxType. 7.2.6 7.2.6.1 TrackHeaderBoxType Introduction The TrackHeaderBoxType type allows. 7.2.6.2 Syntax <complexType name="TrackHeaderBoxType"> <attribute name="TrackID" type="jpcls:int32" use="required"/> <attribute name="creationTime" type="jpxif:int64" use="required"/> <attribute name="modificationTime" type="jpxif:int64" use="required"/> <attribute name="duration" type="jpxif:int64" use="required"/> <attribute name="version" type="jpxif:int4" default="0"/> <attribute name="width" type="jpcls:int32" use="required"/> <attribute name="height" type="jpcls:int32" use="required"/> <attribute name="layer" type="jpxif:int16" use="optional" default="0"/> <attribute name="alternate_group" type="jpxif:int16" use="optional" default="0"/> <attribute name="matrix" type="jpxif:int32Matrix3x3" use="optional"/> </complexType> <simpleType name="int4"> <restriction base="nonNegativeInteger"> <minInclusive value="0"/> <maxInclusive value="15"/> </restriction> </simpleType> <simpleType name="int16"> <restriction base="nonNegativeInteger"> <minInclusive value="0"/> <maxInclusive value="65535"/> </restriction> </simpleType> <simpleType name="int64"> <restriction base="nonNegativeInteger"> <minInclusive value="0"/> <maxInclusive value="18446744073709551615"/> 12 © ISO/IEC 2010 – All rights reserved ISO/IEC FCD 24800-5 </restriction> </simpleType> <simpleType name="int32Matrix"> <list itemType="jpcls:int32"/> </simpleType> <simpleType name="int32Matrix3x3"> <restriction base="jpxif:int32Matrix"> <length value="9"/> </restriction> </simpleType> 7.2.6.3 Semantic The TrackHeaderBoxType is defined in subclause 8.3.2 in ISO/IEC 15444-12 and specifies the characteristics of a single image. Semantics of the TrackBoxType type: Name Definition TrackHeaderBoxType Basic metadata describing attributes of specified item by TrackID an integer that declares the creation time of this track (in seconds since midnight,Jan. 1, 1904, in UTC time) an integer that declares the most recent time the track was modified (in seconds since midnight, Jan. 1, 1904, in UTC time) an integer that uniquely identifies this track over the entire lifetime of this presentation. Track IDs are never re-used and cannot be zero within a XML. an integer that indicates the duration of this track Creation_time Modification_time TrackID Duration Layer AlternateGroup Volume Matrix Width, Height © ISO/IEC 2010 – All rights reserved the front-to-back ordering of video tracks; tracks with lower numbers are closer to the viewer. 0 is the normal value, and -1 would be in front of track 0, and so on. an integer that specifies a group or collection of tracks. If this field is 0 there is no information on possible relations to other tracks. If this field is not 0, it should be the same for tracks that contain alternate data for one another and different for tracks belonging to different such groups. Only one track within an alternate group should be played or streamed at any one time, and must be distinguishable from other tracks in the group via attributes such as bitrate, codec, language, packet size etc. A group may have only one member. a fixed 8.8 value specifying the track's relative audio volume. Full volume is 1.0 (0x0100) and is the normal value. Its value is irrelevant for a purely visual track. Tracks may be composed by combining them according to their volume, and then using the overall Movie Header Box volume setting; or more complex audio composition (e.g. MPEG-4 BIFS) may be used. a transformation matrix for the video; (u,v,w) are restricted here to (0,0,1), hex (0,0,0x40000000). specify the track's visual presentation size as fixed-point 16.16 values. These need not be the same as the pixel dimensions of the images, which is documented in the sample description(s); all images in the sequence are scaled to this size, before any overall transformation of the track represented by the matrix. The pixel dimensions of the images are the default values. 13 ISO/IEC FCD 24800-5 7.2.7 7.2.7.1 ItemMediaBoxType Introduction The ItemMediaBoxType type allows linking between metadata and each corresponding internal or external resource when used within the binary file format, or just external resources when used within the XML metadata interchange format. 7.2.7.2 Syntax <complexType name="ItemMediaBoxType"> <choice> <element name="InlineMedia"> <complexType> <choice> <element name="MediaData16" type="hexBinary"/> <element name="MediaData64" type="base64Binary"/> </choice> </complexType> </element> <sequence> <element name="MediaUri" type="anyURI"/> <element name="TargetTrackID" type="jpcls:int32" minOccurs="0"/> </sequence> </choice> </complexType> 7.2.7.3 Semantic Semantics of the ItemMediaBoxType type: Name Definition ItemMediaBoxType allows linking between metadata and each corresponding internal or external resource an instance of an image codestream encoded in hex binary or base64 binary format unique identifier of a single image within an external file identified by MediaUri when multiple images are supported by the referenced file format describes where the image file (to which these metadata refer) is located. InlineMedia TargetTrackID MediaUri 7.2.8 7.2.8.1 ItemMetaBoxType Introduction The ItemMetaBoxType type allows expressing metadata related to one image (item level). It includes descriptive elements from the JPSearch Core Schema in Part 2, but also offers the possibility to include metadata formalized according to external or user-defined schemas (e.g. MPEG-7). 7.2.8.2 Syntax <complexType name="ItemMetaBoxType"> <sequence> 14 © ISO/IEC 2010 – All rights reserved ISO/IEC FCD 24800-5 <choice> <element name="JPSearchCore" type="jpcs:JPSearchCoreType"/> <!-- Other metadata schemas, MPEG-7, etc. --> <element name="AnyDescription"> <complexType mixed="true"> <sequence> <any namespace="##any"/> </sequence> </complexType> </element> </choice> </sequence> </complexType> 7.2.8.3 Semantic Semantics of the ItemMetaBoxType type: Name Definition ItemMetaBoxType allows expressing metadata related to one image (item level). It includes descriptive elements from the JPSearch Core Schema in Part 2, but also offers the possibility to include metadata formalized according to external or user-defined schemas (e.g. MPEG-7). it includes descriptive elements from the JPSearch Core Schema in Part 2. allows expressing metadata formalized according to JPSearch registered schemas. JPSearchCore AnyDescription © ISO/IEC 2010 – All rights reserved 15
© Copyright 2024 Paperzz