Non-destructive measurement of density and interconnected porosity of cylindrical rock samples and densities of powdered samples.