A system is described for obtaining images of a gemstone, and performing quantitative analysis on the images to obtain measures of properties of the gemstone. The handle includes a holding end portion dimensioned to be carried by a user and a coupling end portion that selectively releasably secures to the tray. An electric charge is generated at each interface due to a spontaneous polarization and a piezo polarization generated in each of the layers. An edge detecting means extracts edges in eight directions from the reduced image.