Trainable Weka Segmentation: check input image when applying classifier to display error message if needed.