An image processing apparatus includes an edge detecting portion which detects edges contained in a first image, out of first and second images representing the same object, one being obtained by photographing without the infrared ray cut filter, the other being obtained by photographing with the infrared ray cut filter, and a noise reduction portion which carries out noise reduction processing on the second image to avoid the edges and obtains a processed image.