负片 imcomplement()函数 f = imread('Fig0303(a)(breast).tif')imshow(f)g = imcomplement(f)figure,imshow(g) imcomplement()对图像数据取反得到负片