Method and apparatus for signaling regions and region masks in image file format

By extending the file format data structure, it supports efficient encoding and decoding of regions and region masks, solving the problem of low data transmission efficiency in existing technologies and achieving more efficient media data transmission.

CN117242490BActive Publication Date: 2026-11-24NOKIA TECHNOLOGIES OY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202280029200.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-04-19
Filing Date
2022-03-31
Publication Date
2026-11-24
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

Existing media data signaling formats fail to effectively support efficient encoding and decoding of regions and region masks, resulting in low data transmission efficiency.

Method used

By defining or extending the file format data structure, including cell size, mask encoding method and encoding parameters, using DEFLATE or ZLIB compressed data encoding, and supporting HEIF format storage, efficient signal transmission of regions and region masks can be achieved.

Benefits of technology

It improves the efficiency and quality of media data transmission, supports more flexible encoding and decoding schemes, and is suitable for a variety of encoding formats and devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117242490B_ABST
    Figure CN117242490B_ABST
Patent Text Reader

Abstract

Various embodiments provide an apparatus, a method, and a computer program product. The apparatus includes at least one processor; and at least one non-transitory memory including computer program code; wherein the at least one memory and the computer program code are configured to, with the at least one processor, cause the apparatus at least to perform defining or extending a file format data structure to include: a cell size for indicating a size of a region including a mask value in a unit of pixel; a mask encoding method for indicating an encoding method applied to a mask or data of a media; a mask encoding parameter for indicating an additional encoding or decoding parameter required to process encoded mask data; and a mask configuration including mask related information as a mask configuration structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary and non-limiting embodiments generally relate to multimedia transmission, and more specifically to signaling regions and region masks in image file formats. Background Technology

[0002] A standardized format is known to be provided for signaling used for media data. Summary of the Invention

[0003] An example apparatus includes: at least one processor; and at least one non-transitory memory including computer program code; wherein the at least one memory and the computer program code are configured, together with the at least one processor, to cause the apparatus to at least: define or extend a file format data structure to include: a cell size for indicating the size of a region including mask values ​​in pixels; a mask encoding method for indicating an encoding method for a mask or data applied to a medium; mask encoding parameters for indicating additional encoding or decoding parameters required for processing encoded mask data; and a mask configuration including mask-related information as a mask configuration structure.

[0004] The example device may also include a unit size comprising M×N pixels, where M indicates the number of horizontal pixels and N indicates the number of vertical pixels.

[0005] The example apparatus may also include a mask encoding method comprising values ​​indicating one or more of the following: no mask encoding scheme is applied; DEFLATE compressed data encoding is applied; or ZLIB compressed data encoding is applied.

[0006] The example apparatus may also include a mask encoding parameter that, when the mask encoding method includes a predetermined value, indicates the number of bytes in the encoded mask array.

[0007] The example apparatus may also include a feature where the value of the mask encoding parameter is preserved when the mask encoding method includes values ​​other than predetermined values.

[0008] This example device can also be invoked as a region definition mask, where the region is defined based on at least one of the media’s region items or metadata.

[0009] The example device may also include a file format data structure comprising a region item data structure.

[0010] The example device may also include a file format data structure that includes a mask.

[0011] The example device may also include, wherein the device is further referred to as defining an item type, wherein an image item of item type “mski” is a mask item defining a mask.

[0012] The example device may also include a mask configuration that includes at least one of per-pixel bit or byte packing information.

[0013] The example device may also include, wherein when the per-pixel bit information of the mask configuration includes 1, 2 or 4, the pixels packed per byte are 8, 4 or 2 respectively, and wherein the byte packing includes big-endian.

[0014] The example device may also include a feature where, when the mask width is not a multiple of 8 pixels, padding is not placed at the end of each line, and the last data byte is padded.

[0015] The example device may also include a pixel mask value represented by 1, 2 or 3 bytes when the per-pixel bit information of the mask configuration is 8, 16 or 24, and wherein the bytes of the pixel are serialized starting from the most significant byte.

[0016] The example apparatus may also include, wherein the apparatus is further configured to: define syntax elements for sending signal notifications and configuring the mask; and store the mask as a High-Efficiency Image File (HEIF) format file.

[0017] One example method includes defining or extending a file format data structure to include: a cell size for indicating the size of a region including mask values ​​in pixels; a mask encoding method for indicating an encoding method applied to the mask or data of the media; mask encoding parameters for indicating additional encoding or decoding parameters required to process the encoded mask data; and a mask configuration including mask-related information as a mask configuration structure.

[0018] The example method may also include a cell size comprising M×N pixels, where M indicates the number of horizontal pixels and N indicates the number of vertical pixels.

[0019] The example method may also include a mask encoding method that includes values ​​indicating one or more of the following: no mask encoding scheme is applied; DEFLATE compressed data encoding is applied; or ZLIB compressed data encoding is applied.

[0020] The example method may also include, when the mask encoding method includes predetermined values, the mask encoding parameters further indicating the number of bytes in the encoded mask array.

[0021] The example apparatus may also include a feature where the value of the mask encoding parameter is preserved when the mask encoding method includes values ​​other than predetermined values.

[0022] This example method may also include defining a mask for a region, where the region is defined based on at least one of the media’s regional items or metadata.

[0023] This example method may also include a file format data structure that includes a region item data structure.

[0024] This example method may also include a file format data structure that includes a mask.

[0025] This example method can also include defining an item type, where an image item of type "mski" is a mask item that defines a mask.

[0026] The example method may also include, where the mask configuration includes at least one of the per-pixel bit or byte packing information.

[0027] The example method may also include, where the per-pixel bit information configured in the mask includes 1, 2, or 4, the pixels packed per byte are 8, 4, or 2, respectively, and where the byte packing includes big-endian.

[0028] The example method may also include, where when the mask width is not a multiple of 8 pixels, padding is not placed at the end of each line, and the last data byte is padded.

[0029] The example method may also include a method in which the mask value of a pixel is represented by 1, 2, or 3 bytes when the per-pixel bit information of the mask configuration is 8, 16, or 24, respectively, and wherein the bytes of the pixel are serialized starting from the most significant byte.

[0030] This example method may also include: defining syntax elements for sending signal notifications and configuring the mask; and storing the mask as a High-Efficiency Image File (HEIF) format file.

[0031] An example computer-readable medium includes program instructions for causing a device to perform at least the following operations: defining or extending a file format data structure to include: a cell size for indicating the size of a region including mask values ​​in pixels; a mask encoding method for indicating an encoding method applied to data in the medium; mask encoding parameters for indicating additional encoding or decoding parameters required for processing the encoded mask data; and a mask configuration including mask-related information as a mask configuration structure.

[0032] The example computer-readable medium also includes, wherein the computer-readable medium includes a non-transitory computer-readable medium.

[0033] The example computer-readable medium may also include, wherein the computer-readable medium further enables the device to perform the methods described in any of the preceding paragraphs.

[0034] Another example apparatus includes: components for defining or extending a file format data structure to include: a cell size for indicating the size of a region including mask values ​​in pixels; a mask encoding method for indicating an encoding method applied to a mask or data of a medium; mask encoding parameters for indicating additional encoding or decoding parameters required to process the encoded mask data; and a mask configuration including mask-related information as a mask configuration structure.

[0035] The example apparatus may also include components for performing the methods described in one or more of the preceding paragraphs. Attached Figure Description

[0036] The above aspects and other features are explained in the following description in conjunction with the accompanying drawings, in which:

[0037] Figure 1 An electronic device employing an embodiment of the examples described herein is illustrated schematically.

[0038] Figure 2 A user equipment applicable to an embodiment employing the examples described herein is illustrated schematically.

[0039] Figure 3 An electronic device employing an embodiment of the examples described herein is further illustrated schematically using wireless and wired network connections.

[0040] Figure 4 A block diagram of an encoder at a general level is shown schematically.

[0041] Figure 5 A system configured to support streaming media data from a source to a client device is shown.

[0042] Figure 6 This is a block diagram of an apparatus specifically configured according to an example embodiment.

[0043] Figure 7 This is an example apparatus configured, according to one embodiment, to implement a mechanism for signaling at least one of regions and / or region masks in an image file format.

[0044] Figure 8 This is an example method according to one embodiment for implementing a mechanism for signaling at least one of regions and / or region masks in an image file format.

[0045] Figure 9 This is a block diagram of one possible and non-limiting system in which example embodiments can be practiced. Detailed Implementation

[0046] The following abbreviations and acronyms found in the instruction manual and / or accompanying drawings are defined as follows:

[0047] 3GP 3GPP file format

[0048] 3GPP Third Generation Partner Program

[0049] 3GPP TS 3GPP Technical Specification

[0050] 4CC four-character code

[0051] 4G fourth-generation broadband cellular network technology

[0052] 5G fifth-generation cellular network technology

[0053] 5GC 5G Core Network

[0054] ACC accuracy

[0055] AI (Artificial Intelligence)

[0056] AIoT (Artificial Intelligence of Things)

[0057] aka is also known as

[0058] AMF Access and Mobility Management Functions

[0059] AVC (Advanced Video Coding)

[0060] CABAC Context Adaptive Binary Arithmetic Coding

[0061] CDMA Code Division Multiple Access

[0062] CE Core Experiment

[0063] CU Central Unit

[0064] DASH performs dynamic adaptive streaming via HTTP.

[0065] Discrete Cosine Transform (DCT)

[0066] DSP Digital Signal Processor

[0067] DU Distributed Unit

[0068] eNB (or eNodeB) Evolved Node B (e.g., LTE base station)

[0069] EN-DC E-UTRA-NR Dual Connection

[0070] The en-gNB or En-gNB provides the UE with NR user plane and control plane protocol terminals and acts as an EN- The nodes of secondary nodes in DC

[0071] E-UTRA evolved universal terrestrial radio access, such as LTE radio access technology.

[0072] FDMA (Frequency Division Multiple Access)

[0073] f(n) is a fixed-pattern bit string, using n bits written in a left-bit-first manner (from...). (From left to right)

[0074] The interface between the F1 or F1-C CU and DU control interfaces

[0075] gNB (or gNodeB) is used as a base station for 5G / NR, for example, to provide the NR user plane and control plane to the UE. The protocol terminal connects to the 5GC node via the NG interface.

[0076] GSM Global Mobile Communication System

[0077] The official names of the H.222.0 MPEG-2 system are ISO / IEC 13818-1 and ITU-T. Rec.H.222.0

[0078] H.26x video coding standards family in the ITU-T domain

[0079] HLS Advanced Syntax

[0080] IBC Intra-block Copy

[0081] ID identifier

[0082] IEC International Electrotechnical Commission

[0083] IEEE Institute of Electrical and Electronics Engineers

[0084] I / F interface

[0085] IMD Integrated Messaging Device

[0086] IMS Instant Messaging Service

[0087] IoT (Internet of Things)

[0088] IP Internet Protocol

[0089] ISO International Organization for Standardization

[0090] ISOBMFF ISO Basic Media File Format

[0091] ITU (International Telecommunication Union)

[0092] ITU-T (ITU Telecommunication Standardization Sector)

[0093] JPEG Joint Photo Experts Group

[0094] LTE Long Term Evolution

[0095] LZMA Lempel-Ziv-Markov chain compression

[0096] LZMA2 is a simple container format that may include uncompressed data and LZMA data.

[0097] LZO Lempel-Ziv-Oberhumer compression

[0098] LZW Lempel-Ziv-Welch compression

[0099] MAC Media Access Control

[0100] mdat media data frame

[0101] MME (Mobility Management Entity)

[0102] MMS Multimedia Messaging Service

[0103] moov movie frame

[0104] MP4 MPEG-4 Part 14 file format

[0105] MPEG Moving Picture Experts Group

[0106] MPEG-2 refers to H.222 / H.262 as defined by the ITU.

[0107] MPEG-4 ISO / IEC 14496 audio and video coding standard

[0108] MSB Most significant bit

[0109] NAL Network Abstraction Layer

[0110] NDU NN Compressed Data Unit

[0111] Ng or NG new generation

[0112] ng-eNB or NG-eNB, the next generation of eNB NN Neural Network

[0113] NNEF Neural Network Exchange Format

[0114] NNR Neural Network Representation

[0115] NR New Radio (5G Radio)

[0116] N / W or NW network

[0117] ONNX Open Neural Networks eXchange PB protocol buffer

[0118] PC Personal Computer

[0119] PDA (Personal Digital Assistant)

[0120] PDCP (Packet Data Convergence Protocol)

[0121] PHY physical layer

[0122] PID group identifier

[0123] PLC power line communication

[0124] PNG portable network graphics

[0125] PSNR (Peak Signal-to-Noise Ratio)

[0126] RAM (Random Access Memory)

[0127] RAN (Radio Access Network)

[0128] RFC Request for Comments

[0129] RFID radio frequency identification

[0130] RLC Radio Link Control

[0131] RRC Radio Resource Control

[0132] RRH Remote Radio Head

[0133] RU radio unit

[0134] Rx receiver

[0135] SDAP Service Data Adaptation Protocol

[0136] SGW Service Gateway

[0137] SMF Session Management Function

[0138] SMS Short Message Service

[0139] st(v) is encoded in UTF-8 according to ISO / IEC 10646. null-terminated strings

[0140] SVC (Scalable Video Coding)

[0141] Interface between S1 eNodeB and EPC

[0142] TCP / IP Transmission Control Protocol - Internet Protocol

[0143] TDMA Time Division Multiplexing

[0144] trak track frame

[0145] TS transport stream

[0146] TUC is considering the following technologies

[0147] TV

[0148] Tx transmitter

[0149] UE User Equipment

[0150] ue(v) is an unsigned integer Exp-Golomb encoded syntax element, left-bit first.

[0151] UICC General Integrated Circuit Card

[0152] UMTS Universal Mobile Telecommunication System

[0153] u(n) uses an n-bit unsigned integer

[0154] UPF User Plane Functions

[0155] URI (Uniform Resource Identifier)

[0156] URL Uniform Resource Locator

[0157] UTF-8 8-bit Unicode conversion format

[0158] WLAN (Wireless Local Area Network)

[0159] Interconnection interface between two eNodeBs in an X2 LTE network

[0160] Xn is the interface between two NG-RAN nodes.

[0161] Some embodiments will now be described more fully with reference to the accompanying drawings, in which some, but not all, embodiments of the invention are illustrated. In fact, various embodiments of the invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will satisfy applicable legal requirements. The same reference numerals refer to the same elements throughout. As used herein, the terms “data,” “content,” “information,” and similar terms are used interchangeably to refer to data that can be transmitted, received, and / or stored according to embodiments of the invention. Therefore, the use of any such terms should not be construed as limiting the spirit and scope of the embodiments of the invention.

[0162] Furthermore, as used herein, the term "circuit system" means (a) a circuit implementation that is only hardware (e.g., an implementation in an analog circuit system and / or a digital circuit system); (b) a combination of circuitry and (multiple) computer program products comprising software and / or firmware instructions stored on one or more computer-readable storage media, which work together to enable a device to perform one or more functions described herein; and (c) a circuit, such as (multiple) microprocessors or a portion thereof, that requires software or firmware to operate, even if the software or firmware is not physically present. This definition of "circuit system" applies to all uses of the term herein, including in any claim. As another example, as used herein, the term "circuit system" also includes an implementation comprising one or more processors and / or portions thereof, along with accompanying software and / or firmware. As yet another example, for instance, the term "circuit system" as used herein also includes baseband integrated circuits or application processor integrated circuits for mobile phones, or similar integrated circuits in servers, cellular network devices, other network devices, and / or other computing devices.

[0163] As defined herein, “computer-readable storage medium” refers to a non-transitory physical storage medium (e.g., a volatile or non-volatile memory device) and can be distinguished from “computer-readable transmission medium”, which refers to an electromagnetic signal.

[0164] According to an example embodiment, a method, apparatus, and computer program product are provided to implement a mechanism for signaling at least one of a region and / or a region mask in an image file format.

[0165] The following describes in detail suitable apparatus and possible mechanisms for signaling at least one of regions and / or region masks in an image file format according to embodiments. In some embodiments, the signaling process may include processes for encoding and / or compressing the image file format. In this regard, reference is first made to… Figure 1 and Figure 2 ,in Figure 1 An example block diagram of device 50 is shown. This device can be an Internet of Things (IoT) device configured to perform various functions, such as collecting, receiving, or transmitting information via one or more sensors, analyzing information collected or received by the device, and so on. The device may include a video encoding system, which may include a codec. Figure 2 The layout of a device according to an example embodiment is shown. The following will explain... Figure 1 and Figure 2 Components.

[0166] Electronic device 50 may be, for example, a mobile terminal or user equipment of a wireless communication system, a sensor device, a tag, or a low-power device. However, it should be understood that the exemplary embodiments described herein can be implemented in any electronic device or apparatus.

[0167] Device 50 may include a housing 30 for incorporating and protecting the device. Device 50 may also include a display 32, for example, in the form of a liquid crystal display, a light-emitting diode display, an organic light-emitting diode display, etc. In other embodiments of the examples described herein, the display may be any suitable display technology suitable for displaying media or multimedia content (e.g., images or videos). Device 50 may also include a keypad 34. In other embodiments of the examples described herein, any suitable data or user interface mechanism may be employed. For example, the user interface may be implemented as a virtual keyboard or data input system as part of a touch-sensitive display.

[0168] The device may include a microphone 36 or any suitable audio input, which may be a digital or analog signal input. Device 50 may also include an audio output device, which, in other embodiments of the examples described herein, may be a headset 38, a speaker, or any of the analog or digital audio output connections. Device 50 may also include a battery (or, in other embodiments of the examples described herein, the device may be powered by any suitable mobile energy device, such as a solar cell, fuel cell, or clock generator). The device may also include a camera capable of recording or capturing images and / or video. Device 50 may also include an infrared port for short-range line-of-sight communication with other devices. In other embodiments, device 50 may also include any suitable short-range communication solution, such as a Bluetooth wireless connection or a USB / FireWire wired connection.

[0169] Device 50 may include a controller 56, a processor, or a processor circuitry for controlling device 50. Controller 56 may be connected to memory 58, which, in the example embodiments described herein, may store data in the form of image, audio, or video data, and / or may also store instructions for implementation on controller 56. Controller 56 may also be connected to codec circuitry 54, which is adapted to perform encoding and / or decoding of audio, image, and / or video data, or to assist in encoding and / or decoding performed by the controller.

[0170] The device 50 may also include a card reader 48 and a smart card 46, such as a UICC and a UICC reader, which are used to provide user information and are suitable for providing authentication information for authenticating and authorizing users at the network.

[0171] Device 50 may include a radio interface circuitry system 52 connected to a controller and adapted to generate wireless communication signals, for example, for communicating with a cellular communication network, a wireless communication system, or a wireless local area network. Device 50 may also include an antenna 44 connected to the radio interface circuitry system 52 for transmitting radio frequency signals generated at the radio interface circuitry system 52 to and / or for receiving radio frequency signals from the other devices.

[0172] Device 50 may include a camera 42 capable of recording or detecting individual frames, which are then passed to a codec 54 or controller for processing. The device may receive video image data for processing from another device before transmission and / or storage. Device 50 may also receive images for encoding / decoding wirelessly or via a wired connection. The structural elements of the device 50 described above represent examples of components used to perform the corresponding functions.

[0173] about Figure 3 This document illustrates an example of a system in which embodiments of the examples described herein can be utilized. System 10 includes multiple communication devices that can communicate via one or more networks. System 10 may include any combination of wired or wireless networks, including but not limited to wireless cellular telephone networks (such as GSM, UMTS, CDMA, LTE, 4G, 5G networks, etc.) and wireless local area networks (WLANs) such as those defined by any standard in the IEEE 802.x standard. Personal area networks (PANs), Ethernet LANs, Token Ring LANs, WANs, and the Internet.

[0174] System 10 may include both wired and wireless communication devices and / or device 50, which are suitable for implementing embodiments of the examples described herein.

[0175] For example, Figure 3 The system shown illustrates a representation of mobile phone network 11 and Internet 28. The connection to Internet 28 can include, but is not limited to, long-range wireless connections, short-range wireless connections, and various wired connections, including but not limited to telephone lines, power lines, and similar communication paths.

[0176] The example communication devices shown in System 10 may include, but are not limited to, electronic devices or devices 50, combinations of personal digital assistants (PDAs) and mobile phones 14, PDA 16, integrated messaging devices (IMDs) 18, desktop computers 20, and laptop computers 22. Device 50 may be fixed or mobile when carried by a moving individual. Device 50 may also be located in a mode of transportation, including but not limited to cars, trucks, taxis, buses, trains, ships, airplanes, bicycles, motorcycles, or any similar suitable mode of transportation.

[0177] The embodiments can also be implemented in set-top boxes; for example, in digital television receivers that may or may not have a display or wireless capabilities, in tablet computers or (laptop) personal computers (PCs) with hardware and / or software for processing neural network data, in various operating systems, and in chipsets, processors, DSPs and / or embedded systems that provide hardware / software-based coding.

[0178] Some or additional devices can send and receive calls and messages, and communicate with service providers via a wireless connection 25 to base station 24. Base station 24 can be connected to network server 26, which allows communication between mobile phone network 11 and Internet 28. The system may include additional communication equipment and various types of communication devices.

[0179] Communication devices can communicate using various transmission technologies, including but not limited to Code Division Multiple Access (CDMA), Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Transmission Control Protocol / Internet Protocol (TCP-IP), Short Message Service (SMS), Multimedia Messaging Service (MMS), email, Instant Messaging Service (IMS), Bluetooth, IEEE 802.11, 3GPP Narrowband IoT, and any similar wireless communication technologies. The communication devices involved in the various embodiments of the examples described herein can communicate using various media, including but not limited to radio, infrared, laser, cable connections, and any suitable connection.

[0180] In telecommunications and data networks, a channel can refer to either a physical channel or a logical channel. A physical channel can refer to a physical transmission medium such as a wired connection, while a logical channel can refer to a logical connection made through a multiplexed medium capable of transmitting several logical channels. A channel can be used to transmit information signals (e.g., bit streams) from one or more transmitters to one or more receivers.

[0181] Implementations can also be carried out in Internet of Things (IoT) devices. For example, IoT can be defined as the interconnection of uniquely identifiable embedded computing devices within existing internet infrastructure. The convergence of various technologies has enabled and can enable the inclusion of embedded systems in many fields (such as wireless sensor networks, control systems, home / building automation, etc.) into IoT. To utilize the internet, IoT devices are assigned an IP address as a unique identifier. IoT devices can be equipped with a radio transmitter, such as WLAN or... Transmitter or RFID tag. Alternatively, IoT devices can access IP-based networks, such as Ethernet-based networks or power line connections (PLCs), via wired networks.

[0182] According to various embodiments, Figures 1 to 3 The device / system described herein encodes, decodes, sends signals, and / or transmits image file formats.

[0183] The MPEG-2 transport stream (TS), as defined in ISO / IEC 13818-1 or ITU-T Recommendation H.222.0, is a format used to carry audio, video, and other media, as well as program metadata or other metadata, in a multiplexed stream. A packet identifier (PID) is used to identify the elementary stream (also known as a packet elementary stream) within the TS. Therefore, logical channels within an MPEG-2 TS can be considered to correspond to specific PID values.

[0184] Available media file format standards include the ISO Basic Media File Format (ISO / IEC 14496-12, which can be abbreviated as ISOBMFF) and the file format for NAL unit structured video (ISO / IEC 14496-15) (which is derived from ISOBMFF).

[0185] A video codec consists of an encoder that converts input video into a compressed representation suitable for storage / transmission, and a decoder that decompresses the compressed video representation into a visual form. Video encoders and / or video decoders can also be separate entities; for example, they do not necessarily form a codec. Typically, the encoder discards some information from the original video sequence to represent the video in a more compact form (e.g., at a lower bit rate).

[0186] Typical hybrid video encoders (e.g., many encoder implementations of ITU-T H.263 and H.264) encode video information in two stages. First, pixel values ​​in a specific picture region (or “block”) are predicted, for example, by a motion compensation unit (which locates and indicates the region closely corresponding to the block being encoded in one of the previously encoded video frames) or by a spatial unit (which uses the pixel values ​​around the block to be encoded in a specified manner). Second, the prediction error (e.g., the difference between the predicted pixel block and the original pixel block) is encoded. This is typically achieved by transforming the difference in pixel values ​​using a specified transform (e.g., Discrete Cosine Transform (DCT) or a variant thereof), the quantization coefficients, and entropy encoding of the quantization coefficients. By varying the fidelity of the quantization process, the encoder can control the balance between the precision of the pixel representation (picture quality) and the size of the resulting encoded video representation (file size or transmission bit rate).

[0187] In temporal prediction, the prediction source is the previously decoded image (also called the reference image). In intra-block copy (IBC; also known as intra-block copy prediction and current image reference), prediction is applied similarly to temporal prediction, but the reference image is the current image, and only previously decoded samples can be referenced during prediction. Inter-layer or inter-view prediction can be applied similarly to temporal prediction, but the reference images are decoded images from another scalable layer or another view, respectively. In some cases, inter-frame prediction may refer only to temporal prediction, while in others, inter-frame prediction may be collectively referred to as temporal prediction, as well as any of intra-block copy, inter-layer prediction, and inter-view prediction (if they are performed using the same or similar process as temporal prediction). Inter-frame prediction or temporal prediction may sometimes be called motion compensation or motion compensation prediction.

[0188] Inter-frame prediction (also known as temporal prediction, motion compensation, or motion-compensated prediction) reduces temporal redundancy. In inter-frame prediction, the prediction source is the previously decoded image. Intra-frame prediction leverages the fact that adjacent pixels within the same image are likely related. Intra-frame prediction can be performed in the spatial or transform domain; for example, sample values ​​or transform coefficients can be predicted. Intra-frame prediction is typically used in intra-coding where inter-frame prediction is not applied.

[0189] One outcome of the encoding process is a set of encoded parameters, such as motion vectors and quantized transform coefficients. These parameters can be entropy-coded more efficiently when many parameters are first predicted based on spatially or temporally adjacent parameters. For example, motion vectors can be predicted from spatially adjacent motion vectors, and only the differences relative to the motion vector predictor can be encoded. The prediction of encoded parameters and intra-frame prediction can be collectively referred to as intra-picture prediction.

[0190] Figure 4A block diagram showing the general structure of a video encoder is provided. Figure 4 An encoder for two layers is presented, but it should be understood that the presented encoder can be similarly extended to encode more than two layers. Figure 4 The illustration shows a video encoder including a first encoder portion 500 for a base layer and a second encoder portion 502 for an enhancement layer. Each of the first encoder portion 500 and the second encoder portion 502 may include similar elements for encoding incoming images. Encoder portions 500 and 502 may include pixel predictors 302 and 402, prediction error encoders 303 and 403, and prediction error decoders 304 and 404. Figure 4 An embodiment of pixel predictors 302 and 402, including inter-frame predictors 306 and 406, intra-frame predictors 308 and 408, mode selectors 310 and 410, filters 316 and 416, and reference frame memories 318 and 418, is also shown. The pixel predictor 302 of the first encoder section 500 receives multiple base layer images 300 of a video stream to be encoded at both the inter-frame predictor 306 (which determines the difference between the image and the motion-compensated reference frame) and the intra-frame predictor 308 (which determines predictions for image patches based solely on the processed portion of the current frame or image). The outputs of both the inter-frame and intra-frame predictors are passed to the mode selector 310. The intra-frame predictor 308 may have more than one intra-frame prediction mode. Thus, each mode can perform intra-frame prediction and provide a prediction signal to the mode selector 310. The mode selector 310 also receives a copy of the base layer images 300. Correspondingly, the pixel predictor 402 of the second encoder section 502 receives multiple enhancement layer images 400 of the video stream to be encoded at both the inter-frame predictor 406 (which determines the difference between the image and the motion-compensated reference frame) and the intra-frame predictor 408 (which determines the prediction of the image patch based only on the processed portion of the current frame or image). The outputs of both the inter-frame predictor and the intra-frame predictor are passed to the mode selector 410. The intra-frame predictor 408 may have more than one intra-frame prediction mode. Thus, each mode can perform intra-frame prediction and provide the prediction signal to the mode selector 410. The mode selector 410 also receives a copy of the enhancement layer image 400.

[0191] Depending on which encoding mode is selected to encode the current block, the output of inter-frame predictors 306, 406, or the output of one of the optional intra-frame predictor modes, or the output of the surface encoder within the mode selector, is passed to the output of mode selectors 310, 410. The output of mode selectors 310, 410 is passed to first summing devices 321, 421. The first summing device can subtract the output of pixel predictors 302, 402 from the base layer image 300 or the enhancement layer image 400 to generate a first prediction error signal 320, 420 that is input to prediction error encoders 303, 403.

[0192] Pixel predictors 302 and 402 also receive a combination of the predicted representations of image blocks 312 and 412 and the outputs 338 and 438 of the prediction error decoders 304 and 404 from the preliminary reconstructors 339 and 439. The preliminary reconstructed images 314 and 414 can be passed to intra-frame predictors 308 and 408 and filters 316 and 416. Filters 316 and 416 receiving the preliminary representations can filter the preliminary representations, and the output can be stored in the final reconstructed images 340 and 440 in the reference frame memories 318 and 418. The reference frame memory 318 can be connected to the inter-frame predictor 306 as a reference image, against which the future base layer image 300 is compared during inter-frame prediction operations. According to some embodiments, when a base layer is selected and designated as a source for inter-layer sample prediction and / or inter-layer motion information prediction of the enhancement layer, the reference frame memory 318 can also be connected to the inter-frame predictor 406 as a reference image, against which the future enhancement layer image 400 is compared during inter-frame prediction operations. Furthermore, the reference frame memory 418 can be connected to the inter-frame predictor 406 as a reference image, against which the future enhancement layer image 400 is compared during inter-frame prediction operations.

[0193] According to some embodiments, the filtering parameters of the filter 316 from the first encoder section 500 can be provided to the second encoder section 502, provided that the base layer is selected and indicated as the source for predicting the filtering parameters of the enhancement layer.

[0194] Prediction error encoders 303 and 403 include transform units 342 and 442 and quantizers 344 and 444. Transform units 342 and 442 transform the first prediction error signal 320 and 420 to the transform domain. For example, the transform is a DCT transform. Quantizers 344 and 444 quantize the transform domain signal (e.g., DCT coefficients) to form quantized coefficients.

[0195] Prediction error decoders 304 and 404 receive the output from prediction error encoders 303 and 403 and perform the reverse process of prediction error encoders 303 and 403 to generate decoded prediction error signals 338 and 438. When combined with the prediction representation of image blocks 312 and 412 at second summing devices 339 and 439, the decoded prediction error signals 338 and 438 generate preliminary reconstructed images 314 and 414. The prediction error decoder can be considered to include dequantizers 346 and 446 and inverse transform units 348 and 448. Dequantizers 346 and 446 dequantize quantized coefficient values ​​(e.g., DCT coefficients) to reconstruct the transform signal. Inverse transform units 348 and 448 perform an inverse transform on the reconstructed transform signal, wherein the output of inverse transform units 348 and 448 contains multiple reconstructed blocks. The prediction error decoder may also include block filters that can filter multiple reconstructed blocks based on additional decoded information and filter parameters.

[0196] Entropy encoders 330 and 430 receive the outputs of prediction error encoders 303 and 403, and can perform appropriate entropy coding / variable-length coding on the signal to provide error detection and correction capabilities. The outputs of entropy encoders 330 and 430 can be inserted into the bitstream, for example, via multiplexer 508.

[0197] The method and apparatus of one example embodiment can be used in a wide variety of systems, including those that rely on the compression and decompression of media data and possibly associated metadata. However, in one embodiment, the method and apparatus are configured to compress media data and associated metadata streaming from a source via a content delivery network to a client device, where the compressed media data and associated metadata are decompressed or otherwise processed. In this respect, Figure 5An example of such a system 510 is depicted, which includes a source 512 for media data and associated metadata. In one embodiment, the source may be a server. However, the source may be embodied in other ways when needed. The source is configured to stream media data and associated metadata to a client device 514. The client device may be embodied by a media player, multimedia system, video system, smartphone, mobile phone or other user device, personal computer, tablet, or any other computing device configured to receive and decompress media data and process associated metadata. In the illustrated embodiment, the media data and metadata are streamed via a network 516, such as any type of wireless and / or wired network. The client device is configured to receive structured information containing media, metadata, and any other related representations of information containing media and metadata, and to decompress the media data and process the associated metadata (e.g., appropriate playback timing for the decompressed media data).

[0198] according to Figure 6 The illustrated example embodiment provides an apparatus 600. In one embodiment, Figure 6 The device can be embodied by a source 512, such as a file writer, which in turn can be embodied by a server configured to stream compressed representations of media data and associated metadata. In an alternative embodiment, the device can be embodied by a client device 514, such as a file reader, which can be embodied by, for example, any of the various computing devices described above. In any of these embodiments, such as Figure 6 As shown, the apparatus of the example embodiment is associated with or communicates with a processing circuitry system 602, one or more memory devices 604, a communication interface 606, and an optional user interface.

[0199] Processing circuitry system 602 can communicate with memory device 604 via a bus for transferring information between components of device 600. The memory device can be non-transitory and may include, for example, one or more volatile and / or non-volatile memories. In other words, for example, the memory device can be an electronic storage device (e.g., a computer-readable storage medium) including gates configured to store data (e.g., bits) that can be retrieved by a machine (e.g., a computing device similar to the processing circuitry system). The memory device can be configured to store information, data, content, applications, instructions, etc., for enabling the device to perform various functions according to exemplary embodiments of this disclosure. For example, the memory device can be configured to buffer input data for processing by the processing circuitry system. Additionally or alternatively, the memory device can be configured to store instructions for execution by the processing circuitry system.

[0200] In some embodiments, device 600 may be embodied in various computing devices as described above. However, in some embodiments, the device may be embodied as a chip or chipset. In other words, the device may include one or more physical packages (e.g., chips) that include materials, components, and / or wires on structural components (e.g., substrates). The structural components may provide physical strength, dimensional conservation, and / or electrical interaction constraints for the component circuitry systems included thereon. Thus, in some cases, the device may be configured to implement an embodiment of this disclosure on a single chip or as a single “system-on-a-chip.” Thus, in some cases, a chip or chipset may constitute components for performing one or more operations to provide the functionality described herein.

[0201] The processing circuitry system 602 can be embodied in a variety of different ways. For example, the processing circuitry system can be embodied as one or more components of various hardware processing units, such as a coprocessor, microprocessor, controller, digital signal processor (DSP), processing element with or without an accompanying DSP, or various other circuitry systems including integrated circuits, such as ASICs (Application-Specific Integrated Circuits), FPGAs (Field-Programmable Gate Arrays), microcontroller units (MCUs), hardware accelerators, application-specific computer chips, etc. Therefore, in some embodiments, the processing circuitry system may include one or more processing cores configured to execute independently. A multi-core processing circuitry system can implement multiple processing within a single physical package. Additionally or alternatively, the processing circuitry system may include one or more processors configured in series via a bus to enable independent execution of instructions, pipelines, and / or multiple threads.

[0202] In one example embodiment, the processing circuitry 602 may be configured to execute instructions stored in memory device 604 or otherwise accessible by the processing circuitry. Alternatively or additionally, the processing circuitry may be configured to perform hard-coded functions. Thus, whether configured by hardware or software methods or a combination thereof, the processing circuitry may represent an entity (e.g., physically embodied in a circuitry) capable of performing operations according to an embodiment of this disclosure when appropriately configured. Thus, for example, when the processing circuitry is embodied as an ASIC, FPGA, etc., the processing circuitry may be hardware specifically configured to perform the operations described herein. Alternatively, as another example, when the processing circuitry is embodied as an executor of instructions, the instructions may specifically configure the processing circuitry to perform the algorithms and / or operations described herein when the instructions are executed. However, in some cases, the processing circuitry may be a processor of a particular device (e.g., an image or video processing system) configured to employ an embodiment of the invention by further configuring the processing circuitry with instructions for performing the algorithms and / or operations described herein. The processing circuitry may include clocks, arithmetic logic units (ALUs), and logic gates configured to support the operation of the processing circuitry.

[0203] The communication interface 606 can be any component, such as a device or circuit system embodied in hardware or a combination of hardware and software, configured to receive and / or transmit data, including video bitstreams. In this regard, the communication interface may include, for example, an antenna (or multiple antennas) and supporting hardware and / or software for enabling communication with a wireless communication network. Additionally or alternatively, the communication interface may include circuitry for interacting with the antenna(s) to induce signal transmission via the antenna(s) or for processing reception of signals received via the antenna(s). In some environments, the communication interface may alternatively or also support wired communication. Thus, for example, the communication interface may include a communication modem and / or other hardware / software for supporting communication via cable, digital subscriber line (DSL), universal serial bus (USB), or other mechanisms.

[0204] In some embodiments, device 600 may optionally include a user interface that can communicate with processing circuitry 602 to provide output to a user, such as an encoded video bitstream, and in some implementations, to receive instructions from user input. Thus, the user interface may include a display, and in some embodiments, the user interface may also include a keyboard, mouse, joystick, touchscreen, touch area, softkeys, microphone, speaker, or other input / output mechanism. Alternatively or additionally, processing circuitry may include a user interface circuitry configured to control at least some functions of one or more user interface elements, such as a display, and in some embodiments, a speaker, ringer, microphone, etc. Processing circuitry and / or user interface circuitry including processing circuitry may be configured to control one or more functions of one or more user interface elements via computer program instructions (e.g., software and / or firmware) stored in memory accessible to processing circuitry (e.g., memory devices, etc.).

[0205] ISO Basic Media File Format

[0206] Available media file format standards include the International Organization for Standardization (ISO) Basic Media File Format (ISOBMFF), the Moving Picture Experts Group (MPEG)-4 file format, the Network Abstraction Layer (NAL) Unit Structured Video file format, and the High Efficiency Video Coding Standard (HEVC or H.65 / HEVC).

[0207] The following description of some concepts, structures, and specifications of ISOBMFF is an example of a container file format upon which some embodiments can be implemented. The aspects of this disclosure are not limited to ISOBMFF, but are described with respect to a possible foundation upon which at least some embodiments can be implemented in part or in full.

[0208] The basic building blocks in the ISO Basic Media File Format are called frames. Each frame has a header and a payload. The frame header indicates the frame type and size in bytes. The frame type is typically identified by an unsigned 32-bit integer, which is interpreted as a four-character code (4CC). Frames can include other frames, and the ISO file format specifies which frame types are allowed in a particular frame type. Furthermore, the presence of some frames may be mandatory in every file, while the presence of others may be optional. Additionally, for some frame types, more than one frame may be allowed in a single file. Therefore, the ISO Basic Media File Format can be considered to specify a hierarchy of frames.

[0209] In files conforming to the ISO Basic Media File Format, media data can be provided in one or more examples of a Media Data Frame (“mdat”), and a Movie Frame (“mov”) can be used to encapsulate metadata for timed media. In some cases, both “mdat” and “moov” frames may be required to make the file operable. A “moov” frame can include one or more tracks, and each track can reside in a corresponding track frame (“trak”). Each track is associated with a processor, identified by a four-character code specifying the track type. Video, audio, and image sequence tracks can be collectively referred to as media tracks, and they contain the basic media stream. Other track types include cue tracks and timed metadata tracks.

[0210] Tracks consist of samples, such as audio or video frames. For video tracks, media samples may correspond to encoded images or access units.

[0211] A media track refers to a sample formatted according to a media compression format (also called a media sample) (and its encapsulation into the ISO Basic Media File Format). A prompt track refers to a prompt sample containing recipe instructions for constructing data packets to be transmitted via the indicated communication protocol. A timing metadata track can refer to a sample describing the referenced media and / or prompt sample.

[0212] The “trak” box includes a sample descriptor box within its box hierarchy. This sample descriptor box provides detailed information about the encoding type used and any initialization information required for that encoding. The sample descriptor box contains an entry count and as many sample entries as the entry count indicates. The format of the sample entries is track-type specific but derived from a generic class (e.g., video sample entries, audio sample entries). Which type of sample entry format is used to derive the track-type specific sample entry format is determined by the track's media processor.

[0213] Track reference mechanisms can be used to associate tracks with each other. A track reference box comprises multiple boxes, each providing a reference from the containing track to a set of other tracks. These references are identified by the box type of the containing boxes (e.g., a four-character code for the box).

[0214] The ISO Basic Media File Format includes three mechanisms for associating timing metadata with a specific sample: sample groups, timing metadata tracks, and sample ancillary information. Derivative specifications can utilize one or more of these mechanisms to provide similar functionality.

[0215] Sample grouping in ISO Basic Media File Formats and their derivatives (such as Advanced Video Coding (AVC) and Scalable Video Coding (SVC) file formats) can be defined as assigning each sample in a track as a member of a sample group based on a grouping criterion. Sample groups are not limited to consecutive samples and can contain non-adjacent samples. Since more than one sample group can exist for a sample in a track, each sample group can have a type field to indicate the grouping type. Sample groups can be represented by two linked data structures: (1) a Sample-to-Group Box (sbgp box) representing the assignment of a sample to a sample group; and (2) a Sample-to-Group Description Box (sgpd box) containing sample group entries for each sample group describing the group's attributes. Multiple instances of the Sample-to-Group Box and the Sample-to-Group Description Box can exist based on different grouping criteria. These can be distinguished by a type field used to indicate the grouping type. The Sample-to-Group Box may include a grouping_type_parameter field, which can be used, for example, to indicate the subtype of the group.

[0216] In ISOMBFF, the EditList provides a mapping between the presentation timeline and the media timeline. Among other things, the EditList provides a linear offset for the sample presentation within the track, indicates empty times, and specifies which sample to stay on within a particular time period. The presentation timeline can be modified accordingly to provide loops, such as looping video for different areas of a scene. Below is an example of a box including the EditListBox:

[0217]

[0218] In ISOBMFF, an EditListBox can be contained within an edit box, which is then contained within a track box (“trak”).

[0219] In the example of the edit list box, flags specify the repetition of the edit list. For example, setting a specific bit (the least significant bit, such as flag &1 in ANSI-C notation, where & indicates a bitwise AND operation) within the box flag to 0 specifies that the edit list should not be repeated, while setting a specific bit (such as flag &1 in ANSI-C notation) to 1 specifies that the edit list should be repeated. Values ​​of box flags greater than 1 can be defined as reserved for future expansion. Therefore, when the edit list box indicates playback of zero or one sample, (flags&1) should be equal to zero. When the edit list is repeated, the media generated by the edit list at time 0 immediately follows the media with the maximum time caused by the edit list, making the edit list repeat seamlessly.

[0220] In ISOBMFF, track groups can be formed based on specific characteristics or by having specific relationships between tracks within a group. However, track grouping does not allow any image items to be included in the group.

[0221] The syntax for TrackGroupBox in ISOBMFF is as follows:

[0222]

[0223] `track_group_type` indicates the `grouping_type` and should be set to one of the following values, or a registered value, or a value derived from the specification or registration: "msrc" indicates that the track belongs to a multi-source representation. Tracks with the same `track_group_id` value in the `TrackGroupTypeBox` of `track_group_type 'msrc'` are mapped to originate from the same source. For example, a recording of a video call can have audio and video for two participants, and the `track_group_id` values ​​associated with the audio and video tracks of one participant are different from the `track_group_id` values ​​associated with the track of the other participant.

[0224] Track_group_id and track_group_type are used to identify track groups in a file. Tracks containing a specific TrackGroupTypeBox with the same track_group_id and track_group_type values ​​belong to the same track group.

[0225] Entity grouping is similar to track grouping, but it allows you to group both track and image items in the same group.

[0226] The syntax for EntityToGroupBox in ISOBMFF is as follows:

[0227]

[0228] The group_id is a non-negative integer assigned to a specific group. It should not be equal to any group_id value of any other EntityToGroupBox, any item_ID value of the hierarchy level (file, movie, or track) containing the GroupsListBox, or any track_ID value (when the GroupsListBox is contained at the file level).

[0229] num_entities_in_group specifies the number of entity_id values ​​mapped to this entity group.

[0230] When an item with an item_ID equal to entity_id exists at the hierarchy level (file, movie, or track) containing the GroupsListBox, entity_id is resolved to an item; when a track with an item_ID equal to entity_id exists and the GroupsListBox is contained at the file level, entity_id is resolved to a track.

[0231] ISOBMFF compliant files can contain any non-timed objects in a meta box (four-character code: "meta"), referred to as items, meta items, or metadata items. While the name meta box refers to metadata, items can typically contain metadata or media data. Meta boxes can be located at the top level of the file, within a movie box (four-character code: "moov"), or within a track box (four-character code: "trak"), but at most one meta box can appear at each of the file, movie, or track levels. Meta boxes may require an "hdlr" box indicating the structure or format of the "meta" box's contents. Meta boxes can list and characterize any number of items that can be referenced, and each of them can be associated with a filename and uniquely identified by an item identifier (item_id) as an integer value. For example, metadata items can be stored in the "idat" box of a meta box, or in the "mdat" box, or reside in a separate file. If metadata is located outside the file, its location can be declared by a DataInformationBox (four-character code: "dinf"). In specific cases where metadata is formatted using Extensible Markup Language (XML) syntax and needs to be stored directly in a MetaBox, the metadata can be encapsulated in an XMLBox (four-character code: "XML") or a BinaryXMLBox (five-character code: "bxml"). Items can be stored as a contiguous range of bytes or in several extended ranges, each an extended range of bytes. In other words, items can be stored in segments across extended ranges, for example, to achieve interleaving. An extended range is a contiguous subset of resource bytes. Resources can be formed by concatenating extended ranges.

[0232] The ItemPropertiesBox allows you to associate any item with an ordered set of item properties. Item properties can be viewed as small data records. The ItemPropertiesBox consists of two parts: an ItemPropertyContainerBox containing a list of implicitly indexed item properties, and one or more ItemPropertyAssociationBoxes that associate items with item properties.

[0233] High-Efficiency Image File Format (HEIF)

[0234] High-Efficiency Picture File Format (HEIF) is a standard developed by the Moving Picture Experts Group (MPEG) for storing images and image sequences. Among other things, this standard facilitates file encapsulation of data encoded according to the High-Efficiency Video Coding (HEVC) standard. HEIF includes features built upon the ISO Basic Media File Format (ISOBMFF) used in this standard.

[0235] The design of HEIF largely utilizes the structure and features of ISOBMFF. The basic design of HEIF involves storing still images as items and image sequences as tracks.

[0236] In the context of HEIF, the following boxes can be included in the root-level "meta" box and can be used as described below. In HEIF, the processor value of the "processor" box in the "meta" box is "pict". Resources containing encoded media data (whether in the same file or in an external file identified by a Uniform Resource Identifier) ​​are resolved via the Data Information ("dinf") box, while the Item Location ("iloc") box stores the position and size of each item in the reference file. The Item Reference ("iref") box uses typed references to document relationships between items. When an item in a collection is considered, in some way, the most important item compared to others, it is represented by the "Primary Item" ("pitm") box. In addition to the boxes mentioned here, the "meta" box can flexibly include other boxes needed to describe the items.

[0237] Any number of image items can be included in the same file. Given a collection of images stored using the "meta" box method, it is sometimes necessary to define certain relationships between the images. Examples of such relationships include indicating a cover image of the collection, providing thumbnails of some or all of the images in the collection, and associating some or all of the images in the collection with auxiliary images such as an alpha plane. The cover image in an image collection is indicated using a "pitm" box. Thumbnails or auxiliary images are linked to the main image item using item references of type "thmb" or "auxl," respectively.

[0238] Regional Projects and Regional Notes

[0239] Regional Projects

[0240] definition

[0241] An item with the value "rgan" defines one or more regions of an image.

[0242] Region items allow the association of the same set of item attributes with other items or both with each individual region defined within an image. However, an item attribute should only be associated with a region item if the region's attribute value differs from the matching (explicit or implicit) attribute value of the base image.

[0243] Region projects are associated with image projects, where regions are defined using a project reference of type "cdsc" that extends from the region project to the image project.

[0244] The geometry of the region described by the region project is specified in the project's data. These geometries define the shape, location, and size of the region within a reference space that is mapped to the image project associated with the region project before any transformation attributes are applied to the image project.

[0245] The reference space is defined as a two-dimensional coordinate system with the origin (0,0) at the top left corner, and its maximum size is defined by reference_width and reference_height; the x-axis is oriented from left to right, and the y-axis is oriented from top to bottom. The geometry of the region within the associated image item is the result of implicit resampling applied due to the difference between the size of the reference space and the size of the image item.

[0246] The geometry of a region described by a region item can be represented by points, rectangles, ellipses, polygons, masks stored in the image item, or masks declared in the region item's data.

[0247] A pixel in an image item that is part of a region depends on the geometry of that region. When the geometry of a region is represented by a point, the pixel located at that point (if it exists) is part of that region. When the geometry of a region is represented by a rectangle, ellipse, or polygon, the pixel located inside (including the boundary) of that rectangle, ellipse, or polygon is part of that region. When the geometry of a region is represented as a mask, the pixel of the image item corresponding to a pixel with a value of 0 in the mask image is part of that region.

[0248] In one embodiment, a region can be empty when it falls entirely outside the image. Empty regions should be ignored.

[0249] When the geometry of a region is represented by a mask stored in an image project (e.g., when geometry_type equals 4), the project containing the mask should be identified by a "mask" type project reference from the region project to the project containing the mask. When a region project describes multiple regions represented by masks stored in an image project, there should be one reference for each such region within a "mask" type project reference. The Nth reference in the "mask" type project reference identifies the mask of the Nth region in the region project where geometry_type equals 4 (in the order of declaration).

[0250] In one embodiment, when the same mask stored as an image item is used for multiple regions declared in a region item, the image item will be referenced multiple times in an item reference of the "mask" type.

[0251] In one embodiment, when the mask is stored as an image item, transform item attributes can be applied to the mask before the mask is applied to a reference image item.

[0252] grammar

[0253]

[0254]

[0255] Semantics

[0256] The version should be 0.

[0257] `(flags&1)` equal to 0 specifies that the length of fields x, y, width, height, radius_x, radius_y, point_count, px, and py is 16 bits. `(flags&1)` equal to 1 specifies that the length of fields x, y, width, height, radius_x, radius_y, point_count, px, and py is 32 bits. Values ​​of flags greater than 1 are reserved.

[0258] `reference_width` and `reference_height` specify the width and height of the reference space on which the region is placed, respectively.

[0259] `geometry_type` specifies the type of geometry of the region. The following values ​​are specified for `geometry_type`:

[0260] -0: The region is described as a point.

[0261] -1: The region is described as a rectangle.

[0262] -2: The region is described as an ellipse.

[0263] -3: The region is described as a polygon.

[0264] -4: The region is described as a mask defined in the reference image project.

[0265] -5: The region is described as a mask defined within the data of the region project.

[0266] - Keep other values.

[0267] x and y specify the coordinates of the region when its geometry is a point. x and y specify the top-left corner of the region when its geometry is a rectangle or mask. x and y specify the center of the region when its geometry is an ellipse. Negative values ​​for the x or y fields allow you to specify points, top-left corners, and / or centers outside the image. This can be useful for updating region annotations during the editing of HEIF files.

[0268] The width and height parameters specify the width and height of the region when its geometry is rectangular or an inline mask.

[0269] radius_x specifies the radius of the region on the x-axis when the region's geometry is elliptical.

[0270] radius_y specifies the radius of the region on the y-axis when the region's geometry is elliptical.

[0271] point_count is the number of points contained in the polygon.

[0272] The polygons of the specified region's geometry are always closed, so there is no need to repeat the first point of the polygon as its endpoint.

[0273] px and py specify the coordinates of the points that make up the polygon.

[0274] bits_per_pixel provides the number of bits per pixel. It should be 1, 8, 16, or 24. Other values ​​are reserved.

[0275] To specify a mask with more than 1 bit per pixel, an alpha plane layer can be used as the mask.

[0276] The data contains pixels of an inline mask in raster scan order. When bits_per_pixel equals 1, 8 pixels are packed into one byte. If the mask width is not a multiple of 8 pixels, padding should not be placed at the end of each line. Padding should only be placed on the last data byte.

[0277] Area annotation

[0278] Region annotations include metadata or image items associated with one or more regions of an image item.

[0279] Region annotations can be associated with one or more regions of an image item in the following ways:

[0280] - Describe the geometry of one or more of these regions in the region project;

[0281] - Use the "cdsc" (Content Description) project reference, which links region items to image items, to associate region items with the image items they describe; and

[0282] - Associate any or all of the following with the regional project:

[0283] Use descriptive image properties of the ItemPropertyAssociationBox. In one embodiment, region annotations can use the UserDescriptionProperty to associate a description / label with a region of the image item;

[0284] The metadata project uses a "cdsc" type project reference, which is used to map metadata projects to regional projects; or

[0285] For image items or entity groups, use the "eroi" type of project reference, which is derived from a region item to an image item or entity group.

[0286] Region annotations are applicable to regions or each region individually described within a region project.

[0287] By associating the same region item with multiple image items, the same region annotation can be associated with several image items.

[0288] Region items are a new feature introduced in HEIF. They store region information mapped to specific areas of an image. Such regions can have regular or irregular shapes. Irregular shapes can be defined using a "mask".

[0289] The current syntax structure enables masking signaling by referencing an image item, which can be used as a mask by inline storage of mask data within the RegionItem metadata structure.

[0290] Because the mask data stored inline is raw data, its size can become quite large. This makes the HEIF metadata unnecessarily large and can cause unnecessary delays or processing complexity when accessing images within the HEIF file.

[0291] Various embodiments provide at least the following methods to reduce the data size:

[0292] The mask data can be losslessly compressed using readily available compression tools such as ZLIB and DEFLATE. The compressed mask data can still be stored inline within the RegionItem data structure.

[0293] Define a new project (mask project), which then stores the lossless compressed mask data as media data and is explicitly referenced by a project reference of type "mask".

[0294] Various embodiments also provide the necessary syntax elements for sending signal notifications and configuring region masks, and efficiently store them in image file format files, such as HEIF files.

[0295] To introduce efficient storage of the mask, the RegionItem data structure has been extended in various embodiments as follows:

[0296]

[0297]

[0298]

[0299] The following semantics explain one or more syntactic elements proposed by the various embodiments:

[0300] `cell_size` indicates the size of an M×N pixel region that includes the mask value, where M indicates the number of horizontal pixels and N indicates the number of vertical pixels. Their values ​​can be 1, 2, 4, or 8. In one embodiment, M = (cell_size >> 4) & 0x0F, and N = cell_size & 0x0F.

[0301] An M×N cell size indicates that M×N pixels are represented by a single mask value. For example, a 2×2 cell size indicates that a single mask value applies to all pixels in a 2×2 grid. In this case, the number of bits in the mask should be equal to bits_per_pixel*(width*height) / (cell_size). This division will yield an integer value.

[0302] The `mask_coding_method` directive indicates the encoding method applied to the data. The following values ​​can be specified:

[0303] -0: No masking scheme was applied.

[0304] -1: DEFLATE compresses data

[0305] -2: ZLIB compressed data

[0306] -Other values: Reserved

[0307] mask_coding_parameters indicates the additional encoding or decoding parameters required to successfully process the encoded masked data.

[0308] When mask_coding_method is:

[0309] -1 or 2: mask_coding_parameters indicates the number of bytes in the encoded mask array data [].

[0310] -Other values: Reserved

[0311] The data contains an encoded (DEFLATE or ZLIB) representation of a mask, which can include pixels of an inline mask in raster scan order. bits_per_pixel and byte packing can be defined as follows:

[0312] - When bits_per_pixel equals 1, 2, or 4, the number of pixels or units (pixel dimensions of M×N) packed per byte are 8, 4, or 2, respectively. Byte packing can be big-endian. In another embodiment, byte packing can be little-endian or mixed-endian. When the mask width is not a multiple of 8 pixels, padding should not be placed at the end of each line. Padding should only be placed on the last data byte.

[0313] - When bits_per_pixel equals 8, 16, or 24, the mask value for a pixel or unit (a pixel of size M×N) is represented by 1, 2, or 3 bytes, respectively. The bytes of a pixel or unit (a pixel of size M×N) can be serialized starting from the most significant byte. In another embodiment, the bytes of a pixel or unit (a pixel of size M×N) can be serialized starting from the least significant byte.

[0314] mask_configuration includes mask-related information that serves as the MaskConfigurationStruct.

[0315] MaskConfigurationStruct is described in the following paragraphs along with the mask item syntax.

[0316] In another embodiment, the mask is introduced as an HEIF item. At least one advantage of this approach is that the mask data can be stored in the media data section of the HEIF file, rather than along with metadata. Furthermore, all necessary configuration data for the mask can be collected together and / or reused by different region items.

[0317] Masked Project

[0318] definition

[0319] The item_type value is a project definition mask. A mask can be associated with a region project to define a mask for a specific region defined by that region project.

[0320] A mask item includes a defined width and height in pixels. Mask item data represents a compressed or uncompressed sequence of bits, where each bit corresponds to one pixel or a group of pixels.

[0321] The width and height of the mask item should be indicated using the image space extension (“ispe”) attribute.

[0322] Mask-specific configuration and compression information can be stored in MaskConfigurationProperty.

[0323] The mask data includes an encoded representation of the mask (e.g., DEFLATE or ZLIB), which comprises pixels of the inline mask in raster scan order. The bits_per_pixel and byte packing are defined as follows:

[0324] - When `bits_per_pixel` of `MaskConfigurationProperty` is equal to 1, 2, or 4, each byte is packed with 8, 4, or 2 pixels or cells (pixels of size M×N). Byte packing can be big-endian. When the mask width is not a multiple of 8 pixels, padding should not be placed at the end of each line; only the last data byte should be padded. For example, when the number of bits required to represent the mask, calculated using the formula `bits_per_pixel*(width*height) / (cell_size)`, is not a multiple of 8, the last byte can have padding bits, and the formula tells us how many bits are padded.

[0325] - When the bits_per_pixel of MaskConfigurationProperty is equal to 8, 16, or 24; the mask values ​​for one or more pixels (pixels of size M×N) are represented by 1, 2, or 3 bytes respectively. The bytes of a pixel can be serialized starting from the most significant byte.

[0326] Mask configuration properties

[0327] Configuration information for masked items can be stored as properties and associated with the masked item. The following syntax and definitions define such configuration properties.

[0328] definition

[0329] - Box type: "mskc"

[0330] - Attribute type: Descriptive item attribute

[0331] -Container: ItemPropertyContainerBox

[0332] - (For each project) Mandatory requirement: Yes for masked projects

[0333] -Quantity (per item): One

[0334] MaskConfigurationProperty provides the information needed to generate mask items.

[0335] grammar

[0336]

[0337] Semantics

[0338] (flags&1) equals 0, which specifies that the width and height fields are 16 bits long.

[0339] (flags&1) equals 1, which specifies that the width and height fields are 32 bits long.

[0340] The values ​​of flags greater than 1 are preserved.

[0341] The width parameter specifies the width of the mask in pixels.

[0342] The height parameter specifies the height of the mask in pixels.

[0343] `bits_per_pixel` provides the number of bits per pixel. It should be 1, 2, 4, 8, 16, or 24. Other values ​​are reserved.

[0344] `cell_size` indicates the size of an M×N pixel region, including a mask value, where M indicates the number of horizontal pixels and N indicates the number of vertical pixels. Their values ​​can be 1, 2, 4, or 8. In one embodiment, M = (cell_size >> 4) & 0x0F, N = cell_size & 0x0F.

[0345] An M×N cell size indicates that M×N pixels are represented by a single mask value. For example, a 2×2 cell size indicates that a single mask value applies to all pixels in a 2×2 grid. In this case, the number of bits in the mask should be equal to bits_per_pixel*(width*height) / (cell_size). This division will yield an integer value.

[0346] mask_data_encoding_method indicates the encoding method applied to the data.

[0347] The following values ​​were specified:

[0348] -0: No masking scheme was applied.

[0349] -1: DEFLATE compresses data, for example, as defined in RFC 1951.

[0350] -2: ZLIB compressed data, for example, as defined in RFC 1950.

[0351] -Other values: Reserved

[0352] Figure 7 Example device 700, which can be implemented in hardware, is configured to implement a mechanism for signaling at least one of regions and / or region masks in an image file format, based on the examples described herein. Device 700 includes a processor 702 and at least one non-transitory memory 704 including computer program code 705, wherein the at least one memory 704 and the computer program code 705 are configured, together with at least one processor 702, to enable the device to implement a mechanism for signaling at least one of regions and / or region masks in an image file format 706. Device 700 optionally includes a display 708, which can be used to display content during drawing. Device 700 optionally includes one or more network (NW) interfaces (I / F) 710s. The NW I / Fs 710s can be wired and / or wireless and communicate via the Internet / (multiple) other networks via any communication technology. The NW I / Fs 710s can include one or more transmitters and one or more receivers. The (multiple) N / WI / F 710 may include standard, well-known components such as amplifiers, filters, frequency converters, (de)modulators, (multiple) encoder / decoder circuitry, and one or more antennas.

[0353] Device 700 can be a remote, virtual, or cloud device. Device 700 can be an encoder or decoder, or both. At least one memory 704 can be implemented using any suitable data storage technology, such as semiconductor-based memory devices, flash memory, magnetic memory devices and systems, optical memory devices and systems, fixed memory, and removable memory. At least one memory 704 can include a database for storing data. Device 700 does not need to include every feature mentioned, or may include other features. Device 700 can correspond to or Figure 1 and Figure 2 The device 50 shown or Figure 3 Another embodiment of any of the devices shown. Device 700 may correspond to or Figure 9 Another embodiment of the device shown includes a UE 110, a RAN node 170, or (multiple) network elements 190.

[0354] Figure 8 This is an example method 800 according to one embodiment for implementing a mechanism for signaling at least one of regions and / or region masks in an image file format. (Example:) Figure 7 As shown in block 706, device 700 includes components such as processing circuitry system 702 for implementing a mechanism for signaling at least one of regions and / or region masks in an image file format. In 802, method 800 includes defining or extending a file format data structure to include cell size, mask encoding method, mask encoding parameters, and mask configuration. In 804, method 800 includes a cell size indicating the size of a region including a mask value in pixels. In one embodiment, an M×N region is represented by a mask value. For example, when the region size is 20×20 pixels (M=2 and N=2), the mask will have a size of 10×10. In this embodiment, M×N indicates the pixel size mapped to a mask value. In 806, method 800 includes a mask encoding method indicating an encoding method applied to a mask or data of a media. In 808, method 800 includes a mask encoding parameter indicating additional encoding or decoding parameters required for processing the encoded mask data. In 810, method 800 includes, wherein the mask configuration includes mask-related information as a mask configuration structure.

[0355] Go to Figure 9 The figure illustrates a block diagram of a possible non-limiting system in which example embodiments can be practiced. User equipment (UE) 110, radio access network (RAN) node 170, and network elements(s) 190 are illustrated. Figure 1In the example, User Equipment (UE) 110 wirelessly communicates with Wireless Network 100. The UE is a wireless device capable of accessing Wireless Network 100. UE 110 includes one or more processors 120, one or more memories 125, and one or more transceivers 130 interconnected via one or more buses 127. Each of the one or more transceivers 130 includes a receiver Rx 132 and a transmitter Tx 133. The one or more buses 127 may be address, data, or control buses and may include any interconnection mechanism, such as a series of lines on a motherboard or integrated circuit, fiber optic cables, or other optical communication devices. The one or more transceivers 130 are connected to one or more antennas 128. The one or more memories 125 include computer program code 123. UE 110 includes a module 140, which includes one or both of portions 140-1 and / or 140-2, and module 140 may be implemented in various ways. Module 140 may be implemented in hardware as module 140-1, such as being implemented as part of one or more processors 120. Module 140-1 can also be implemented as an integrated circuit or via other hardware such as a programmable gate array. In another example, module 140 can be implemented as module 140-2, which is implemented as computer program code 123 and executed by one or more processors 120. For example, one or more memories 125 and computer program code 123 can be configured to perform one or more of the operations described herein with the user device 110 using one or more processors 120. UE 110 communicates with RAN node 170 via radio link 111.

[0356] In this example, RAN node 170 is a base station that provides access from wireless devices such as UE 110 to wireless network 100. RAN node 170 can be, for example, a base station for 5G, also known as New Radio (NR). In 5G, RAN node 170 can be an NG-RAN node, which is defined as a gNB or ng-eNB. A gNB is a node that provides NR user plane and control plane protocol terminals to the UE and is connected to the 5GC (e.g., multiple network elements 190) via an NG interface. An ng-eNB is a node that provides E-UTRA user plane and control plane protocol terminals to the UE and is connected to the 5GC via an NG interface. An NG-RAN node can include multiple gNBs, and can also include a central unit (CU) (gNB-CU) 196 and multiple distributed units (DUs) (gNB-DU), where DU 195 is shown. Note that a DU can include or be coupled to and control a radio unit (RU). The gNB-CU is a logical node that hosts the Radio Resource Control (RRC), SDAP, and PDCP protocols of the gNB or the en-gNB, and controls the operation of one or more gNB-DUs. The gNB-CU terminates the F1 interface connected to the gNB-DU. The F1 interface is shown as reference numeral 198, although reference numeral 198 also illustrates links between remote elements of RAN node 170 and centralized elements of RAN node 170, such as the link between gNB-CU 196 and gNB-DU 195. The gNB-DU is a logical node hosting the RLC, MAC, and PHY layers of the gNB or en-gNB, and its operation is partially controlled by the gNB-CU. One gNB-CU supports one or more cells. A cell is supported by only one gNB-DU. The gNB-DU terminates the F1 interface 198 connected to the gNB-CU. Note that DU 195 is considered to include transceiver 160, for example, as part of an RU; however, some examples may have transceiver 160 as part of a separate RU, for example, under the control of DU 195 and connected to DU 195. RAN node 170 may also be an eNB (evolved Node B) base station for LTE (Long Term Evolution), or any other suitable base station or node.

[0357] RAN node 170 includes one or more processors 152, one or more memories 155, one or more network interfaces (N / WI / F) 161, and one or more transceivers 160 interconnected via one or more buses 157. Each of the one or more transceivers 160 includes a receiver Rx 162 and a transmitter Tx 163. The one or more transceivers 160 are connected to one or more antennas 158. The one or more memories 155 include computer program code 153. CU 196 may include processor(s) 152, memories 155, and network interfaces 161. Note that DU 195 may also include its own one or more memories and processor(s), and / or other hardware, but these are not shown.

[0358] RAN node 170 includes module 150, which includes one or both of portions 150-1 and / or 150-2. Module 150 can be implemented in various ways. Module 150 can be implemented in hardware as module 150-1, such as being implemented as part of one or more processors 152. Module 150-1 can also be implemented as an integrated circuit or by other hardware such as a programmable gate array. In another example, module 150 can be implemented as module 150-2, which is implemented as computer program code 153 and executed by one or more processors 152. For example, one or more memories 155 and computer program code 153 are configured, together with one or more processors 152, to cause RAN node 170 to perform one or more operations as described herein. Note that the functionality of module 150 can be distributed, such as distributed between DU 195 and CU 196, or implemented only in DU 195.

[0359] One or more network interfaces 161 communicate over a network, such as via links 176 and 131. Two or more gNBs 170 may communicate using, for example, link 176. Link 176 may be wired or wireless, or both, and may implement, for example, an Xn interface for 5G, an X2 interface for LTE, or other suitable interfaces for other standards.

[0360] One or more buses 157 may be address, data, or control buses and may include any interconnecting mechanism, such as a series of lines on a motherboard or integrated circuit, optical fiber or other optical communication equipment, wireless channels, etc. For example, one or more transceivers 160 may be implemented as a Remote Radio Header (RRH) 195 for LTE or a Distributed Unit (DU) 195 for a gNB implementation of 5G, wherein other elements of the RAN node 170 may be physically located in a different location from the RRH / DU, and one or more buses 157 may be partially implemented, for example, as fiber optic cables or other suitable network connections for connecting other elements of the RAN node 170 (e.g., Central Unit (CU), gNB-CU) to the RRH / DU 195. Reference numeral 198 also indicates those suitable network links(s).

[0361] Note that the description in this article indicates that a "cell" performs a function, but it should be clear that the equipment forming a cell can perform functions. A cell constitutes part of a base station. That is, each base station can have multiple cells. For example, for a single carrier frequency and associated bandwidth, there can be three cells, each covering one-third of a 360-degree area, making the coverage area of ​​a single base station approximately elliptical or circular. Furthermore, each cell can correspond to a single carrier, and a base station can use multiple carriers. Therefore, if each carrier has three 120-degree cells and two carriers, then the base station has a total of six cells.

[0362] Wireless network 100 may include one or more network elements 190, which may include core network functions and provide connectivity to another network, such as a telephone network and / or a data communication network (e.g., the Internet), via one or more links 181. Such core network functions for 5G may include access and mobility management functions (AMF) and / or multiple user plane functions (UPF) and / or multiple session management functions (SMF). Such core network functions for LTE may include MME (Mobility Management Entity) / SGW (Serving Gateway) functions. These are merely example functions that the network elements 190 may support, and it should be noted that both 5G and LTE functions may be supported. RAN node 170 is coupled to network element 190 via link 131. Link 131 may be implemented as, for example, an NG interface for 5G, or an S1 interface for LTE, or other suitable interfaces for other standards. Network element 190 includes one or more processors 175, one or more memories 171, and one or more network interfaces (N / WI / F) 180 interconnected via one or more buses 185. One or more memories 171 include computer program code 173. The one or more memories 171 and computer program code 173 are configured to, together with one or more processors 175, cause the network element 190 to perform one or more operations.

[0363] Wireless network 100 can implement network virtualization, which is a process of combining hardware and software network resources and network functions into a single software-based managed entity (virtual network). Network virtualization involves platform virtualization, which is often combined with resource virtualization. Network virtualization can be external, combining many networks or parts of networks into virtual units; or internal, providing network-like functionality to software containers on a single system. Note that at certain levels, the virtualized entities created by network virtualization are still implemented using hardware such as processors 152 or 175 and memories 155 and 171, and these virtualized entities also produce technical effects.

[0364] Computer-readable storage devices 125, 155, and 171 can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as semiconductor-based memory devices, flash memory, magnetic storage devices and systems, optical storage devices and systems, fixed storage, and removable storage. Computer-readable storage devices 125, 155, and 171 can be components for performing storage functions. Processors 120, 152, and 175 can be of any type suitable for the local technical environment and, by way of non-limiting example, can include one or more of a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), and a processor based on a multi-core processor architecture. Processors 120, 152, and 175 can be components for performing functions such as controlling UE 110, RAN node 170, network element(s) 190, and other functions as described herein.

[0365] Typically, various embodiments of user equipment 110 may include, but are not limited to, cellular phones such as smartphones, tablets, personal digital assistants (PDAs) with wireless communication capabilities, portable computers with wireless communication capabilities, image capture devices (such as digital cameras) with wireless communication capabilities, gaming devices with wireless communication capabilities, music storage and playback devices with wireless communication capabilities, internet devices that allow wireless internet access and browsing, tablets with radio communication capabilities, and portable units or terminals that include combinations of such functions.

[0366] One or more of modules 140-1, 140-2, 150-1, and 150-2 can be configured to implement a mechanism for signaling at least one of regions and / or region masks in an image file format based on the examples described herein. Computer program code 173 can also be configured to implement a mechanism for signaling at least one of regions and / or region masks in an image file format based on the examples described herein.

[0367] As mentioned above, Figure 8The flowcharts include devices (e.g., 50, 600, or 700), methods, and computer program products according to certain example embodiments. It should be understood that each block of the flowchart, and combinations of blocks in the flowchart, can be implemented by various components, such as hardware, firmware, processors, circuit systems, and / or other devices associated with the execution of software including one or more computer program instructions. For example, one or more processes described above can be implemented by computer program instructions. In this regard, the computer program instructions embodying the processes described above can be stored in the memory (e.g., 58, 125, 604, or 704) of a device employing an embodiment of the invention, and executed by the processing circuitry of that device (e.g., 56, 120, 602, or 702). As will be understood, any such computer program instructions can be loaded onto a computer or other programmable device (e.g., hardware) to produce a machine, such that the resulting computer or other programmable device performs the functions specified in the flowchart blocks. These computer program instructions can also be stored in a computer-readable storage medium that can instruct the computer or other programmable device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of art, the execution of which performs the functions specified in the flowchart blocks. Computer program instructions may also be loaded onto a computer or other programmable device to cause a series of operations to be performed on the computer or other programmable device to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable device, provide operations for implementing the functions specified in the flowchart blocks.

[0368] Therefore, a computer program product is defined in the case that computer program instructions (such as computer-readable program code portions) are stored on at least one non-transitory computer-readable storage medium, wherein the computer program instructions (such as computer-readable program code portions) are configured to perform, when executed, the above-mentioned combinations, etc. Figure 8 The flowchart describes the functionality. In other embodiments, the computer program instructions (such as computer-readable program code portions) do not need to be stored or otherwise embodied by a non-transitory computer-readable storage medium, but may be embodied by a transient medium, wherein the computer program instructions (such as computer-readable program code portions) are configured to still perform the above-described functionality when executed.

[0369] Therefore, flowchart blocks support combinations of components used to perform specified functions, as well as combinations of operations used to perform specific functions. It will also be understood that one or more blocks of a flowchart, and combinations of blocks in a flowchart, can be implemented by a dedicated hardware-based computer system or a combination of dedicated hardware and computer instructions to perform the specified functions.

[0370] In some embodiments, certain operations described above may be modified or further amplified. Additionally, in some embodiments, additional optional operations may be included. Modifications, additions, or amplifications of the operations described above can be made in any order and in any combination.

[0371] Benefiting from the teachings given in the foregoing description and associated drawings, those skilled in the art will conceive of many modifications and other embodiments of the invention set forth herein. Therefore, it should be understood that the invention is not limited to the specific embodiments disclosed, and that modifications and other embodiments are intended to be included within the scope of the appended claims. Furthermore, although the foregoing description and associated drawings describe exemplary embodiments in the context of certain example combinations of elements and / or functions, it should be understood that alternative embodiments may provide different combinations of elements and / or functions without departing from the scope of the appended claims. In this regard, for example, different combinations of elements and / or functions explicitly described above are also considered, as set forth in some of the appended claims. Therefore, this specification is intended to include all such alternatives, modifications, and variations falling within the scope of the appended claims. Although specific terms are used herein, they are used only in a general and descriptive sense and not for limiting purposes.

[0372] It should be understood that the above description is illustrative only. Those skilled in the art can devise various alternatives and modifications. For example, the features described in the various dependent claims can be combined with each other in any suitable combination(s). Furthermore, features from the different embodiments described above can be selectively combined to form new embodiments. Therefore, this specification is intended to include all such alternatives, modifications, and variations falling within the scope of the appended claims.

Claims

1. An apparatus for defining or extending file format data structures, comprising: Components used to define or extend file format data structures for masked projects include: Cell size, used to indicate the size of a region including mask values ​​in pixels, wherein the region is represented by mask values; A mask encoding method is used to indicate an encoding method for a mask or data applied to a media, wherein the region is mapped to a specific region of the media, and wherein the mask encoding method is represented by a mask encoding method value; One or more mask encoding parameters, used to indicate additional encoding or decoding parameters required for processing the encoded mask data; and The mask configuration used for the mask project includes mask-related information as a mask configuration structure.

2. The apparatus of claim 1, wherein the size of the unit comprises M × N pixels, wherein M indicates the number of horizontal pixels and N indicates the number of vertical pixels.

3. The apparatus of claim 1, wherein the mask encoding method includes values ​​indicating one or more of the following: No masking scheme was applied; Apply DEFLATE compression encoding; or ZLIB compression encoding is applied.

4. The apparatus of claim 1, wherein when the mask encoding method includes a predetermined value, the mask encoding parameter further indicates the number of bytes in the encoded mask array.

5. The apparatus of claim 4, wherein when the mask encoding method includes values ​​other than the predetermined value, the value of the mask encoding parameter is preserved.

6. The apparatus of claim 3 further includes components for defining a mask for the region, wherein the region is defined based on at least one of the region items or metadata of the media.

7. The apparatus according to any one of claims 1 to 6, wherein the file format data structure includes a region item data structure.

8. The apparatus according to any one of claims 1 to 6, wherein the file format data structure includes the mask.

9. The apparatus of claim 8 further includes a component for defining an item type, wherein the image item of item type "mski" is a mask item defining the mask.

10. The apparatus of claim 1, wherein the mask configuration includes at least one of the following: per-pixel bit or byte packing information.

11. The apparatus of claim 10, wherein when the per-pixel bit information of the mask configuration includes 1, 2 or 4, the pixels packed per byte are 8, 4 or 2 respectively, and wherein the byte packing information includes big-endian.

12. The apparatus of claim 11, wherein when the mask width is not a multiple of 8 pixels, padding is not placed at the end of each row, and the last data byte is padded.

13. The apparatus of claim 10, wherein when the per-pixel bit information of the mask configuration is 8, 16, or 24, the mask value of the pixel is represented by 1, 2, or 3 bytes, respectively, and wherein the bytes of the pixel are serialized starting from the most significant byte.

14. The apparatus according to any one of claims 1 to 6 further comprises: A component for defining syntax elements used to send signal notifications and configure the mask; as well as A component for storing the mask as a high-efficiency image file in HEIF format.

15. A method for defining or extending a file format data structure, comprising: Define or extend the file format data structures used for masked projects to include: Cell size, used to indicate the size of a region including mask values ​​in pixels, wherein the region is represented by mask values; A mask encoding method is used to indicate an encoding method for a mask or data applied to a media, wherein the region is mapped to a specific region of the media, and wherein the mask encoding method is represented by a mask encoding method value; One or more mask encoding parameters, used to indicate additional encoding or decoding parameters required for processing the encoded mask data; and The mask configuration used for the mask project includes mask-related information as a mask configuration structure.

16. The method of claim 15, wherein the size of the unit comprises M × N pixels, wherein M indicates the number of horizontal pixels and N indicates the number of vertical pixels.

17. The method of claim 15, wherein the mask encoding method includes values ​​indicating one or more of the following: No masking scheme was applied; Apply DEFLATE compression encoding; or ZLIB compression encoding is applied.

18. The method of claim 15, wherein when the mask encoding method includes a predetermined value, the mask encoding parameter further indicates the number of bytes in the encoded mask array.

19. The method of claim 15, wherein when the mask encoding method includes values ​​other than predetermined values, the values ​​of the mask encoding parameters are preserved.

20. The method of claim 18, further comprising defining a mask for the region, wherein the region is defined based on at least one of the region items or metadata of the media.

21. The method according to any one of claims 15 to 20, wherein the file format data structure includes a region item data structure.

22. The method according to any one of claims 15 to 20, wherein the file format data structure includes the mask.

23. The method of claim 22, further comprising defining an item type, wherein the image item of item type "mski" is a mask item defining the mask.

24. The method of claim 15, wherein the mask configuration includes at least one of the following: per-pixel bit or byte packing information.

25. The method of claim 24, wherein when the per-pixel bit information of the mask configuration includes 1, 2 or 4, the pixels packed per byte are 8, 4 or 2 respectively, and wherein the byte packing information includes big-endian.

26. The method of claim 25, wherein when the mask width is not a multiple of 8 pixels, padding is not placed at the end of each row, and the last data byte is padded.

27. The method of claim 24, wherein when the per-pixel bit information of the mask configuration is 8, 16 or 24, the mask value of the pixel is represented by 1, 2 or 3 bytes respectively, and wherein the bytes of the pixel are serialized starting from the most significant byte.

28. The method according to any one of claims 15 to 20, further comprising: Define syntax elements for sending signal notifications and configuring the mask; as well as The mask is stored as a high-efficiency image file in HEIF format.

29. A computer-readable medium comprising program instructions for causing a device to perform at least the following operations: Define or extend the file format data structures used for masked projects to include: Cell size, used to indicate the size of a region including mask values ​​in pixels, wherein the region is represented by mask values; A mask encoding method is used to indicate an encoding method for a mask or data applied to a media, wherein the region is mapped to a specific region of the media, and wherein the mask encoding method is represented by a mask encoding method value; One or more mask encoding parameters are used to indicate additional encoding or decoding parameters required to process the encoded mask data; as well as The mask configuration used for the mask project includes mask-related information as a mask configuration structure.

30. An apparatus for defining or extending a file format data structure, comprising: At least one processor; as well as At least one non-transitory memory, including computer program code; The at least one memory and the computer program code are configured, together with the at least one processor, to cause the device to perform at least the following: Define or extend the file format data structures used for masked projects to include: Cell size, used to indicate the size of a region including mask values ​​in pixels, wherein the region is represented by mask values; A mask encoding method is used to indicate an encoding method for a mask or data applied to a media, wherein the region is mapped to a specific region of the media, and wherein the mask encoding method is represented by a mask encoding method value; One or more mask encoding parameters, used to indicate additional encoding or decoding parameters required for processing the encoded mask data; and The mask configuration used for the mask project includes mask-related information as a mask configuration structure.

Citation Information

Patent Citations

  • Systems, apparatuses, and methods for performing vector packed unary decoding using masks

    CN104025023A

  • System and method for simplifying file and image compression using mask code

    CN1458628A