Image processing apparatus is provided with data compression processing unit that executes data compression processing on an input captured image based on inter-frame prediction; and operation-mode selection unit that is capable of selecting one of a first operation mode for normal imaging and a second operation mode for pulse estimation based on a command from a user. In a case where the second operation mode is selected, data compression processing unit sets an interval between I pictures constituting a compressed image generated by the data compression processing to an interval to be different from that in a case where the first operation mode is selected.