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

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)

The formulas are here: http://www.easyrgb.com/en/math.php

1 Comment

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.

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.

Asked:

on 1 Apr 2017

Answered:

DGM
on 27 Jun 2023

Community Treasure Hunt

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

Start Hunting!