The study of calcium oxalate precipitation using image analysis