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

2 vues (au cours des 30 derniers jours)
namita chandrakar
namita chandrakar le 7 Jan 2015
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);

Réponses (1)

David Young
David Young le 7 Jan 2015
Rtrans = dct2(R);
etc.

Catégories

En savoir plus sur Image Filtering and Enhancement dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by