MATLAB: How to visualise the colour with a given set of RGB values rgb visualisationsingle set rgb Hi, I have one set of RGB values RGB=[85 270 100]; How to represent/visualise the colour in a say, 80 by 80 pixel colour patch? Best Answer x = [0 1 1 0];y = [0 0 1 1];patch(x,y,[85 250 100]./255) Related SolutionsMATLAB: Increase RGB image saturation. This is easier in HSV colorspace:RGB = rand(100, 100, 3);HSV = rgb2hsv(RGB);% "20% more" saturation:HSV(:, :, 2) = HSV(:, :, 2) * 1.2;% or add:% HSV(:, :, 2) = HSV(:, :, 2) + 0.2;HSV(HSV > 1) = 1; % Limit valuesRGB = hsv2rgb(HSV); MATLAB: How to create a white image Try this to create a grayscale image:whiteImage = 255 * ones(N, M, 'uint8');imshow(whiteImage);To create an RGB image, try this:whiteImage = 255 * ones(480, 640, 3, 'uint8');imshow(whiteImage); Related QuestionHidden excel page visualizeHow to visualize/plot min ave max valuesUsing colormap to assign one color for values => 0 and one for < 0Visualize the depth matrix.
Best Answer