matlab 图像处理 rgb转换hsv

2025-04-04 09:32:59
推荐回答(2个)
回答1:

这样写
a(:,:,1)=H;
a(:,:,2)=S;
a(:,:,3)=V;
imshow(a);

回答2:

I = cat(3,H,S,V);
imshow(I)