i've an image of of size 210x240.in the following code i've made one block..but i want many blocks how can i do it?

1 回表示 (過去 30 日間)
clc;
close all;
I=imread('images1.jpeg');
whos I;
fun = @(block_struct) ...
std2(block_struct.data) * ones(size(block_struct.data));
block=blockproc(I,[8 8],fun);
imshow(block);
i want to divide input image into overlapping blocks of size let say 8x8 like Block1,Block2 and so on ... on the basis of intensity as parameter and after that i want to sort these blocks in the form of list..
can u help me how can i do it? plz provide the required code for it so that i can understand it....
  9 件のコメント
Raman
Raman 2013 年 2 月 13 日
sir actually i m working on copy move forgery...i need blocks because after sorting the duplicate regions are adjacent in the sorted list...thats y m asking...yet the block size is also not fixed to 6x6...m trying which block size is better for doing all this.. loop concept i understand but
how to make a loop on
block=blockproc(I,[6 6],fun,'BorderSize',[3 3]);
m not getting this.
plz sir can u make a loop on block=blockproc(I,[6 6],fun,'BorderSize',[3 3]); so that i can understand...

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

採用された回答

Walter Roberson
Walter Roberson 2013 年 2 月 12 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by