# US 2024/0205422 A1 · Method and apparatus for signaling of regions and region masks in image file format

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0205422 A1
- Document ID: US20240205422A1
- Status: Published application
- Kind: A1
- Application number: 18/555,066
- Filed: 2022-03-31
- Published: 2024-06-20
- Earliest claimed: 2021-04-19
- Assignees: Nokia Technologies Oy
- Applicants: Nokia Technologies Oy
- Inventors: Emre Baris AKSU; Miska Matias HANNUKSELA; Kashyap KAMMACHI SREEDHAR
- Web page: https://patentgrep.com/patent/US20240205422A1

## CPC

- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- H04N 19/17: the unit being an image region, e.g. an object
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## 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: define or extend a file format data structure to comprise: a cell size to indicate dimensions of a region, in pixels, comprising a mask value; a mask coding method to indicate a coding method applied to a mask or data of a media; mask coding parameters to indicate additional encoding or decoding parameters needed to process the coded mask data; and a mask configuration comprising the mask related information as a mask configuration structure.

## Claims

### Claim at position 1

1-33. (canceled)

### Claim 34

An apparatus comprising:
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:
define or extend a file format data structure to comprise:
a cell size to indicate dimensions of a region, in pixels, comprising a mask value;
a mask coding method to indicate a coding method applied to a mask or data of a media;
mask coding parameters to indicate additional encoding or decoding parameters needed to process coded mask data; and
a mask configuration comprising a mask related information as a mask configuration structure.

### Claim 35 (depends on 34)

The apparatus of claim 34, wherein the mask coding method comprises values to indicate one or more of the following:
no mask encoding scheme applied;
DEFLATE compressed data coding is applied; or
ZLIB compressed data coding is applied.

### Claim 36 (depends on 34)

The apparatus of claim 34, wherein the mask coding parameters further indicate a number of bytes in a coded mask array, when the mask coding method comprises a predetermined value.

### Claim 37 (depends on 34)

The apparatus of claim 34, wherein a value of the mask coding parameters is reserved, when the mask coding method comprises a value other than the predetermined value.

### Claim 38 (depends on 34)

The apparatus of claim 34, wherein the apparatus is further caused to define an item type, wherein an image item with the item type mski is a mask item that defines the mask.

### Claim 39 (depends on 34)

The apparatus of claim 34, wherein the mask configuration comprises at least one of bits per pixel or byte packing information.

### Claim 40 (depends on 39)

The apparatus of claim 39, wherein when the bits per pixel information of the mask configuration comprises 1, 2 or 4, pixels packed per byte are 8, 4 or 2, respectively, and wherein the byte packing information comprises a big-endian order.

### Claim 41 (depends on 40)

The apparatus of claim 40, wherein no padding is put at the end of each line and a last data byte is padded, when a mask width is not a multiple of 8 pixels.

### Claim 42 (depends on 39)

The apparatus of claim 39, wherein when the bits per pixel information of the mask configuration to 8, 16 or 24, the mask value of a pixel is represented with 1, 2 or 3 bytes, respectively, and wherein bytes of a pixel are serialized starting from the most significant byte.

### Claim 43

A method comprising:
defining or extend a file format data structure to comprise:
a cell size to indicate dimensions of a region, in pixels, comprising a mask value;
a mask coding method to indicate a coding method applied to a mask or data of a media;
mask coding parameters to indicate additional encoding or decoding parameters needed to process coded mask data; and
a mask configuration comprising a mask related information as a mask configuration structure.

### Claim 44 (depends on 43)

The method of claim 43, wherein the mask coding method comprises values to indicate one or more of the following:
no mask encoding scheme applied;
DEFLATE compressed data coding is applied; or
ZLIB compressed data coding is applied.

### Claim 45 (depends on 43)

The method of claim 43, wherein the mask coding parameters further indicate a number of bytes in a coded mask array, when the mask coding method comprises a predetermined value.

### Claim 46 (depends on 43)

The method of claim 43, wherein a value of the mask coding parameters is reserved, when the mask coding method comprises a value other than the predetermined value.

### Claim 47 (depends on 43)

The method of claim 43 further comprising defining an item type, wherein an image item with the item type mski is a mask item that defines the mask.

### Claim 48 (depends on 43)

The method of claim 43, wherein the mask configuration comprises at least one of bits per pixel or byte packing information.

### Claim 49 (depends on 48)

The method of claim 48, wherein when the bits per pixel information of the mask configuration comprises 1, 2 or 4, pixels packed per byte are 8, 4 or 2, respectively, and wherein the byte packing information comprises a big-endian order.

### Claim 50 (depends on 49)

The method of claim 49, wherein no padding is put at the end of each line and a last data byte is padded, when a mask width is not a multiple of 8 pixels.

### Claim 51 (depends on 50)

The method of claim 50, wherein when the bits per pixel information of the mask configuration to 8, 16 or 24, the mask value of a pixel is represented with 1, 2 or 3 bytes, respectively, and wherein bytes of a pixel are serialized starting from the most significant byte.

### Claim 52

A non-transitory computer readable medium comprising program instructions for causing an apparatus to perform at least the following:
defining or extend a file format data structure to comprise:
a cell size to indicate dimensions of a region, in pixels, comprising a mask value;
a mask coding method to indicate a coding method applied to a mask or data of a media;
mask coding parameters to indicate additional encoding or decoding parameters needed to process coded mask data; and
a mask configuration comprising a mask related information as a mask configuration structure.

### Claim 53 (depends on 52)

The non-transitory computer readable medium of claim 52, wherein the mask coding method comprises values to indicate one or more of the following:
no mask encoding scheme applied;
DEFLATE compressed data coding is applied; or
ZLIB compressed data coding is applied.
