static float rgbDistance(RGBImage a, RGBImage b, float maxDistance) { ret 1f-rgbImageSimilarityResized(a, b, 1f-maxDistance); }