在Matlab中的颜色 [英] colormap in matlab

查看:170
本文介绍了在Matlab中的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于色彩图,如何强调一些调光功能的亮度?

For a colormap how do you accentuate the brightness of some of the dimmer features?

推荐答案

href =http://www.mathworks.com/access/helpdesk/help/techdoc/ref/brighten.html =nofollow noreferrer> BRIGHTEN 函数来加亮整个 > colormap,从而使调光器特征变亮:

You can use the BRIGHTEN function to brighten the entire colormap, thus brightening the dimmer features as well:

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

调光器功能(即只是色彩映射的部分),您必须首先决定如何对作为调光器功能的内容进行分类。 ;)

If you want to brighten only the dimmer features (i.e. just part of the colormap), you have to first decide how to classify what counts as a "dimmer" feature. ;)

这篇关于在Matlab中的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆