An x-ray cannot confirm a diagnosis of spinal stenosis. But it may be used to rule out other conditions with similar symptoms.