how to divide into blocks of 8x8 pixels?

2 visualizzazioni (ultimi 30 giorni)
dian
dian il 10 Ott 2013
Risposto: Spandan Tiwari il 11 Ott 2013
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 Commento
sixwwwwww
sixwwwwww il 10 Ott 2013
Dear dian, attachments are missing. Try again attaching your code files

Accedi per commentare.

Risposte (3)

Matt J
Matt J il 11 Ott 2013
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]

Image Analyst
Image Analyst il 11 Ott 2013

Spandan Tiwari
Spandan Tiwari il 11 Ott 2013
The function blockproc in the Image Processing Toolbox maybe a natural fit if you would like to do process the image in blocks.

Categorie

Scopri di più su Discrete Multiresolution Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by