Near-infrared hyperspectral image technique was used for melon property prediction.
Different values of a property of melon showed different spectral curves.
Both full spectral and important spectral space can be used to predict melon sweetness and hardness.
The distribution map of melon sweetness can be obtained through its hyperspectral images.