Stone analysis