フィルターのクリア

copy pixel from pixel to pixel

2 ビュー (過去 30 日間)
asthana
asthana 2014 年 3 月 7 日
編集済み: Doug Hull 2014 年 3 月 7 日
Hello frnd can any one plz explain the below code line by line in simple word
rgbImage = imread('861.jpg');
bs=64;
ca = mat2cell(rgbImage,bs*ones(1,size(rgbImage,1)/bs),bs*ones(1,size(rgbImage,2)/bs),3);
plotIndex = 1;
a=zeros(size(rgbImage),class(rgbImage));
aa = mat2cell(a,bs*ones(1,size(a,1)/bs),bs*ones(1,size(a,2)/bs),3);
aa(2,3)=ca(2,3);
amtx = cell2mat(aa);
imshow(amtx)
  1 件のコメント
Dishant Arora
Dishant Arora 2014 年 3 月 7 日
Why not put a breakpoint over first line of your code and move on line by line using step , step in to the called function(you can see all thes icons next to run icon in the editor window ), analyze the workspace and progress step by step. This is what I do when I don't understand a piece of code.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSensors and Transducers についてさらに検索

タグ

タグが未入力です。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by