Method and device for masking objects contained in an image
A method for masking objects contained in an image is provided, wherein pixel values are determined for pixels of an image. An image mask is generated, which comprises at least one first region in which pixels of a predefined object class are arranged and at least one second region in which pixels o...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method for masking objects contained in an image is provided, wherein pixel values are determined for pixels of an image. An image mask is generated, which comprises at least one first region in which pixels of a predefined object class are arranged and at least one second region in which pixels of said predefined object class are not arranged. The distance to the nearest pixel in the second region is determined for pixels in the at least one first region. Pixels in the at least one first region are assigned a window that has a window size that depends on the determined distance. At least one new pixel value is determined for a pixel from the pixel values of the pixels within the window assigned to the pixel. The original pixel values of pixels in the one first region are replaced with the respective new pixel values. |
---|