The invention relates to a method for masking an image of an image sequence with a mask as well as a computer program, a machine-readable storage medium and an electronic control unit.
The international laid-open specification WO 98/47117 A1 discloses a safety system with a camera, wherein the field of vision of the camera is adjustable. The field of vision of the camera is masked by a mask with a non-adjustable color.
The method according to the invention for masking an image of an image sequence with a mask, wherein a mask color is determined according to an image color of the image in the environment of the mask and a color of the mask is adjusted according to the determined mask color or with the determined mask color, has the advantage that this allows a smooth transition from the visible range of the image to the mask. Observers of the image, in particular operators of a camera-based monitoring center with a plurality of monitors to be watched are distracted to a lesser degree. Overall the method thus contributes to enhancing the attention of the operators and thus to a greater acceptance of monitoring centers. For an observer of the image sequence the method contributes to a comfortable use because the distraction of the observer is reduced to a minimum, but personal privacy is ensured due to the masking. It is especially advantageous to use the method for masking scenes in the outdoor area because scenes in the outdoor area may comprise great color differences during the course of the day. Thus for example buildings reproduced in the images appear bright in sunshine during the day, whilst the same building at night appears almost black. The method thus has the advantage of being able to be used at any time of the day. The advantage of the method becomes particularly clear when masking outdoor scenes during the course of the day because the color of the mask during the day continuously adapts to the changing light and the changing colors in the environment.
It is particularly advantageous that the mask is single-color, in particular exclusively single-color, because a homogenous single-color mask without pattern means that distraction for an observer is particularly low allowing the observer of the image sequence to concentrate on observing the non-masked parts of the image. Furthermore a single-color mask has the advantage that there is no way in which information about the image content below the mask could become visible via the mask. If for example a red car is in the image area below the mask, this image information, due to the method according to the invention, is not transferred into the selected color of the mask. This contributes to ensuring personal privacy.
Furthermore it is advantageous that the color of the mask is adjusted according to the determined mask color and a previous color of the mask, in particular the current color of the mask, wherein the color of the mask is preferably adjusted by means of an IIR filter, preferably at a frequency between 5 and 15 Hertz, in particular at a frequency of 10 Hertz. This has the advantage that for a change in the environment of the mask the change in color of the mask is continuous without this leading to noticeable jumps in the color of the mask. Observers are not distracted by this approach.
Furthermore it is advantageous that the color of the mask with the determined mask color is re-adjusted with a low-pass filter using temporal filtering. It is advantageous that the color of the mask is calculated from a surrounding rectangle of the mask with the width of one pixel. An average color value for the mask is determined from the color values of these pixels. This determination is preferably made for each image of the image sequence, but the color value determined as the mask color is applied to the mask itself only after low-pass filtering in order to ensure constant adaptation without a high updating frequency occurring. This contributes to keeping the distraction for the observer of the image sequence to a low level. Moreover this approach has the advantage that a necessary computing capacity is low since the color of the mask needs to be calculated and changed less frequently.
It is particularly advantageous that the image color of a part of the image, which is masked by the mask, is not taken into account when determining the mask color. This contributes to ensuring the personal privacy of people in the image area, since image information from parts of the image which are hidden by the mask, does not affect the color of the mask.
It is advantageous that the mask color is determined by averaging pixel colors of pixels of the image adjacent, in particular directly adjacent, to an edge of the mask. It is particularly advantageous that averaging is effected by separately averaging basic color information, preferably of three elements of basic color information, in particular from the YUV color model and/or according to the RGB color model. This allows particularly good adaptation of the color of the mask to the environment. It is particularly advantageous to perform this averaging as arithmetic averaging since this means that the colors of all pixels are equally taken into account.
The invention further relates to a computer program which is arranged to execute all steps of the described method for masking an image of an image sequence with a mask. Further the invention relates to a machine-readable storage medium, in particular a non-volatile machine-readable storage medium on which the computer program is stored. Moreover the invention relates to an electronic control unit which is arranged to execute all steps of the described method. The advantages described with reference to the method analogously also apply to the computer program, the storage medium and the electronic control unit.
Further advantages are revealed in the description hereunder of exemplary embodiments with reference to the figures and the dependent claims.
Exemplary embodiments of the invention are depicted in the drawings by way of a number of figures and explained in detail in the description hereunder, in which
A method for masking an image of an image sequence with a mask is described hereunder, wherein a mask color is determined according to an image color of the image in the environment of the mask and a color of the mask is adjusted according to the determined mask color or with the determined mask color. Further described are a computer program, a machine-readable storage medium and an electronic control unit for performing the method for masking an image of an image sequence with a mask.
In a variant of the preferred exemplary embodiment the method is performed for stored images of an image sequence. Storing of the images is effected in particular in the camera itself or in an external storage medium, in particular a video recorder. Preferably the electronic control unit is arranged in the video recorder.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2017/075739 | 10/10/2017 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2019/072374 | 4/18/2019 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5896469 | Murakami | Apr 1999 | A |
6480300 | Aoyama | Nov 2002 | B1 |
7483058 | Frank | Jan 2009 | B1 |
9350914 | Kaur | May 2016 | B1 |
20060055777 | Ito et al. | Mar 2006 | A1 |
20090189980 | Kim | Jul 2009 | A1 |
20110080401 | Tan | Apr 2011 | A1 |
20120075484 | Kawamoto | Mar 2012 | A1 |
20140049655 | Iwasaki | Feb 2014 | A1 |
20140118545 | Iwasaki | May 2014 | A1 |
20150222861 | Fujii | Aug 2015 | A1 |
20180122033 | Mayuzumi | May 2018 | A1 |
20180122117 | Kawano | May 2018 | A1 |
20180180883 | Tuli | Jun 2018 | A1 |
20180189983 | Lee | Jul 2018 | A1 |
20180359449 | Matsumoto | Dec 2018 | A1 |
20210163152 | Matsumoto | Jun 2021 | A1 |
20210201453 | Corstiaans | Jul 2021 | A1 |
Number | Date | Country |
---|---|---|
10334136 | Mar 2005 | DE |
9847117 | Oct 1998 | WO |
2013137534 | Sep 2013 | WO |
Entry |
---|
International Search Report for Application No. PCT/EP2017/075739 dated Mar. 9, 2018 (English Translation, 3 pages). |
Number | Date | Country | |
---|---|---|---|
20210201453 A1 | Jul 2021 | US |