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)
Show older comments
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);
0 Comments
Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!