对于一张色彩地图,如何突出一些较暗特征的亮度?
brighten(0.5); %# Brightens the current colormap
%# OR...
newMap = brighten(oldMap,0.5); %# Brighten the colormap in variable oldMap
colormap(newMap); %# Update the current colormap to newMap
如果您只想提亮部分(即仅有的颜色图谱某些部分),那么您需要先决定哪些特征被归类为“较暗”。;)
newColormap = imadjust(oldColormap,[low_in; high_in],[low_out; high_out],gamma);
imshow(sqrt(img),[])