Patent ID: 9619471
Date: 2017-04-11
CPC Classifications: G06F,G06T,G11B

Claim:
1. A method of displaying a graphical object, the method comprising: in a presentation application executing on an electronic device: receiving a selection of a portion of a graphical object; identifying an unknown pixel from the graphical object based on the selected portion; identifying a plurality of neighboring pixels for the unknown pixel; determining an alpha value for the unknown pixel that indicates a degree to which the unknown pixel is part of a foreground of the graphical object, the determination being based, at least in part, on determining a pixel of least resistance from among the plurality of neighboring pixels and determining whether the pixel of least resistance is in a direction that opposes a guidance vector; designating, based on the alpha value, the unknown pixel as part of at least one of the foreground or a background of the graphical object; creating a bitmap of the foreground only or the background only in response to the designation; converting the bitmap to a vector graphic of the selected portion; generating a masked graphical object by masking the vector graphic; and displaying the masked graphical object using a display coupled to the electronic device.