Figure 5: The measurement of cashew kernel (white wholes) grade length and width using algorithm 1.