Patent ID: 8699749
Filing Date: 2014-04-15
Classification: G06T

Abstract:
1. A non-transitory computer-readable storage medium having stored thereon an image processing program which, when executed by a computer of an information processing apparatus, causes the computer to perform operations comprising: acquiring an image from an imaging device; detecting from the image a series of edge pixels representing a contour of an object or of a design represented in the object; generating a plurality of straight lines on the basis of the series of edge pixels; detecting vertices of the contour on the basis of the plurality of straight lines; calculating positions and orientations of the imaging device and the object relative to each other on the basis of the vertices; setting a virtual camera in a virtual space on the basis of the calculated positions and the calculated orientations; and displaying on a display device a virtual space image obtained by capturing the virtual space with the set virtual camera, wherein the plurality of straight lines are generated by repeatedly generating or updating a straight line clockwise or counterclockwise starting at any one of the series of edge pixels.