Method for detecting reflections of identified objects in image frames and image processing device

By creating a three-dimensional representation and tracing rays in video surveillance, and detecting reflective surfaces combined with background color values, the impact of reflective surfaces on anonymization is solved, and accurate identification and anonymization of object reflections in video surveillance are achieved.

CN118736089AActive Publication Date: 2024-10-01AXIS
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410373677.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-03-29
Publication Date
2024-10-01
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

Existing video surveillance technology is difficult to effectively anonymize objects when dealing with reflective surfaces. Especially in dynamic mask scenarios, reflective surfaces may cause privacy masks to fail and affect the monitoring effect.

Method used

By creating a three-dimensional representation of the image frame and tracing the rays from the object to the camera, only the reflective surfaces with matching color values ​​are detected, combined with the color values ​​of the background image frame for hybrid comparison, ensuring detection accuracy and anonymization effects.

Benefits of technology

Effectively identifies and anonymizes object reflections in image frames, reduces the impact of reflective surfaces on privacy masks, and improves the anonymization effect and privacy protection capabilities of video surveillance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736089A_ABST
    Figure CN118736089A_ABST
Patent Text Reader

Abstract

A method performed by an image processing apparatus for detecting a reflection of an object in an image frame from a camera is disclosed. The image processing device generates (1003) a three-dimensional model of the background scene of the image frame based on the three-dimensional information about the background scene. An image processing device defines (1004b) a three-dimensional bounding box of an object in a three-dimensional model. The image processing device defines (1005) center coordinates in the three-dimensional model and color values of surface elements of the three-dimensional bounding box. The image processing device determines (1006) three-dimensional coordinates of the surface reflecting light from the surface elements into a three-dimensional model in the camera by tracking the light from the center coordinates and based on a normal to the surface. The image processing device further identifies (1007) a first pixel in the image frame corresponding to the three-dimensional coordinates. The image processing device detects (1008) a reflection of the object when a mixture of the first color value of the first pixel and the color value of the surface element with the true data color value of the first pixel satisfies a mixing criterion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments herein relate to a method and an image processing device for detecting reflections of an identified object in an image frame. A corresponding computer program and a computer program carrier are also disclosed. Background Art

[0002] The use of imaging, particularly video imaging, to monitor the public is common in many areas of the world. Areas that may need to be monitored are, for example, banks, stores, and other areas that require security, such as schools and government facilities. Other areas that may need to be monitored are processing, manufacturing, and logistics applications, where video surveillance is primarily used to monitor the process.

[0003] However, there may be a requirement that people cannot be identified from video surveillance. The requirement that people cannot be identified may conflict with the requirement to be able to determine what is happening in the video. For example, it may be of interest to perform people counting or queue monitoring on anonymous image data. In practice, there is a trade-off between satisfying these two requirements: non-identifiable video and extracting large amounts of data for different purposes, such as people counting.

[0004] Several image processing techniques have been described to avoid identifying people while still being able to identify activity. For example, edge detection / representation, edge enhancement, silhoueting objects, and different types of "color blurring" (such as color change or dilation) are examples of such manipulations. Privacy masking is another image processing technique used in video surveillance to protect the privacy of individuals by hiding parts of the image from view with masked areas.

[0005] Image processing refers to any manipulation applied to an image. Processing may include applying various effects, masks, filters, etc. to an image. In this way, an image may, for example, be sharpened, converted to grayscale, or altered in some way. Images are typically captured by a video camera, still image camera, etc.

[0006] As mentioned above, one way to avoid identifying people is by masking moving people and objects in the image in real time. Masking in live and recorded video can be done by comparing the live camera view to a set background scene and applying a dynamic mask to the changing areas (basically moving people and objects). Color masking, which may also be called solid color masking or monochrome masking, in which the object is masked by an overlaying solid mask of a certain color, provides privacy protection while allowing you to see movement. Mosaic masking, also known as pixelation, pixelated privacy masking or transparent pixelated masking, shows moving objects at a lower resolution and allows you to better distinguish forms by seeing the color of the object.

[0007] Mask live and recorded video is suitable for remote video monitoring or recording in areas where monitoring is otherwise problematic due to privacy rules and regulations. While video monitoring is primarily used to monitor processes, it is ideal for processing, manufacturing, and logistics applications. Other potential applications include retail, education, and government facilities.

[0008] Although mask technology continues to advance, there is still room for improvement. One problem that can arise is that reflective surfaces in the scene may reflect things behind the privacy mask into the camera capturing the scene.

[0009] This problem is particularly problematic for dynamic masks that are expected to move with the object. Document CN 108 090947A discloses a ray tracing optimization method for 3D scenes. Summary of the invention

[0010] Therefore, an object of embodiments herein may be to avoid some of the problems mentioned above, or at least reduce their impact. Specifically, an object of embodiments herein may be to identify pixels in an image that represent surfaces in a scene that reflect objects into the camera, so that it is possible to apply image processing to pixels that represent those reflective surfaces. For example, reflections may also be masked to provide improved anonymization.

[0011] Embodiments herein solve the above problems by creating a three-dimensional representation of a scene captured by an image frame from a camera (including the identified mask object) and tracking light from the identified object to the camera in the three-dimensional representation of the scene via reflective surfaces in the scene. However, only those reflective surfaces that are sufficiently similar to the actual object itself will be detected as reflective objects. Specifically, only those reflective surfaces that produce reflections whose color values ​​match the color values ​​of the reflected object will be detected. The comparison of color values ​​is performed by mixing the color values ​​of pixels of the image frame representing the object, pixels of the reflective surface, and pixels of the background image frame representing the reflective surface without the influence of the object.

[0012] According to one aspect, the object is achieved by a method performed by an image processing device for detecting reflections of an identified object in an image frame captured by a camera. The method comprises: generating a three-dimensional model of a background scene of the image frame based on obtained three-dimensional information about the background scene.

[0013] The method also includes defining the identified object in the image frame based on image information in the image frame.

[0014] The method further includes defining a three-dimensional bounding box of the defined object in the three-dimensional model of the background scene.

[0015] The method further includes: defining surface elements of the three-dimensional bounding box, wherein corresponding surface elements are defined by center coordinates and color values ​​in the three-dimensional model of the background scene.

[0016] The method also includes: determining the three-dimensional coordinates of a surface in the three-dimensional model of the background scene, which surface reflects light from the surface elements of the three-dimensional bounding box of the object into the camera, wherein the determination is performed by tracing light starting from the center coordinates of the surface elements of the three-dimensional bounding box of the object and based on the normal of the surface in the three-dimensional model of the background scene at the three-dimensional coordinates.

[0017] The method also includes identifying a first pixel in the image frame that corresponds to the three-dimensional coordinates of the determined surface.

[0018] The method further includes detecting a reflection of the object when a mixture of the first color value of the identified first pixel, a color value of a surface element of the object, and a ground truth color value of the identified first pixel satisfies a mixture criterion.

[0019] The real data represents a reflective surface without influence from an object.The real data color value may be obtained from one or more background image frames or from one or more neighboring pixels of the identified first pixel in an image frame.

[0020] According to another aspect, the object is achieved by an image processing device configured to perform the above method.

[0021] According to a further aspect, the object is achieved by a computer program and a computer program carrier corresponding to the above aspects.While embodiments have been outlined above, the claimed subject matter is defined by the appended claims 1 to 14.

[0022] The embodiments herein find candidate reflective pixels in an image frame by ray tracing rays from an object to a camera in a three-dimensional model of the scene captured in the image frame, and confirm the detection of the reflective pixels by comparing the color values ​​of the pixels of the object and the pixels of the reflective surface. The true data values ​​of the reflective pixels are also used to achieve unbiased results.

[0023] Therefore, the image processing device will only detect reflected pixels that are sufficiently similar to the object. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Various aspects of the embodiments disclosed herein, including specific features and advantages thereof, will be readily understood from the following detailed description and accompanying drawings, in which:

[0025] Figure 1 An exemplary embodiment of an image capture device is shown,

[0026] Figure 2An exemplary embodiment of a video network system is shown.

[0027] Figure 3 is a schematic block diagram illustrating an exemplary embodiment of an imaging system,

[0028] Figure 4 is a schematic block diagram showing a stream of image frames and their contents,

[0029] Figure 5 is a schematic block diagram showing an embodiment of a method in an image processing device,

[0030] Figure 6 is a schematic block diagram illustrating a reference method for masking an object in an image frame, Figure 7a is a schematic block diagram showing a first scenario in which the embodiments disclosed herein may be implemented,

[0031] Figure 7b is a schematic block diagram showing a second scenario in which the embodiments disclosed herein may be implemented,

[0032] Figure 8 is a schematic block diagram showing an embodiment of a method in an image processing device,

[0033] Figure 9a is a schematic block diagram showing an embodiment of a method in an image processing device,

[0034] Figure 9b is a schematic block diagram showing an embodiment of a method in an image processing device,

[0035] Fig.10 is a flow chart showing an embodiment of a method in an image processing device,

[0036] Fig.11 is a flow chart showing an embodiment of a method in an image processing device,

[0037] Fig.12 is a schematic block diagram illustrating a further embodiment of a method in an image processing device,

[0038] Fig.13 is a schematic block diagram illustrating a further embodiment of a method in an image processing device,

[0039] Fig.14 is a schematic block diagram illustrating an embodiment of an image processing apparatus. DETAILED DESCRIPTION

[0040] Embodiments disclosed herein relate to improving detection of pixels representing reflections of detected objects in image frames, such as image frames in a video stream.

[0041] In particular, embodiments disclosed herein relate to improving anonymization of image frames.

[0042] Therefore, embodiments herein may be implemented in an image processing device.In some embodiments herein, the image processing device may include or be an image capture device such as a digital camera. Figure 1 Various exemplary image capture devices 110 are depicted. Image capture device 110 may be or include, for example, any of a video camera, a web video recorder, a still camera, a video camera 120 such as a surveillance camera or a monitoring camera, a digital camera, a wireless communication device 130 such as a smart phone including an image sensor, or a car 140 including an image sensor.

[0043] Figure 2 An exemplary video network system 250 is depicted in which embodiments herein may be implemented. The video network system 250 may include an image capture device, such as a video camera 120, which may capture digital images 201, such as digital video frames, and perform image processing thereon. Figure 2 The video server 260 in the embodiment can obtain the video frame from the video camera 120, for example, through a network. Figure 2 In some embodiments herein, the image processing device may include or be the video server 260 .

[0044] Video server 260 is a computer-based device dedicated to delivering video.

[0045] However, in Figure 2 In the embodiment, the video server 260 is connected to the image capture device, here illustrated by the video camera 120, through the video network system 250. The video server 260 may also be connected to the video storage 270 for storing the video frames, and / or to the monitor 280 for displaying the video frames. In some embodiments, the video camera 120 is directly connected to the video storage 270 and / or the monitor 280, such as Figure 2 In some other embodiments, the video camera 120 is connected to the video storage 270 and / or the monitor 280 via the video server 260, as indicated by the arrows between the video server 260 and the other devices.

[0046] Figure 33 is a schematic diagram of an imaging system 300, in this case a digital video camera, such as video camera 120. Imaging system 300 images a scene on an image sensor 301. Image sensor 301 may be provided with a Bayer filter so that different pixels will receive radiation of a particular wavelength region in a known pattern. Typically, each pixel of a captured image is represented by one or more values ​​representing the intensity of light captured within a particular wavelength band. These values ​​are often referred to as color components or color channels. The term "image" may refer to an image frame or video frame that includes information originating from an image sensor that has captured the image.

[0047] After the signals of the individual sensor pixels of the image sensor 301 have been read, different image processing actions may be performed by the image signal processor 302. The image signal processor 302 may include an image processing portion 302a (sometimes referred to as an image processing pipeline) and a video post-processing portion 302b.

[0048] Typically, for video processing, images are included in a stream of images (also called a stream of video frames). Figure 3 A video stream 310 is shown from an image sensor 301. The video stream 310 may include a plurality of captured video frames, such as a first captured video frame 311 and a second captured video frame 312. An image stream may also be referred to as a video sequence.

[0049] Image processing may include applying overlays (eg, privacy masks, explanatory text). The image signal processor 302 may also be associated with an analytics engine that performs object detection, recognition, alerting, and the like.

[0050] The image processing portion 302a may, for example, perform image stabilization, apply noise filtering, distortion correction, global and / or local tone mapping, transforms, and flat field correction. The video post-processing portion 302b may, for example, crop portions of an image, apply overlays, and include an analysis engine. Thus, the embodiments disclosed herein may be implemented by the video post-processing portion 302b.

[0051] After the image signal processor 302, the image may be forwarded to the encoder 303, where the information in the video frame is encoded according to a coding protocol such as H.264. The encoded video frame is then forwarded to, for example, a receiving client, here exemplified by a monitor 280, a video server 260, a storage 270, etc.

[0052] As mentioned above, embodiments herein may aim to improve detection of pixels representing reflections of objects detected in an image frame.

[0053] Figure 4 Shows the corresponding Figure 3The video sequence 400 of the video stream 310 of the present invention is shown in Figure 400. The video sequence 400 includes a plurality of image frames. For example, the video sequence 400 includes an image frame 402, which may also be referred to as a first image frame 402. The video sequence 400 also includes a second image frame 403. The video sequence 400 may also include a background image frame 401b. In some embodiments herein, the background image frame 401b may be derived from a plurality of image frames of the video sequence 400. Then, the background image frame 401b is not necessarily a part of the video sequence 400. Instead, it may be stored on an image processing device and retrieved when needed. The background image frame 401b may be derived from a plurality of image frames of the video sequence 400 by averaging the plurality of image frames.

[0054] Figure 4 The lower part of the diagram shows the content of background image frame 401b, image frame 402, and second image frame 403. The content of background image frame 401b may include background objects such as a house. Preferably, the background objects of background image frame 401b are stationary so that they also exist at the same pixel positions in other image frames. The content of image frame 402 and second image frame 403 may include background objects and foreground objects. Foreground objects may move in the scene and therefore may be represented by different pixels in different image frames, such as Figure 4 People moving in are shown.

[0055] Figure 5 A simplified method of obtaining a background image frame 401b from an image frame, such as image frame 401, is shown, the image frame including a scene with different objects, which can be classified as background objects and foreground objects according to some criteria. Background image frame 401b can be generated from image frame 401 and can include the background objects of image frame 401. Accordingly, foreground image frame 401f can be generated and can include the foreground objects of image frame 401.

[0056] In order to understand the advantages of the embodiments disclosed herein, a reference method will first be described. Figure 6 is a schematic block diagram illustrating a reference method for masking an object in an image frame. More specifically, Figure 6 A portion of an image frame captured by video camera 120 is shown.

[0057] The video camera 120 captures a scene with a background and foreground objects. Specifically, an object 410 is captured and detected as a foreground object. If the object 410 has been detected as a person, it can be masked to anonymize the person. As mentioned above, one way to avoid identifying people is by masking moving people and objects in a real-time mask image. Masking in live and recorded video can be done by comparing the live camera view with a set background scene and applying a dynamic mask to the changing areas (basically moving people and objects). Color masks, which may also be referred to as solid color masks or monochrome masks, in which an object is masked by an overlaying solid color mask of a certain color, provide privacy protection while enabling you to see movement. Mosaic masks, also known as pixelation, pixelated privacy masks, or transparent pixelated masks, show moving objects at a lower resolution and allow you to better distinguish forms by seeing the color of the object.

[0058] However, one problem that may arise is that reflective surfaces in the scene, such as Figure 6 The window shown in , may reflect what is behind the privacy mask into the video camera 120 that captures the scene.

[0059] Thus, embodiments herein may aim to identify pixels in an image frame that represent surfaces in a scene that reflect an object 410 into the video camera 120, making it possible to apply image processing to pixels representing those reflective surfaces. For example, reflections may also be masked to provide improved anonymization.

[0060] Now refer to Figure 7a , Figure 7b , Figure 8 , Figure 9a and Figure 9b , and further reference Figure 2 , Figure 3 and Figure 4 An exemplary embodiment for detecting reflections of an identified object 410 in an image frame 402 captured by a camera 120 is described below.

[0061] In a scenario in which embodiments herein may be implemented, video camera 120 captures video sequence 400. Video sequence 400 captures a scene including background and foreground objects. Figure 7a In the case of FIG. 4 , a portion of an image frame of a video sequence 400 is shown, one of the background objects is a house, and one of the foreground objects is a person. The detected person will be masked. However, the background house includes reflective surfaces, such as windows, which reflect the person into the video camera 120. Therefore, the image of the person exists in the reflective surface. The background may, for example, include a first reflective surface 411 and a second reflective surface 412. Typically, the reflective surface is part of the background object.

[0062] The image frame 402 includes pixels representing an image of an object 410 , which is detected as a person, ie, an object to be masked. However, the image frame 402 also includes pixels representing an image of a first reflective surface 411 and a second reflective surface 412 .

[0063] Figure 7b Indicates that the second image frame 403 is captured Figure 7a The second image frame 403 is slightly after the first image frame 402. Figure 7b In FIG. 4 , the object 410 has moved slightly relative to the background. In addition, the image of the object 410 in the reflective surface 411 has moved.

[0064] Figure 8 The content of the first image frame 402 and the content of the second image frame 403 are shown. The image processing device 120, 260 may define the identified object 410 in the image frame 402 by a two-dimensional bounding box 413. Figure 8 4, for simplicity, the object 410 is shown as a rectangle. A two-dimensional bounding box 413 may be defined by its coordinates in the image frame 402. In addition, the surface of the two-dimensional bounding box 413 may be divided into surface elements 414. Each surface element 414 of the two-dimensional bounding box 413 may be defined by its two-dimensional coordinates in the image frame 402 and a color value such as a hue value. The color value may be obtained by calculating the average color value of the pixels within the surface element 414.

[0065] Embodiments herein are based on finding reflective surfaces by tracing rays in a three-dimensional model of the scene that can potentially reflect an object into the camera 120. To do so, embodiments herein define a three-dimensional bounding box 415 of a defined object 410 in the three-dimensional model of the background scene, e.g., based on the defined object 410 in the image frame 402, the obtained position of the object 410 in the three-dimensional model, and by extrapolating the defined object 410 in a plane extending along a normal to the image plane (i.e., along the depth plane of the image).

[0066] Figure 9a A simplified 3D model of a scene is shown, including a 3D bounding box 415, a camera 120, and a reflective surface 411 of the background. For simplicity, the reflective surface 411 of the background is Figure 9a is plotted as a two-dimensional slice.

[0067] The two-dimensional bounding box 413 and the surface elements 414 of the two-dimensional bounding box 413 can be used to extrapolate the defined object 410 in the depth plane. For example, the three-dimensional bounding box 415 can be generated by extrapolating the two-dimensional bounding box 413. The surface of the three-dimensional bounding box 415 can be generated based on the surface elements 414 of the two-dimensional bounding box 413.

[0068] Figure 9b A part of a background model including a first reflective surface 411 is schematically shown. Figure 9b It is further schematically shown how light from the back surface 416 of the three-dimensional bounding box 415 reflects from the first reflective surface 411 into the camera 120 . Figure 9b A portion of the background image frame 401b overlaid on the background model is further schematically shown, which corresponds to at least a portion of the first reflective surface 411. The back surface 416 of the three-dimensional bounding box 415 may include a surface element 417 of the three-dimensional bounding box 415, which is a copy of the surface element 414 of the two-dimensional bounding box 413. The side surface of the three-dimensional bounding box 415 may be generated as a copy of the bounding surface element 414 of the two-dimensional bounding box 413. The color of the copied surface element may be retained.

[0069] Fig.10 A flow chart describing a method performed in an image processing device for detecting reflections of an identified object 410 in an image frame 402 captured by a camera 120 is shown.

[0070] The method may be performed by an image processing device, such as the video camera 120 or the video server 260 .

[0071] The following actions may be taken in any suitable order, for example, in another order than that presented below.

[0072] Action 1001

[0073] The background image frame 401b may be generated according to known methods. Background objects may be identified and defined in the background image frame 401b.

[0074] Preferably, the background image frame 401 b does not include the foreground object 410 .

[0075] Action 1002

[0076] An image frame 402 may be obtained. An object 410 in the image frame 402 may be identified from image information in the image frame 402. For example, an object identification algorithm may be used to find objects in a scene.

[0077] Action 1003

[0078] Based on the obtained three-dimensional information about the background scene, a three-dimensional model of the background scene of the image frame 401 is generated. The background scene may be, for example, a room.

[0079] The three-dimensional model of the background scene includes spatial information about the background objects, such as the position, size, and orientation of the surface of the background objects. For example, the three-dimensional model of the background scene may include information about the normal direction of the surface of the background objects. The normal can be used for ray tracing.

[0080] The three-dimensional information about the background scene may include the three-dimensional coordinates of surfaces in the background scene, normal vectors of the corresponding surfaces, the three-dimensional coordinates of camera 120, and the orientation of camera 120. For example, the three-dimensional model of the background scene may include information about the position of camera 120 relative to the position of background objects.

[0081] Three-dimensional information about the background scene can be generated from Light Detection and Ranging (LIDAR).

[0082] In some other embodiments, three-dimensional information about the background scene may be obtained by running a neural network with the background image frame 401 b as input data.

[0083] The three-dimensional model of the background scene is linked to the background image frame 401b. For example, there is a mapping between the three-dimensional coordinates of the surface of the background model and the corresponding pixels of the background image frame 401b. Mapping image data on top of, for example, LIDAR data is known in the art.

[0084] When the background image frame 401b is updated, the three-dimensional model of the background scene may be updated.

[0085] In some embodiments herein, the three-dimensional model of the background scene is modified by removing surfaces of background objects whose normals point toward the camera 120, since reflected light from these surfaces is less likely to reach the camera.

[0086] Action 1004a

[0087] The image processing device 120 , 260 defines an identified object 410 in the image frame 402 based on the image information in the image frame 402 .

[0088] For example, the image processing device 120, 260 may define the identified object 410 in the image frame 402 by a two-dimensional bounding box 413. The location of the identified object 410 may be defined in the image frame 402.

[0089] Action 1004b

[0090] The image processing device 120, 260 defines a three-dimensional bounding box 415 of the defined object 410 in the three-dimensional model of the background scene. The three-dimensional bounding box 415 can be a cuboid. The bounding box can contain any shape and can simplify calculations. Any shape can fit inside the bounding box 415. In some embodiments herein, the three-dimensional bounding box 415 includes one or more voxels. The three-dimensional bounding box 415 can be based on the defined object 410 in the image frame 402, the position of the object 410 obtained in the three-dimensional model, and the object 410 defined by extrapolating in a plane extending along the normal of the image plane. The plane extending along the normal of the image plane can also be referred to as the depth plane of the image.

[0091] The image processing device 120 , 260 may extrapolate the object 410 by extrapolating boundary pixels of the object 410 from the captured image frame 402 .

[0092] In some example embodiments, the pixels of object 410 are extrapolated a certain distance in the plane of the normal to the image plane. For example, cars have a fairly uniform length, which can be used to perform the extension.

[0093] Back surface 416 of three-dimensional bounding box 415 may include pixels that are copies of pixels of object 410 of image frame 402, i.e., pixels within two-dimensional bounding box 413. Side surfaces of three-dimensional bounding box 415 may include pixels that are copies of pixels of boundary pixels of object 410 of image frame 402. The colors of the copied pixels are preserved.

[0094] The obtained position of the object 410 in the three-dimensional model may be obtained by three-dimensional detection of the object 410 , such as based on LIDAR, RADAR, or depth estimation artificial intelligence (AI) based on image information in the image frame 402 .

[0095] In some other embodiments, three-dimensional bounding box 415 is directly based on a three-dimensional mapping of object 410 , such as based on LIDAR or depth estimation artificial intelligence (AI).

[0096] Action 1005

[0097] The image processing device 120, 260 defines surface elements 417 of the three-dimensional bounding box 415. Smaller surface elements 417 mean better accuracy, but poorer performance.

[0098] The corresponding surface element 417 is defined by a center coordinate 418 and a color value in the three-dimensional model of the background scene.

[0099] The color value can be a hue value or a combination of Cb and Cr values ​​in YUV format. Other color values ​​are also possible.

[0100] Hue is one of the main characteristics of color appearance parameters known as color, technically defined in the CIECAM02 model as "the degree to which a stimulus can be described as similar to or different from a stimulus described as red, orange, yellow, green, blue, or violet" within certain color vision theories. Hue can usually be quantitatively represented by a single number, which usually corresponds to an angular position around a central or neutral point or axis on a color space coordinate diagram (such as a chromaticity diagram or color wheel).

[0101] A corresponding surface element 417 of the three-dimensional bounding box 415 corresponds to a plurality of pixels from the captured image frame 402. A color value of the corresponding surface element 417 is calculated as an average of the color values ​​of the corresponding plurality of pixels.

[0102] The color value of surface element 417 may be defined by averaging the color values ​​of pixels within another surface element from which surface element 417 is derived. For example, surface element 417 may be on the back surface and may be derived from another surface element on the front surface that is derived from a set of pixels of image frame 402.

[0103] Action 1006

[0104] The image processing device 120, 260 determines the three-dimensional coordinates of the surface 411 in the three-dimensional model of the background scene that reflects light from the surface element 417 of the three-dimensional bounding box 415 of the object 410 into the camera 120. That is, the three-dimensional coordinates of the surface 411 determined in the three-dimensional model of the background scene are positioned so that light from the surface element 417 and reflected by the surface 411 at the three-dimensional coordinates will be captured by the camera 120. However, the actual lighting conditions of the scene may determine whether it is possible to detect the reflection of the object 410 in the pixel of the image frame 402 corresponding to the three-dimensional coordinate of the surface 411. Therefore, action 1006 is about finding candidate reflection coordinates of the surface 411.

[0105] The three-dimensional coordinates of the surface 411 determined in the three-dimensional model of the background scene may be stored.

[0106] The determination is performed by tracing rays starting from the center coordinates 418 of the surface elements 417 of the three-dimensional bounding box 415 of the object 410 and based on the normals of the surfaces in the three-dimensional model of the background scene at the three-dimensional coordinates.

[0107] Ray tracing may be repeated for multiple surface elements 417. For example, ray tracing may be performed from all surface elements of the three-dimensional bounding box 415. Then, all corresponding three-dimensional coordinates of the surface 411 in the three-dimensional model of the background scene that reflect light from the surface elements 417 may be found.

[0108] In some other embodiments, ray tracing is performed only for surface elements 417 that define three-dimensional bounding box 415. In this way, the contours that project three-dimensional bounding box 415 onto surface 411 can be found and later used to determine which pixels of image frame 402 to mask. This latter option requires less computation.

[0109] Ray tracing can be performed by known methods. Ray tracing is a method for calculating the path of a wave or particle through a system of regions with different propagation speeds, absorption properties, and reflective surfaces. In these cases, the wavefront may bend, change direction, or reflect from a surface. Ray tracing solves this problem by repeatedly advancing an idealized narrow beam called a ray through a medium by discrete amounts.

[0110] When applied to problems involving electromagnetic radiation, such as light, ray tracing typically relies on an approximate solution to Maxwell's equations that works as long as light waves propagate through and around objects whose dimensions are much larger than the wavelength of the light.

[0111] Ray tracing works by assuming that a particle or wave can be modeled as a large number of very narrow beams (rays), and that there is a certain distance, possibly very small, over which such rays are locally straight. The ray tracer can advance the ray by this distance, and then use the local derivatives of the medium to calculate the new direction of the ray. From this position, a new ray is sent out, and the process is repeated until a complete path is generated. If the simulation includes solid objects, the ray can be tested at each step for intersection with them, and the direction of the ray can be adjusted if a collision is found.

[0112] Action 1007

[0113] The image processing device 120, 260 identifies a first pixel 431 in the image frame 402 that corresponds to the determined three-dimensional coordinates of the surface 411. The identified first pixel may be a candidate reflective pixel.

[0114] The image processing device 120 , 260 may identify a plurality of first pixels 431 in the image frame 402 , the plurality of first pixels 431 corresponding to a plurality of determined three-dimensional coordinates of the surface 411 .

[0115] Action 1008

[0116] When a mixture of the first color value of the identified first pixel 431, the color value of the surface element 417 of the object 410, and the real data color value of the identified first pixel 431 meets a mixture criterion, the image processing device 120, 260 detects the reflection of the object 410 in the image frame 402. That is, if a mixture of the first color value of the identified first pixel 431, the color value of the surface element 417 of the object 410, and the real data color value of the identified first pixel 431 meets the mixture criterion, the identified first pixel 431 is detected as a pixel reflecting the object. The mixture criterion can be, for example, that the color value of the identified first pixel 431 of the background image frame 401b is roughly the sum of the color value of the surface element 417 of the object 410 and the real data color value. This can be checked by subtracting the real data color value from the color value of the identified first pixel 431 and comparing the obtained value with the color value of the surface element 417 of the object 410.

[0117] The true data color value is the color value of the first pixel 431 identified when there is no reflection from the foreground object.

[0118] The real data color value may be obtained from one or more background image frames 401 b or from one or more neighboring pixels of the identified first pixel 431 in the image frame 402 .

[0119] The real data color values ​​from one or more background image frames 401b may be values ​​taken over time to produce an average value.The real data values ​​may be stored in a memory.

[0120] The real data may be a heat map built up over time. If some of the one or more background image frames 401 b include the object 410 , then the one or more background image frames 401 b may be averaged to not contain any significant reflections of the object 410 .

[0121] Action 1008 may be repeated for a plurality of identified first pixels 431 .

[0122] Fig.11 Another flow chart describing another method performed in an image processing device for detecting reflections of an identified object 410 in an image frame 402 captured by the camera 120 is shown. Fig.11 The method is also used to mask pixel regions that have been determined to represent reflections of object 410 .

[0123] Fig.11 The method may be performed by an image processing device, such as the video camera 120 or the video server 260 .

[0124] The following actions may be taken in any suitable order, for example, in another order than that presented below.

[0125] Action 1109

[0126] In response to detecting the reflection of the object 410, the image processing device applies a mask to a pixel region 441 of the image frame 402. The pixel region 441 includes the identified first pixel 431. The pixel region 441 is shown in FIG. 9B. As mentioned above, with respect to action 1008, the image processing device 120, 260 detects the reflection of the object 410 in the image frame 402 when a mixture of the first color value of the identified first pixel 431, the color value of the surface element 417 of the object 410, and the real data color value of the identified first pixel 431 meets a mixture criterion. For example, if the color value of the identified first pixel 431 of the background image frame 401b is roughly the sum of the color value of the surface element 417 of the object 410 and the real data color value, the identified first pixel 431 and the surrounding pixels of the pixel region 441 can be masked.

[0127] Fig.12 A part of a background model including a first reflective surface 411 is schematically shown. Fig.12 A portion of the background image frame 401b overlaid on the background model is further schematically shown, corresponding to at least a portion of the first reflective surface 411. In some embodiments herein, the masked pixel area 441 includes all pixels corresponding to the projection 421 of the surface element 417 of the three-dimensional bounding box 415 on the surface 411 or the second surface 412 in the three-dimensional model of the background scene. In some embodiments herein, the masked pixel area 441 is limited to pixels corresponding to the projection 421 of the surface element 417 of the three-dimensional bounding box 415 on the surface 411 or the second surface 412. The projection is reflected into the camera 120. The projection 421 and an enlarged view of the projection 421 are also shown. Fig.12 The enlarged view of projection 421 has been shown populated with pixels of image frame 402 corresponding to the portion of surface 411 covered by projection 421. Thus, masked pixel region 441 may include pixels of image frame 402 corresponding to the portion of surface 411 covered by projection 421.

[0128] Now refer to Fig.11 and Fig.13 A method for confirming detection of a reflection of an identified object 410 in an image frame 402 is described, which may be performed by analyzing whether the detected reflection moves between a first image frame 402 and at least another image frame, such as a second image frame 403 .

[0129] When the movement of the object 410 has been detected based on the second image frame 403 and the image frame 402 , the following method may be triggered.

[0130] If movement of the object 410 and movement of the reflection are detected, the image processing device 120 , 260 may increase the probability value that the reflection of the object 410 has been found.

[0131] Action 1110

[0132] In some embodiments herein, the image processing device 120, 260 obtains a second image frame 403 of the video sequence 400 including the image frame 402. The second image frame 403 includes the identified object 410. The second image frame 403 may be an image frame immediately following the first image frame 402 in the video sequence 400.

[0133] Action 1111

[0134] The image processing device 120 , 260 defines an identified object 410 in the second image frame 403 based on the image information in the second image frame 403 .

[0135] Action 1112

[0136] The image processing device 120, 260 determines the corresponding second center coordinates 420 of the surface element 417 of the three-dimensional bounding box 415 of the object 410 in the three-dimensional model of the background scene based on the obtained second position of the object 410 in the three-dimensional model. The second position of the object 410 in the three-dimensional model can be obtained in the same manner as described above with respect to action 1004b. The second position of the object 410 in the three-dimensional model can correspond to the position of the object 410 in the second image frame 403.

[0137] Action 1113

[0138] The image processing device 120, 260 determines second three-dimensional coordinates of the surface 411 or the second surface 412 in the three-dimensional model of the background scene, and the surface 411 or the second surface 412 reflects light from the surface element 417 of the three-dimensional bounding box 415 of the object 410 into the camera 120, and the second three-dimensional coordinates are different from the determined three-dimensional coordinates of the surface 411.

[0139] The determination is performed by tracing a ray from the second center coordinate 420 of the surface element 417 and based on a second normal of the surface 411 or the second surface 412 in the three-dimensional model of the background scene at the second three-dimensional coordinate.

[0140] Action 1114

[0141] The image processing device 120 , 260 identifies a second pixel 432 in the second image frame 403 that corresponds to a second three-dimensional coordinate of the determined surface or second surface 412 .

[0142] Action 1115

[0143] The image processing device 120, 260 obtains a second color value of the second pixel 432. The second color value of the second pixel 432 may be stored.

[0144] Action 1116a

[0145] When the mixture of the first color value and the second color value satisfies the second mixture criterion, the image processing apparatus 120 , 260 may confirm the detection of the reflection of the object 410 .

[0146] For example, for the next frame 403, the saved three-dimensional position from the previous frame 402 is looked at and the saved color value is compared to its current color value. If there is a change in color that roughly corresponds to the object 410, it strongly indicates that the reflection is moving. If this conclusion is reached, it indicates that the area is reflective, which may increase the probability of adding a mask.

[0147] Action 1116a

[0148] In some other embodiments herein, when a mixture of the first color value and the second color value does not satisfy a second mixture criterion, the image processing device 120, 260 rejects detection of the reflection of the object 410. The color value of the first pixel 431 in the second image frame 403 is equal to the first color value.

[0149] Thus, if the second color value is different from the first color value, but the color value of the pixel region analyzed for the previous frame 402 is the same, this indicates a false positive.

[0150] This means that the object is moving, but the reflections are not moving. If the object is moving, but the reflections are not, this indicates a false positive and removal of the reflection mask at that area may be considered.

[0151] Action 1117

[0152] In response to confirming that the reflection of the object 410 is detected, the image processing device 120, 260 can apply a mask to the second pixel region 442 of the second image frame 403. The second pixel region 442 includes the identified second pixel 432. In some embodiments herein, the masked second pixel region 442 is limited to pixels corresponding to the second projection of the surface element 417 of the three-dimensional bounding box 415 on the surface 411 or the second surface 412.

[0153] Action 1118

[0154] In response to detecting the reflection of the rejection object 410 , the image processing device 120 , 260 may determine not to apply a mask to the second pixel region 442 including the identified second pixel 432 .

[0155] refer to Fig.14 , shows a schematic block diagram of an embodiment of an image processing device 600. The image processing device 600 corresponds to Figure 1 or Figure 2 Thus, the image processing device 600 may include or be any one of a camera, such as a monitoring camera, a surveillance camera, a video camera, a network video recorder, and a wireless communication device 130. In particular, the image processing device 600 may be a camera 120, such as a monitoring video camera, or a video server 260.

[0156] As mentioned above, the image processing device 600 is configured to perform Fig.10 or Fig.11 method.

[0157] The image processing device 600 may further include a processing module 601, such as means for performing the methods described herein. The means may be implemented in the form of one or more hardware modules and / or one or more software modules.

[0158] The image processing device 600 may further include a memory 602. The memory may include, for example, contain or store instructions in the form of a computer program 603, which may include computer-readable code units, which, when executed on the image processing device 600, cause the image processing device 600 to perform the method described above, for example with respect to Fig.10 or Fig.11 .

[0159] The image processing apparatus 600 may include a computer, and the computer-readable code unit may then be executed on the computer and cause the computer to execute Fig.10 or Fig.11 method.

[0160] According to some embodiments herein, the image processing device 600 and / or the processing module 601 includes a processing circuit 604 as an exemplary hardware module, which may include one or more processors. Therefore, the processing module 601 may be implemented in the form of the processing circuit 604, or may be "implemented" by the processing circuit 604. The instructions may be executed by the processing circuit 604, whereby the image processing device 600 may be operated to perform the operations described above. Fig.10 or Fig.11As another example, when executed by the image processing device 600 and / or the processing circuit 604, the instructions may cause the image processing device 600 to perform a method according to Fig.10 or Fig.11 method.

[0161] In view of the above, in one example, an image processing apparatus 600 for detecting reflections of an identified object 410 in an image frame 402 captured by a camera 120 is provided.

[0162] Furthermore, the memory 602 contains instructions executable by the processing circuit 604, whereby the image processing device 600 is operable to perform the processing according to Fig.10 or Fig.11 method.

[0163] Figure 6 Further shown is a carrier 605 or program carrier, which comprises the computer program 603 as described directly above. The carrier 605 may be one of an electronic signal, an optical signal, a radio signal and a computer readable medium.

[0164] Furthermore, the processing module 601 may include an input / output unit 606. According to an embodiment, the input / output unit 606 may include an image sensor configured to capture the raw video frames described above, such as the raw video frames included in the video stream 310 from the image sensor 301.

[0165] According to the various embodiments described above, the image processing device 600 and / or the processing module 601 is configured to generate a three-dimensional model of the background scene of the image frame 402 based on the obtained three-dimensional information about the background scene.

[0166] The image processing device 600 and / or the processing module 601 are further configured to define an identified object 410 in the image frame 402 based on the image information in the image frame 402 .

[0167] The image processing device 600 and / or the processing module 601 are further configured to define an identified object 410 in the image frame 402 based on the image information in the image frame 402 .

[0168] The image processing device 600 and / or the processing module 601 are further configured to define a three-dimensional bounding box 415 of the defined object 410 in the three-dimensional model of the background scene. The three-dimensional bounding box 415 may be based on the defined object 410 in the image frame 402, the obtained position of the object 410 in the three-dimensional model, and by extrapolating the defined object 410 in a plane extending along the normal of the image plane.

[0169] The image processing device 600 and / or the processing module 601 are further configured to define surface elements 416 of the three-dimensional bounding box 415 , the respective surface elements 416 being defined by center coordinates 418 and color values ​​in the three-dimensional model of the background scene.

[0170] The image processing device 600 and / or the processing module 601 are also configured to determine the three-dimensional coordinates of a surface 411 in the three-dimensional model of the background scene, which surface 411 reflects light from a surface element 416 of the three-dimensional bounding box 415 of the object 410 into the camera 120, wherein the determination is performed by tracing light starting from the center coordinates 418 of the surface element 416 of the three-dimensional bounding box 415 of the object 410 and based on the normal of the surface in the three-dimensional model of the background scene at the three-dimensional coordinates.

[0171] The image processing device 600 and / or the processing module 601 are further configured to identify a first pixel 431 in the image frame 402 , the first pixel 431 corresponding to the determined three-dimensional coordinates of the surface 411 .

[0172] The image processing device 600 and / or the processing module 601 are also configured to detect the reflection of the object 410 in the image frame 402 when a mixture of the first color value of the identified first pixel 431, the color value of the surface element 416 of the object 410, and the real data color value of the identified first pixel 431 satisfies a mixing criterion.

[0173] The image processing device 600 and / or the processing module 601 is further configured to apply a mask to a pixel region 441 of the image frame 402 including the identified first pixel 431 in response to detecting the reflection of the object 410 .

[0174] In some embodiments herein, the image processing device 600 and / or the processing module 601 is configured to obtain a second image frame 403 of the video sequence 400 including the image frame 402, the second image frame 403 including the identified object 410, and

[0175] defining the identified object 410 in the second image frame 403 based on the image information in the second image frame 403, and determining corresponding second center coordinates 420 of surface elements 416 of a three-dimensional bounding box 415 of the object 410 in the three-dimensional model of the background scene based on the obtained second position of the object 410 in the three-dimensional model, and

[0176] determining, in the three-dimensional model of the background scene, second three-dimensional coordinates of a surface 411 or a second surface 412 that reflects light from a surface element 416 of a three-dimensional bounding box 415 of the object 410 into the camera 120, and the second three-dimensional coordinates being different from the determined three-dimensional coordinates of the surface 411, wherein the determining is performed by tracing a ray from a second center coordinate 420 of the surface element 416 and based on a second normal of the surface 411 or the second surface 412 in the three-dimensional model of the background scene at the second three-dimensional coordinates, and identifying a second pixel 432 in the second image frame 403 that corresponds to the second three-dimensional coordinate of the determined surface or the second surface 412, and

[0177] Obtaining a second color value of the second pixel 432, and confirming the reflection of the detection object 410 when a mixture of the first color value and the second color value satisfies a second mixture criterion, or

[0178] When the mixture of the first color value and the second color value does not satisfy the second mixture criterion, the detection of the reflection of the object 410 is rejected, and the color value of the first pixel 431 in the second image frame 403 is equal to the first color value.

[0179] In some embodiments herein, the image processing device 600 and / or the processing module 601 is configured to apply a mask to a second pixel region 442 of the second image frame 403 including the identified second pixel 432 in response to detecting a reflection of the confirmed object 410 .

[0180] In some embodiments herein, the image processing device 600 and / or the processing module 601 is configured to determine not to apply a mask to the second pixel region 442 including the identified second pixel 432 in response to detecting the reflection of the rejection object 410 .

[0181] In some embodiments herein, the image processing device 600 and / or the processing module 601 is configured to extrapolate the object 410 by being configured to extrapolate boundary pixels of the object 410 from the captured image frame 402 .

[0182] As used herein, the term "module" may refer to one or more functional modules, each of which may be implemented as one or more hardware modules and / or one or more software modules and / or a combined software / hardware module. In some examples, a module may represent a functional unit implemented as software and / or hardware.

[0183] As used herein, the term "computer program carrier", "program carrier" or "carrier" may refer to one of an electronic signal, an optical signal, a radio signal, and a computer-readable medium. In some examples, the computer program carrier may exclude transient propagating signals, such as electronic, optical and / or radio signals. Thus, in these examples, the computer program carrier may be a non-transient carrier, such as a non-transient computer-readable medium.

[0184] As used herein, the term "processing module" may include one or more hardware modules, one or more software modules, or a combination thereof. Any such module, whether hardware, software, or a combined hardware-software module, may be a connection device, a providing device, a configuration device, a response device, a disabling device, etc. as disclosed herein. As an example, the expression "device" may be a module corresponding to the modules listed above in conjunction with the accompanying drawings.

[0185] As used herein, the term "software module" may refer to a software application, a dynamic link library (DLL), a software component, a software object, an object according to the Component Object Model (COM), a software component, a software function, a software engine, an executable binary software file, etc.

[0186] The term "processing module" or "processing circuit" may include processing units herein, including, for example, one or more processors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), etc. The processing circuit, etc. may include one or more processor cores.

[0187] As used herein, the expression “configured to / for” may mean that the processing circuit is configured to, such as adapted to or operable to, by means of software configuration and / or hardware configuration, perform one or more of the actions described herein.

[0188] As used herein, the term "action" may refer to an action, step, operation, response, reaction, activity, etc. It should be noted that an action herein may be divided into two or more sub-actions (if applicable). In addition, also as applicable, it should be noted that two or more of the actions described herein may be combined into a single action.

[0189] As used herein, the term "memory" may refer to a hard disk, a magnetic storage medium, a portable computer floppy or optical disk, flash memory, random access memory (RAM), etc. In addition, the term "memory" may refer to an internal register memory of a processor or the like.

[0190] As used herein, the term "computer-readable medium" may be a Universal Serial Bus (USB) memory, a DVD disc, a Blu-ray disc, a software module received as a data stream, a flash memory, a hard drive, a memory card such as a MemoryStick, a MultiMediaCard (MMC), a Secure Digital (SD) card, etc. One or more of the foregoing examples of computer-readable media may be provided as one or more computer program products.

[0191] As used herein, the term "computer readable code unit" may be the text of a computer program, a binary file representing part or all of a computer program in a compiled format, or anything in between.

[0192] As used herein, the terms "number" and / or "value" may be any kind of number, such as binary, real, imaginary or rational numbers, etc. Moreover, a "number" and / or "value" may be one or more characters, such as a letter or a string of letters. A "number" and / or "value" may also be represented by a string of bits, i.e., zeros and / or ones.

[0193] As used herein, the expression "in some embodiments" has been used to indicate that features of a described embodiment can be combined with any other embodiments disclosed herein.

[0194] Although various embodiments have been described, many different changes, modifications, etc. thereof will become apparent to those skilled in the art. Therefore, the described embodiments are not intended to limit the scope of the present disclosure.

Claims

1. A method for detecting reflections of an identified object (410) in an image frame (402) captured by a camera (120) performed by an image processing device (120, 260), the method include: Based on the obtained three-dimensional information about the background scene, generating (1003) a three-dimensional model of the background scene of the image frame (401); defining (1004a) the identified object (410) in the image frame (402) based on image information in the image frame (402); defining (1004b) a three-dimensional bounding box (415) of the defined object (410) in the three-dimensional model of the background scene; defining (1005) surface elements (416) of the three-dimensional bounding box (415), the respective surface elements (416) being defined by center coordinates (418) and color values ​​in the three-dimensional model of the background scene; determining (1006) three-dimensional coordinates of a surface (411) in the three-dimensional model of the background scene, the surface (411) reflecting light from a surface element (416) of the three-dimensional bounding box (415) of the object (410) into the camera (120), wherein the determining is performed by tracing a ray starting from the center coordinate (418) of the surface element (416) of the three-dimensional bounding box (415) of the object (410) and based on a normal of the surface in the three-dimensional model of the background scene at the three-dimensional coordinates; identifying (1007) a first pixel (431) in the image frame (402) corresponding to the determined three-dimensional coordinates of the surface (411); detecting (1008) a reflection of the object (410) in the image frame (402) when a mixture of the first color value of the identified first pixel (431), the color value of the surface element (416) of the object (410), and the real data color value of the identified first pixel (431) satisfies a mixture criterion; and In response to detecting a reflection of the object (410), a mask is applied (1109) to a pixel region (441) of the image frame (402), the pixel region (441) including the identified first pixel (431).

2. The method according to claim 1, in, The real data color value is obtained from one or more background image frames (401b) or from one or more neighboring pixels of the identified first pixel (431) in the image frame (402).

3. The method according to any one of claims 1 to 2, further comprising: include: Obtaining (1110) a second image frame (403) of the video sequence (400) including the image frame (402), the second image frame (403) including the identified object (410); defining (1111) the identified object (410) in the second image frame (403) based on image information in the second image frame (403); Determining corresponding second center coordinates (420) of the surface elements (416) of the three-dimensional bounding box (415) of the object (410) in the three-dimensional model of the background scene based on the obtained second position of the object (410) in the three-dimensional model; determining (1113) second three-dimensional coordinates of the surface (411) or the second surface (412) in the three-dimensional model of the background scene, the surface (411) or the second surface (412) reflecting light from the surface element (416) of the three-dimensional bounding box (415) of the object (410) into the camera (120), and the second three-dimensional coordinates being different from the determined three-dimensional coordinates of the surface (411), wherein the determining is performed by tracing a ray starting from the second center coordinate (420) of the surface element (416) and based on a second normal of the surface (411) or the second surface (412) in the three-dimensional model of the background scene at the second three-dimensional coordinates, and identifying (1114) a second pixel (432) in the second image frame (403), the second pixel (432) corresponding to the determined second three-dimensional coordinate of the surface or the second surface (412); obtaining (1115) a second color value of the second pixel (432); and confirming (1116a) the detection of the reflection of the object (410) when the mixture of the first color value and the second color value satisfies a second mixture criterion; or When a mixture of the first color value and the second color value does not satisfy the second mixing criterion, the detection of the reflection of the object (410) is rejected (1116b), and the color value of the first pixel (431) in the second image frame (403) is equal to the first color value.

4. The method according to claim 3, further comprising: include: In response to confirming detection of the reflection of the object (410), a mask is applied (1117) to a second pixel region (442) of the second image frame (403), the second pixel region (442) including the identified second pixel (432).

5. The method according to claim 3, further comprising: include: In response to rejecting detection of the reflection of the object (410), a determination (1118) is made not to apply a mask to the second pixel region (442) including the identified second pixel (432).

6. The method according to any one of claims 1 to 5, in, The masked pixel area (441, 442) includes all pixels corresponding to a projection (421) of the surface element (416) of the three-dimensional bounding box (415) onto the surface (411) or the second surface (412) in the three-dimensional model of the background scene, wherein the projection is reflected into the camera (120).

7. The method according to any one of claims 1 to 6, in, The three-dimensional information about the background scene includes the three-dimensional coordinates of a surface in the background scene, a corresponding normal vector of the surface, the three-dimensional coordinates of the camera (120), and the orientation of the camera (120).

8. The method according to any one of claims 1 to 7, in, The color value is a hue value or a combination of a Cb value and a Cr value in the YUV format.

9. The method according to any one of claims 1 to 8, in, Extrapolation of the object (410) is performed by extrapolating boundary pixels of the object (410) from the captured image frame (402).

10. The method according to any one of claims 1 to 9, in, The corresponding surface element (416) of the three-dimensional bounding box (415) corresponds to a plurality of pixels from the captured image frame (402), and wherein the color value of the corresponding surface element (416) is calculated as an average of the color values ​​of the corresponding plurality of pixels.

11. An image processing device (120, 260) configured to perform the method according to any one of claims 1 to 10.

12. The image processing device (120, 260) according to claim 11, in, The image processing device (120, 260) is a video camera (120), such as a surveillance camera, or a video server (260).

13. A computer program (603) comprising computer readable code means which, when executed on an image processing device (120, 260), causes the image processing device (120, 260) to perform the method according to any one of claims 1 to 10.

14. A computer readable medium (605) comprising a computer program (603) according to the preceding claim.

Citation Information

Patent Citations

  • Method and system for identifying reflective surfaces in scene

    CN108140255A

  • Dynamic image compensation for pre-touch localization on a reflective surface

    US20170147142A1

  • Method, apparatus and system for generating a three-dimensional model of a scene

    US20220139030A1

  • Three-dimension reconstruction method and three-dimension reconstruction device

    WO2019244944A1