フィルターのクリア

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

2 ビュー (過去 30 日間)
ahmad Al sarairah
ahmad Al sarairah 2020 年 1 月 20 日
コメント済み: KALYAN ACHARJYA 2020 年 8 月 22 日
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 .

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020 年 1 月 20 日
編集済み: KALYAN ACHARJYA 2020 年 1 月 20 日
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
  15 件のコメント
Keerthi  D
Keerthi D 2020 年 8 月 22 日
I have a set of tomato diseased leaf images and I want to convert them from RGB to Lab , then i want to access and save a,b values for each images .how to do?
KALYAN ACHARJYA
KALYAN ACHARJYA 2020 年 8 月 22 日
  1. Call the invividual image one by one
2. Convert RGB2 LAB
rgb2lab
3. Save the image or save in cell array (If it required in the next section of the code)
Regards
Kalyan

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by