Image processing apparatus (2) is provided with data compression processing unit (16) that executes data compression processing on an input captured image based on inter-frame prediction; and operation-mode selection unit (17) 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 (16) 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.