0% found this document useful (0 votes)
29 views2 pages

Display RGB2YCBCR Image & Viceversa

This code reads in an image file, converts it from RGB to YCBCR color space, displays the converted image, then converts it back to RGB and displays the result, demonstrating converting between the two color spaces.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

Display RGB2YCBCR Image & Viceversa

This code reads in an image file, converts it from RGB to YCBCR color space, displays the converted image, then converts it back to RGB and displays the result, demonstrating converting between the two color spaces.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 2

Display RGB2YCBCR image &

viceversa
clear all;
close all;
i=imread('C:\Users\Public\Pictures\Sample Pictures\koala.jpg');
figure,
imshow(i);
j=rgb2ycbcr(i);
figure,
imshow(j);
k=ycbcr2rgb(j);
figure,
imshow(k);

Output:-

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy