主权项 |
1. An image processing apparatus for use in a video decoder, comprising:
a storage unit; and an image processing unit for receiving a left-eye view image, a right-eye view image, and multiple interview motion vectors thereof from a decoded multi-view video bitstream, and generating a first shift map according to the received interview motion vectors, wherein the image processing unit further applies a median filter and a predetermined threshold value to each pixel of the first shift map to generate a second shift map, wherein the image processing unit further applies the median filter to each pixel of the second shift map to generate a third shift map, wherein the image processing unit further retrieves at least one contour from the third shift map, and generates a contour map according to the retrieved at least one contour, wherein the image processing unit further fills the at least one contour of the contour map to generate a mask map, wherein the image processing unit further retrieves corresponding macroblocks from the left-eye view image and the right-eye view image according to the generated mask map, and generates an output left-eye view image and an output right-eye view image, which has an extracted foreground, by using the retrieved macroblocks, wherein the first shift map, the second shift map, the third shift map, the contour map, and the mask map are stored in the storage unit. |