how to divide into blocks of 8x8 pixels?

I have project "A Robust Digital Watermarking with Mixed Transform Technique for Digital Image".
There are two attachtment, the sourecode I made, and the embedding and extraction watermark process.
I've done the DWT process, and have problem with dividing into blocks of 8x8 pixels. Can you help me?

1 件のコメント

sixwwwwww
sixwwwwww 2013 年 10 月 10 日
Dear dian, attachments are missing. Try again attaching your code files

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

回答 (3 件)

Matt J
Matt J 2013 年 10 月 11 日

0 投票

One way using MAT2TILES ( Available Here )
>> A=rand(24); mat2tiles(A,[8,8])
ans =
[8x8 double] [8x8 double] [8x8 double]
[8x8 double] [8x8 double] [8x8 double]
[8x8 double] [8x8 double] [8x8 double]
Spandan Tiwari
Spandan Tiwari 2013 年 10 月 11 日

0 投票

The function blockproc in the Image Processing Toolbox maybe a natural fit if you would like to do process the image in blocks.

カテゴリ

ヘルプ センター および File ExchangeWavelet Toolbox についてさらに検索

質問済み:

2013 年 10 月 10 日

回答済み:

2013 年 10 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by