1. A method of measurement of tool dimensions which uses an image capture device which moves relative to a tool, attached to a spindle of a machine tool, to capture an image of said tool to obtain an image data being used to measure dimensions of said tool, and the tool being adapted to machine a workpiece by contacting the workpiece, the method of measurement of tool dimensions comprising the steps of: providing the image capture device; providing a light source adapted to output parallel light toward the image capture device; placing the tool between the image capture device and the light source; outputting parallel light from the light source to project a shadow of the tool on the image capture device; obtaining binary image data of the tool based on the shadow of the tool projected on the image capture deice; specifying a partial contour of a portion of said tool based on the binary image data; determining a direction for moving the field of view of said image capture device toward a portion of the contour of said tool outside the field of view by calculating a regression curve or a tangential line of the specified partial contour; outputting movement commands for making said image capture device and said tool move relative to each other in a plane of a reference coordinate system corresponding to the two orthogonal axes of a field-of-view coordinate system of the image capture device so that the field of view of said image capture device moves in the determined direction of movement of said field of view; obtaining image data of a plurality of images by repeating sequentially the steps of specifying said partial contour, determining the direction of movement of said field of view, and outputting said movement commands for relative movement of said image capture device and said tool, and extracting a connected contour of said tool by connecting the partial contours based on said obtained image data of said respective images whereby the dimensions of said tool are measured by using said connected contour of said tool.