A restoration filter generation device which generates a restoration filter for performing a restoration process on luminance system image data, the restoration process being based on a point-image distribution in an optical system, the luminance system image data being image data relevant to luminance and being generated based on image data for each color of multiple colors, the image data for each color of the multiple colors being obtained by an imaging device including the optical system, the restoration filter generation device comprising:
- a modulation transfer function MTF acquisition device which acquires a modulation transfer function MTF for the optical system;
- and
- a restoration filter generation unit which generates the restoration filter based on the modulation transfer function MTF acquired by the MTF acquisition device, the restoration filter suppressing an MTF value of image data for each color of the multiple colors to 1.0 or less at least in a region of a particular spatial frequency or less, the image data for each color of the multiple colors corresponding to the luminance system image data after the restoration process, wherein:
- the image data for the multiple colors contains image data for each color of RGB;
- the restoration filter generation unit comprises an amplification factor acquisition device which acquires an amplification factor of the MTF value for each spatial frequency with respect to image data for each color of the multiple colors, the amplification factor corresponding to an amplification factor of the MTF value for each spatial frequency with respect to the luminance system image data after the restoration process, the image data for each color of the multiple colors being generated by an inverse conversion process of the luminance system image data;
- the MTF acquisition device acquires the modulation transfer function MTF for each color of the multiple colors;
- and
- the restoration filter generation unit calculates a filter coefficient of a Wiener filter based on the modulation transfer function MTF for each color of RGB and the acquisition result by the amplification factor acquisition device, and generates the restoration filter based on the filter coefficient, the Wiener filter meeting a condition that the MTF value of the image data for each color after the restoration process is 1.0 or less.