plz explain the code

2 ビュー (過去 30 日間)
zakir khan
zakir khan 2018 年 9 月 28 日
コメント済み: Image Analyst 2018 年 9 月 28 日
img_clahe = zeros(size(img));
for color_idx = 1:3
img_clahe(:,:,color_idx) = adapthisteq(img(:,:,color_idx));
end
  2 件のコメント
Guillaume
Guillaume 2018 年 9 月 28 日
You already asked then deleted this question.
I will ask the same question back: which part of the code can you not understand by looking it up in the documentation.
zakir khan
zakir khan 2018 年 9 月 28 日
this function is clear but i have confusion here img_clahe(:,:,color_idx)

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

採用された回答

Guillaume
Guillaume 2018 年 9 月 28 日
img_clahe(:,:,color_idx) corresponds to each colour channel of the image.
  1 件のコメント
Image Analyst
Image Analyst 2018 年 9 月 28 日
You forgot to mention that the code is doing a really dumb, worthless thing, unless you want bizarre color artifacts.

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

その他の回答 (1 件)

Steven Lord
Steven Lord 2018 年 9 月 28 日
Based on the questions you've been asking it seems like you're new to MATLAB or it's been some time since you last used it. In either of those cases I recommend going through some of the tutorials that will teach you the basic functionality of MATLAB and/or Simulink (depending which tutorials you take.) There are interactive courses to take, documentation pages to read, and videos to watch all on that page.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by