フィルターのクリア

extract 4*4 matrix from 8*8

1 回表示 (過去 30 日間)
Jitesh Bhanushali
Jitesh Bhanushali 2014 年 4 月 3 日
コメント済み: Azzi Abdelmalek 2014 年 4 月 3 日
sir i have 256*256 image i want to extract top left 4*4 matrix from every 8*8 blocks of that image..please send me the code

採用された回答

Andrei Bobrov
Andrei Bobrov 2014 年 4 月 3 日
blockproc(yourimage,[8 8],@(x)x.data(1:4,1:4))
  2 件のコメント
Jitesh Bhanushali
Jitesh Bhanushali 2014 年 4 月 3 日
sir what is code if i want to add zeros to 4*4 matrix and make it 8*8 in the image
Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 3 日
blockproc(im,[8 8],@(x) [x.data(1:4,1:4) zeros(4);zeros(4,8)]);

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by