1. A method of measuring a critical dimension of a pattern, the method comprising: obtaining a pattern image from an object pattern; matching a design pattern of the object pattern and the pattern image to determine a detection region on the pattern image; determining an optimum turning point of the pattern contour in the detection region; and setting a ROI (region of interest) within a predetermined range from the optimum turning point; and measuring a critical dimension of the pattern in the ROI.