convert from hsi to rgb in matlab with out using hsi2rgb and convert from rgb to hsv in matlab with out using hsi2rgb

18 views (last 30 days)
convert from hsi to rgb in matlab with out using hsi2rgb and convert from rgb to hsv in matlab with out using hsi2rgb

Answers (2)

Image Analyst
Image Analyst on 1 Apr 2017
The formulas are here: http://www.easyrgb.com/en/math.php
  1 Comment
Pushkar Khatri
Pushkar Khatri on 8 Mar 2019
there is hsv to rgb conversion but no formula for hyperspectral image to rgb conversion (hsi2rgb). Can you please provide solution for that too?
Thanks in advance

Sign in to comment.


DGM
DGM on 27 Jun 2023
MATLAB/IPT do not have tools for HSI or HSL. There are multiple submissions on the File Exchange, some of which are only one-way, some of which have bugs. This portion of MIMT includes bidirectional HSI-RGB conversion tools:
If you're trying to create false-color images from hyperspectral data, you can use colorize(). That requires you have IPT and a newer version, and you need to install the Hyperspectral Imaging Library.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!