The present technology relates to an image processing apparatus, an image processing method, and an electronic apparatus that make it possible to suppress, where a pixel signal of a large pixel and a pixel signal of a small pixel are composed to generate a WD image, degradation of image quality of the WD image. An image processing apparatus according to a first aspect of the present technology includes: a first acquisition unit that acquires a first pixel signal output from a first pixel; a second acquisition unit that acquires a second pixel signal output from a second pixel having a size smaller than that of the first pixel; a temperature detection unit that detects temperature; a composition gain determination unit that determines a composition gain corresponding to the detected temperature; and a composition unit that composes the first pixel signal and the second pixel signal multiplied by the composition gain. The present technology is applicable to, for example, a CMOS image sensor.