Structure height measuring device (100), comprising: an
electron beam scanning unit (3) which is suitable for irradiating a surface of a sample (8) with an
electron beam (31), wherein the
electron beam (31) scans over the surface of the sample (8), a plurality of detectors (9a-9d) arranged above the surface of the sample (8) and around an
optical axis of the electron beam (31) and adapted to detect an intensity of
secondary electrons emitted from the surface of the sample (8) by the
irradiation of the electron beam (31), a
signal processing unit (11) which generates a plurality of image data (a1-a8) based on detection signals from the plurality of detectors (9a-9d), the plurality of image data (a1-a8) being obtained by capturing images of the surface of the sample in mutually different directions, an
image processing unit (12) which, on the basis of the image data (a1-a8), extracts an intensity distribution of the
secondary electrons along a line intersecting the edge of a structure formed on the surface of the sample (8), wherein the
image processing unit extracts the intensity distribution of the
secondary electrons from the image data (a1-a8) recorded in a direction orthogonal to the edge of the structure and determines a length of a shadow of the
structure based on the intensity distribution of the secondary electrons near the edge, and a calculation unit (13) adapted to calculate a height of the structure on the basis of the length of the shadow determined by the
image processing unit, wherein the image
processing unit (12): a distance between two points at which the intensity distribution of the secondary electrons near the edge intersects a given threshold, and defines the distance as the length of the shadow, or a distance between a minimum value range of the intensity distribution of the secondary electrons and a point on one side away from the structure at which the intensity distribution of the secondary electrons near the edge intersects a given threshold, and defines the distance as the length of the shadow, or a square root of an area of a region surrounded by the intensity distribution of the secondary electrons near the edge and a straight line indicating a given threshold is determined and the square root is defined as the length of the shadow, or a distance between an upper end or a lower end of the edge of the structure and a point on one side away from the structure at which the intensity distribution of the secondary electrons near the edge intersects a predetermined threshold, and defines the distance as the length of the shadow.