Diagnosis of the state of N in wheat via digital image processing technique