Measurement of rice filled grain percentage based on grain shadow features.