Relationship between the anisotropy tensor calculated through global and object measurements in high-resolution X-ray tomography on cellular and composite materials