There are provided a stereo matching method capable of increasing a resolution and precision of an object and a device for performing the method. The monitor continuously monitors a subject during an initial period to determine an initial heart rate. A metal p-contact is in direct contact with the p-type region.