Image processing apparatus, image pickup apparatus, lens apparatus, image processing method, and storage medium for correcting color shading in image data
An image processing apparatus acquires image data, and corrects color shading in the image data using color shading information according to a characteristic of an optical system. The image data corresponds to an optical image that has passed through an optical filter that separates light that has passed through the optical system into a first color component, a second color component, and a third color component. The color shading information includes information regarding a value of the first color component, a value of the second color component, and a value of the third color component, and differs according to a focal length of the optical system.
1 . An image processing apparatus comprising:
a memory storing instructions; and
a processor configured to execute the instructions to:
acquire image data, and
correct color shading in the image data using color shading information according to a characteristic of an optical system,
wherein the image data corresponds to an optical image that has passed through an optical filter that separates light that has passed through the optical system into a first color component, a second color component, and a third color component,
wherein the color shading information includes information regarding a value of the first color component, a value of the second color component, and a value of the third color component, and differs according to a focal length of the optical system, and
wherein the color shading information is calculated using values of a spectral transmittance of each image height in the optical system,
wherein the color shading information is calculated using a measurement value of a spectral transmittance of the optical system, a spectral transmittance of the optical filter, and a spectral distribution of a light source.
2 . The image processing apparatus according to claim 1 , wherein the memory further stores the color shading information.
3 . The image processing apparatus according to claim 1 , wherein the color shading information relates to a ratio value of the first color component to the second color component, and a ratio value of the third color component to the second color component.
4 . The image processing apparatus according to claim 1 , wherein the color shading information differs according to an in-focus object distance of the optical system.
5 . The image processing apparatus according to claim 1 , wherein the color shading information differs according to an aperture diameter of the optical system.
6 . The image processing apparatus according to claim 1 , wherein the color shading information is a value based on a central position in the image data.
7 . The image processing apparatus according to claim 1 , wherein the optical filter includes a first filter that separates the light into the first color component, a second filter that separates the light into the second color component, and a third filter that separates the light into the third color component,
wherein a spectral transmittance of the first filter has a peak wavelength in a range of 400 nm to 500 nm,
wherein a spectral transmittance of the second filter has a peak wavelength in a range of 500 nm to 570 nm, and
wherein a spectral transmittance of the third filter has a peak wavelength in a range of 570 nm to 700 nm.
8 . The image processing apparatus according to claim 1 , wherein the color shading information has a value obtained by averaging information in a plurality of radial directions from a central position in the image data.
9 . The image processing apparatus according to claim 1 , wherein the color shading information is calculated using a numerical simulation value of a spectral transmittance of the optical system, a spectral transmittance of the optical filter, and a spectral distribution of a light source.
10 . The image processing apparatus according to claim 1 , wherein the color shading information is calculated using the image data.
11 . An image pickup apparatus comprising:
an image sensor; and
the image processing apparatus according to claim 1 .
12 . A lens apparatus comprising:
an optical system; and
the image processing apparatus according to claim 1 .
13 . A lens apparatus attachable to and detachable from an image pickup apparatus, the lens apparatus comprising:
an optical system;
a memory configured to store color shading information according to a characteristic of the optical system for use with a correction of color shading in image data acquired by the image pickup apparatus; and
a communicator configured to communicate with the image pickup apparatus,
wherein the communicator transmits the color shading information stored in the memory to the image pickup apparatus according to a request from the image pickup apparatus,
wherein the image data corresponds to an optical image that has passed through an optical filter that separates light that has passed through the optical system into a first color component, a second color component, and a third color component,
wherein the color shading information includes information regarding a value of the first color component, a value of the second color component, and a value of the third color component, and differs according to a focal length of the optical system, and
wherein the color shading information is calculated using values of a spectral transmittance of each image height in the optical system,
wherein the color shading information is calculated using a measurement value of a spectral transmittance of the optical system, a spectral transmittance of the optical filter, and a spectral distribution of a light source.
14 . An image processing method comprising the steps of:
acquiring image data, and
correcting color shading in the image data using color shading information according to a characteristic of an optical system,
wherein the image data corresponds to an optical image that has passed through an optical filter that separates light that has passed through the optical system into a first color component, a second color component, and a third color component,
wherein the color shading information includes information regarding a value of the first color component, a value of the second color component, and a value of the third color component, and differs according to a focal length of the optical system, and
wherein the color shading information is calculated using values of a spectral transmittance of each image height in the optical system,
wherein the color shading information is calculated using a measurement value of a spectral transmittance of the optical system, a spectral transmittance of the optical filter, and a spectral distribution of a light source.
15 . A non-transitory computer-readable storage medium storing a program that causes a computer to execute the image processing method of claim 14 .
16 . An image processing apparatus comprising:
a memory storing instructions; and
processor configured to execute the instructions to:
acquire image data, and
correct color shading in the image data using color shading information according to a characteristic of an optical system,
wherein the image data corresponds to an optical image that has passed through an optical filter that separates light that has passed through the optical system into a first color component, a second color component, and a third color component,
wherein the color shading information includes information regarding a value of the first color component, a value of the second color component, and a value of the third color component, and differs according to a focal length of the optical system, and
wherein the color shading information is calculated using values of a spectral transmittance of each image height in the optical system,
wherein the color shading information is calculated using a numerical simulation value of a spectral transmittance of the optical system, a spectral transmittance of the optical filter, and a spectral distribution of a light source.