# US 2016/0364877 A1 · Apparatus and method for extracting object of interest from image using image matting based on global contrast

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

- Number: US 2016/0364877 A1
- Document ID: US20160364877A1
- Status: Published application
- Kind: A1
- Application number: 14/855,827
- Filed: 2015-09-16
- Published: 2016-12-15
- Earliest claimed: 2015-06-15
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Jae-Hwan KIM
- Web page: https://patentgrep.com/patent/US20160364877A1

## CPC

- G06T 7/194: involving foreground-background segmentation
- G06T 5/30: Erosion or dilatation, e.g. thinning
- G06T 7/11: Region-based segmentation
- G06V 10/464: {using a plurality of salient features, e.g. bag-of-words [BoW] representations}
- G06V 10/56: relating to colour
- G06T 2207/10024: Color image
- G06T 2207/20024: Filtering details
- G06T 2207/20076: Probabilistic image processing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An apparatus and method for extracting an object of interest from an image using image matting are disclosed herein. The apparatus for extracting an object of interest from an image using image matting includes a saliency map generation unit, a trimap generation unit, and an alpha map generation unit. The saliency map generation unit generates a saliency map corresponding to an object of interest inside an input image using a color space probability distribution corresponding to the input image. The trimap generation unit generates meta-trimaps using filters, and generates a trimap by clustering the meta-trimaps. The alpha map generation unit generates an alpha map using the trimap and a matting Laplacian matrix, and extracts the object of interest based on image matting using the alpha map and the input image.

## Claims

### Claim 1

An apparatus for extracting an object of interest from an image using image matting, comprising:
a saliency map generation unit configured to generate a saliency map corresponding to an object of interest inside an input image using a color space probability distribution corresponding to the input image;
a trimap generation unit configured to generate meta-trimaps using filters and generate a trimap by clustering the meta-trimaps; and
an alpha map generation unit configured to generate an alpha map using the trimap and a matting Laplacian matrix and extract the object of interest based on image matting using the alpha map and the input image.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the saliency map generation unit comprises:
a color segmentation unit configured to perform Gaussian mixture model (GMM)-based color segmentation on the input image and store segmented subregions in a binary tree;
a probability distribution generation unit configured to generate the color space probability distribution based on an image labeled with pixel values corresponding to the input image; and
a generation unit configured to generate the saliency map using a probability value calculated based on the color space probability distribution and a space variance.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the generation unit calculates the space variance using the following equation:
Var
(
z
pos


c
)
=
1

c

c

∑
z

P
(
c


I
x
)
·

z
pos
-
M
(
z
pos


c
)

2
where Var(zpos|c) is a space variance, c is a GMM element, Ix is a pixel color, P(c|Ix) is a probability that the pixel color Ix will be included in the GMM element c, M(zpos|c) is a space mean, and zpos is a pixel within the GMM element c.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the trimap generation unit comprises:
a meta-trimap generation unit configured to generate two meta-trimaps from the saliency map using the two filters;
a clustering unit configured to cluster the meta-trimaps into a foreground region, a background region, and an unknown region; and
a generation unit configured to generate the trimap by integrating the clustered meta-trimaps.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the meta-trimap generation unit generates the two meta-trimaps using a Gaussian blur filter and a dilation and erosion filter.

### Claim 6 (depends on 4)

The apparatus of claim 4, wherein the clustering unit assigns an identical value to all pixels within a clustered group present in each of the meta-trimaps.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the clustering unit assigns a color average value of values of all the pixels within the group to all the pixels.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the alpha map generation unit comprises:
a matting Laplacian matrix calculation unit configured to calculate the matting Laplacian matrix into which color distances between all pixels inside the image have been incorporated;
a generation unit configured to calculate transparent values of pixels using the matting Laplacian matrix and the trimap and generate the alpha map based on the transparent values; and
an object extraction unit configured to extract the object of interest based on the image matting using the alpha map and the image.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the matting Laplacian matrix calculation unit converts the matting Laplacian matrix into a sparse matrix, and stores the sparse matrix.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the object extraction unit extracts the object of interest based on a foreground region, a background region, and a linear combination relationship between transparency alpha values corresponding to the alpha map.

### Claim 11

A method for extracting an object of interest from an image using image matting, comprising:
generating a saliency map corresponding to an object of interest inside an input image using a color space probability distribution corresponding to the input image;
generating meta-trimaps corresponding to the saliency map using filters, and generating a trimap by clustering the meta-trimaps; and
generating an alpha map using the trimap and a matting Laplacian matrix, and extracting the object of interest based on image matting using the alpha map and the input image.

### Claim 12 (depends on 11)

The method of claim 11, wherein generating the saliency map comprises:
performing Gaussian mixture model (GMM)-based color segmentation on the input image, and storing segmented subregions in a binary tree;
generating the color space probability distribution based on an image labeled with pixel values corresponding to the input image; and
generating the saliency map using a probability value calculated based on the color space probability distribution and a space variance.

### Claim 13 (depends on 12)

The method of claim 12, wherein generating the saliency map comprises calculating the space variance using the following equation:
Var
(
z
pos


c
)
=
1

c

c

∑
z

P
(
c


I
x
)
·

z
pos
-
M
(
z
pos


c
)

2
where Var(zpos|c) is a space variance, c is a GMM element, Ix is a pixel color, P(c|Ix) is a probability that the pixel color Ix will be included in the GMM element c, M(zpos|c) is a space mean, and zpos is a pixel within the GMM element c.

### Claim 14 (depends on 11)

The method of claim 11, wherein generating the trimap comprises:
generating two meta-trimaps from the saliency map using the two filters;
clustering the meta-trimaps into a foreground region, a background region, and an unknown region; and
generating the trimap by integrating the clustered meta-trimaps.

### Claim 15 (depends on 14)

The method of claim 14, wherein generating the meta-trimap comprises generating the two meta-trimaps using a Gaussian blur filter and a dilation and erosion filter.

### Claim 16 (depends on 14)

The method of claim 14, wherein clustering the meta-trimaps comprises assigning an identical value to all pixels within a group present in each of the meta-trimaps.

### Claim 17 (depends on 16)

The method of claim 16, wherein clustering the meta-trimaps comprises assigning a color average value of values of all the pixels within the group to all the pixels.

### Claim 18 (depends on 11)

The method of claim 11, wherein generating the alpha map comprises:
calculating the matting Laplacian matrix into which color distances between all pixels inside the image have been incorporated;
calculating transparent values of pixels using the matting Laplacian matrix and the trimap, and generating the alpha map based on the transparent values; and
extracting the object of interest based on the image matting using the alpha map and the image.

### Claim 19 (depends on 18)

The method of claim 18, wherein calculating the matting Laplacian matrix comprises:
converting the matting Laplacian matrix into a sparse matrix, and storing the sparse matrix.

### Claim 20 (depends on 18)

The method of claim 18, wherein extracting the object comprises extracting the object of interest based on a foreground region, a background region, and a linear combination relationship between transparency alpha values corresponding to the alpha map.
