フィルターのクリア

how can i make use of sliding window to separate r,g,b channels?

1 回表示 (過去 30 日間)
vidya
vidya 2014 年 1 月 20 日
コメント済み: vidya 2014 年 1 月 21 日
good day all I am working on optic disc localization,i wanted to know ,how to implement sliding window technique using [80 80] pixels over an retinal image and with every moving window i would separate the r,g,b channels and obtain histogram of each channel

回答 (1 件)

Image Analyst
Image Analyst 2014 年 1 月 20 日
Another snippet which may be useful for you:
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
% Recombine separate color channels into a single, true color RGB image.
rgbImage = cat(3, redChannel, greenChannel, blueChannel);
  1 件のコメント
vidya
vidya 2014 年 1 月 21 日
thank you sir... can i use blkproc function ??

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

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by