声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1138|回复: 1

[求助]高手快来 小弟在线等回复 急用

[复制链接]
发表于 2006-1-5 17:33 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
<P >色彩增强实现</P>
<P >要求:对彩色图像进行灰度变换后,进行以下色彩增强实现</P>
<P ><FONT face="Times New Roman">1、  </FONT>真彩色</P>
<P ><FONT face="Times New Roman">2、  </FONT>伪彩色</P>
<P >进行上述两种结果进行比较。<BR><BR><BR>想问下  真彩色 怎么做??<BR><BR>这是我编写的伪彩色处理   帮忙看看有什么问题没有!~~<BR></P>
<P ><FONT face="Times New Roman">x=imread('picture01.bmp');</FONT></P>
<P ><FONT face="Times New Roman">I = rgb2gray(x);</FONT></P>
<P ><FONT face="Times New Roman">figure,imshow(I);</FONT></P>
<P ><FONT face="Times New Roman">[y,map]=gray2ind(I,256);</FONT></P>
<P ><FONT face="Times New Roman">map(151:200,1:2)=0;</FONT></P>
<P ><FONT face="Times New Roman">map(151:200,3)=1;</FONT></P>
<P ><FONT face="Times New Roman">map(201:256,1)=1;</FONT></P>
<P ><FONT face="Times New Roman">map(201:256,2:3)=0;</FONT></P>
<P ><FONT face="Times New Roman">figure,imshow(y,map)</FONT></P>
<P > <BR><BR>谢谢了</P>
回复
分享到:

使用道具 举报

发表于 2006-1-6 11:16 | 显示全部楼层

回复:(dxy1983712)[求助]高手快来 小弟在线等回复 ...

找《MATLAB应用图像处理》这本书里有专门介绍
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-26 05:22 , Processed in 0.060621 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表