here we know that hving three planes red, green and blue in 1,2,3 respectively, but here they used cr in 3 plane and cb in 2 plane. why it is used like that

1 view (last 30 days)
function [cr, cb] = get_crcb(filename) im= imread(filename);
imycc = rgb2ycbcr(im);
lpf = 1/9 * ones(3);
cr = imycc(:,:,3); cb = imycc(:,:,2);
cr = filter2(lpf, cr); cb = filter2(lpf, cb);

Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!