# US 2021/0092398 A1 · Blurring privacy masks

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

- Number: US 2021/0092398 A1
- Document ID: US20210092398A1
- Status: Published application
- Kind: A1
- Application number: 16/947,654
- Filed: 2020-08-11
- Published: 2021-03-25
- Earliest claimed: 2019-09-20
- Assignees: Axis AB
- Applicants: Axis AB
- Inventors: Viktor Edpalm; Song Yuan
- Web page: https://patentgrep.com/patent/US20210092398A1

## CPC

- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/162: User input
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/172: the region being a picture, frame or field
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/48: using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data (motion estimation in a transform domain H04N19/547; processing of decoded motion vectors H04N19/513)
- H04N 19/593: involving spatial prediction techniques
- H04N 21/23476: {by partially encrypting, e.g. encrypting the ending portion of a movie}
- H04N 21/2353: {specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata}
- H04N 21/45455: {applied to a region of the image}
- H04N 21/4627: Rights management {associated to the content (security in data switching network management H04L41/28; security management or policies for network security H04L63/20; access security in wireless networks H04W12/08)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Methods and apparatus, including computer program products, implementing and using techniques for encoding a video sequence comprising a plurality of image frames, by an encoder are described. An image frame is received from a video stream. An input is received, which indicates one or more regions in the received image frame for which a privacy mask should be applied. The one or more regions are represented by one or more coding units. The image frame is encoded into an output frame, wherein image data in the one or more regions is replaced by intra-predicted coding units with transformed coefficients set to zero, the intra-predicted coding units are obtained from a prediction stage in the encoder.

## Claims

### Claim 1

A method for encoding a video sequence comprising a plurality of image frames, by an encoder, the method comprising:
receiving an image frame from a video stream;
receiving an input indicating one or more regions in the received image frame for which a privacy mask should be applied, wherein the one or more regions are represented by one or more coding units; and
encoding the image frame into an output frame, wherein image data in the one or more regions is replaced by intra-predicted coding units obtained from a simplified representation of the image frame generated in a prediction stage of the encoder.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
selecting a size of the coding units automatically by the encoder.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
selecting a size of the coding units manually by a user.

### Claim 4 (depends on 1)

The method of claim 1, wherein a size of the coding units is selected based on a desired blurriness level, and wherein the size of the coding units and the desired blurriness level correspond to those of the simplified representation of the image frame.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more regions in the received image frame for which a privacy mask should be applied are automatically identified using object detection techniques.

### Claim 6 (depends on 1)

The method of claim 1, wherein the video is encoded in one of the following formats: High Efficiency Image File Format, Advanced Video Coding, High Efficiency Video Coding, H.265, H.266, VP9, VP10 and AV1.

### Claim 7

An encoder system for encoding a video sequence comprising a plurality of image frames, comprising:
a receiving module configured to:
receive an image frame from a video stream, and
receive an input indicating one or more regions in the received image frame for which a privacy mask should be applied, wherein the one or more regions are represented by one or more coding units; and
an encoder configured to:
encode the image frame into an output frame, wherein image data in the one or more regions is replaced by intra-predicted coding units obtained from a simplified representation of the image frame generated in a prediction stage of the encoder.

### Claim 8 (depends on 7)

The encoder system of claim 7, wherein encoder is further configured to automatically select a size of the coding units.

### Claim 9 (depends on 7)

The encoder system of claim 7, wherein a size of the coding units is selected based on a desired blurriness-level, and wherein the size of the coding units and the desired blurriness level correspond to those of the simplified representation of the image frame.

### Claim 10

A computer program for encoding a video sequence comprising a plurality of image frames, the program contains instructions corresponding to the steps of:
receiving an image frame from a video stream;
receiving an input indicating one or more regions in the received image frame for which a privacy mask should be applied, wherein the one or more regions are represented by one or more coding units; and
encoding the image frame into an output frame, wherein image data in the one or more regions is replaced by intra-predicted coding units obtained from a simplified representation of the image frame generated in a prediction stage of the encoder.

### Claim 11 (depends on 10)

The computer program of claim 10, wherein a size of the coding units is selected based on a desired blurriness-level, and wherein the size of the coding units and the desired blurriness level correspond to those of the simplified representation of the image frame.

### Claim 12 (depends on 10)

A digital storage medium comprising a computer program as claimed in of claim 10.
