Classification of X-ray images of wheat grains