A 32-year-old man is evaluated for a 2-week history of nonradiating low back pain. He notes that the pain developed insidiously and worsens with increased physical activity, such as playing basketball. He has no morning stiffness. He has not had any trauma and reports no weakness or abnormal sensation in the lower extremities. He otherwise feels well and has no other symptoms. Medical history is unremarkable. He does not use alcohol excessively, and he does not smoke or use illicit drugs. He takes no medications except for as-needed ibuprofen, which provides only modest pain relief.

On physical examination, vital signs are normal. BMI is 23. The general medical evaluation, including eye and skin examinations, is unremarkable. Musculoskeletal examination shows no scoliosis or kyphosis and no tenderness to palpation across the lower back and spine. There is normal muscle bulk and tone and normal sensation in the lower extremities. Flexion and extension of the back are limited by pain. Straight-leg raise test is negative. Examination of the joints is unremarkable, and deep tendon reflexes are normal.

Which of the following is the most appropriate diagnostic test to perform next?