求助
来源:互联网 发布:led散热模拟软件 编辑:程序博客网 时间:2024/05/29 15:42
rgb_image1=imread('D:/light.tif');
rgb_image1=im2double(rgb_image1);
R=rgb_image1(:,:,1);
G=rgb_image1(:,:,2);
B=rgb_image1(:,:,3);
I=(R+G+B);
H=(G-B)/(3*(I-B));
S=1-B/I;
rgb_image2=imread('D:/peizhunhou.tif');
rgb_image1=im2double(rgb_image1);
rgb_image2=im2double(rgb_image2);
I=rgb_image2;
R=I*(1+2*S-3*H*S);
G=I*(1-S+3*H*S);
B=I*(1-S);
rgb_image=cat(3,R,G,B);
subplot(1,3,1);image(rgb_image1);
subplot(1,3,2);image(rgb_image2);
subplot(1,3,3);image(rgb_image);
??? Error using ==> mtimes
Inputs must be 2-D, or at least one input must be scalar.
- 求助
- 求助
- 求助
- 求助
- 求助
- 求助
- 求助!!
- 求助!!
- 求助
- 求助
- 求助
- 求助
- 求助
- 求助
- 求助
- 求助
- 求助!!!!
- 求助~~
- [Java]练习题003: 计算100到1000之间的水仙花数
- 编程能力的四种心理境界 你属于那一种? 转帖
- Windows下进程和线程同步的四种控制方法
- ubuntu下配置qt+opengl+opencv
- 网络爬虫开发
- 求助
- translation:Achieving of Chinese Display in the embedded graphical user interface of uC/GUI in Two
- Uboot-2011.3 移值到友善2440上。第一步可以一RAM中跑起来了
- 在linux下修改oracle的sys和system的密码以及默认密码
- Random Walk
- 镜之边缘修改器原理
- No entity found for query令人兴奋又让人头疼的问题
- 三十岁前小有成就的秘密
- Actionscript 3 语言特点