public void CollectionFilter(AllClassLabels classLabelElement)
 {
     foreach (ImagePathClassLabelProbability element in ImageCollection.Where(image => image.ClassLabel == classLabelElement.ClassLabel))
     {
         SingleClassLabelCollection.Add(new SingleClassLabel()
         {
             Image = element.Image
         });
     }
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("SingleClassLabelCollection"));
 }
 public LogbookImage GetImage(string fileName)
 {
     return(ImageCollection.Where(t => t.FileName == fileName).FirstOrDefault());
 }