Density profiles of biological specimens from Tiff files