comp.soft-sys.matlab - The MathWorks calculation and visualization package.
2. 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.
I'm studying computer & control engineering.I used to program with delphi. Can I use the Matlab GUIDE to produce a gui application exactly such as delphi?
Hello! I created an own colormap and display an array with this colormap: load('MyColormaps','mycmap') set(figure,'Colormap',mycmap) imagesc(BPattern) Now, i need this as RGB. Can i get this image from the figure to RGB? I tried to convert the array to RGB with: RGB = ind2rgb(BPattern, mycmap) But there is only a white or a blue area (depending on the colormap i use). So it doesn't work like: set(figure,'Colormap',mycmap) imagesc(BPattern). Does somebody know what am doing wrong or if there is another way to get the array (displayed with my colormap) to RGB? All the best, Maik
This must be a simple question. Is there any stock function that converts colorspec strings (short or long) to corresponding RGB values? Thanks Bruno