GB2573939A - Image data encapsulation - Google Patents

Image data encapsulation Download PDF

Info

Publication number
GB2573939A
GB2573939A GB1911748.0A GB201911748A GB2573939A GB 2573939 A GB2573939 A GB 2573939A GB 201911748 A GB201911748 A GB 201911748A GB 2573939 A GB2573939 A GB 2573939A
Authority
GB
United Kingdom
Prior art keywords
item
properties
image
identification information
still images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB1911748.0A
Other versions
GB201911748D0 (en
GB2573939B (en
Inventor
Maze Frédéric
Denoual Franck
Ouedraogo Naël
Le Feuvre Jean
Concolato Cyril
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to GB1911748.0A priority Critical patent/GB2573939B/en
Priority claimed from GB1510608.1A external-priority patent/GB2539461B/en
Publication of GB201911748D0 publication Critical patent/GB201911748D0/en
Publication of GB2573939A publication Critical patent/GB2573939A/en
Application granted granted Critical
Publication of GB2573939B publication Critical patent/GB2573939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • H04N21/8153Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics comprising still images, e.g. texture, background image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/85406Content authoring involving a specific file format, e.g. MP4 format

Abstract

A method for generating an image file, based on one or more still images, comprises: obtaining the one or more still images; identifying a property (e.g. based on image width and height, or decoder configuration) relating to each of the one or more still images, and generating the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of the one or more still images. All properties of the still image(s) may be listed in the same box, with one or more properties directly listed in the same box. A parameter “ItemInfoBox” may be used to represent still image information; association information and identification information may be described in a predetermined, different, box. The image file may comprise a metadata part and a media data part, with both of the one or more properties and the association information being described in the metadata part.

Description

The present invention relates to the storage of image data, such as still images, bursts of still images or video data in a media container with descriptive metadata. Such metadata generally provides easy access to the image data and portions of the image data.
BACKGROUND OF THE INVENTION
Some of the approaches described in this section could be pursued, but are not necessarily approaches that have been previously conceived or pursued. Therefore, the approaches described in this section are not necessarily prior art to the claims in this application and are not admitted to be prior art by inclusion in this section.
The HEVC standard defines a profile for the encoding of still images and describes specific tools for compressing single still images or bursts of still images. An extension of the ISO Base Media File Format (ISOBMFF) used for such kind of image data has been proposed for inclusion into the ISO/IEC 23008 standard, in Part 12, under the name: “Image File Format. The standard covers two forms of storage corresponding to different use cases:
- the storage of image sequences, with timing that is optionally used at the decoder, and in which the images may be dependent on other images, and
- the storage of single images, and collections of independently coded images.
In the first case, the encapsulation is close to the encapsulation of the video tracks in the ISO Base Media File Format (see document « Information technology — Coding of audio-visual objects — Part 12: ISO base media file format», ISO/IEC 14496-12:2014, Fifth edition, Avril 2015), and the same tools and concepts are used, such as the ‘trak’ boxes and the sample grouping for description. The ‘trak’ box is a file format box that contains sub boxes for describing a track, that is to say, a timed sequence of related samples.
In the second case, a set of ISOBMFF boxes, the ‘meta’ boxes are used. These boxes and their hierarchy offer less description tools than the ‘track’ boxes and relate to “information items” or “items” instead of related samples.
The image file format can be used for locally displaying multimedia files or for streaming multimedia presentations. HEVC Still Images have many applications which raise many issues.
Image bursts are one application. Image bursts are sequences of still pictures captured by a camera and stored as a single representation (many picture items referencing a block of data). Users may want to perform several types of actions on these pictures: select one as thumbnail or cover, apply effects on these pictures or the like.
There is thus a need for descriptive metadata for identifying the list of pictures with their corresponding bytes in the block of data.
Computational photography is another application. In computational photography, users have access to different resolutions of the same picture (different exposures, different focuses etc.). These different resolutions have to be stored as metadata so that one can be selected and the corresponding piece of data can be located and extracted for processing (rendering, editing, transmitting or the like).
With the increase of picture resolution in terms of size, there is thus a need for providing enough description so that only some spatial parts of these large pictures can be easily identified and extracted.
Another kind of applications is the access to specific pictures from a video sequence, for instance for video summarization, proof images in video surveillance data or the like.
For such kind of applications, there is a need for image metadata enabling to easily access the key images, in addition to the compressed video data and the video tracks metadata.
In addition, professional cameras have reached high spatial resolutions. Videos or images with 4K2K resolution are now common. Even 8k4k videos or images are now being common. In parallel, video are more and more played on mobile and connected devices with video streaming capabilities. Thus, splitting the videos into tiles becomes important if the user of a mobile device wants to display or wants to focus on sub-parts of the video by keeping or even improving the quality. By using tiles, the user can therefore interactively request spatial sub-parts of the video.
There is thus a need for describing these spatial sub-parts of the video in a compact fashion in the file format in order to be accessible without additional processing other than simply parsing metadata boxes. For images corresponding to the so-described videos, it is also of interest for the user to access to spatial sub-parts.
In addition, users usually transform or compose images to create new derived images. Those derived images are obtained by applying one or more specified operations, such as rotation or clipping, to other images or set of images.
There is thus a need for describing operations to be applied to one or more input images as metadata in the file format in order to retrieve derived images from original images.
The ISO/IEC 23008-12 standard covers two ways for encapsulating still images into the file format that have been recently discussed.
One way is based on ‘track’ boxes, and the notion of timed sequence of related samples with associated description tools, and another is based on ‘meta’ boxes, based on information items, instead of samples, providing less description tools, especially for region of interest description and tiling support.
There is thus a need for providing tiling support in the new Image File Format.
The use of tiles is commonly known in the prior art, especially at compression time. Concerning their indexation in the ISO Base Media File format, tiling descriptors exist in drafts for amendment of Part 15 of the ISO/IEC 14496 standard “Carriage of NAL unit structured video in the ISO Base Media File Format”.
However, these descriptors rely on ‘track’ boxes and sample grouping tools and cannot be used in the Still Image File Format when using the ‘meta’ based approach. Without such descriptors, it becomes complicated to select and extract tiles from a coded picture stored in this file format.
Figure 1 illustrates the description of a still image encoded with tiles in the ‘meta’ box (100) of ISO Base Media File Format, as disclosed in MPEG contribution m32254.
An information item is defined for the full picture 101 in addition to respective information items for each tile picture (102, 103, 104 and 105). Those information items are stored in a box called ‘ItemlnfoBox’ (iinf). The box (106), called ‘ItemReferenceBox’, from the ISO BMFF standard is used for indicating that a ‘tile’ relationship (107) exists between the information item of the full picture and the four information items corresponding to the tile pictures (108). Identifiers of each information item are used so that a box (109), called ‘ItemLocationBox’, provides the byte range(s) in the encoded data (110) that represent each information item. Another box “ItemReferenceBox”’ (112) is used for associating EXIF metadata (111) with the information item for the full picture (101) and a corresponding data block (111) is created in the media data box (110). Also, an additional information item (113) is created for identifying the EXIF metadata.
Even if the full picture and its tiles are introduced as information items, no tiling information is provided here. Moreover, when associating additional metadata with an information item (like EXIF), no data block referenced using an additional ItemReferenceBox’is created.
Reusing information on tiling from EXIF and reusing the mechanism defined in the Still Image File format draft wouldn’t make it possible to describe non-regular grid with existing EXIF tags.
Thus, there is still a need for improvements in the file format for still images, notably HEVC still images. In particular, there is a need for methods for extracting a region of interest in still Images stored with this file format.
The invention lies within the above context.
SUMMARY OF THE INVENTION
According to a first aspect of the invention, there is provided a method for generating an image file based on one or more still images, the method comprising:
- obtaining the one or more still images;
- identifying a property relating to each of the one or more still images, and
- generating the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of the one or more still images.
In an embodiment, all properties of each of the one or more still images are listed in the same box.
In an embodiment, the at least one or more properties are directly listed in the same box.
In an embodiment:
- the image file further includes “ItemlnfoBox” for representing information for each of the one or more still images, and
- the association information for associating the identification information of each of the one or more properties and the identification information of each of the one or more still images are described in a predetermined box different from said same box.
In an embodiment, “ispe” indicating a width and a height of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “ispe”.
In an embodiment, “hvcC” indicating decoder configuration of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “hvcC”.
In an embodiment, the association information represents correspondence between identification information of one of the one or more properties which are identified and identification information corresponding to at least two images.
In an embodiment, the image file is generated based on a plurality of still images.
In an embodiment, the image file is generated based on a plurality of subimages corresponding to one still image.
In an embodiment, the image file comprises a metadata part and a media data part, and wherein both of the one or more properties and the association information are described in the metadata part.
In an embodiment, the identified properties are ordered, the identification information of each of the one or more properties corresponding to its order.
According to another aspect of the invention, there is provided a device for generating an image file based on one or more still images, the device comprising:
- an obtaining module for obtaining the one or more still images;
- an identifier module for identifying a property relating to each of the one or more still images, and
- a generator module for generating the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of the one or more still images.
In an embodiment:
- the image file further includes “ItemlnfoBox” for representing information for each of the one or more still images, and
- the association information for associating the identification information of each of the one or more properties and the identification information of each of the one or more still images are described in a predetermined box different from said same box.
In an embodiment, “ispe” indicating a width and a height of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “ispe”.
In an embodiment, “hvcC” indicating decoder configuration of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “hvcC”.
In an embodiment, the association information represents correspondence between identification information of one of the one or more properties which are identified and identification information corresponding to at least two images.
According to another aspect of the invention, there is provided a computerreadable storage medium storing a computer program product for a programmable apparatus, the computer program product comprising a sequence of instructions for implementing the method according to the invention, when loaded into and executed by the programmable apparatus.
According to another aspect of the invention, there is provided a computerreadable storage medium storing instructions of a computer program for implementing the method according to the invention.
According to another aspect of the invention, there is provided a method for outputting an image based on an image file, the method comprising:
- obtaining the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of one or more still images; and
- outputting an image based on the obtained image file.
In an embodiment, all properties of each of the one or more still images are listed in the same box.
In an embodiment, the at least one or more properties are directly listed in the same box.
In an embodiment:
- the image file further includes “ItemlnfoBox” for representing information for each of the one or more still images, and
- the association information for associating the identification information of each of the one or more properties and the identification information of each of the one or more still images are described in a predetermined box different from said same box.
In an embodiment, “ispe” indicating a width and a height of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “ispe”.
In an embodiment, “hvcC” indicating decoder configuration of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “hvcC”.
In an embodiment, the association information represents correspondence between identification information of one of the one or more properties which are identified and identification information corresponding to at least two images.
In an embodiment, the image file is generated based on a plurality of still images.
In an embodiment, the image file is generated based on a plurality of subimages corresponding to one still image.
In an embodiment, the image file comprises a metadata part and a media data part, and wherein both of the one or more properties and the association information are described in the metadata part.
In an embodiment, the identified properties are ordered, the identification information of each of the one or more properties corresponding to its order.
According to another aspect of the invention, there is provided a device for outputting an image based on an image file, the device comprising:
- an obtaining module for obtaining the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of one or more still images; and
- an outputting module for outputting an image based on the obtained image file.
In an embodiment, all properties of each of the one or more still images are listed in the same box.
In an embodiment, the at least one or more properties are directly listed in the same box.
In an embodiment:
- the image file further includes “ItemlnfoBox” for representing information for each of the one or more still images, and
- the association information for associating the identification information of each of the one or more properties and the identification information of each of the one or more still images are described in a predetermined box different from said same box.
In an embodiment, “ispe” indicating a width and a height of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “ispe”.
In an embodiment, “hvcC” indicating decoder configuration of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “hvcC”.
In an embodiment, the association information represents correspondence between identification information of one of the one or more properties which are identified and identification information corresponding to at least two images.
In an embodiment, the image file is generated based on a plurality of still images.
In an embodiment, the image file is generated based on a plurality of subimages corresponding to one still image.
In an embodiment, the image file comprises a metadata part and a media data part, and wherein both of the one or more properties and the association information are described in the metadata part.
In an embodiment, the identified properties are ordered, the identification information of each of the one or more properties corresponding to its order.
According to another aspect of the invention, there is provided a computerreadable storage medium storing instructions of a computer program for implementing the method according to the invention.
BRIEF DESCRIPTION OF THE DRAWINGS
Other features and advantages of the invention will become apparent from the following description of non-limiting exemplary embodiments, with reference to the appended drawings, in which, in addition to Figure 1:
- Figure 2 illustrates an example of a tiled video;
- Figure 3 illustrates various tile/slice configurations in HEVC;
- Figure 4 illustrates the tile encapsulation according to the ISO Base Media File format with ‘track’ boxes;
- Figure 5 illustrates the standard metadata for describing information items in ‘meta’ boxes of the ISOBMFF;
- Figure 6 illustrates an exemplary extension to the information item description;
- Figure 7 illustrates the referencing mechanisms between information items;
- Figure 8 illustrates a context of implementation of embodiments of the invention;
- Figure 9 is a schematic block diagram of a computing device for implementation of one or more embodiments of the invention.
DETAILED DESCRIPTION OF THE INVENTION
In what follows, embodiments of the invention are described.
In order to better understand the technical context, video tiling is explained with reference to Figure 2 which shows a video (200) having consecutive temporal frames. Each frame (201) is divided into 8 portions (here rectangular portions) referred to as “tiles” T1 to T8. The number and the shape of the tiles can be different. In what follows, it is considered that the tiling is the same whatever the index of the video frame.
The result of this tiling is 8 independent sub-videos (202). These subvideos represent a partition of the whole global video. Each independent subvideo can be encoded as an independent bitstream, according to the AVC or HEVC standards for example. The sub-video can also be part of one single video bitstream, like for example tiles of the HEVC standard or slices of the AVC standard.
The HEVC standard defines different spatial subdivision of pictures: tiles, slices and slice segments. These different subdivisions (or partitions) have been introduced for different purposes: the slices are related to streaming issues while the tiles and the slice segments have been defined for parallel processing.
A tile defines a rectangular region of a picture that contains an integer number of Coding Tree Units (CTU). Figure 3 shows the tiling of an image (300) defined by row and column boundaries (301, 302). This makes the tiles good candidates for regions of interest description in terms of position and size. However, the HEVC standard bitstream organization in terms of syntax and its encapsulation into Network Abstract Layer (NAL) units is rather based on slices (as in AVC standard).
According to the HEVC standard, a slice is a set of slice segments, with at least the first slice segment being an independent slice segment, the others, if any, being dependent slice segments. A slice segment contains an integer number of consecutive CTUs (in the raster scan order). It has not necessarily a rectangular shape (thus less appropriate than tiles for region of interest representation). A slice segment is encoded in the HEVC bitstream as a header called “slice_segment_header” followed by data called “slice_segment_data”. Independent slice segments and dependent slice segments differ by their header: dependent slice segments have a shorter header because they reuse information from the independent slice segment’s header. Both independent and dependent slice segments contain a list of entry points in the bitstream: either to tiles or to entropy decoding synchronization points.
Figure 3 shows different configurations of images 310 and 320 of slice, slice segments and tiles. These configurations differ from the configuration of image 300 in which one tile has one slice (containing only one independent slice segment). Image 310 is partitioned into two vertical tiles (311,312) and one slice (with 5 slice segments). Image 320 is split into two tiles (321, 322), the left tile 321 having two slices (each with two slice segments), the right tile 322 having one slice (with two slice segments). The HEVC standard defines organization rules between tiles and slice segments that can be summarized as follows (one or both conditions have to be met):
- All CTUs in a slice segment belong to the same tile, and
- All CTUs in a tile belong to the same slice segment
In order to have matching region of interest support and transport, the configuration 300, wherein one tile contains one slice with one independent segment, is preferred. However, the encapsulation solution would work with the other configurations 310 or 320.
While the tile is the appropriate support for regions of interest, the slice segment is the entity that will be actually put into NAL units for transport on the network and aggregated to form an access unit (coded picture or sample at file format level). According to the HEVC standard, the type of NAL unit is specified in a NAL unit header. For NAL units of type “coded slice segment”, the slice_segment_header indicates via the “slice_segment_address” syntax element the address of the first coding tree block in the slice segment. The tiling information is provided in a PPS (Picture Parameter Set) NAL unit. The relation between a slice segment and a tile can then be deduced from these parameters.
By definition, on tiles borders, the spatial predictions are reset. However, nothing prevents a tile from using temporal predictors from a different tile in the reference frame(s). In order to build independent tiles, at encoding time, the motion vectors for the prediction units inside a tile are constrained to remain in the co-located tile in the reference frame(s). In addition, the in-loop filters (deblocking and SAO) have to be deactivated on the tiles borders so that no error drift is introduced when decoding only one tile. This control of the in-loop filters is already available in the HEVC standard and is set in slice segment headers with the flag called “loop_filter_across_tiles_enabled_flag”. By explicitly setting this flag to 0, the pixels at the tiles borders do not depend on the pixels that fall on the border of the neighbor tiles. When the two conditions on motion vectors and on in-loop filters are met, the tiles are said “independently decodable” or “independent”.
When a video sequence is encoded as a set of independent tiles, it may be decoded using a tile-based decoding from one frame to another without risking missing reference data or propagation of reconstruction errors. This configuration makes it possible to reconstruct only a spatial part of the original video that corresponds, for example, to a region of interest.
In what follows, independent tiles are considered.
With reference to Figure 4, encapsulation of tiles into ISOBMFF file format is described. For example, each tile is encapsulated into a dedicated track. The setup and initialization information common to all tiles is encapsulated into a specific track, called for example the “tile base track”. The full video is thus encapsulated as a composition of all these tracks, namely the tile base track and the set of tile tracks.
Figure 4 illustrates an exemplary encapsulation. One way to encapsulate tiled video according to the ISOBMFF standard is to split each tile into a dedicated track, to encapsulate the setup and initialization information common to all tiles in a specific track, called for example the “tile base track” and to encapsulate the full video as a composition of all these tracks: tile base track plus a set of tile tracks. The encapsulation is thus referred to as “multi-track tile encapsulation”. An example of multi-track tile encapsulation is provided in Figure
4.
Box 401 represents the main ISOBMFF box ‘moov’ and contains the full list of tracks with their identifiers. For example, boxes 411 to 414 represent tile tracks (four tiles in the present example) and box 420 represents the tile base track. Additional tracks such as audio or text tracks may be used and encapsulated in the same file. However, for the sake of conciseness such additional tracks are not discussed here.
As represented in Figure 4, the tile data is split into independent and addressable tracks so that any combination of tile track(s) can easily be reconstructed from the tile base track referencing the tile tracks for decoding and display. The tile base track may also be referred to as the “composite track” or “reference track” since it is designed to allow combination of any tiles: one, many or all tiles. The tile base track 420 contains common information to all the tile tracks and a list of samples 450 (only the first one is represented in Figure 4) in a “mdat” box. Each sample 450 of the tile base track 420 is built by reference to each tile track through the use of extractors (451 to 454 each one representing one extractor to each tile). Each tile track 411 to 414 represents a spatial part of the whole, or full-frame, video. The tile description (position, size, bandwidth etc.) is stored in the track header boxes (not represented) of each tile track 411 to 414. The tile base track and each tile track are cross-referenced (405) using a box “TrackReferenceBox” in each track. Each tile track 411 to 414 refers to the tile base track 420 as the ‘tbas’ track (‘tbas’ is a specific code indicating a coding dependency from each tile track to the tile base track, in particular where to find the parameter “HEVCDecoderConfigurationRecord” that makes it possible to setup the video decoder that will process the elementary stream resulting from the file format parsing). Conversely, in order to enable full-video reconstruction, the tile base track 420 indicates a dependency of type ‘seal’ to each tile track (405). This is to indicate the coding dependency and to reflect the sample 450 definition of the tile base track as extractors to the tile tracks data. These extractors are specific extractors that, at parsing time, can support the absence of data. In Figure 4, in order to provide a streamable version of the file, each track is decomposed into media segments (431 to 434 for the tile tracks and 460 for the tile base track). Each media segment comprises one or more movie fragments, indicated by the ‘moof’ box plus data. For tile tracks, the data part corresponds to a spatial sub-part of the video while for the tile base track, it contains the parameter sets, SEI messages when present and the list of extractors. The “moov” box 401 in case of streaming application would fit in an initialization segment. Figure 4 illustrates only one segment but the tracks can be decomposed into any number of segments, the constraint being that segments for tile tracks and for tile base track follow the same temporal decomposition (i.e. they are temporally aligned), this is to make switching possible from full-video to a tile or a set of tiles. The granularity of this temporal decomposition is not described here, for the sake of conciseness.
The file format has descriptive metadata (such as “VisualSampleGroupEntries” for instance, or track reference types in ‘tref’ boxes) that describe the relationships between the tracks so that the data corresponding to one tile, a combination of tiles or all the tiles can easily be identified by parsing descriptive metadata.
In what follows, still images are described at the same level. Thus, upon user selection of any tiles, combination of tiles or all tiles of a picture, identification and extraction is facilitated. In case the pictures are mixed with video data, the description comes in parallel to the descriptive metadata for the video. Thus, for the same data set, an additional indexation layer is provided for the pictures (in addition to the indexation layers for the video and for the audio).
In still image file formats using ‘meta’ boxes, the pictures with the related information are described as information items. As illustrated in Figure 5, the information items are listed in a dedicated sub-box “ItemlnfoBox” 500 of the ‘meta’ box. This sub-box provides the number of information items present in the file. The sub-box also provides for each item, descriptive metadata represented as “ItemlnfoEntry” 501. Several versions 502 (0, 1, 2, 3) of this box exist according to the ISO BMFF standard evolution.
“Meta” items may not be stored contiguously in a file. Also, there is no particular restriction concerning the interleaving of the item data. Thus, two items in a same file may share one or several blocks of data. This is particularly useful for HEVC tiles (tiles can be stored contiguously or not), since it can make it straightforward to have one item per independently decodable tile. This item indicates the data offset in the main HEVC picture and length of the slice(s) used for the tile through an ItemLocationBox.
According to embodiments, a new item type for describing a tile picture may be added, named for example: “hvct” or ‘tile’ or reused from ISO/IEC 1449615: ‘hvtT. Each item representing the tile picture (whatever the four character code chosen) may have a reference of type “tbas” to the ‘hvcT item from which it is extracted. Each item has an identifier “item_ID” 503 and is further described in a box “ItemLocationBox” in terms of byte position and size in the media data box containing the compressed data for the pictures.
Such syntax makes it possible for a file format reader (or “parser”), to determine, via the list of information items, how many information items are available with information concerning their type 504, for example ‘tile’ to indicate an information item is a tile picture of a full picture.
Thus, it is made possible to select a subset of information items in the file, a combination thereof, or the full set of information items in order to download only one tile of the image and the associated decoder configuration, while skipping the other tiles.
For cases where an HEVC tile depends on another HEVC tile for decoding, the dependency shall be indicated by an item reference of type ‘dpnd’ (or any specific four character code that indicates coding dependencies) as described in document w14123, WD of ISO/IEC 14496-15:2013 AMD 1, “Enhanced carriage of HEVC and support of MVC with depth information”, MPEG 107 San Jose January 2014.
This document defines tools for associating HEVC tile NALUs with sample group descriptions indicating the spatial position of the tile (using the “TileRegionGroupEntry” descriptor). However, there is no direct equivalent of sample grouping for metadata information items which could allow reuse of these descriptors.
Therefore, according to embodiments, a tile description item is defined per tile and the tile is linked to its description using a modified version of the “ItemReferenceBox” box as explained below.
According to other embodiments, only one tiling description is provided, preferably in a generic way. Thus, the item list does not get too long.
The design may be as follows:
- allow some items to describe a set of metadata, similar to sample groups but specific to each item type,
- for any item, add the ability to describe one parameter for a given type of item reference. The parameter would then be interpreted depending on the type of the referred item (similar to grouping type).
An upgrade of the descriptive metadata for an information item may be needed as explained in what follows with reference to Figure 6.
According to the ISOBMFF standard, the sample grouping mechanism is based on two main boxes having a “grouping_type” parameter as follows:
- the box “SampleGroupDescriptionBox” has a parameter ‘sgpd’ that defines a list of properties (a list “SampleGroupEntry”),
- the box “SampleToGroupBox” has a parameter ‘sbgp’ that defines a list of sample group with their mapping to a property.
The “grouping_type” parameter links a list of sample groups to a list of properties, the mapping of a sample group to one property in the list being specified in the box “SampleToGroupBox”.
In order to provide the same functionality for the information items, a list of information items groups and a list of properties have to be described. Also, it should be made possible to map each group of information items to a property.
In what follows, there is described how to make possible such descriptive metadata to be embedded in the Still Image File Format. In other words, how to link a descriptor to an image item. Even if the use cases are described for the HEVC Still Image File Format, the following features may be used in other standards such as ISO/IEC 14496-12 for associating any kind of information item with additional descriptive metadata.
According to embodiments, the existing “ItemlnformationEntry” box 601 with parameter ‘infe’ is extended with a new version number (602 and 603) in order to link each item to a property via a new parameter called “iref_type” 604 as shown in Figure 6. This makes it possible to avoid the creation of new boxes and improves the description while keeping it short.
The original definition of ItemlnformationEntry box is given by:
if (version >= 2) { if (version == 2) { unsigned int(16) item ID;
} else if (version == 3) { unsigned int (32) item ID;
} unsigned int (16) item protection index;
unsigned int(32) item type;
string item name;
if (item type=='mime') { string content type;
string content encoding; //optional } else if (item type == 'uri ') { string item uri type;
} }
A new version making linking a tile picture to its description may be as follows:
if (version >= 2) { if (version == 2) { unsigned int(16) item ID;
} else if (version >= 3) { unsigned int(32) item ID;
} unsigned int(16) item protection index;
unsigned int(32) item type;
string item name;
if (item type=='mime') { string content type;
string content encoding; //optional } else if (item type == 'uri ') { string item uri type;
} if (version == 4) { unsigned int(32) item iref parameter count;
for (i=0 ; i< item iref parameter count ; i++) { unsigned int(32) iref type;
unsigned int(32) iref parameter;
} }
}
According to other embodiments, closer to the box “SampleToGroupBox”, the definition of the box “ItemlnformationBox” with four character code ‘iinf’ is changed as follows, for example by introducing a new version of this box:
the current version:
aligned(8) class ItemlnfoBox extends FullBox ( 'iinf' , 0) { if (version == 0) { unsigned int(16) entry count;
} else { unsigned int(32) entry count;
}
ItemlnfoEntry[ entry count ] item infos;
} is changed into:
aligned(8) class ItemlnfoBox extends FullBox( 'iinf', version = 2, 0) { unsigned int(16)group entry count;
for (int g=0; g< group entry count;g++){ unsigned int(16) item run;
unsigned int(16) grouping type;
unsigned int (16) property index;
unsigned int(32) entry count;
ItemlnfoEntry[ entry count ] item infos;
} unsigned int(16) remaining entry count;
ItemlnfoEntry[remaining entry count ] item infos;
}
Alternatively, in order to signal whether group is in use or not, the current version is changed into:
aligned(8) class ItemlnfoBox extends FullBox( 'iinf', version = 2, 0) { unsigned int(l)group is used;
if (group is used == 0){ // standard iinf box but with 1 additional byte overhead unsigned int(7) reserved; // for byte alignment unsigned int(32) entry count;
ItemlnfoEntry[ entry count ] item infos;
} else { unsigned int(15)group entry count;
for (int g=0; g< group entry count;g++){ unsigned int(16) item run;
unsigned int (16) grouping type;
unsigned int(16) property index;
unsigned int(32) entry count;
ItemlnfoEntry[ entry count ] item infos;
} unsigned int(16) remaining entry count;
ItemlnfoEntry[remaining entry count ] item infos;
} }
The “group_entry_count” parameter defines the number of information items groups in the media file. For each group of information item, a number of information items is indicated, starting from item_ID=0. Since information items have no time constraints and relationships, contrary to the samples, the encapsulation module can assign the information item identifiers in any order. By assigning increasing identifiers numbers following the items group, the list of information group can be more efficiently represented using a parameter item_run identifying the runs of consecutive information items identifiers in a group.
The related information items have an index called for example “propertyjndex”. This “propertyjndex” parameter associated with the “grouping_type” parameter enables a file format parser (or “reader”) to identify either a reference to descriptive metadata or the descriptive metadata itself. Figure 7 illustrates two exemplary embodiments.
The group feature in box “SingleltemTypeReferenceBox” 701 may be used with a group identification “groupJD” instead of the information item identification (itemJD) that is usually used for the value of the from_item_ID parameter. By design, the box “SingleltemTypeReferenceBox” makes it easier to find all the references of a specific kind or from a specific item. Using it with a “groupJD” instead of “itemJD” makes it possible to find for a group of items to easily identify all the references of a specific type. Advantageously, since there is at most one box “Item Information Box” per encapsulated file, there is no need to define group identifications. The encapsulation module (during encoding) and the parsing module (during decoding) can run a respective counter (as the “g” variable in the box “ItemlnformationBox) on the list of information item groups as they are created or read. Alternatively, the parser may be informed, using the flag “group_usedjlag”, whether to maintain or not the group identification counter.
Back to the example with one group of information items corresponding to the tile pictures, one group may contain four entries and the reference 700 “SingleltemTypeReference” may indicate the list of information items 704 on which the four tile picture information items depend, and so for a particular reference type 703.
According to other exemplary embodiments, the information item is used in a new kind of box “ItemReferenceBox”, as described hereinafter, that makes it possible, from one item 722, to list multiple reference types 723 to various other information items 724.
For the latter case, the specific box “ItemReferenceBox” 721 may be implemented as follows:
aligned (8) class MultipleltemTypeP.ef erenceBox (void) extends Box(void) { unsigned int(16) from item ID;
unsigned int(16) reference count;
for (j=0; preference count; j++) { unsigned int(32) reference_type; // new parameter to allow multiple types unsigned int(16) to item ID;
} }
As for the standard box “Item Information Box”, the list of item entries is described, but this time with a different order depending on the grouping. In the tile example, this may lead to a first group of four information items corresponding to the tile pictures gathered in a group with a parameter that may be named ‘tile’ followed by non-grouped information items for the configuration information, for the full picture information item and optionally for the EXIF metadata.
Thus, one box is modified and one box is created that is a specific kind of ItemReferenceBox. In what follows, this new kind of ItemReferenceBox is described.
The box “ItemReferenceBox” may also be extended by distinguishing between the various kinds of ItemReferenceBox by using the flag parameters in the box “FullBox” which is part of the ItemReferenceBox as follows:
aligned(8) class ItemReferenceBox extends FullBox('iref', 0, flags) { switch (flags) { case 0:
SingleltemTypeReferenceBox references[];
break;
case 1:
MultipleltemTypeReferenceBox references[];
break;
case 2:
SharedltemTypeReferenceBox references[];
break;
} }
Using the box “MultipleltemTypeReferenceBox” 721, one picture with four tiles may be described as follows:
Item Reference Box (version=l or flags=l):
fromID=2, ref count=l, type=' cdsc', toID=l;
fromID=l, ref count=l, type=' init', toID=3;
fromID=4, ref count=2, type=' tbas', toID=l, type='tile' toID=8;
fromID=5, ref count=2, type=' tbas', toID=l, type='tile' toID=8;
fromID=6, ref count=2, type=' tbas', toID=l, type='tile' toID=8;
fromID=7, ref count=2, type='tbas', toID=l, type='tile' toID=8;
This design makes it fairly easier to find all the references of any kinds from a specific item.
Description support 711 fora list of items 712 referencing a same item
714 with a given type 713 may be as follows:
aligned(8) class SharedltemTypeReferenceBox(ref type) extends
Box ( referenceType) { unsigned int(16) reference count;
for (j=0; preference count; j++) { unsigned int(16) from item ID;
} unsigned int(16) to item ID;
}
In the example of a picture with four tiles, then we may have:
type='cdsc', ref count=l, fromID=2, toID=l;
type='init', ref_ count=l, fromID=l, toID=3;
type='tbas', ref count=4, fromID=4, fromID=5, fromID=6, fromID=7,
toID=l;
type='tile', ref count=4, fromID=4, fromID=5, fromID=6, fromID=7,
toID=8;
The design of the box “shareditemTypeReferenceBox makes it easier to find all the references of a specific type pointing to a specific item. This is in contrast with box “SingleltemTypeReferenceBox”. But since most of the “reference_type” defined for track references are not bi-directional, the box “SingleltemTypeReferenceBox” may not be used with some unidirectional reference type to signal all nodes having this reference type to other items. Alternatively, a flag may be provided in the “SingleltemTypeReference” for indicating whether it is a direct reference or a reverse reference, thereby alleviating the need for the new SharedltemTypeReferenceBox.
In view of the above, an information item can be associated with tiling information. A description of this tiling information has now to be provided.
For example, each tile may be described using a tile descriptor, such as the “iref_parameter” 605 of the extended “ItemlnfoEntry” 601. A specific descriptor may be as follows:
aligned(8) class TilelnfoDataBlock() {
unsigned int(8) version;
unsigned int (32) reference width; // full image sizes
unsigned int ( 32) reference height;
unsigned int(32) horizontal offset ; // tile positions
unsigned int ( 32) vertical offset;
unsigned int (32) region width; // tile sizes
unsigned int ( 32) region height;
}
According to embodiments, a descriptor may be used for the grid of tiles to apply to the one or more pictures to be stored.
Such descriptor may be as follows:
aligned (8) class TilelnfoDataltem () i
unsigned int(8) version;
unsigned int(1) regular spacing; // regular grid or not
unsigned int(7) reserved = 0;
unsigned int ( 32) reference width; // full-frame sizes
unsigned int ( 32) reference height f
unsigned int(32) nb cell horiz;
unsigned int ( 32) nb cell vert;
if (!regular spacing) { for (i=0; i<nb cell width; i++) unsigned int(16) cell width;
for (i=0; i<nb cell height; i++) unsigned int (16) cell height;
} }
}
This descriptor “TilelnfoDataltem” allows describing a tiling grid (regular or irregular). The grid is described rows by rows starting from top-left.
The descriptor shall be stored as an item of type ‘tile’. When another item refers to this item, it shall use a reference of type “tile” to this description and it shall have a parameter “iref_parameter” specified, whose value is the 0-based index of the cell in the grid defined by the descriptor, where 0 is the top-left item, 1 is the cell immediately to the right of cell 0 and so on.
In the descriptor:
- “version” indicates the version of the syntax for the TilelnfoDataltem. Only value 0 is defined.
- “regular_spacing” indicates if all tiles in the grid have the same width and the same height.
- “reference_width, reference_height” indicates the units in which the grid is described. These units may or may not match the pixel resolution of the image which refers to this item. If the grid is regular, the “reference_width” (resp. “reference_height”) shall be a multiple of “nb_cell_horiz” (resp. “nb_cell_vert”).
- “cell_width” gives the horizontal division of the grid in non-regular tiles, starting from the left.
- “cell_height” gives the vertical division of the grid in non-regular tiles, starting from the top.
The above approach makes it possible to share the tiling information for all tiles.
Moreover, in case there are multiple pictures sharing the same tiling, even more description may be shared by simply referencing a cell in the grid of tiles.
The tiling configuration can be put in the media data box or in a dedicated box shared (by reference) among the tile information items.
The above descriptors are pure spatial descriptors in the sense that they only provide spatial locations and sizes for sub-image(s) in a greater image. In some use cases, for example with image collections or image composition, a spatial location is not enough to describe the image, typically when images overlap. This is one limitation of the TiieinfoDataBiock descriptor above. In order to allow image composition, whatever the image i.e. a tile or an independent/complete image, it may be useful to define a descriptorthat contains on the one hand the positions and sizes of the image (spatial relations) and on the other hand display information (color, cropping...) for that picture. For example, color information can be provided to transform a sub-image from a color space to another one for display. This kind of information can be conveyed in the ColorlnformationBox ‘coir’ of the ISOBMFF. It can be useful, for compacity, to have the same data prepared for different kinds of display just by providing the transformation parameters to apply rather than conveying the two different sotransformed pictures. As well, the pixel aspect ratio like Pixel AspectRatio box ‘pasp’ defined in the ISOBMFF Part-12 can be put in this descriptor to redefine a width and height that can be different than the encoded width and height of each picture. This would indicate the scale ratio to apply by the display after the decoding of an image. We would then have the coded sizes stored in the video sample entries (‘stsd’ box for example) and the display sizes deduced from the ‘pasp’ box. Another possible information for display could be the clean aperture information box ‘clap’ also defined in ISOBMFF. According to standard SMPTE 274M, the clean aperture defines an area within which picture information is subjectively uncontaminated by all edge transient distortions (possible ringing effects at the borders of images after analog to digital conversions). This list of parameters useful for display is not limitative and we could put as optional components in the sub-image descriptor any other descriptive metadata box. These ones can be explicitly mentioned because they are already part of the standard and they provide generic tools to indicate image cropping, sample aspect ratio modification and color adjustments. Unfortunately their use was only possible for media tracks, not for image file format relying on ‘meta’ boxes. We then suggest a new descriptor called for example “SimplelmageMetaData” to support spatial description of image items, along with other properties such as clean aperture or sample aspect ratio. This applies to any sub-image (tile or independent image) intended to be composed in a bigger image or at the reverse extracted from a bigger image:
aligned(8) class SimplelmageMetaData {
CleanApertureBox clap; // optional
PixelAspectRatioBox pasp; // optional
ColourlnformationBox colour; // optional
ImageSpatialRelationBox location; // optional }
Or its variation when considering extension parameters to help the display process (through for example extra_boxes): aligned(8) class SimplelmageMetaData {
CleanApertureBox clap; // optional
PixelAspectRatioBox pasp; // optional
ColourlnformationBox colour; // optional
ImageSpatialRelationBox location; // optional extra boxes boxes; // optional }
Where the ImageSpatialRelationBox is an extension of the TiieinfoDataBiock as described in the following. Another useful parameter to consider is the possibility to compose images as layers. We then suggest inserting a parameter to indicate the level associated to an image in this layered composition. This is typically useful when images overlap. This can be called ‘layer’ for example with layer information indication. An example syntax for such descriptor is provided:
Definition:
Box Type: 'isre'
Container: Simple image meta-data item ('simd')
Mandatory: No
Quantity: Zero or one per item
Syntax:
aligned(8) class ImageSpatialRelationBox extends FullBox('isre, version = 0, 0) { unsigned int(32) horizontal display offset;
unsigned int(32) vertical display offset;
unsigned int(32) display width;
unsigned int(32) display height;
int(16) layer;
} with the associated semantics:
horizontal_display_of f set specifies the horizontal offset of the image.
vertical_display_offset specifies the vertical offset of the image.
display width specifies the width of the image.
display_height specifies the height of the image.
layer specifies the front-to-back ordering of the image; images with lower numbers are closer to the viewer. 0 is the normal value, and -1 would be in front of layer 0, and so on.
This new ‘isre’ box type gives the ability to describe the relative position of an image with other images in an image collection. It provides a subset of the functionalities of the transformation matrix usually found in the movie or track header box of a media file. Coordinates in the ImageSpatialRelationBox are expressed on a square grid giving the author’s intended display size of the collection; these units may or may not match the coded size of the image. The intended display size is defined by:
- Horizontally: the maximum value of (horizontal_display_offset + display_width) for all ‘isre’ boxes
- Vertically: the maximum value of (vertical_display_offset + display_height) for all ‘isre’ boxes
When some images do not have any ‘isre’ associated while other images in the file have ‘isre’ associated, the default images without any ‘isre’ shall be treated as if their horizontal and vertical offsets are 0, their display size is the intended display size and their layer is 0.
The ImageSpatialRelationBox indicates the relative spatial position of images after any cropping or sample aspect ratio has been applied to the images. This means, when ‘isre’ is combined with ‘pasp’, etc in a SimplelmageMetaData, the image is decoded, the ‘pasp’, ‘clap’, ‘coir’ are applied if present and then the image is moved and scaled to the offset and size declared in the ‘isre’ box.
This new descriptor can be used as description of an image (tile or single image) by defining an association between the item information representing the image and the item information representing the descriptor (let’s give the type ‘simd’ for SimplelmageMetadata Definition, any reserved 4 character code would be acceptable for a mp4 parser to easily identify the kind of metadata it is currently processing). This association is done with an ItemRefererenceBox and with a new reference type; ‘simr’ to indicate “spatial image relation”. The example description below illustrates the case of a composition of 4 images where the composition itself has no associated item. Each image item is associated to a SimplelmageMetaData item through an item reference of type ‘simr’ and shares the DecoderConfigurationRecord information in a dedicated ‘hvcC’ item.
ftyp box: major-brand = 'hevc', compatible-brands = 'hevc' meta box: (container) handler box: hdlr = 'hvcl' // no primary item provided
Item Information Entries:
item type = 'hvcl', itemID=l, item protection index =0 item type = 'hvcl', itemID=2, item protection index =0 item type = 'hvcl', itemID=3, item protection index =0 item type = 'hvcl', itemID=4, item protection index =0 item type='simd' itemID=5 (sub-image descriptor) item type='simd' itemID=6 (sub-image descriptor) item type='simd' itemID=7 (sub-image descriptor) item type='simd' itemID=8 (sub-image descriptor) item type = 'hvcC', item ID=9, item protection index = 0...
Item Reference:
type=' simr' fromID=l, toID=5
type=' simr' fromID=2, toID=6
type=' simr' fromID=3, toID=7
type=' simr' fromID=4, toID=8
type=' init' , fromID=l, toID=9;
type=' init' , fromID=3, toID=9;
type=' init' , fromID=4, toID=9;
type=' init' , fromID=5, toID=9;
Item Location:
itemID = 1, extent count itemID = 2, extent count itemID = 3, extent count itemID = 4, extent count itemID = 5, extent count itemID = 6, extent count itemID = 7, extent count = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset =
Pl, extent length =Li;
P2, extent length =L2;
P3, extent length =L3;
P4, extent length =L4;
P5, extent length =L5;
P6, extent length =L6;
P7, extent length =L7;
itemID = 8, extent count = 1, extent offset = P8, extent length = L8; itemID = 9, extent count = 1, extent offset = P0, extent length = LO;
Media data box:
HEVC Decoder Configuration Record ('hvcC' at offset P0)
HEVC Images (at file offsets Pl, P2, P3, P4) simple image metadata (at file offsets P5, P6, P7, P8)
The above organization of data is provided as an example: image and metadata could be interlaced in the media data box for example to have an image plus its metadata addressable as a single byte range. When receiving this description, a parser is informed, by parsing the informations in the ‘simd’ items whether a sub-image is cropped from a full picture, or conversely if a full picture is a composition from sub-images. In case of crop, the full picture item and the cropped image would share the same data range as in example below and the same decoder configuration information. The sub-image would then then be associated to a ‘simd’ item having only ‘clap’ information and no positioning, then no ‘isre’.
In case of composition: in such case, the full picture item is associated to a ‘simd’ item that only contains ‘isre’ information and the sub-image would be associated to a ‘simd’ item reflecting its position in the full image.
The example below illustrates the case where 4 images are composed into a larger one. All images, including the composed one are exposed as a playable item using the proposed descriptor.
ftyp box: major-brand = 'hevc', compatible-brands = 'hevc' meta box: (container) handler box: hdlr = 'hvcl' primary item: itemID = 1;
Item Information Entries:
item type = 'hvcl', itemID=l, item protection : Index = 0... // full-image
item type = 'hvcl', itemID=2 , item protection : Index = 0... // sub-image
item type = 'hvcl', itemID=3, item protection : Index = 0... // sub-image
item type = 'hvcl', itemID=4 , item protection : Index = 0... // sub-image
item type = 'hvcl', itemID=5, item protection : Index = 0... // sub-image
item type = 'simd' itemID=6 item type = 'simd' itemID=7 item type = 'simd' itemID=8 item type = 'simd' itemID=9 item type = 'hvcC' , item ID: item type = 'simd' , item ID: (sub-image descriptor)...
(sub-image descriptor)...
(sub-image descriptor)... (sub-image descriptor)...
(decoder config record) (sub-image descriptor)
Item Reference Entries:
type= 'simr' r fromID=l, toID=ll
type= 'simr' r fromID=2, toID=6
type= 'simr' r fromID=3, toID=7
type= 'simr' r fromID=4, toID=8
type= 'simr' r fromID=5, toID=9
type= 'init' r fromID=l, toID=10
type= 'init' r fromID=2, toID=10
type= 'init' r fromID=3, toID=10
type= 'init' r fromID=4, toID=10
type= 'init' r fromID=5, toID=10
Item Location:
itemID = 1, extent count extent offset = P2, extent offset = P3, extent offset = P4, extent offset = P5, itemID = 2, extent count itemID = 3, extent count itemID = 4, extent count itemID = 5, extent count itemID = 6, extent count itemID = 7, extent count itemID = Θ, extent count itemID = 9, extent count itemID = 10, extent count itemID = 11, extent count L10;
= 4,// full image is extent length = L2; extent length = L3; extent length = L4; extent length = L5;
= 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset = = 1, extent offset : = 1, extent offset : composed of 4 sub-images
P2, extent length =L2;
P3, extent length =L3;
P4, extent length =L4;
P5, extent length =L5;
P6, extent length =L6;
P7, extent length =L7;
ΡΘ, extent length =L8 ;
P9, extent length =L9;
P0, extent length = L0;
P10, extent length =
Media data box:
HEVC Decoder Configuration Record ('hvcC' at offset P0)
HEVC (sub) Images (at file offsets P2, P3, P4, P5) simple image metadata (at file offsets P6, P7, P8, P9, PIO)
This other example illustrates the case where the full picture is actually a tiled HEVC picture (4 tiles):
ftyp box: major-brand = 'hevc', compatible-brands = 'hevc' meta box: (container) handler box: hdlr = 'hvcl' primary item: itemID = 1;
Item Information Entries:
item type = 'hvcl', itemID=l, item protection index = 0... // full-image item type = 'hvtl', itemID=2, item protection index = 0... // sub-image item type = 'hvtl', itemID=3, item protection index = 0... // sub-image item type = 'hvtl', itemID=4, item protection index = 0... // sub-image item type = 'hvtl', itemID=5, item protection index = 0... // sub-image item type = 'simd' itemID=6 (sub-image descriptor)...
item type = 'simd' itemID=7 (sub-image descriptor)...
item type = 'simd' itemID=8 (sub-image descriptor)...
item type = 'simd' itemID=9 (sub-image descriptor)...
item type = 'hvcC', item ID=10 (decoder config record)
Item Reference Entries:
type= 'init', fromID=l, toID=10...
// declare sub-images as tiles of the full image type= 'tbas', fromID=2, toID=l...
type= 'tbas', fromID=3, toID=l...
type= 'tbas', fromID=4, toID=l...
type= 'tbas', fromID=5, toID=l...
// providing positions and sizes type= 'simr', fromID=2, toID=6 type= 'simr', fromID=3, toID=7 type= 'simr', fromID=4, toID=8 type= 'simr', fromID=5, toID=9
Item Location:
itemID
1, extent count
4,// full image is composed of 4 extent offset
P2 extent length
L2... // data extent offset
P3 extent length
L3... / / data extent offset
P4 extent length
L4... // data extent offset
P5 extent length
L5... / / data itemID = 2, extent count = 1, extent offset = P2, extent length = L2;
itemID = 3, extent count = 1, extent offset = P3, extent length = L3;
itemID = 4, extent count = 1, extent offset = P4, extent length = L4;
itemID = 5, extent count = 1, extent offset = P5, extent length = L5;
itemID = 6, extent count = 1, extent offset = P6, extent length = L6;
itemID = 7, extent count = 1, extent offset = P7, extent length = L7;
itemID = θ, extent count = 1, extent offset = P8, extent length = L8;
itemID = 9, extent_ count = 1, extent_ offset = P9, extent- length = L9;
itemID = 10, extent count = 1, extent offset = P0, extent length = = L0;
Media data box:
HEVC Decoder Configuration Record ('hvcC' at offset P0)
HEVC Image (with 4 tiles at file offsets P2, P3, P4, P5) simple image metadata (at file offsets P6, P7, P8, P9)
Depending on use cases, it would be possible to have several image items sharing the same metadata, for example when the same cropping is to be applied to all images. It is also possible for an image item to have multiple ‘simr’ references to different SimplelmageMetaData, for example when cropping is shared among images but not spatial information.
An alternative embodiment to the new version of the ItemlnfoEntry (as illustrated in Figure 6) is to define more than one parameter (605) per information item entry and reference. In the embodiment of Figure 6, the iref_parameter is a four bytes code that is useful in case of a tile index to refer to a cell in a tiling grid. But in order to have richer description and to be able to embed linked description inside the item info entry itself rather than with the data (in mdat box), the following extension can be useful:
if (version == 4) { unsigned int(32) item iref parameter count;
for (i=0 ; i< item iref parameter count ; i++) { unsigned int(32) iref type;
ItemReferenceParameterEntry parameter;
} aligned(8) abstract class ItemReferenceParameterEntry (unsigned int(32) format) extends Box(format){ // Example to reference a tile index aligned(8) abstract class TilelndexItemReferenceParameterEntry extends ItemReferenceParameterEntry('tile'){ unsigned int(32) tile index;
} // Example to inline the tile description aligned(8) abstract class TilelndexItemReferenceParameterEntry extends ItemReferenceParameterEntry('tile'){ unsigned int(32) tile index;
}
In the above extension:
item iref parameter count gives the number of reference types for which a parameter is given. This is unchanged compared to item 605 in Figure 6, iref type gives the reference type, as indicated in the ‘iref’ box, for which the parameter applies for this item. This is unchanged compared to item 605 in Figure 6.
parameter here differs from iref parameter (item 605 in Figure 6) because it provides an extension means via the new box ItemReferenceParameterEntry. By specializing this new box (as done above With TilelndexItemReferenceParameterEntry fOT tile index ΙΠ a tiling configuration), any kind of additional metadata can be associated with an information item entry provided that the encapsulation and the parsing modules are aware of the structure of this specialized box. This can be done by Standard types of ItemReferenceParameterEntry ΟΓ by providing by construction or in a negotiation step the structure of the parameter entry. The semantics of the parameter is given by the semantics of the item with type iref type.
In what follows, there are provided exemplary descriptive metadata for information items describing a picture with 4 tiles and the EXIF meta data of the full picture.
In the prior art, the tile pictures were listed as information items without any corresponding description provided as show herein below. Moreover, the setup information denoted ‘hvcC’ type was not described as an item. This makes it possible to factorize the common data related to HEVC parameter sets and SEI messages that apply to all tile pictures and to the full picture.
ftyp box: major-brand = 'hevc', compatible-brands = 'hevc' meta box: (container) handler box: hdlr = 'hvcl' primary item: itemID = 1;
Item information:
item type = 'hvcl', itemID=l, item protection : Lndex = 0 (unused) =:
Full pict.
item type = 'Exif', itemID=2, item protection : Lndex = 0 (unused)
item type = 'hvcC', itemID=3, item protection : Lndex = 0 (unused)
item type = 'hvct', itemID=4 , item protection : Lndex = 0 (unused) =:
Tile pict.
item type = 'hvct', itemID=5, item protection : Lndex = 0 (unused) =:
Tile pict.
item type = 'hvct', itemID=6, item protection : Lndex = 0 (unused) =:
Tile pict.
item type = 'hvct', itemID=7, item protection : Lndex = 0 (unused) =:
Tile pict.
Item Location:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = P, extent length = Q;
itemID = 3, extent count = 1, extent offset = R, extent length = S;
itemID = 4, extent count = 1, extent offset = X, extent length = ET1;
itemID = 5, extent count = 1, extent offset = X+ET1, extent length =
ET2;
itemID = 6, extent count = 1, extent offset = X+ET2, extent length =
ET3;
itemID = 7, extent count = 1, extent offset = X+ET3, extent length =
ET4;
Item Reference:
type='cdsc', fromID=2, toID=l;
type='init', fromID=l, toID=3;
type='tbas', fromID=4, toID=l;
type='tbas', fromID=5, toID=l;
type='tbas', fromID=6, toID=l;
type='tbas', fromID=7, toID=l;
Media data box:
HEVC Image (at file offset X, with length Y)
Exif data block (at file offset P, with length Q)
HEVC Config Record (at file offset R, with length S) // No Tile description
According to embodiments, using the extension with version 4 (see Figure 6, 602, 603) of ItemlnfoEntry box (601): tile picture information is listed with associated references to parts ofthe tiling configuration that is also described as an information item (ID=8).
ftyp box: major-brand = 'hevc', compatible-brands = 'hevc' meta box: (container) handler box: hdlr = 'hvcl' primary item: itemID = 1;
Item information:
item type = 'hvcl', itemID=l, item protection index = 0 (unused)
item type = 'Exif', itemID=2 , item protection index = 0 (unused)
item_ _type = 'hvcC', itemID=3, item_protection _index = 0 (unused)
item type = 'hvct', itemID=4, parameter for i reftype= =tile:
tile_ index=0
item type = 'hvct', itemID=5, parameter for i reftype= =tile:
tile_ index=l
item type = 'hvct', itemID=6, parameter for i reftype= =tile:
tile_ index=2
item type = 'hvct', itemID=7, parameter for i reftype= =tile:
tile_ index=3
item_ _type = 'tile', itemID=8, (tiling configuration)
Item Location:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = P, extent length = Q;
itemID = 3, extent count = 1, extent offset = R, extent length = S;
itemID = 4, extent count = 1, extent offset = X, extent length = ET1;
itemID = 5, extent count = 1, extent offset = X+ET1, extent length =
ET2;
itemID = 6, extent count = 1, extent offset = X+ET2, extent length
ET3;
itemID = 7, extent count = 1, extent offset = X+ET3, extent length
ET4;
itemID = θ, extent count = 1, extent offset = i, extent length = I;
Item Reference:
type='cdsc', fromID=2, toID=l;
type='init', fromID=l, toID=3;
type='tbas', fromID=4, toID=l;
type='tbas', fromID=5, toID=l;
type='tbas', fromID=6, toID=l;
type='tbas', fromID=7, toID=l;
type='tile', fromID=4, toID=8; //
type='tile', fromID=5, toID=8; // link each tile pict.
type='tile', fromID=6, toID=8; // to the tiling config item
type='tile', fromID=7, toID=8; //
Media data box:
HEVC Image (at file offset X, with length Y)
Exif data block (at file offset P, with length Q)
HEVC Config Record (at file offset R, with length S)
Tile description data block (at file offset i, with length I)
Figure 8 illustrates a context of implementation of embodiments of the invention. First different media are recorded: for example audio during step 800a, video during step 800b and one or more pictures during step 800c. Each medium is compressed during respective steps 801a, 801b and 801c. During these compression steps elementary streams 802a, 802b and 802c are generated. Next, at application level (user selection from graphical user interface; configuration of the multimedia generation system etc.), an encapsulation mode is selected in order to determine whether or not all these elementary streams should be merged or not. When the “merge” mode is activated (test 803, “yes”), data for audio, video and still images are encapsulated in the same file during step 806c as described hereinabove. If the “merge” mode is not activated (test 803, “no”), then two encapsulated files are generated during steps 806a and 806b consecutively or in parallel thereby respectively leading to the creation of one file for synchronized time media data during step 807a and an additional file with only the still images 907b. During step 806a, audio and video elementary streams are encapsulated according to the ISOBMFF standard and the still pictures are encapsulated during step 806b as described herein above in order to provide tile description and region of interest features. Finally, a media presentation 807 is obtained and can be provided to a DASH generator to prepare it for streaming (step 820a) or stored into a memory (step 820b) or rendered on a display unit (step 820c) or transmitted (step 820d) to a remote entity either entirely or after some parts (such as tiles), have been extracted by parsing the descriptive metadata.
According to previous descriptions of embodiments it is to be noted that descriptive meta-data such as for example SimplelmageMetadata (‘simd’) box (also called ISOBMFFMetaData in the last version of the Still Image File Format specification) are described as full-blown items. Additional descriptive or prescriptive meta-data are also defined by the Still Image File Format specification as described in document w14878, committee draft study of ISO/IEC 23008-12:2013 1st edition, “Information technology — MPEG systems technologies — Part 12: Image File Format”, MPEG 110 Strasbourg October 2014. Examples of descriptive or prescriptive meta-data are CleanApertureBox (‘clap’), ImageRotation (‘irot’), ExifDataBlock (‘exif’), or ImageOverlay (‘iovl’). More generally descriptive meta-data are meta-data that provides additional information or description for an item like an image or a sub-image (e.g. Exif metadata), and prescriptive meta-data are operations or transformation to be applied to an item (e.g. a rotation, a crop or a combination of several items forming the transformation operators).
However, it may seem quite annoying having to store such descriptive or prescriptive meta-data in the specification as full-blown items; these are just pseudo-items, requiring that descriptive or prescriptive meta-data be stored with encoded data in mdat box (110), and requiring to define entries in itemLocationBox (iloc) (109), itemlnfoBox (iinf) and itemProtectionBox (ipro).
Requiring those entries in iloc, iinf and ipro for this is quite an overhead. For instance, an entry in itemlnfoBox requires the use of a full box with a least a 12bytes header, in addition an item_protection_index (16 bits) plus an empty item_name (8 bit) must be defined for a total of 15 bytes of extra cost per entry in itemlnfoBox (iinf). An entry in itemLocationBox (iloc) also requires at least 9 bytes in better cases (base_offset_size= offset_size=length_size= 1, 1 extent). In practice, the itemLocationBox entry is used with base_offset_size= offset_size=length_size=2 or 4, meaning 12 or 18 bytes of extra cost. Furthermore, this metadata is usually small and enables efficient reading of the other items. Having them stored as dedicated items may complicate file parsing, especially partial fetching of a file (multiplication of HTTP requests for example).
In alternative embodiment, all descriptive and prescriptive meta-data can be defined as embedded items which can be stored in the meta box (100) as part of other boxes rather than in mdat box (110) and thus which can avoid the extra cost of defining itemlnfoBox and itemLocationBox entries.
In order to store descriptive and prescriptive meta-data in the meta box, a virtual item box called ‘VirtualltemBox’ is defined. According to this embodiment, all descriptive and prescriptive meta-data box are inherited from this virtual item class.
A virtual item has an itemJD and item_type assigned to it, along with a set of boxes. Virtual items are additional data typically used to describe metadata to be associated with other items. For example, the Virtual item allows associating an entry of the itemlnfoBox identifying an item (image or sub-image) and the operation or the transformation to be applied to this item. Typically, this association can be described by defining an entry of type 'simr' in the ItemReferenceBox from the itemJD of the image to the itemJD of the meta-data operation or transformation description box. Virtual items may only be referenced in item reference boxes and primary item boxes, and shall not be declared or referenced in any other box (e.g. itemLocationBox (iloc), itemlnfoBox (iinf), itemProtectionBox (ipro)). The ‘VirtualltemBox’ is defined as follows:
aligned(8) class VirtualltemBox(unsigned int(32) item type) extends FullBox('vite', version, 0) { if (version == 0) { unsigned int(16) item ID;
} else { unsigned int(32) item ID;
} unsigned int(32) item_type;
} with following semantics for its parameters:
item_iD : ID (or identifier) of this item, it is illegal to have entries in iinf, iloc or ipro with an itemJD value with the same item_type is a 32-bit value, typically 4 printable characters, that is a defined valid item type indicator, such as ‘mime’.
Optionally, in a variant, the ‘Virtual Item Box’ can also include an additional parameter called “deschptor_family”. The Descriptor family indicates whether the meta-data box is a descriptive or a prescriptive meta-data. In a variant, descriptor family indicates the type of meta-data box from a list of predefined values. For example: transfo_operator, composedjmage, descriptive_metadata...
By inheriting from this virtual item box, all descriptive and prescriptive meta-data boxes can be stored in meta box without the need to define associated entries in itemlnfoBox (iinf) and itemLocationBox (iloc) but they still keep the advantage of being addressable by item reference boxes.
According to this embodiment, ImageOverlay (iovl), SubSampleltemData (subs), Auxiliaryconfiguration (auxC), ExifDataBlock (exif), SimplelmageMetadata (simd) and derived image item are inheriting from the virtual item class.
Still according to this embodiment, a single, generic item type called 'dimg', with item references of type 'simr' to items of types 'simd' is introduced. This approach enables the reuse of properties when appropriate and reduces the number of items and item references. The ImageRotationBox is added into the SimplelmageMetadata (simd). The ‘simr’ reference type defines a link from an image item toward a ‘simd’ item, so as to provide direct access to image descriptive metadata.
In addition, ImageOverlay (iovl) meta-data box is redesigned as follows so that it is no more dependent on reference order.
aligned(8) class ImageOverlay { unsigned int(8) version = 0;
unsigned int(8) flags;
for (j=0; j<3; j++) { unsigned int(16) canvas fill value;
}
FieldLength = ( (flags &!)+!)* 16;
unsigned int(FieldLength) output width; unsigned int(FieldLength) output height;
for (i=0; Preference count; i++) { unsigned int(16) item_id;
signed int(FieldLength) horizontal offset;
signed int(FieldLength) vertical offset;
} }
An explicit item_id is added for each entry in the loop to explicitly identifiy the item that is composed.
In alternative embodiment, all boxes included into SimplelmageMetadata (simd) are defined as independent meta-data boxes that inherited from the Virtual Item box.
In alternative embodiment, simple image rotation can be declared by integrating the rotation operation directly in the image metadata descriptor SimplelmageMetadata (‘simd’) box (also called ISOBMFFMetaData in the last version of the Still Image File Format specification) as follows:
aligned(8) class ISOBMFFMetaData {
CleanApertureBox clap; // optional
PixelAspectRatioBox pasp; // optional
ColourlnformationBox colour; // optional
ImageSpatialRelationBox location; // optional
ImageRotationBox rotation; // optional
Box extra boxes[]; // optional }
aligned(8) class ImageRotationBox extends FullBox('irot', version = 0, flags = 0) { // 12 extrabytes unsigned int (6) reserved = 0;
unsigned int (2) angle;
}
Although the rotation box is slightly bigger than the ‘irot’ items (12 bytes), the benefit of using this approach is clear when combining transformations, such as rotation and CleanApperture, since only one ‘simd’ is needed, rather than a cascade of derived items.
In such a case, the generic derived item, ‘dimg’ (described above), can be used to reference both the image item and the metadata description. Such an item could then be listed as a primary item in PrimaryltemBox (‘pitm’).
Another benefit of this approach is that an author can clearly indicate that it only wants the rotated item to be displayed.
The following paragraphs propose an alternative to the embodiment described above. This alternative is advantageously simple concerning how the transformations (or “effects”) can be applied to images in the ISO Still Image file format. In particular, the following issues are settled with this alternative embodiment:
- the high number of item references;
- the growing number of items when cascading effects; and
- the impossibility to mutualize the effects for a given set of items, meaning set of images or portions of images like Region Of Interest.
Existing solutions proposed to mutualize the effects as different extents (meaning byte offsets in the data part) of the item. More in detail extent means that a derived image would be described as a list of extents in the itemLocationBox (“Hoc”), each extent identifying a fragment of the data part (‘mdat’), each fragment corresponding to one or more descriptive or prescriptive or transformation metadata.
But several drawbacks are inherent to this solution:
- the authoring of an encapsulated image file gets quite complicated: touching one effect in one derived image item implies inspecting all derived images to check if they share the same extent, and potentially rewrite part of it;
- the parsing is not very simple either as the image file reader will need to figure out whether a chain of transformations/effects is the same on different items in said file (no direct signaling);
- for each transformation/effect a new extent will be needed in the itemLocationBox (“Hoc”) whenever the new transformation/effect is not continuously stored with the transformation/effect in the chain of transformations/effects to apply. Moreover, combination or cascading of effects may be costly when not stored on contiguous extents in the data part.
Moreover, these solutions required implementation storage which implies the creation of a box for storing effect, in order to understand its type (until now, the type of the effect was given by the item_type). By defining a new box format for the effect, a simpler solution is to define effects separately from items and have a direct mapping between items and effects without any additional cost.
The alternative embodiment proposes a simplification of the effect handling by having a clean separation in the file formats:
- regular items (images or portions of images) (eg: hvcl, ...) linked with their descriptive metadata (as proposed above: either through ‘init’ or ‘simr’ reference type or any reference type describing descriptive metadata);
- “derived images”, which are a collection of effects (or transformations) applied to one or more source items (image or portion of image) identified through a ‘dimg’ item reference from the “derived image” item to the source item; and
- a structure representing the transformations/effects, including a collection of several different effects.
The advantages of this alternative embodiment are:
- the reusability of effects: declared once and potentially referenced multiple times
- more compact descriptions by defining collection of effects (more on that below);
- overall readability including that no new extents of the itemLocationBox are needed; and
- keeping the number of item references small.
According to this alternative embodiment, a new single derived item is defined with item type ‘dimg’. This single derived item is concretely represented by:
aligned(8) class Derivedlmage { bit (2) index mode;
bit (6) reserved;
if (index mode==0) nb bits effect = 8;
else if (index mode==l) nb bits effect = 16;
else if (index mode==2) nb bits effect = 32;
unsigned int(nb bits effect) nb effects;
for (i=0; i<nb effects; i++) { unsigned int(nb bits effect) effect id;
} }
Where nb_ef fects represents the number of effects to be applied to a source image in order to compose the derived image and effect_id is a unique identifier in the encapsulated file of the effect to apply. Effects are applied in the reverse order of their appearance in the list of effects.
The derived image or transformed item named “Derivedlmage” defines an image as a set of effects to be applied to a source image before presenting it to a user or a display screen for example. The source image is identified by an item reference of type ‘dimg’ (or any reserved reference type) from the derived item to the source image. The source image may itself be any image item (images or portions of images, image overlay, derived image) defined in the ISO Still Image File Format specification. There shall not be more than one ‘dimg’ item reference from the same item (but there can be multiple on the same item, if this item is reused several times for various compositions).
The derived image is stored in the data part of the file.
When editing the encapsulated file, for example removing an effect from an image file, all references to this effect should be removed from derived images.
The effects can be applied to images, portion of images, composed image or derived image through Derivedlmage items. Each effect is described by a box deriving from a BaseEf fectBox structure illustrated below.
class BaseEffetBox(effect type) extends
FullBox(effect type, version, flags) { if (version==0) nb bits effect = 8;
else if (version ==1) nb bits effect = 16;
else if (version ==2) nb bits effect = 32;
unsigned int(nb bits effect) effect id;
}
With the following semantics:
ef f ect_type is the box type of effects deriving from this class, a unique four character code identifying the kind of box;
effect_id is a unique identifier for a given effect or transformation. This identifier shall be unique within the ‘meta’ box.
nb_bits_effect is derived from the version value and indicates the number of bits used for representing the ef f ect_id.
Effects may be declared in an optional EffectDeclarationBox, contained in the ‘meta’ box:
Box Type: ’effd’
Container: meta
Mandatory: No
Quantity: Zero or One
class EffectDeclarationBox extends Box('effd'){ //one or more effect boxes }
For example, the following effects may be defined (no restrictive list):
- the Rotation Effect: the rotation effect transforms the source image in anti-clockwise direction in units of 90 degrees.
Box Type: 'erot'
Container: effd
Mandatory: No
Quantity: Zero or More class RotationEffectBox extends BaseEffectBox ('erot') { unsigned int (6) reserved = 0;
unsigned int (2) angle;
}
The semantic is:
angle * 90: it specifies the angle (in anti-clockwise direction) in units of degrees
- the Clean Aperture Effect: the clean aperture effect modifies the visible part of the source image.
Box Type: 'ecla'
Container: ef fd
Mandatory: No
Quantity: Zero or More
class CleanApertureEffectBox extends
BaseEffectBox ('ecla') {
unsigned int ( nb_ bits_ effect) cleanApertureWidthN;
unsigned int ( nb_ bits_ effect) cleanApertureWidthD;
unsigned int ( nb_ bits_ effect) cleanApertureHeightN;
unsigned int ( nb_ bits_ effect) cleanApertureHeightD;
unsigned int ( nb_ bits_ effect) horizOffN;
unsigned int ( nb_ bits_ effect) horizOffD;
unsigned int (nb _bits _effeet) vertOffN;
unsigned int (nb _bits _effeet) vertOffD;
The semantics are:
nb_bits_effect is derived from parent class BaseEffectBox and indicates the number of bits used for representing the different fields of the
CleanApertureEffectBox;
hSpacing, vSpacing: define the relative width and height of a pixel; cleanApertureWidthN, cleanApertureWidthD: a fractional number which defines the exact clean aperture width, in counted pixels, of the image;
cleanApertureHeightN, cleanApertureHeightD: a fractional number which defines the exact clean aperture height, in counted pixels, of the image;
horizOffN, horizOffD: a fractional number which defines the horizontal offset of clean aperture centre minus (width-1 )/2 (typically 0);
vertoffN, vertoffD: a fractional number which defines the vertical offset of clean aperture centre minus (height-1 )/2 (typically 0).
The Effect Collection: the Effect Collection box allows defining a set of several effects as a single effect, in order to reuse it for several images and thus reducing description cost in terms of bytes.
Box Type: 'ecol'
Container: effd
Mandatory: No
Quantity: Zero or More.
class EffectCollectionBox extends BaseEffectBox ('ecol' ) {
unsigned int(nb bits effect) nb effects;
for (i=0; i<nb effects; i++) { unsigned int(nb bits effect) apply effect id;
} }
The semantic is:
nb_bits_effect is derived from parent class BaseEffectBox and indicates the number of bits used for representing the different fields of the EffectCollectionBox.
apply_effect_id: indicates the ID of an effect to apply to the source image.
Effects in an Effect Collection are applied in the same order as effects in the Derivedimaged item; e.g. each effect shall be applied to the input in the reverse order of their appearance in the list of effects.
The OverlayEffectBox declares a composition of images as an overlay. For this specific effect, the resulting derived image has no reference to any source image since this effect declares the list of source images that are part of the composition.
class OverlayEffectBox extends BaseEffectBox ('eovl') { bit(l) fill required;
bit(7) reserved;
if (fill required) { for (j=0; j<3; j++) { unsigned int(nb bits effects) canvas fill value;
} }
unsigned int(nb bits effects) output width;
unsigned int(nb bits effects) output height;
unsigned int(nb bits effects) nb images;
for (i=0; i<nb images; i++) { unsigned int (nb bits effects) image item ID; signed int(nb bits effects) horizontal offset; signed int(nb bits effects) vertical offset;
} }
with the following semantics :
nb_bits_effects is derived from parent class BaseEffectBox and indicates the number of bits used for representing the different fields of the OverlayEf fectBox;
f ill_required indicates whether there are holes in the resulting composed image to fill with a background value;
canvas_f ill_value: indicates the pixel value per channels used if no pixel of any input image is located at a particular pixel location. If the input images contain fewer than three channels, the semantics of canvas_f ill_value corresponding to the channels that are not present in the input images is unspecified;
nb_images indicates the number of images to compose, each idenitifed by their item_lD as indicated by image_item_lD parameter.
output_width, output_height: Specify the width and height, respectively, of the output image on which the input images are placed. The picture area of the output image is referred to as the canvas.
horizontal_of fset, vertical_of fset: Specifies the offset, from the topleft corner of the canvas, to which the input image is located. Pixel locations with a negative offset value are not included in the output image. Horizontal pixel locations greater than or equal to output_width are not included in the output image. Vertical pixel locations greater than or equal to output_height are not included in the output image.
According to another aspect of the invention, the storage of all descriptive and prescriptive meta-data can be further optimized compared to above embodiments depending on if the descriptive or/and prescriptive meta-data are specific to a particular image item or shared between several image items. Such sharing is made possible without using sharing of byte ranges or without defining an extensive list of item references as required by above embodiments. According to this alternative embodiment, all descriptive and prescriptive metadata are still only stored inside the box hierarchy in the ‘meta’ box (100) allowing ISOBMFF readers to parse all system information without having to fetch an 'idat' or 'mdat' box. The number of image items (in ‘iinf’ box) and item references (in iref box) are thus limited to only address media data or to represent relationship between several image items. Such design makes the parsing of the file simpler and eases the high-level understanding of the file format.
A key aspect of this embodiment is that all system-level item information is boxed in dedicated boxes (using ISOBMFF fullbox), accessible to a parser without fetching any ‘mdat’ or ‘idat’ box and included in or referred by the item information entry directly.
This embodiment introduces following changes:
- a new dedicated box called SharedltemPropertiesBox ('sitp') is defined to contain box-structured descriptive and prescriptive meta-data that is shared among items.
- a modification of the Item Info Entry (‘infe’) to associate boxstructured descriptive and prescriptive meta-data with an item. That meta-data may be directly stored in the 'infe' box if the meta-data is only related to this item or stored in the 'sitp' box and referenced from the 'infe' box if the meta-data is shared among several items.
- a new box (SampleDescriptionEntryReference 'sder' representing an initialization parameter) to allow sharing of the same initialization data between an image item and a sample in a track.
The new box called SharedltemPropertiesBox ('sitp') is defined as follows:
Box Type: 'sitp'
Container: MetaBox ('meta')
Mandatory: No
Quantity: Zero or One
The SharedltemProperties box (the dedicated shared box) contains a list of boxes defining descriptive (display parameters) and prescriptive (transformation operators) meta-data (also called properties) that may be applicable to several items declared in the parent 'meta' box. These boxes are referenced by a 0-based index from an ItemlnfoEntry box. This box has the following syntax:
aligned(8) class SharedltemPropertiesBox extends
Box ('sitp') { // one or more boxes }
Regarding modification of the Item Info Entry, a new version (4) is defined with following semantics: The ItemlnfoEntry box provides the possibility to include or to reference additional boxes in the item info entry that provide properties for this item. There shall be at most one property of a given type in the union of the included and referenced properties. Properties may be orderdependent in which case the order given in the ItemlnfoEntry box shall be used,
i.e. the first included property is applied first, followed in order by all other included properties, followed then by all referenced properties.
The additional syntax is specified as follows:
if (version == 4) { unsigned int(16) included prop count;
Box item_properties[included_prop_count];
unsigned int(16) indexed prop count;
unsigned int(16) box prop idx[indexed prop count];
}
The associated semantics are:
inciuded_prop_count: number of properties (descriptive or prescriptive meta-data) included into the array item_properties.
item_properties: array of boxes or table of boxes providing additional information for this item (properties of the item information). The allowed boxes are the same as in the Shared Item Properties Box.
indexed_prop_count: number of references to properties in the SharedltemProperties box.
box_prop_idx: 0-based indices to the list of boxes stored in the SharedltemProperties box of the ‘meta’ box.
According to this embodiment all descriptive and prescriptive metadata are ISOBMFF full-boxes to be stored into SharedltemProperties box or into item_properties array within an ItemlnfoEntry box.
For instance, the prescriptive meta-data for image rotation is defined as follows:
Box Type : 'irot'
Container : SharedltemProperties
Mandatory: No
Quantity: Zero or more .
The Image Rotation Box provides a rotation angle in anti-clockwise direction in units of 90 degrees. There shall be only one such box assigned as property of an image item. The syntax of this box is defined as follows:
aligned (8) class ImageRotationBox extends
FullBox('irot', version, flags) { unsigned int (6) reserved = 0;
unsigned int (2) angle;
}
With the following attribute semantics:
version shall be equal to 0.
flags shall be equal to 0.
angle * 90 specifies the angle (in anti-clockwise direction) in units of degrees
The prescriptive meta-data for image overlay is defined as follows:
Box Type :
Container :
SharedItemProperties
Mandatory:
No
Quantity:
The image overlay box locates one or more input images in a given layering order within a larger canvas. The input images are listed in the order they are layered, i.e., the bottom-most input image first and the top-most input image last, in the SingleltemTypeReferenceBox of type 'dimg' for the derived image item that includes or references this box as property. There shall be only one such box assigned as property of an image item.
The syntax of this box is defined as follows:
aligned(8) class ImageOverlay extends FullBox('iovl' , version, flags){ for (j=0; j<4; j++) { unsigned int(16) canvas fill value;
}
FieldLength = ((flags & 1) + 1) * 16; unsigned int(FieldLength) output width; unsigned int(FieldLength) output height;
for (i=0; Preference count; i++) { signed int(FieldLength) horizontal offset; signed int(FieldLength) vertical offset;
}
With the following attribute semantics:
version shall be equal to 0.
(flags & 1) equal to 0 specifies that the length of the fields output_width, output_height, horizontal_offset, and vertical_of fset is 16 bits, (flags & 1) equal to 1 specifies that the length of the fields output_width, output_height, horizontal_offset, and vertical_of f set is 32 bits. The values of flags greater than 1 are reserved.
canvas_f ill_value: indicates the pixel value per channels used if no pixel of any input image is located at a particular pixel location. The fill values are specified as RGBA (R, G, B, and A corresponding to loop counter j equal to 0, 1,2, and 3, respectively). The RGB values are in the sRGB color space as defined in IEC 61966-2-1. The A value is a linear opacity value ranging from 0 (fully transparent) to 65535 (fully opaque).
output_width, output_height: Specify the width and height, respectively, of the output image on which the input images are placed. The image area of the output image is referred to as the canvas.
ref erence_count is obtained from the SingleltemTypeReferenceBox of type 'dimg' where the item using this box is identified by the from_item_iD field.
horizontal_offset, vertical_offset: Specifies the offset, from the top-left corner of the canvas, to which the input image is located. Pixel locations with a negative offset value are not included in the output image. Horizontal pixel locations greater than or equal to output_width are not included in the output image. Vertical pixel locations greater than or equal to output_height are not included in the output image.
The prescriptive meta-data for image grid is defined as follows:
Box Type : 'grid'
Container : SharedItemProperties
Mandatory: No
Quantity: Zero or more.
The image grid box forms an output image from one or more input images in a given grid order within a larger canvas. There shall be only one such box assigned as property of an image item. The input images are inserted in row major order, top-row first, left to right, in the order of SingleltemTypeReferenceBox of type 'dimg' for the derived image item using this box within the ItemReferenceBox. There shall be rows*columns item references from this item to the input images. All input images shall have exactly the same width and height; call those tile_width and tile_height. The tiled input images shall completely “cover” the output image grid canvas, where tile_width*columns is greater than or equal to output_width and tile_height*rows is greater than or equal to output_height. The output image is formed by tiling the input images into a grid with a column width (potentially excluding the right-most column) equal to tile_width and a row height (potentially excluding the bottom-most row) equal to tile_height, without gap or overlap, and then trimming on the right and the bottom to the indicated output_width and output_height.
The syntax of this box is defined as follows:
aligned(8) class ImageGridBox extends FullBox('grid' , version, flags) {
FieldLength = ((flags & 1) + 1) * 16;
unsigned int(8) rows;
unsigned int(8) columns;
unsigned int(FieldLength) output width; unsigned int(FieldLength) output height;
}
With the following attribute semantics: version shall be equal to 0.
(flags & i) equal to 0 specifies that the length of the fields output width, output height, is 16 bits, (flags & i) equal to 1 specifies that the length of the fields output_width, output_height, is 32 bits. The values of flags greater than 1 are reserved.
output width, output height: Specify the width and height, respectively, of the output image on which the input images are placed. The image area of the output image is referred to as the canvas.
rows, columns: Specify the number of rows of input images, and the number of input images per row. Input images populate the top row first, followed by the second and following, in the order of item references.
Similarly all other prescriptive and descriptive meta-data, such as the auxiliary configuration box (‘auxC’), the image spatial extents box (‘ispe’), the pixel information box (‘pixi’), the relative location box (‘rloc’), the clean aperture box (‘clap’) (no restrictive list), are all inherited from ISOBMFF fullbox.
According to this embodiment, an item is a derived image, when it includes a 'dimg' item reference to one or more other image items, which are inputs to the derivation. A derived image is obtained by performing a specified operation, such as rotation, to specified input images. The operation performed to obtain the derived image is identified by the item_type of the item. The image items used as input to a derived image may be coded images or they may be other derived image items.
For instance, the clean aperture derived image item is identified by the item_type value 'clap'. It stores no data and shall not have an associated entry in the 'iloc' table. It shall include or reference an item property of type CleanApertureBox as defined in ISO/IEC 14496-12. It shall have an item reference of type 'dimg' to an image item. As another example, the image rotation derived image item is identified by the item_type value 'irot'. It has no data and shall not have an associated entry in the 'iloc' table. It shall include or reference an item property of type ImageRotationBox as defined above. It shall have an item reference of type 'dimg' to an image item.
Similarly, the image overlay derived image item is identified by the item_type 'iovl'. It has no data and shall not have an associated entry in the 'iloc' table. It shall include or reference an item property of type ImageOverlayBox as defined above. It shall have an item reference of type ’ dimg ’ to a set of image items. The image grid derived image item is identified by the item_type value ’ grid’. It has no data and shall not have an associated entry in the 'iloc' table. It shall include or reference an item property of type ImageGridBox as defined above. It shall have an item reference of type ’ dimg ’ to a set of image items.
Below are some examples that demonstrate the use of SharedltemProperties box and extended ItemlnfoEntry box to assign descriptive and prescriptive meta-data (or properties) to images.
In following example, two property boxes (‘hvcC’ and ‘ispe’) are assigned to an image item directly within the associated itemlnfoEntry in the array item_properties:
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC, 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y; MediaDataBox:
HEVC Image (at file offset X, with length Y)
In following example, in addition to previous example, an image rotation operator (‘irot’) is assigned to the image item in a similar manner:
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC, 'ispe', 'irot'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y; MediaDataBox:
HEVC Image (at file offset X, with length Y)
In following example, multiple images with different HEVC configurations share same dimensions described in a common image spatial extents box (‘ispe’) stored into the SharedltemProperty box (‘sitp’). Each image itemlnfoEntry box contains its own HEVC configuration box (‘hvcC’) and uses an index (item properties indice) to the SharedltemProperty box to reference the common image spatial extents box (‘ispe’):
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC, item properties indices: 0
2) item type = 'hvcl', itemID=2, item protection index = 0 (unused) item properties: 'hvcC, item properties indices: 0
3) item type — 'hvcl', itemID—3, item protection index = 0 (unused) item properties: 'hvcC, item properties indices: 0
4) item type = 'hvcl', itemID=4, item protection index = 0 (unused) item properties: 'hvcC, item properties indices: 0
SharedltemPropertiesBox:
0) 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X,
extent length = Y;
itemID = 2, extent count = 1, extent offset = PO
extent length = QO;
itemID = 3, extent count = 1, extent offset = Pl
extent length = Qi;
itemID = 4, extent count = 1, extent offset = P2
extent length = Q2;
MediaDataBox:
HEVC Image ( at file offset X, with length Y)
HEVC Image (at file offset Pl, with length Qi)
HEVC Image ( at file offset P2, with length Q2)
HEVC Image ( at file offset P3, with length Q3)
The entries of the table item properties indices form a set of identifiers. Another set of identifier is formed by the rank of the image description information (here ‘ispe’) in the dedicated shared box [Sharedl temPropertiesBox] here “0).
In another embodiment, the other identifier may be formed by another ID allocated to an image description information in the dedicated shared box. For instance, this another ID allocated to an image description information can be defined by inheriting from “Virtual Item Box” (described above) instead of ISOBMFF “fullbox”. This embodiment allows advantageously to re-order the image description information in the dedicated shared box without impacting the set identifier.
Both set of identifiers form a structure for linking the image item information [represented by an entry in ItemlnfoBox] to at least one image description information.
Following example describes a derived image composed of multiple images in a rotated grid. All images composing the grid share same HEVC configuration and same image dimensions via the ‘hvcC’ and ‘ispe’ boxes located into the Shared Item Property box and referenced via the box property index. The derived image representing the grid is described via an ItemlnfoEntry containing an image grid box. The rotation to apply is described with an image rotation box associated to the derived image. Input images to compose the derived image are referenced via an item reference entry in item reference box (‘iref’) box:
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 5;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties indices: 0, 1
2) item type = 'hvcl', itemID=2, item protection index = 0 (unused), item properties indices: 0, 1
3) item type = 'hvcl', itemID=3, item protection index = 0 (unused), item properties indices: 0, 1
4) item type = 'hvcl', itemID=4, item protection index = 0 (unused), item properties indices: 0, 1
5) item type = 'grid', itemID=5, item protection index = 0 (unused), item properties: 'grid', 'irot'
SharedltemPropertiesBox:
0) 'hvcC'
ItemLocationBox:
itemID = 1, extent count
1, extent offset extent length itemID = 2, extent count
1, extent offset = PO, itemID = 3, itemID = 4, extent length extent count extent length extent count extent length = QO;
1, extent offset = Ql;
1, extent offset = Q2;
= Pl, = P2,
ItemReferenceBox:
type—'dimg', fromID—5, toID-1,2,3,4;
MediaDataBox:
HEVC Image ( at file offset X, with length Y)
HEVC Image ( at file offset Pl, with length Ql)
HEVC Image ( at file offset P2, with length Q2)
HEVC Image ( at file offset P3, with length Q3)
Following example describes an HEVC tiled image. In this example all items (full-image (itemlD=1) and tiles (itemlD=2,3,4,5)) share the same HEVC configuration box and all tiles share the same image spatial extents box defining the tile size (Wt, Ht) via the SharedltemPropertiesBox. In addition all tile items contains its own relative location box (‘rloc’) providing the x,y-coordinates of each tile:
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties indices: 0 item properties: 'ispe' (W,H)
2) item type = 'hvtl', itemID=2, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'rloc'
3) item type = 'hvtl', itemID=3, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'rloc'
4) item type = 'hvtl', itemID=4, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'rloc'
5) item type = 'hvtl', itemID=5, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'rloc'
SharedltemPropertiesBox:
0) 'hvcC'
1) 'ispe' (Wt, Ht)
ItemLocationBox:
itemID = 1, extent count=l, extent offset=X, extent length-Q0+Ql+Q2+Q3;
itemID = 2, extent count=l, extent offset=X, extent length=Q0;
itemID = 3, extent count=l, extent offset=X+Q0, extent length=Ql;
itemID = 4, extent count=l, extent offset=X+Q0+Ql, extent length=Q2;
itemID = 5, extent_count=l, extent_offset=X+Q0+Ql+Q2, extent length=Q3;
ItemReferenceBox:
type='tbas', fromID=2, toID=l;
type='tbas', fromID=3, toID=l;
type='tbas', fromID=4, toID=l;
type='tbas', fromID=5, toID=l;
MediaDataBox:
HEVC Image (at file offset X, with length Q0+Q1+Q2+Q3)
In addition, some image formats require initialization data for decoding image item data. The initialization data is codec-specific and can be the same as or similar to the decoder configuration record specified for video tracks. In such a case, it is useful to share initialization data rather than repeat it in the file format. If such initialization data is needed, it is provided in the item information by a descriptive meta-data (property) of a specific type. Several image items may share the same such property. In order to allow sharing the same initialization data between an image item and some samples of a track, a new descriptive meta-data box called SampleDeschptionEntryReference ('sder') is defined as follows:
Box Type : 'sder'
Container: ShareditemProperties
Mandatory: No
Quantity: Zero or more.
The SampleDescriptionEntryReferenceBox allows indicating that an image item reuses the same initialization data as some samples of a track. It identifies the track and the sample description entry of those samples of that track. This box has the following syntax:
aligned(8) class SampleDescriptionEntryReferenceBox extends FullBox('sder', 0, flags) { unsigned int(32) track ID; unsigned int(32) sample_description_index;
}
With following semantics for its parameters:
track_iD: The identifier of the track from which the initialization is reused.
sample_description_index: 1 -based index of the sample entry in the associated track that describes the data in this item.
Following example demonstrates the sharing of HEVC configuration between a track and an image item via a SampleDeschptionEntryReference box (‘sder’) associated to the image itemlnfoEntry:
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic, mp41'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'sder' (track: 1, sample desc index: 1), 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
Movie Box: (container)
Movie header, tracks (including track 1 with at least 1 sample desc), etc. as required by MP4
MediaDataBox:
HEVC Image (at file offset X, with length Y)
Media data as needed by the movie (some may be shared with the image data)
When image item data represent HEVC tiles, then each HEVC tile item shall include or reference a property of type HEVCConfigurationBox with all parameter sets required for decoding the tiles present in the HEVC tile item. Several HEVC tile items may share the same HEVCConfigurationBox property. An HEVC tile item shall also include or reference a RelativeLocationBox property (‘rloc’) indicating the position of the HEVC tile item within the respective HEVC image item. Several HEVC tile items corresponding to tiles belonging to different HEVC images may share the same RelativeLocationBox. An ImageSpatialExtentsBox property (‘ispe’) shall be used for each HEVC tile item. The display_width and display_height of the ImageSpatialExtentsBox shall be set to the width and height of the HEVC tile item,
In a variant to above alternative embodiment, rather than grouping all shared descriptive and prescriptive meta-data into one single container SharedltemPropertiesBox, two different container boxes can be defined, one dedicated to descriptive meta-data and the other one dedicated to prescriptive meta-data. In such a case, the extended ItemlnfoEntry contains two different property index arrays (box_prop_idx and box_ope_idx), or a type of the metadata (descriptive or prescriptive) is associated to each entry of the property index array (box_prop_idx) to retrieve the associated container.
The entries of box_prop_idx and box_ope_idx form set of identifiers. Other set of identifiers are formed by the rank of the image description information in the two dedicated shared boxes.
In another embodiment, the other set of identifiers may be formed by other IDs allocated to an image description information in each dedicated shared boxes. This embodiment allows advantageously to re-order the image description information in the dedicated shared box without impacting the set of identifiers.
Both set of identifiers form a structure for linking the image item information [represented by an entry in ItemlnfoBox] to at least one image description information.
Further examples of this last aspect of the invention are described in the Annex.
In another aspect of the invention, all descriptive and prescriptive meta-data can still be grouped into one or two boxes similar to SharedltemPropertiesBox, but rather than modifying the itemlnfoEntry box, the item reference box can be used to associate image items with their descriptive and prescriptive metadata. In this alternative embodiment, two different container boxes are defined, one for descriptive properties (e.g. SharedltemProperties) and the other one for prescriptive properties (e.g. SharedltemOperators):
aligned(8) class SharedltemPropertiesBox extends
Box ('sitp') { // one or more boxes }
aligned(8) class SharedltemOperatorsBox extends
Box ('sito') { // one or more boxes }
Instead of modifying the ‘infe’ box, the itemReferenceBox ‘iref’ box is used to associate image and derived image items to their descriptive meta-data and prescriptive meta-data (also called operators).
Two new reference types are defined: for instance, ‘sipr’ for descriptive meta-data and ‘sior’ for prescriptive meta-data.
Depending on the relation type (‘sipr’ or ‘sior’), the ‘to_item_iD’ parameter in the item reference box is interpreted as being an index into respectively the SharedltemPropertiesBox or the SharedltemOperatorsBox. The reference types (here ‘sipr’ or ‘sior’) associated to the ‘to_item_iD’ form a structure for linking the image item information (represented by an entry in the ItemlnfoBox) to the image description information (descriptive meta-data and prescriptive meta-data).
For any other existing reference types, the attribute ‘to_item_iD’ is still interpreted as pointing to an itemID in the ItemlnfoBox.
Below is an example using ‘sipr’ and ‘sior’ relation types to describe multiple Images in a rotated grid:
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 5;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused)
2) item type = 'hvcl', itemID=2, item_protection_index = 0 (unused)
3) item type = 'hvcl', itemID=3, item protection index = 0 (unused)
4) item type = 'hvcl', itemID=4, item protection index = 0 (unused)
5) item type = 'grid', itemID=5, item protection index = 0 (unused)
SharedltemPropertiesBox:
0) 'hvcC'
1) 'ispe'
SharedltemOperators Box:
0) 'irot'
1) 'grid'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = PO, extent length = QO;
itemID = 3, extent count = 1, extent offset = Pl, extent length = QI;
itemID = 4, extent count = 1, extent offset = P2, extent length = Q2;
ItemReferenceBox:
type='sipr', fromID=l, toID=0,1;
type='sipr', fromID=2, toID=0,1;
type='sipr', fromID=3, toID=0,1;
type='sipr', fromID=4, toID=0,1;
type=1 dimg 1 , fromID=5, toID=l,2,3,4;
type='sior', fromID=5, toID=l,0;
MediaDataBox:
HEVC Image (at file offset X, with length Y)
HEVC Image (at file offset Pl, with length QI)
HEVC Image (at file offset P2, with length Q2)
HEVC Image (at file offset P3, with length Q3)
As a variant, each image description information in the shared boxes are associated to a proper ID. This embodiment allows advantageously to reorder the image description information in the dedicated shared box without impacting the identifier.
In a variant, each existing reference type is implicitly associated to either the ItemlnfoBox, the SharedltemProperties box or the
Shared Item Operators box. For instance, reference types of descriptive metadata, such as ‘ispe’, ‘rloc’, ‘clap’ or ‘hvcC’ are associated with
SharedltemProperties box, and reference types of prescriptive meta-data such as ‘irot’, ‘iovl’, ‘grid’ are associated with SharedltemOperators box.
Further examples are provided for reference:
Example 1: Single Image
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC', 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent_length = Y; MediaDataBox:
HEVC Image (at file offset X, with length Y)
Example 2: Single Image with rotation
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC', 'ispe', 'irot'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y; MediaDataBox:
HEVC Image (at file offset X, with length Y)
Example 3: Single Image with rotation and clean aperture
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC', 'ispe', 'clap', 'irot'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length
Y; MediaDataBox:
HEVC Image (at file offset X, with length Y)
Example 4: Multiple Images with the same dimensions but different HEVC configurations
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC' item properties indices: 0
2) item type = 'hvcl', itemID=2, item protection index = 0 (unused) item properties: 'hvcC' item properties indices: 0
3) item type = 'hvcl', itemID=3, item protection index = 0 (unused) item properties: 'hvcC' item properties indices: 0
4) item type = 'hvcl', itemID=4, item protection index = 0 (unused) item properties: 'hvcC' item properties indices: 0
SharedltemPropertiesBox:
0) 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = P0, extent length = Q0;
itemID = 3, extent count = 1, extent offset = Pl, extent length = Qi;
itemID = 4, extent count = 1, extent offset = P2, extent length = Q2; MediaDataBox:
HEVC Image (at file offset X, with length Ϊ)
HEVC Image (at file offset Pl, with length QI)
HEVC Image (at file offset P2, with length Q2)
HEVC Image (at file offset P3, with length Q3)
Example 5: Multiple Images with the same HEVC configuration and dimensions
FileTypeBox: major-brand = 'heic', compatible-brands
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties indices: 0, 1
2) item type = 'hvcl', itemID=2, item_protection_index = 0 (unused) item properties indices: 0, 1
3) item type = 'hvcl', itemID=3, item protection index = 0 (unused) item properties indices: 0, 1
4) item type = 'hvcl', itemID=4, item protection index = 0 (unused) item properties indices: 0, 1
SharedltemPropertiesBox :
0) 'hvcC' 'heic'
1) 'ispe'
ItemLocationBox:
1 temID = 1, extent count = 1, extent offset = X,
i temID = 2, extent length = Y; extent count = 1, extent offset = P0
i temID = 3, extent length = Q0; extent count = 1, extent offset = Pl
i temID = 4, extent length = QI; extent count = 1, extent offset = P2
HEVC Image (at extent length = Q2; MediaDataBox: file offset X, with length Y)
HEVC Image (at file offset Pl, with length QI)
HEVC Image (at file offset P2, with length Q2)
HEVC Image (at file offset P3, with length Q3)
Example 6: Multiple Images with the same HEVC configuration and dimensions but different rotations
FileTypeBox: major-brand = 'heic', compatible-brands = 'he
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'irot' item properties indices: 0, 1
2) item type = 'hvcl', itemID=2, item protection index = 0 (unused) item properties: 'irot' item properties indices: 0, 1
3) item type = 'hvcl', itemID=3, item protection index = 0 (unused) item properties: 'irot' item properties indices: 0, 1
4) item type = 'hvcl', itemID=4, item protection index = 0 (unused) item properties: 'irot' item properties indices: 0, 1
SharedltemPropertiesBox :
0) 'hvcC'
1) 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = P0, extent length = Q0;
itemID = 3, extent_count = 1, extent_offset = Pl, extent length = QI;
itemID = 4, extent count = 1, extent offset = P2, extent length = Q2; MediaDataBox:
HEVC Image (at file offset X, with length Y)
HEVC Image (at file offset Pl, with length QI
HEVC Image (at file offset P2, with length Q2
HEVC Image (at file offset P3, with length Q3
Example 7: Multiple Images in a grid
FileTypeBox: major-brand = 'heic', compatible-brands = 'he
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 5;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties indices: 0, 1
2) item type = 'hvcl', itemID=2, item protection index = 0 (unused) item properties indices: 0, 1
3) item type = 'hvcl', itemID=3, item protection index = 0 (unused) item properties indices: 0, 1
4) item type = 'hvcl', itemID=4, item protection index = 0 (unused) item properties indices: 0, 1
5) item type = 'grid', itemID=5, item protection index = 0 (unused) item properties: 'grid'
SharedltemPropertiesBox :
0) 'hvcC'
1) 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = P0, extent length = Q0;
itemID = 3, extent count = 1, extent offset = Pl, extent length = QI;
itemID = 4, extent count = 1, extent offset = P2, extent length = Q2;
ItemReferenceBox:
type='dimg', fromID=5, toID=l,2,3,4;
MediaDataBox:
HEVC Image (at file offset X, with length Ϊ)
HEVC Image (at file offset Pl, with length QI
HEVC Image (at file offset P2, with length Q2
HEVC Image (at file offset P3, with length Q3
Example 8: Multiple Images in a rotated grid
FileTypeBox: major-brand = 'heic', compatible-brands = 'he
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 5;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties indices: 0, 1
2) item type = 'hvcl', itemID=2, item protection index = 0 (unused) item properties indices: 0, 1
3) item type = 'hvcl', itemID=3, item protection index = 0 (unused) item properties indices: 0, 1
4) item type = 'hvcl', itemID=4, item protection index = 0 (unused) item properties indices: 0, 1
5) item type = 'grid', itemID=5, item protection index = 0 (unused) item properties: 'grid', 'irot'
SharedltemPropertiesBox :
0) 'hvcC'
1) 'ispe'
ItemLocationBox :
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = P0, extent length = Q0;
itemID = 3, extent count = 1, extent offset = Pl, extent length = QI;
itemID = 4, extent count = 1, extent offset = P2, extent length = Q2;
ItemReferenceBox:
type='dimg', fromID=5, toID=l,2,3,4;
MediaDataBox:
HEVC Image (at file offset X, with length f)
HEVC Image (at file offset Pl, with length QI
HEVC Image (at file offset P2, with length Q2
HEVC Image (at file offset P3, with length Q3
Example 9: Multiple Images with overlay
FileTypeBox: major-brand = 'heic', compatible-brands = 'h
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 3;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties indices: 0, 1
2) item type = 'hvcl', itemID=2, item protection index = 0 (unused) item properties indices: 0, 1
3) item type = 'iovl', itemID=3, item protection index = 0 (unused) item properties: 'iovl'
SharedltemPropertiesBox :
0) 'hvcC'
1) 'ispe'
ItemLocationBox :
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = P0, extent length = Q0;
ItemReferenceBox :
type='dimg', fromID=3, toID=l,2;
MediaDataBox:
HEVC Image (at file offset X, with length Y)
HEVC Image (at file offset Pl, with length QI)
Example 10: One image and its rotated version
FileTypeBox: major-brand = 'heic', compatible-brands
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 3;
ItemlnfoBox:
1) item_type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC', 'ispe'
2) item type = 'irot', itemID=2, item protection index = 0 (unused) item properties: 'irot'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent_length = Y;
ItemReferenceBox:
type='dimg', fromID=2, toID=l;
MediaDataBox:
HEVC Image (at file offset X, with length Y) ' he
Example 11: Tiled Images
FileTypeBox: major-brand = 'heic', compatible-brands = 'he
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties indices: 0 item properties: 'ispe' (W,H)
2) item type = 'hvtl', itemID=2, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'rloc'
3) item type = 'hvtl', itemID=3, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'rloc'
4) item type = 'hvtl', itemID=4, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'rloc'
5) item type = 'hvtl', itemID=5, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'rloc'
SharedltemPropertiesBox:
0) 'hvcC'
1) 'ispe' (Wt, Ht)
ItemLocationBox:
itemID = 1, extent count=l, extent offset=X, extent length=Q0+Ql+Q2+Q3;
itemID = 2, extent count=l, extent offset=X, extent length=Q0;
itemID = 3, extent count=l, extent offset=X+Q0, extent length=Ql;
itemID = 4, extent count=l, extent offset=X+Q0+Ql, extent length=Q2;
itemID = 4, extent count=l, extent offset=X+Q0+Ql+Q2, extent length=Q3;
ItemReferenceBox:
type='tbas', fromID=2, toID=l;
type='tbas', fromID=3, toID=l;
type='tbas', fromID=4, toID=l;
type='tbas', fromID=5, toID=l;
MediaDataBox:
HEVC Image (at file offset X, with length Q0+Q1+Q2+Q3)
Example 12: Auxiliary Image with same HEVC configuration and dimensions as the master image
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties indices: 0, 1
2) item type = 'hvcl', itemID=2, item protection index = 0 (unused) item properties indices: 0, 1 item properties: 'auxC'
SharedltemPropertiesBox :
0) 'hvcC'
1) 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
itemID = 2, extent count = 1, extent offset = P, extent length = Q;
ItemReferenceBox:
type='auxl', fromID=2, toID=l;
MediaDataBox:
HEVC Image (at file offset X, with length Y)
HEVC Image (at file offset P, with length Q)
Example 13: Image with Sub-sample description
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'hvcC', 'ispe', 'subs'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y;
MediaDataBox:
HEVC Image (at file offset X, with length Y)
Example 14: Shared HEVC configuration between track and item
FileTypeBox: major-brand = 'heic', compatible-brands = 'heic, mp41'
MetaBox: (container)
HandlerBox: hdlr = 'pict'
PrimaryltemBox: itemID = 1;
ItemlnfoBox:
1) item type = 'hvcl', itemID=l, item protection index = 0 (unused), item properties: 'sder' (track: 1, sample desc index: 1), 'ispe'
ItemLocationBox:
itemID = 1, extent count = 1, extent offset = X, extent length = Y; Movie Box: (container) Movie header, tracks (including track 1 with at least 1 sample desc), etc. as required by MP4
MediaDataBox:
HEVC Image (at file offset X, with length Y)
Media data as needed by the movie (some may be shared with the image data)
Figure 9 is a schematic block diagram of a computing device 900 for implementation of one or more embodiments of the invention. The computing device 900 may be a device such as a micro-computer, a workstation or a light portable device. The computing device 900 comprises a communication bus connected to:
-a central processing unit 901, such as a microprocessor, denoted CPU;
-a random access memory 902, denoted RAM, for storing the executable code of the method of embodiments of the invention as well as the registers adapted to record variables and parameters necessary for implementing the method for reading and writing the manifests and/or for encoding the video and/or for reading or generating the Data under a given file format, the memory capacity thereof can be expanded by an optional RAM connected to an expansion port for example;
-a read only memory 903, denoted ROM, for storing computer programs for implementing embodiments of the invention;
-a network interface 904 is typically connected to a communication network over which digital data to be processed are transmitted or received. The network interface 904 can be a single network interface, or composed of a set of different network interfaces (for instance wired and wireless interfaces, or different kinds of wired or wireless interfaces). Data are written to the network interface for transmission or are read from the network interface for reception under the control of the software application running in the CPU 901;
- a user interface 9805 for receiving inputs from a user or to display information to a user;
- a hard disk 906 denoted HD
- an I/O module 907 for receiving/sending data from/to external devices such as a video source or display
The executable code may be stored either in read only memory 903, on the hard disk 906 or on a removable digital medium such as for example a disk. According to a variant, the executable code of the programs can be received by means of a communication network, via the network interface 904, in order to be stored in one of the storage means of the communication device 900, such as the hard disk 906, before being executed.
The central processing unit 901 is adapted to control and direct the execution of the instructions or portions of software code of the program or programs according to embodiments of the invention, which instructions are stored in one of the aforementioned storage means. After powering on, the CPU 901 is capable of executing instructions from main RAM memory 902 relating to a software application after those instructions have been loaded from the program ROM 903 or the hard-disc (HD) 906 for example. Such a software application, when executed by the CPU 901, causes the steps of a method according to embodiments to be performed.
Alternatively, the present invention may be implemented in hardware (for example, in the form of an Application Specific Integrated Circuit or ASIC).
The present invention may be embedded in a device like a camera, a smartphone or a tablet that acts as a remote controller for a TV, for example to zoom in onto a particular region of interest. It can also be used from the same devices to have personalized browsing experience of the TV program by selecting specific areas of interest. Another usage from these devices by a user is to share with other connected devices some selected sub-parts of his preferred videos. It can also be used in smartphone or tablet to monitor what happened in a specific area of a building put under surveillance provided that the surveillance camera supports the generation part of this invention.
While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive, the invention being not restricted to the disclosed embodiment. Other variations to the disclosed embodiment can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure and the appended claims.
In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or other unit may fulfil the functions of several items recited in the claims. The mere fact that different features are recited in mutually different dependent claims does not indicate that a combination of these features cannot be advantageously used. Any reference signs in the claims should not be 10 construed as limiting the scope of the invention.

Claims (41)

1. A method for generating an image file based on one or more still images, the method comprising:
- obtaining the one or more still images;
- identifying a property relating to each of the one or more still images, and
- generating the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of the one or more still images.
2. The method according to claim 1, wherein all properties of each of the one or more still images are listed in the same box.
3. The method according to claim 1, wherein the at least one or more properties are directly listed in the same box.
4. The method according to claim 1, wherein
- the image file further includes “ItemlnfoBox” for representing information for each of the one or more still images, and
- the association information for associating the identification information of each of the one or more properties and the identification information of each of the one or more still images are described in a predetermined box different from said same box.
5. The method according to claim 4, wherein “ispe” indicating a width and a height of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “ispe”.
6. The method according to claim 4, wherein “hvcC” indicating decoder configuration of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “hvcC”.
7. The method according to claim 4, wherein the association information represents correspondence between identification information of one of the one or more properties which are identified and identification information corresponding to at least two images.
8. The method according to claim 1, wherein the image file is generated based on a plurality of still images.
9. The method according to claim 1, wherein the image file is generated based on a plurality of sub-images corresponding to one still image.
10. The method according to claim 1, wherein the image file comprises a metadata part and a media data part, and wherein both of the one or more properties and the association information are described in the metadata part.
11. The method of claim 1, wherein the identified properties are ordered, the identification information of each of the one or more properties corresponding to its order.
12. A device for generating an image file based on one or more still images, the device comprising:
- an obtaining module for obtaining the one or more still images;
- an identifier module for identifying a property relating to each of the one or more still images, and
- a generator module for generating the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of the one or more still images.
13. The device of claim 12, wherein
- the image file further includes “ItemlnfoBox” for representing information for each of the one or more still images, and
- the association information for associating the identification information of each of the one or more properties and the identification information of each of the one or more still images are described in a predetermined box different from said same box.
14. The device according to claim 13, wherein “ispe” indicating a width and a height of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “ispe”.
15. The device according to claim 13, wherein “hvcC” indicating decoder configuration of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “hvcC”.
16. The device according to claim 13, wherein the association information represents correspondence between identification information of one of the one or more properties which are identified and identification information corresponding to at least two images.
17. A computer-readable storage medium storing a computer program product for a programmable apparatus, the computer program product comprising a sequence of instructions for implementing the method according to any one of claims 1 to 11, when loaded into and executed by the programmable apparatus.
18. A computer-readable storage medium storing instructions of a computer program for implementing the method according to any one of claims 1 to 11.
19. A method for outputting an image based on an image file, the method comprising:
- obtaining the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of one or more still images; and
- outputting an image based on the obtained image file.
20. The method according to claim 19, wherein all properties of each of the one or more still images are listed in the same box.
21. The method according to claim 19, wherein the at least one or more properties are directly listed in the same box.
22. The method according to claim 19, wherein
- the image file further includes “ItemlnfoBox” for representing information for each of the one or more still images, and
- the association information for associating the identification information of each of the one or more properties and the identification information of each of the one or more still images are described in a predetermined box different from said same box.
23. The method according to claim 22, wherein “ispe” indicating a width and a height of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “ispe”.
24. The method according to claim 22, wherein “hvcC” indicating decoder configuration of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “hvcC”.
25. The method according to claim 22, wherein the association information represents correspondence between identification information of one of the one or more properties which are identified and identification information corresponding to at least two images.
26. The method according to claim 19, wherein the image file is generated based on a plurality of still images.
27. The method according to claim 19, wherein the image file is generated based on a plurality of sub-images corresponding to one still image.
28. The method according to claim 19, wherein the image file comprises a metadata part and a media data part, and wherein both of the one or more properties and the association information are described in the metadata part.
29. The method of claim 19, wherein the identified properties are ordered, the identification information of each of the one or more properties corresponding to its order.
30. A device for outputting an image based on an image file, the device comprising:
- an obtaining module for obtaining the image file including at least (i) one or more properties which are identified, the at least one or more properties being listed in a same box, and (ii) association information for associating identification information of each of the one or more properties and identification information of each of one or more still images; and
- an outputting module for outputting an image based on the obtained image file.
31. The device according to claim 30, wherein all properties of each of the one or more still images are listed in the same box.
32. The device according to claim 30, wherein the at least one or more properties are directly listed in the same box.
33. The device according to claim 30, wherein
- the image file further includes “ItemlnfoBox” for representing information for each of the one or more still images, and
- the association information for associating the identification information of each of the one or more properties and the identification information of each of the one or more still images are described in a predetermined box different from said same box.
34. The device according to claim 33, wherein “ispe” indicating a width and a height of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “ispe”.
35. The device according to claim 33, wherein “hvcC” indicating decoder configuration of the one or more still images is described as said property in the same box which is different from said “ItemlnfoBox”, and wherein the association information associates the identification information of each of the one or more still images and the identification information of each of one or more “hvcC”.
36. The device according to claim 33, wherein the association information represents correspondence between identification information of one of the one or more properties which are identified and identification information corresponding to at least two images.
37. The device according to claim 30, wherein the image file is generated based on a plurality of still images.
38. The device according to claim 30, wherein the image file is generated based on a plurality of sub-images corresponding to one still image.
39. The device according to claim 30, wherein the image file comprises a metadata part and a media data part, and wherein both of the one or more properties and the association information are described in the metadata part.
40. The device of claim 30, wherein the identified properties are ordered, the identification information of each of the one or more properties corresponding to its order.
41. A computer-readable storage medium storing instructions of a computer program for implementing the method according to any one of claims 19 to 20.
GB1911748.0A 2015-06-16 2015-06-16 Image data encapsulation Active GB2573939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GB1911748.0A GB2573939B (en) 2015-06-16 2015-06-16 Image data encapsulation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB1510608.1A GB2539461B (en) 2015-06-16 2015-06-16 Image data encapsulation
GB1911748.0A GB2573939B (en) 2015-06-16 2015-06-16 Image data encapsulation

Publications (3)

Publication Number Publication Date
GB201911748D0 GB201911748D0 (en) 2019-10-02
GB2573939A true GB2573939A (en) 2019-11-20
GB2573939B GB2573939B (en) 2020-02-26

Family

ID=68099658

Family Applications (1)

Application Number Title Priority Date Filing Date
GB1911748.0A Active GB2573939B (en) 2015-06-16 2015-06-16 Image data encapsulation

Country Status (1)

Country Link
GB (1) GB2573939B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727001B (en) * 2021-01-05 2024-01-19 北京小米移动软件有限公司 Method, device and medium for processing image data

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040022453A1 (en) * 1998-08-05 2004-02-05 Canon Kabukshiki Kaisha Method, apparatus, and storage media for image processing

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040022453A1 (en) * 1998-08-05 2004-02-05 Canon Kabukshiki Kaisha Method, apparatus, and storage media for image processing

Also Published As

Publication number Publication date
GB201911748D0 (en) 2019-10-02
GB2573939B (en) 2020-02-26

Similar Documents

Publication Publication Date Title
US20200228795A1 (en) Image data encapsulation
US11962809B2 (en) Image data encapsulation with referenced description information
US11876994B2 (en) Description of image composition with HEVC still image file format
US10595062B2 (en) Image data encapsulation
GB2561491A (en) Image data encapsulation with tile support
GB2573939A (en) Image data encapsulation