EZW on 2D data matrix ?

3 views (last 30 days)
shau
shau on 16 Jun 2012
Hi Everyone,
I am looking for a code that can take a 2D data matrix as input and apply ezw/spiht on it. I am not working on images just the data matrix. Wavelet toolbox function in matlab 'wcompress' also takes image as input..
Kindly help.
Thanks,

Answers (1)

Walter Roberson
Walter Roberson on 16 Jun 2012
Those routines do not care what the source of the data is, and cannot tell apart a matrix that has been imread() from file, from a matrix that was (for example) randomly generated.
There might be data range or datatype restrictions that you have to live with, though.
  1 Comment
shau
shau on 16 Jun 2012
Hi Walter,
Thanks for your reply. Yes you are right, a function shouldnt care whats inside the data, but the problem is function 'Wcompress' asks for a .bmp/.jpg file. So how do i input my matrix into the function...
Any suggestions?

Sign in to comment.

Categories

Find more on Denoising and Compression in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!