Machine vision methods are widely used in apple defect detection and quality grading applications. Currently, 2D near‐infrared (NIR) imaging technology is used to detect apple defects based on the difference in image intensity of defects from normal apple tissue. However, it is difficult to accurately differentiate an apple's stem‐end/calyx from a true defect due to their similar 2D NIR images,...