我有尺寸为(512,512,3)的图像A。我想找到所有像素=![255,255,255]。给定这些像素,我想在另一张图像B中为这些坐标着色。我在做什么错?
indices = np.where(imgA!= [255,255,255]) imgB[indices] = [0,0,0]
慕慕森
慕尼黑8549860
相关分类