Patent ID: 9633459
Date: 2017-04-25
CPC Classifications: G06T

Claim:
1. A method, comprising: creating, by a processor, a collection of columns based on an upper pixel of interest and a lower pixel of interest for each of a plurality of vertical lines of an image, the collection of columns representing a first hull; growing, by the processor, the first hull by increasing a height of one or more columns in the collection of columns based on a comparison between positions of the upper and/or lower pixels of interest for two or more adjacent vertical lines of the image, wherein the height of the one or more columns in the collection of columns is increased based on the positions of the upper and/or lower pixels of interest for two or more adiacent vertical lines of the image being within a first error tolerance of each other; creating, by the processor, a collection of rows based on a leftmost pixel of interest and a rightmost pixel of interest for each of a plurality of horizontal lines of the image, the collection of rows representing a second hull; growing, by the processor, the second hull by increasing a width of one or more rows in the collection of rows based on a comparison between positions of the leftmost and/or rightmost pixels of interest for two or more adjacent horizontal lines of the image, wherein the width of the one or more rows in the collection of rows is increased based on the positions of the leftmost and/or rightmost pixels of interest for two or more adiacent horizontal lines of the image being within a second error tolerance of each other; creating, by the processor, a third hull by combining the first and second hulls; and generating, by the processor, a polygon mesh corresponding to the third hull, wherein the polygon mesh defines a number of pixels of the image to be rendered for display; and rendering, by the processor, a sprite for display, wherein the sprite includes pixels located within the polygon mesh.