The distance between projection coordinates to which the center of an image are projected and the center coordinates are added to the projection coordinates to obtain projection center coordinates. The distance is added to the coordinates to which the four corners of the image are projected to obtain projection four-corner coordinates. A distance shorter than the minimum of the distances between the projection four-corner coordinates and the projection center coordinates is decided as an output margin distance. Projection source coordinates to be projected to coordinates apart from the projection center coordinates by the output margin distance are obtained. A maximum of the distances between the projection source coordinates and the projection center coordinates is decided as an input margin distance. Divided images decided based on ½ of horizontal size of the image and the input margin distance are deformed and outputted.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An image processing apparatus comprising: a specifying unit configured to specify center coordinates of an input image; an acquiring unit configured to acquire a difference between center coordinates of a deformed image which is obtained by performing deformation processing for the input image based on a deforming parameter and the center coordinates of the input image specified by the specifying unit; a shifting unit configured to shift the center coordinates of the deformed image so as to reduce the difference acquired by the acquiring unit, wherein a shift amount of the center coordinates of the deformed image by the shifting unit is larger in a case where the difference acquired by the acquiring unit is a first value in comparison with a case where the difference acquired by the acquiring unit is a second value less than the first value; and a plurality of processing units including a first processing unit and a second processing unit, wherein the first processing unit is configured to generate a first region of the deformed image having the center coordinates shifted by the shifting unit based on the input image and the deforming parameter, and the second processing unit is configured to generate a second region of the deformed image having the center coordinates shifted by the shifting unit based on the input image and the deforming parameter.
2. The image processing apparatus according to claim 1 , further comprising a dividing unit configured to divide the input image into a plurality of divided images, wherein the first processing unit generates the first region by performing the deformation processing for a first divided image included in the plurality of divided images and the second processing unit generates the second region by performing the deformation processing for a second divided image included in the plurality of divided images.
3. The image processing apparatus according to claim 1 , further comprising: a combining unit configured to combine a plurality of deformed images obtained by performing the deformation processing by the plurality of processing units to obtain an output image; and an outputting unit configured to output the output image obtained by the combining unit.
4. The image processing apparatus according to claim 1 , wherein the image processing apparatus is a projector, and the deforming parameter is based on an optical parameter including at least one of a projection distance between the projector and a screen, and vertical/horizontal installation angles and vertical/horizontal lens shifts of the projector.
5. An image processing method comprising: specifying center coordinates of an input image; acquiring a difference between center coordinates of a deformed image which is obtained by performing deformation processing for the input image based on a deforming parameter and the specified center coordinates of the input image; shifting the center coordinates of the deformed image so as to reduce the acquired difference, wherein a shift amount of the center coordinates of the deformed image is larger in a case where the acquired difference is a first value in comparison with a case where the acquired difference is a second value less than the first value; generating a first region of the deformed image having the center coordinates shifted based on the input image and the deforming parameter; and generating a second region of the deformed image having the center coordinates shifted based on the input image and the deforming parameter.
6. The image processing method according to claim 5 , further comprising dividing the input image into a plurality of divided images, wherein the first region is generated by performing the deformation processing for a first divided image included in the plurality of divided images, and the second region is generated by performing the deformation processing for a second divided image included in the plurality of divided images.
7. The image processing method according to claim 5 , further comprising: combining a plurality of deformed images obtained by performing the deformation processing to obtain an output image; and outputting the obtained output image.
8. A non-transitory computer-readable storage medium storing a computer program for causing a computer to function as: a specifying unit configured to specify center coordinates of an input image; an acquiring unit configured to acquire a difference between center coordinates of a deformed image which is obtained by performing deformation processing for the input image based on a deforming parameter and the center coordinates of the input image specified by the specifying unit; a shifting unit configured to shift the center coordinates of the deformed image so as to reduce the difference acquired by the acquiring unit, wherein a shift amount of the center coordinates of the deformed image by the shifting unit is larger in a case where the difference acquired by the acquiring unit is a first value in comparison with a case where the difference acquired by the acquiring unit is a second value less than the first value; and a plurality of processing units including a first processing unit and a second processing unit, wherein the first processing unit is configured to generate a first region of the deformed image having the center coordinates shifted by the shifting unit based on the input image and the deforming parameter, and the second processing unit is configured to generate a second region of the deformed image having the center coordinates shifted by the shifting unit based on the input image and the deforming parameter.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
June 15, 2015
May 3, 2016
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.