Bone densitometry is a radiological test that can diagnose osteoporosis early enough for it to be treated.