MATLAB Answers

How can i convert set of images from RGB to Lab using matlab?

조회 수: 36(최근 30일)
ahmad Al sarairah
ahmad Al sarairah 20 Jan 2020
댓글: KALYAN ACHARJYA 23 Jan 2020 11:17
I have a set of images and I want to convert them from RGB to Lab , then i want to access and save L ,a,b values for each images .

  댓글 수: 0

로그인 to comment.

답변(1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 20 Jan 2020
편집: KALYAN ACHARJYA 20 Jan 2020
Read images from folder FAQ here
Before apply the code read here Representing color with the Lab color space
image_data= % Read the images form directory
for i=1:length(image_data)
% Read RGB Images
im_read=.....
lab_image=rgb2lab(im_read);
%save the lab image
end

  댓글 수: 13

표시 이전 댓글 수: 10

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by