IMAGE FOREGROUND EXTRACTION USING A PRESENTATION APPLICATION
First Claim
1. A method of extracting a portion of an image, wherein the image is formed by a plurality of pixels, the method comprising:
- generating a polygon in response to receiving one or more user inputs;
displaying the polygon as an overlay on the image;
categorizing pixels of the image as part of a foreground or background of the image, wherein the categorizing comprises;
classifying pixels that are enclosed by an inner boundary of the polygon as part of the foreground;
classifying pixels that are not enclosed by an outer boundary of the polygon as part of the background; and
determining whether each pixel between the inner and outer boundary of the polygon is part of the background, foreground, or both the background and foreground; and
extracting a foreground of the image based on the pixels categorized as part of the foreground.
1 Assignment
0 Petitions
Accused Products
Abstract
A presentation application is provided that allows a user to extract a portion of the foreground or background from an image. The user can define a polygon outlining a portion of the image, and can adjust the shape and width of the polygon. The presentation application may use the user-defined polygon to identify a background region associated with pixels lying entirely outside the polygon, a foreground region associated with pixels enclosed by the polygon, and a set of pixels that are initially unknown within the width of the polygon. The presentation application then determines whether each unknown pixel is part of the background, foreground, or part of both. Based on the classification, the presentation application can extract the foreground of the image and mask the remaining portions of the image.
-
Citations
32 Claims
-
1. A method of extracting a portion of an image, wherein the image is formed by a plurality of pixels, the method comprising:
-
generating a polygon in response to receiving one or more user inputs; displaying the polygon as an overlay on the image; categorizing pixels of the image as part of a foreground or background of the image, wherein the categorizing comprises; classifying pixels that are enclosed by an inner boundary of the polygon as part of the foreground; classifying pixels that are not enclosed by an outer boundary of the polygon as part of the background; and determining whether each pixel between the inner and outer boundary of the polygon is part of the background, foreground, or both the background and foreground; and extracting a foreground of the image based on the pixels categorized as part of the foreground. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of extracting a portion of an image, wherein the image is formed by a plurality of pixels, the method comprising:
-
generating a polygon in response to receiving one or more user inputs; displaying the polygon as an overlay on the image; categorizing pixels of the image as part of a foreground or background of the image, wherein the categorizing comprises; classifying pixels that are enclosed by an inner boundary of the polygon as part of the foreground; classifying pixels that are not enclosed by an outer boundary of the polygon as part of the background; and determining whether each pixel between the inner and outer boundary of the polygon is part of the background, foreground, or both the background and foreground; and extracting a background of the image based on the pixels categorized as part of the background.
-
-
7. A method of classifying a pixel as part of a foreground or background of an image, wherein the pixel is one of a plurality of contiguous pixels not classified as part of the foreground or background of the image, the method comprising:
-
identifying a first pixel path leading away from the pixel and directed towards the foreground of the image; identifying a second pixel path leading away from the pixel and directed towards the background of the image; and classifying the pixel based on properties of the first pixel path and the second pixel path. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. An electronic device for performing an extraction of a portion of an image formed by a plurality of pixels, the electronic device comprising a display, an input device, and a processor, the processor operative to:
-
generate a polygon in response to receiving one or more user inputs from the input device; display the polygon on the display as an overlay on the image; categorize pixels of the image as part of a foreground or background of the image by; classifying pixels that are enclosed by an inner boundary of the polygon as part of the foreground; classifying pixels that are not enclosed by an outer boundary of the polygon as part of the background; and determining whether each pixel between the inner and outer boundary of the polygon is part of the background, foreground, or both the background and foreground; and extract a foreground of the image based on the pixels categorized as part of the foreground. - View Dependent Claims (18, 19, 20, 21)
-
-
22. An electronic device for performing an extraction of a portion of an image formed by a plurality of pixels, the electronic device comprising a display, an input device, and a processor, the processor operative to:
-
generate a polygon in response to receiving one or more user inputs from the input device; display the polygon on the display as an overlay on the image; categorize pixels of the image as part of a foreground or background of the image by; classifying pixels that are enclosed by an inner boundary of the polygon as part of the foreground; classifying pixels that are not enclosed by an outer boundary of the polygon as part of the background; and determining whether each pixel between the inner and outer boundary of the polygon is part of the background, foreground, or both the background and foreground; and extract a background of the image based on the pixels categorized as part of the background.
-
-
23. An electronic device for classifying a pixel as part of a foreground or background of an image, wherein the pixel is one of a plurality of contiguous pixels not classified as part of the foreground or background of the image, the electronic device comprising a processor configured to:
-
identify a first pixel path leading away from the pixel and directed towards the foreground of the image; identify a second pixel path leading away from the pixel and directed towards the background of the image; and classify the pixel based on properties of the first pixel path and the second pixel path. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32)
-
Specification