mmcv.image.solarize¶ mmcv.image.solarize(img, thr=128)[源代码]¶ Solarize an image (invert all pixel values above a threshold) 参数 img (ndarray) – Image to be solarized. thr (int) – Threshold for solarizing (0 - 255). 返回 The solarized image. 返回类型 ndarray