an automatic calculation method for thickness calculation of a deposition layer in a fin - type field - effect transistor is disclosed through mapping edge lines onto an excel spreadsheet . the similar method is also applied to the thickness calculation of superlattice or multiple quantum well for a light emitting diode . the edge lines are obtained and transformed from an electronic image taken by transmission electron microscopy , focus ion beam , atomic force microscopy , or x - ray diffraction of the device .