Although mean and variance of signal intensity in images provided
useful data for differentiation of tomato at different maturity,
additional images features were calculated to capture more information
from an image. Discriminant analysis was performed using
PLS-DA on the images features to determine whether it was possible
to distinguish tomatoes at different maturity on the basis of MR
images. Cross-validation was performed by random splitting the
dataset in half.