how to apply dct code on each color plane of an RGB image

2 次查看(过去 30 天)
i understand how to separate a 3d color image into its rgb color planes written below but how to apply the dct to each plane?
% Extract the individual red, green, and blue color channels.
R= rgbImage(:, :, 1);
G= rgbImage(:, :, 2);
B= rgbImage(:, :, 3);

回答(1 个)

David Young
David Young 2015-1-7
Rtrans = dct2(R);
etc.

类别

Help CenterFile Exchange 中查找有关 Image Filtering and Enhancement 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by