Furthermore, the storage section 24, such as a ROM or RAM, stores the red component difference signal and the blue component sum signal obtained from each pattern of the predetermined reference notes (in this example, patterns shown in FIGS. 5(A) through 5(D)) and produces the respective reference signals 25 and 26.