How to store a different image blocks in variable using array?
1 回表示 (過去 30 日間)
古いコメントを表示
i had divided my image into overlapping blocks...and i can display it...but i like to store those different blocks in particular variables using array in order to find mean,variance,std deviation and magnitude,direction...So how is possible in array
5 件のコメント
Image Analyst
2012 年 1 月 20 日
In other words, what the heck is a "block"????????????? To me it's this
block1 = imageArray(row1:row2, column1:column2);
Now, block1 is a block. But it is also a variable, and that variable has a name, which is "block1." If you're not doing that, then what in the world are you doing?
回答 (2 件)
Walter Roberson
2012 年 1 月 19 日
blocks(:,:,ThisBlockNumber) = thisblock;
3 件のコメント
Walter Roberson
2012 年 1 月 20 日
blocks(:,:,:,ThisBlockNumber) = thisblock;
if thisblock is an RGB image (3 dimensional)
Walter Roberson
2012 年 1 月 20 日
If you want to store each block in a separate variable.. Please don't!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!