1. A method of determining a terminal area for inspecting a printed circuit board (PCB) comprising: photographing a measurement target to acquire image data for each pixel of the measurement target formed on the PCB by an image photographing section; acquiring height data for each pixel of the measurement target by a control section; acquiring visibility data for each pixel of the measurement target by the control section; multiplying the acquired image data by the height data and the visibility data for each pixel to produce a result value emphasizing a terminal area over an adjacent area by the control section; and discriminating the terminal area from the adjacent area by using the produced result value in which the terminal area is emphasized over the adjacent area by the control section.