PROBLEM TO BE SOLVED: To provide an imaging device capable of improving the precision and accuracy of spectral analysis based on color imaging data.SOLUTION: An imaging device includes an image pick-up device and processing means for processing an imaging signal generated by the image pick-up device. The image pick-up device includes a plurality of R pixels having sensitivity to red light, a plurality each of first and second G pixels having sensitivity to green light, and a plurality of B pixels having sensitivity to blue light. The processing means includes first initial processing means for processing an analog imaging signal generated by the plurality of first G pixels and generating a digital imaging signal, and second initial processing means for processing an analog imaging signal G2 generated by the plurality of second G pixels and generating a digital imaging signal. The first initial processing means includes first digital conversion means for converting the analog imaging signal to the digital signal, and input range setting means for generating a setting value of an input range of the first digital conversion means based on the digital imaging signal.SELECTED DRAWING: Figure 7