Statistics for Image Analysis Applications of the Maximum Mean Discrepancy Distance Measure