1. A recording medium determination apparatus comprising: an irradiation unit configured to emit light to a recording medium; an imaging unit configured to capture light emitted from the irradiation unit and via a recording medium as an image including a plurality of pixels; and a control unit configured to determine a type of the recording medium, using the image captured by the imaging unit, wherein the control unit determines a type of the recording medium, using data obtained by excluding data on a first pixel having an output value equal to or larger than a first threshold value and data on a second pixel located within a predetermined range from the first pixel and having an output value equal to or larger than a second threshold value which is smaller than the first threshold value from data on the plurality of pixels included in the image.