CPC G06T 7/60 (2013.01) [G06K 15/1822 (2013.01); G06T 3/40 (2013.01); G06T 7/50 (2017.01); G06V 10/22 (2022.01); G06V 40/161 (2022.01); G06T 2200/24 (2013.01); G06T 2207/20021 (2013.01); G06T 2207/20212 (2013.01); G06T 2207/30201 (2013.01)] | 23 Claims |
1. An image processing apparatus comprising:
an acquisition unit configured to acquire an image captured by an imaging unit, and image capturing information at the time of image capturing of the image;
a calculation unit configured to calculate an object side pixel dimension of a target subject in the image based on the image capturing information and a pixel dimension of the imaging unit; and
an image processing unit configured to process the image captured by the imaging unit, based on the object side pixel dimension,
wherein the acquisition unit acquires in-focus information indicating an in-focus state of a subject in an image, as the image capturing information,
wherein the calculation unit calculates the object side pixel dimension based on the in-focus information, and
wherein, in a subject region in which calculation of the object side pixel dimension has failed, the image processing unit estimates the object side pixel dimension of the subject region in which calculation of the object side pixel dimension has failed, by using a size of a subject region detected by a subject detection unit, and a size of a subject region detected by the subject detection unit in a subject region in which the object side pixel dimension has been calculated, and calculates an estimated object side pixel dimension.
|