Quantitative microscopy of crude drugs