Image processing apparatus, control method, and recording medium
First Claim
1. An image processing apparatus comprising:
- a processor; and
a memory storing instructions which, when executed by the processor, causes the processor to perform operations of the following units of the image processing apparatus;
an obtaining unit configured to obtain a main subject image and a background image by image capturing;
a determination unit configured to determine virtual image capturing conditions, which include a focal distance, corresponding to an output image to be generated, based on a positional relationship between a main subject and a subject of the background image;
a generation unit configured to deform the background image, and generate a background image of the output image that corresponds to the virtual image capturing conditions determined by the determination unit; and
a composition unit configured to compose the main subject image and the generated background image generated by the generation unit, thereby generating the output image.
0 Assignments
0 Petitions
Accused Products
Abstract
An image processing apparatus obtains an input image acquired by image capturing, and classifies the input image into a main subject region and a background region. The image processing apparatus determines virtual image capturing conditions corresponding to an output image to be generated, based on the positional relationship between a main subject and a background subject in an image capturing environment when the input image was captured. The image processing apparatus deforms, of the input image, an image classified into the background region, and generates a background image of the output image that corresponds to the determined virtual image capturing conditions. The image processing apparatus composes, of the input image, an image classified into the main subject region and the background image, thereby generating the output image.
-
Citations
14 Claims
-
1. An image processing apparatus comprising:
-
a processor; and a memory storing instructions which, when executed by the processor, causes the processor to perform operations of the following units of the image processing apparatus; an obtaining unit configured to obtain a main subject image and a background image by image capturing; a determination unit configured to determine virtual image capturing conditions, which include a focal distance, corresponding to an output image to be generated, based on a positional relationship between a main subject and a subject of the background image; a generation unit configured to deform the background image, and generate a background image of the output image that corresponds to the virtual image capturing conditions determined by the determination unit; and a composition unit configured to compose the main subject image and the generated background image generated by the generation unit, thereby generating the output image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A control method of an image processing apparatus, comprising:
-
obtaining a main subject image and a background image by image capturing; determining virtual image capturing conditions corresponding to an output image to be generated, based on a positional relationship between a main subject and a subject of the background image; deforming the background image and generating a background image of the output image that corresponds to the determined virtual image capturing conditions; and composing the main subject image and the generated background image, thereby generating the output image.
-
-
14. A non-transitory computer-readable recording medium recording a program for causing a computer to perform:
-
obtaining a main subject image and a background image by image capturing; determining virtual image capturing conditions corresponding to an output image to be generated, based on a positional relationship between a main subject and a subject of the background image; deforming the background image and generating a background image of the output image that corresponds to the determined virtual image capturing conditions; and composing the main subject image and the generated background image, thereby generating the output image.
-
Specification