Borrar filtros
Borrar filtros

convertion rgb image blue channel image

11 visualizaciones (últimos 30 días)
Farjana Yeasmin
Farjana Yeasmin el 15 de En. de 2015
Comentada: Image Analyst el 17 de Mayo de 2016
how i get a blue channel image from a rgb image ?

Respuesta aceptada

Image Analyst
Image Analyst el 15 de En. de 2015
See this snippet:
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
% To recombine separate color channels into a single, true color RGB image.
rgbImage = cat(3, redChannel, greenChannel, blueChannel);

Más respuestas (1)

Fahim
Fahim el 17 de Mayo de 2016
can I ask a question here ? how can we extract the pixel of blue channel? i want to embed an image exactly to blue Channel.so I need extract the pixel of blue channel as an array .
  1 comentario
Image Analyst
Image Analyst el 17 de Mayo de 2016
I answered it above. Again:
blueChannel = rgbImage(:, :, 3);
If you still need help, start a new question and attach your image.

Iniciar sesión para comentar.

Categorías

Más información sobre Modify Image Colors en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by