フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can i make Compression Ration In this Case

1 回表示 (過去 30 日間)
Nour George
Nour George 2020 年 7 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have this three Questions :
1)Read the Image ('flag.png')
2) convert it into ondex type and display it
3)Compression Ration ((Assignement))
Assignement:
HSI color space
HSV color space
YCbCr color space
I solve the first and second Question but How can i solve the third Question ?
figure
image_mat = imread('picture1.png');
imshow(image_mat)
[image_mat, cmap] = imread('picture1.png');
if isempty(cmap)
if ndims(image_mat) > 2
image_rgb = image_mat;
else
image_rgb = repmat(image_mat, [1 1 3]);
end
else
image_rgb = ind2rgb(image_mat, cmap);
end
imshow(image_rgb)

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by