Apple stem/calyx and defect discrimination using DT-CWT and LS-SVM