Patent ID: 8520935

Claim:
A computer-implemented method for converting a 2D image into a 3D image, the method comprising: receiving the 2D image; analyzing content of the received 2D image including: extracting a first set of visual features from the received 2D image; and classifying the received 2D image as one of image categories based on the extracted first set of visual features including: classifying the received 2D image as one of a landscape image or a geometric structure image based on the extracted first set of visual features, including: converting the received 2D image into a grayscale image; detecting edges in the grayscale image; calculating an edge direction histogram representing edge directions based on the detected edges; extracting edge direction features from the edge direction histogram; and classifying the received 2D image as one of the landscape image or the geometric structure image based on the extracted edge direction features; determining a 2D-to-3D image conversion method based on a result of the content analysis; generating the 3D image by applying the determined method to the received 2D image; and providing the generated 3D image.