Filter löschen
Filter löschen

How to convert image from rgb space to luv space?

9 Ansichten (letzte 30 Tage)
Rida
Rida am 9 Nov. 2014
Kommentiert: andra aprianata am 14 Mai 2020
Is there any built in command for converting RGB image to LUV?

Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Nov. 2014
You can use the makecform() function in the Image Processing Toolbox. First convert rgb into xyz, then convert xyz into uvL. (They seem to reverse the letters compared to most people for some reason.)
Dr. Stephen Westland, one of the leading color scientists in the world has a color science toolbox here that has the transform in it: http://www.mathworks.com/matlabcentral/fileexchange/40640-computational-colour-science-using-matlab-2e
You can find a bunch of color transforms here: http://www.easyrgb.com/index.php?X=MATH

Weitere Antworten (1)

Chad Greene
Chad Greene am 9 Nov. 2014
File exchange has a colorspace transformations function. Googling turned up a few functions like this one which may or may not have been someone's homework assignment.

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by