Encoding a video stream having a privacy mask
First Claim
1. A method for encoding a video sequence comprising a plurality of image frames, the method comprising:
- estimating a motion map of an image frame, the motion map dividing the image frame into blocks, wherein each block contains information about the amount of motion taking place in the block;
estimating an original total amount of motion in the image frame from the estimated motion in the individual block;
receiving data specifying a size and a position of a privacy mask overlay to be applied to the image frame to occlude an area of the image frame, wherein the privacy mask overlay coincides with one or more blocks of the motion map;
determining a reduced amount of motion in the image frame, based on the estimated total amount of motion for the image frame and the size and position of the privacy mask overlay, by deducting, from the estimated original total amount of motion, at least a portion of the motion occurring in the blocks coinciding with the privacy mask overlay; and
encoding the plurality of image frames into a sequence of output image frames, wherein a distance between image frames input to an encoder, or an intra frame distance in a sequence of output image frames from the encoder, is adjusted based on the determined reduced amount of motion.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, implementing and using techniques for encoding a video sequence having a plurality of image frames, wherein at least some of the image frames include a privacy mask. An original total amount of motion is estimated in a received image frame. A reduced amount of motion is determined in the image frame, based on the estimated total amount of motion for the image frame and the size and position of the privacy mask. The image frames are encoded into a sequence of output image frames, wherein a temporal frame distance is adjusted based on the determined reduced amount of motion.
16 Citations
12 Claims
-
1. A method for encoding a video sequence comprising a plurality of image frames, the method comprising:
-
estimating a motion map of an image frame, the motion map dividing the image frame into blocks, wherein each block contains information about the amount of motion taking place in the block; estimating an original total amount of motion in the image frame from the estimated motion in the individual block; receiving data specifying a size and a position of a privacy mask overlay to be applied to the image frame to occlude an area of the image frame, wherein the privacy mask overlay coincides with one or more blocks of the motion map; determining a reduced amount of motion in the image frame, based on the estimated total amount of motion for the image frame and the size and position of the privacy mask overlay, by deducting, from the estimated original total amount of motion, at least a portion of the motion occurring in the blocks coinciding with the privacy mask overlay; and encoding the plurality of image frames into a sequence of output image frames, wherein a distance between image frames input to an encoder, or an intra frame distance in a sequence of output image frames from the encoder, is adjusted based on the determined reduced amount of motion. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An encoder system for encoding a video sequence comprising a plurality of image frames, the encoder system comprising:
-
a motion estimation module configured to; estimate a motion map of an image frame, the motion map dividing the image frame into blocks, wherein each block contains information about the amount of motion taking place in the block; estimate an original total amount of motion in the image frame from the estimated motion in the individual blocks, receive data specifying a size and a position of a privacy mask overlay to be applied to the image frame to occlude an area of the image frame, wherein the privacy mask overlay coincides with one or more blocks of the motion map, and determine a reduced amount of motion in the image frame, based on the estimated total amount of motion for the image frame and the size and position of the privacy mask overlay, by deducting, from the estimated original total amount of motion, at least a portion of the motion occurring in the blocks coinciding with the privacy mask overlay; and an encoder configured to; encode the plurality of image frames into a sequence of output image frames, wherein a distance between image frames input to an encoder, or an intra frame distance in a sequence of output image frames from the encoder, is adjusted based on the determined reduced amount of motion.
-
-
8. A computer program product for encoding a video sequence comprising a plurality of image frames, wherein at least some of the image frames include a privacy mask, the computer program product comprising a non-transitory computer readable storage medium having program code embodied therewith, the program code being executable by a processor to perform a method comprising:
-
estimating a motion map of an image frame, the motion map dividing the image frame into blocks, wherein each block contains information about the amount of motion taking place in the block; estimating an original total amount of motion in the image frame from the estimated motion in the individual blocks; receiving data specifying a size and a position of a privacy mask overlay to be applied to the image frame to occlude an area of the image frame, wherein the privacy mask overlay coincides with one or more blocks of the motion map; determining a reduced amount of motion in the image frame, based on the estimated total amount of motion for the image frame and the size and position of the privacy mask overlay, by deducting, from the estimated original total amount of motion, at least a portion of the motion occurring in the blocks coinciding with the privacy mask overlay; and encoding the plurality of image frames into a sequence of output image frames, wherein a distance between image frames input to an encoder, or an intra frame distance in a sequence of output image frames from the encoder, is adjusted based on the determined reduced amount of motion. - View Dependent Claims (9, 10, 11, 12)
-
Specification