Matrix 3D scans of botanical foreign matter and lint. Five foreign matter categories (bark, brown leaf, bract, green leaf, stem) have the optimal excitation wavelength either at 410 nm or 430 nm. Their optimal emission wavelength ranges from 671 nm to 675 nm, and is due to chlorophyll presence. Due to the absence of chlorophyll, seed and seed coat are optimally excited in the UV range (340 nm and 330 nm) with optimal emission at 461 nm and 415 nm, respectively. Hull optimum excitation and emission wavelength is at 400 nm and 516 nm, and lint’s at 360 nm and 434 nm.