Friday 27 April 2012

Matlab Rgb to Hsv colorspace convertion , Convert Rgb Image to Hsv image conversion

In below we sea matlab color space conversion.In this section we give some example for convert RGB color space to HSV color space.In matlab two main methods are used to convert color space technique .there are

  1. rgb2hsv
  2. hsv2rgb
In below example explain these color map conversion

input_Img = imread('vivekananda.jpg'); %RGB Image
hsv_img = rgb2hsv(input_Img);
rgb_img = hsv2rgb(hsv_img);
figure;imshow(input_Img);
figure;imshow(hsv_img);
figure;imshow(rgb_img);


Output as follows


Related Search : Matlab Rgb to Hsv colorspace convertion , Convert Rgb Image to Hsv image conversion,Matlab Rgb image to hsv image conversion,Matlab Rgb color map to hsv color map conversion.

Kindly Bookmark and Share it:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...