# US 2009/0154807 A1 · Edge Comparison in Segmentation of Video Sequences

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

- Number: US 2009/0154807 A1
- Document ID: US20090154807A1
- Status: Published application
- Kind: A1
- Application number: 12/087,251
- Filed: 2005-12-30
- Published: 2009-06-18
- Earliest claimed: 2005-12-30
- Assignees: Telecom Italia S.p.A.
- Inventors: Luca Rossato; Andrea Varesio
- Web page: https://patentgrep.com/patent/US20090154807A1

## CPC

- G06T 7/12: Edge-based segmentation
- G06T 7/155: involving morphological operators
- G06T 7/194: involving foreground-background segmentation
- G06V 10/28: Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20081: Training; Learning
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method of image processing, includes: receiving at least one video frame of a video sequence, the at least one video frame including at least one foreground subject and a background; and processing the at least one video frame so as to separate the at least one foreground subject from the background. The processing includes: obtaining a reference image including the background; comparing the at least one video frame to the reference image; and generating a pixel mask as a result of the comparison, the pixel mask indicating whether a pixel of the at least one video frame belongs to the foreground subject or to the background. The method further comprises at least partially determining edges of the at least one foreground subject in the at least one video frame, and modifying the pixel mask based on the determined foreground subject edges.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method of image processing, comprising:
receiving at least one video frame of a video sequence, the at least one video frame comprising at least one foreground subject and a background; and
processing said at least one video frame so as to separate said at least one foreground subject from said background, wherein said processing comprises:
obtaining a reference image comprising said background;
comparing the at least one video frame to the reference image; and
generating a pixel mask as a result of said comparison, said pixel mask indicating whether a pixel of the at least one video frame belongs to the foreground subject or to the background; and
at least partially determining edges of said at least one foreground subject in said at least one video frame; and
modifying the pixel mask based on the determined foreground subject edges.

### Claim 22 (depends on 21)

The method of claim 21, wherein said at least partially determining edges of said at least one foreground subject in said at least one video frame comprises:
determining edges in the at least one video frame;
determining edges in the reference image; and
comparing the determined edges of the at least one video frame with the determined edges of the reference image.

### Claim 23 (depends on 22)

The method of claim 22, wherein said at least partially determining edges of said at least one foreground subject in said at least one video frame comprises identifying pixels of the video frame that:
belong to a determined edge in the at least one video frame and not to a determined edge in the reference image.

### Claim 24 (depends on 22)

The method of claim 22, wherein said at least partially determining edges of said at least one foreground subject in said at least one video frame comprises identifying pixels of the video frame that:
belong to a determined edge in the reference image and not to a determined edge in the at least one video frame.

### Claim 25 (depends on 23)

The method of claim 23, wherein said modifying the pixel mask comprises adding to the foreground mask the identified pixels.

### Claim 26 (depends on 22)

The method of claim 22, wherein said determining edges in the at least one video frame or, respectively, in said reference image, comprises:
high-pass filtering said at least one video frame or, respectively, said reference image.

### Claim 27 (depends on 26)

The method of claim 26, wherein said high-pass filtering said at least one video frame or, respectively, said reference image, comprises:
calculating a luminance value with respect to the pixels of the at least one video frame or, respectively, of the reference image; and
applying at least one gradient operator to the calculated luminance values of the pixels in the at least one video frame or, respectively, in the reference image, so as to obtain a luminance gradient value for the pixels.

### Claim 28 (depends on 27)

The method of claim 27, wherein said applying at least one gradient operator to the calculated luminance values of the pixels comprises:
applying a first gradient operator for obtaining a value of a first component of the luminance gradient along a first predetermined direction;
applying a second gradient operator for obtaining a value of a second component of the luminance gradient along a second predetermined direction; and
obtaining the luminance gradient value by combining the values of the first and second components of the luminance gradient.

### Claim 29 (depends on 27)

The method of claim 27, further comprising:
obtaining a luminance gradient difference value by subtracting the luminance gradient values of corresponding pixels in the reference image from the luminance gradient value of the pixels in the at least one video frame.

### Claim 30 (depends on 29)

The method of claim 29, wherein said modifying the pixel mask comprises:
assigning a pixel to the foreground subject in the pixel mask in case the luminance gradient difference absolute value exceeds a predetermined threshold.

### Claim 31 (depends on 27)

The method of claim 27, wherein said at least one gradient operator comprises a Sobel operator.

### Claim 32 (depends on 21)

The method of claim 21, wherein said obtaining a reference image comprises obtaining a background statistical model based on a plurality of video frames not including foreground subject.

### Claim 33 (depends on 22)

The method of claim 22, wherein said obtaining the background statistical model comprises:
providing a hue, saturation, value color space description of the video frames not including foreground objects; and
calculating an average of the hue, saturation, value coordinates for each pixel of the captured video frames of said plurality.

### Claim 34 (depends on 21)

The method of claim 21, further comprising low-pass filtering the modified pixel mask.

### Claim 35 (depends on 34)

The method of claim 34, wherein said low-pass filtering the modified pixel mask comprises applying a Gaussian filter to the modified mask.

### Claim 36 (depends on 21)

The method of claim 21, further comprising applying morphological closing to the modified pixel mask.

### Claim 37 (depends on 36)

The method of claim 36, wherein said morphological closing is applied after said low-pass filtering.

### Claim 38 (depends on 21)

A data processing apparatus comprising at least one module capable of being adapted to perform an image processing method according to claim 21.

### Claim 39 (depends on 38)

The data processing apparatus of claim 38, wherein the data processing apparatus comprises a videotelephone.

### Claim 40 (depends on 38)

The data processing apparatus of claim 38, wherein the data processing apparatus comprises a video-conferencing apparatus.
