**RGB to HSV**I know there is the function which converses an image from RGB to HSV
color space is rgb2hsv. But is there any function which convert only
one value RGB to HSV?
Thang Nguyen.
In article <ef1b3bc.-1@webx.raydaftYaTP>,
"Thang Nguyen" <airthang@gmail.com> wrote:
> I know there is the function which converses an image from RGB to HSV
> color space is rgb2hsv. But is there any function which convert only
> one value RGB to HSV?
The same function. Think of it as an image with
only one pixel. A very tiny image.
HTH,
John D'Errico
--
The best material model...

**RGB transform**Hi all ,
I want to extact the 3 components R,G,B of an image and convert them in a
space of two dimension trough two formulas like as :
a=f(R,G,B)
b=g(R,G,B)
Where f and g are two simple rational functions .
I have used IMAQ ColorImageToArray connected with IMAQ IntegerToColorValue ,
is it correct ?
How do I realize this transformations ?
(I think I have to use a for loop to scan image pixels ...)
Bonjour,
comment �muler la fonction RTSI (synchronisation de l'acquisition entre les
cartes PCI 4472 et 4474) avec DAQmx version 7.2 ?
A l'�x�cution de l'exemple Multi-Device Synch...

**RGB vs HSV**Most graphics APIs seem to want colours specified in RGB space. But RGB is a
poor choice for doing colour manipulations; for example, if you want a
lighter or darker version of a given colour, naive manipulations directly on
the RGB components are likely to lead to hue shifts.
A better space to work in is HSV. This way, you can, say, tweak the
saturation or brightness, and leave the hue unchanged. It is also easier to
predict what colour you are likely to get from a given set of HSV values.
Even if your graphics API doesn’t support it directly, you can still convert
to HSV, do your man...

**transformation between xyY and RGB**Dear all,
I have some questions about the use of icc Matlab commands of Image
Processing Toolbox.
I need to convert xyY coordinates to RGB coordinates.
How can I specify the Y (in cd/m2 or normalized between 0 and 1)?
I obtained incorrect results, so I tried the invers process:
transformation from RGB to xyY but I find Y always smaller than one.
Is it normalized? If yes, how can obtain Y in cd/m2? and what's the
value I have to moltiply for the de-normalization?
Any help will be appreciated!!
Many thanks in advance!
Roberta Fagioli
University of Pavia
...

**RGB -> HSV**Hi,
I had to build a function that converts RGB to HSV. This is what I've
done so far but I am not sure if it is correct or not. Plus, I am
stuck with Hue conversion.. can someone help me to verify if I am on
the right track or at least give a hint. I've tried to verify it using
the built in function rgb2hsv in matlab, but when I plot it
separately, there was only a blue image appeared. To verify it, this i
did H=rgb2hsv(I); image(H(:,:,1)); image(H(:,:,2)) etc2..
%
---------------------------------------------------------------------------------------------------------
% This funct...

**RGB to L*A*B transformations**Hi,
i am new to matlab. So i have very basic question:
When i was going through tutorials i found this script:
% Example of color based image segmentation
close all
% read image
RGB = imread('greens.jpg');
nColors = 3;
% select areas
for count = 1:nColors
sample_regions(:,:,count) = roipoly(RGB);
end
% do l*a*b transformation to the original image
cform = makecform('srgb2lab');%creates color transformation structure
lab_RGB = applycform(RGB,cform);%apply created transformation to image
a = lab_RGB(:,:,2);
b = lab_RGB(:,:,3);
color_markers = repmat(0, [nColors, 2]);
for c...

**rgb to hsv in simulink model**hello sir,
objective:
In matlab simulink model, i need to convert the format of multimedia file RGB to HSV model and propagate it to channel , background estimation and so on..........
problem:
in background estimation , the sampling box is not accepting the dimension of input signal.
in background estimation. the reshape box too not accepting the input signal.
it shows the error :
the signal input size is 57000x1.
pls help me sir,
...

**Image processing RGB to HSV**Hi !
I faced some problems in converting the RGB images in database to RSV. I have to convert all the images in the database to HSV and extract the feature vectors. I don't know how to convert all the images in the database to HSV. Can anyone help me?
here is my code for RGB images 2D histogram:
count=0;
distance=0;
for i=1:90 % first 90 images in database (which are categorized as beach)
for j=91:810 % other images in database
h1 = database{i}.Hist;
h2 = database{j}.Hist;
count = count+1;
distances(count) = sqrt(sum(sum((h1-h2).^2))); % get euclidian di...

**Image Fusion**
This is something one can do very easily in ENVI/IDL but the image
sharpening->hsv tool in ENVI does not allow one to control saturation
in the fused image. So I am giving a try in MATLAB...
This was supposed to be easy...
I load a low-resolution (LR) color RGB image and a high-resolution
(HR) gray-scale image (a radar image, actually) and then:
1 - transform the LR image from RGB to HSV color space;
2 - substitute V component by the HR image;
3 - set the S component to some constant percentage (optional step);
and
3 - convert HSV transformed image back to RGB color space.
I did all th...