How to convert image from rgb space to luv space?

조회 수: 6 (최근 30일)
Rida
Rida 2014년 11월 9일
댓글: andra aprianata 2020년 5월 14일
Is there any built in command for converting RGB image to LUV?

채택된 답변

Image Analyst
Image Analyst 2014년 11월 9일
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

추가 답변 (1개)

Chad Greene
Chad Greene 2014년 11월 9일
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.

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by