Demo entry 6770579

Main

   

Submitted by anonymous on Nov 14, 2018 at 06:53
Language: Matlab. Code size: 443 Bytes.

RGB=imread('freja.jpg');
figure
imshow(RGB)
title('RGB Image')

XYZ=rgb2xyz(RGB);
figure
imshow(XYZ)
title('CIE XYZ Image')

xyY=applycform(XYZ,makecform('xyz2xyl'))
figure
imshow(xyY)
title('CIE xyY Image')

CMYK=applycform(RGB,makecform('srgb2cmyk'))
figure
imshow(CMYK(:,:,1:3))
title('CMYK Image')

HSV=rgb2hsv(RGB)
figure
imshow(HSV)
title('HSV Image')

HSL=rgb2hsl(RGB)
figure
imshow(HSL)
title('HSL Image')

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).