The present invention relates to an edge detecting device which would be utilized for measurement of an object with respect to a characterizing item thereof, such as the shape or the gradient refractive index, wherein an optical signal including an optical image or shadow of the object is received and converted into an electric signal by an image pickup device, and on the basis of this electric si