Automatic region-of-interest selection for corn seed grading