TreeClassifier ImageSet compatibility added