The present invention relates to a method for obtaining substantially pure hybrid cereal seed and a machine for use thereof. In particular the invention describes a method for separating hybrid barley seed from a mixed population of inbred barley seed and hybrid barley seed on the basis of a difference which is detectable via the use of near infrared light.