color distribution in L*a*b*
1 回表示 (過去 30 日間)
古いコメントを表示
I got the histogram of a* channel of a pic. I wanna know the region distribution. For example, which are the regions with a*<0 and where are a*>0. Is there anyway to do this?
0 件のコメント
回答 (1 件)
madhan ravi
2018 年 11 月 14 日
a(a<0)
a(a>0)
2 件のコメント
Juan Villacrés
2019 年 4 月 4 日
If you want to segment the image:
% Define the mask according the "a" channel
mask = Ioriginal(:,:,2)<0; % a value
% Multiply the image with the mask in the three channels
Inew = Ioriginal.*repmat(mask,[1,1,3]);
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!