An endoscope including: two bending portions, a bending amount calculator, a setting portion, a determination portion, and a controller, configured as such: Upon bending of the distal bending portion, the bending amount calculator calculates the bending amount of the distal bending portion. The method of expanding the base check parity matrix is described. A demodulator compensates for orthogonal cross-polarization interference based on the compensation signal for the phase noise included in the own polarization signal.