X-ray based seed analysis