フィルターのクリア

convertion rgb image blue channel image

11 ビュー (過去 30 日間)
Farjana Yeasmin
Farjana Yeasmin 2015 年 1 月 15 日
コメント済み: Image Analyst 2016 年 5 月 17 日
how i get a blue channel image from a rgb image ?

採用された回答

Image Analyst
Image Analyst 2015 年 1 月 15 日
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);

その他の回答 (1 件)

Fahim
Fahim 2016 年 5 月 17 日
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 件のコメント
Image Analyst
Image Analyst 2016 年 5 月 17 日
I answered it above. Again:
blueChannel = rgbImage(:, :, 3);
If you still need help, start a new question and attach your image.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeModify Image Colors についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by