matlab RGB转HSI
时间: 2023-09-04 14:14:19 浏览: 487
Matlab中RGB转HSI的代码如下:
```matlab
I=imread('image.jpg'); % 读取RGB图像
hsi=rgb2hsi(I); % 将RGB图像转换为HSI颜色空间
```
其中,`image.jpg`是你要处理的RGB图像文件名。通过`rgb2hsi`函数可以将RGB图像转换为HSI颜色空间表示。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [MATLAB 将RGB颜色空间转为HSI颜色空间、LAB颜色空间 原理及程序](https://blog.csdn.net/qq_43266432/article/details/120652214)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [【Matlab学习笔记】1.RGB空间转HSI空间](https://blog.csdn.net/sinat_34953360/article/details/64445041)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文