Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - matlab rgb h
Search - matlab rgb h - List

function [h,s,v] = rgb2hsv(r,g,b)
%RGB2HSV Convert red-green-blue colors to hue-saturation-value.
%   H = RGB2HSV(M) converts an RGB color map to an HSV color map.
%   Each map is a matrix with any number of rows, exactly three columns,
%   and elements in the interval 0 to 1.  The columns of the input matrix,
%   M, represent intensity of red, blue and green, respectively.  The
%   columns of the resulting output matrix, H, represent hue, saturation
%   and color value, respectively.
%
%   HSV = RGB2HSV(RGB) converts the RGB image RGB (3-D array) to the
%   equivalent HSV image HSV (3-D array).


Date : 2008-12-16 Size : 1.48kb User : leohee

DL : 0
Write MATLAB code that will do the following. (a) Import a RGB image and display all planes in individual colours. (b) Convert RGB HSI and HSI RGB. (c) Perform adaptive histogram using RGB and HSI image. (d) Manipulate image brightness. (e) Manipulate image contrast. (f) Perform image negative. (g) Perform log transform. (h) Perform power-law transform. (i) Image smoothening. (j) Image sharpening. (k) Edge detection. (l) Perform pseudo colouring on a grey image.
Date : 2026-01-21 Size : 81kb User : Rokibul Ahmed
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.