function z=convertYC2RGB(Y,Cb,Cr)
% Y,Cb,Cr are the three mxn components Luminance + chrominance image
% in the YCbCr color space
Y=double(Y);Cb=double(Cb);Cr=double(Cr);
z(:,:,1)=Y(:,:)*1.000+1.402*(Cr(:,:)-128);
z(:,:,2)=Y(:,:)*1.000-(Cb(:,:)-128)*0.34414-(Cr(:,:)-128)*0.71414;
z(:,:,3)=Y(:,:)*1.000+(Cb(:,:)-128)*1.772;
z = uint8(z);