PROBLEM TO BE SOLVED: To shorten measuring time of heartbeat.SOLUTION: A heartbeat measurement apparatus 10 acquires an image obtained by imaging an organism, extracts a biological region included in the image, and detects a waveform from a signal of a representative value for each wavelength component of each pixel included in the biological region. The heartbeat measurement apparatus 10 also outputs a pulse corresponding to a peak for each peak obtained from the waveform, and selects a pulse set whose time difference between pulse strings having pulses in a row is within a predetermined range. The heartbeat measurement apparatus 10 counts the first number of times in which the output of the pulse exists at the point of time corresponding to integral multiplication of a cycle of the pulse set or in the vicinity of the point of time, and the second number of times in which the output of the pulse does not exist at the point of time or in the vicinity of the point of time for each pulse set. Furthermore, the heartbeat measurement apparatus 10 extracts the pulse set by comparing the difference between the first number of times and the second number of times between each pulse set, and measures a heartbeat cycle from the extracted cycle of the pulse set.