PROBLEM TO BE SOLVED: To provide an endoscope device and a program capable of reducing time and efforts for a user by decreasing erroneous correspondence of matching.SOLUTION: A corresponding point candidate calculation section 182 calculates a candidate of a corresponding point on a second subject image corresponding to a measurement point on a first subject image while using a plurality of matching techniques. On the basis of candidates of the corresponding point corresponding to the plurality of matching techniques, a reliability calculation section 183 calculates reliability of matching. In the case where the reliability is lower than a predetermined value, a display processing section 184 performs processing for displaying the measurement point and the candidates of the corresponding point corresponding to the plurality of matching techniques as images. In the case where the reliability is equal to or higher than the predetermined value, a corresponding point determination section 185 determines the corresponding point on the basis of the candidates of the corresponding point corresponding to the plurality of matching techniques. In the case where the reliability is lower than the predetermined value, the corresponding point determination section 185 determines a designated candidate of the corresponding point, among the candidates of the corresponding point corresponding to the plurality of matching techniques, as the corresponding point.