Failure of sands with different density on defected pipe in X-ray CT images