Thread Subject: Haar for image compression

Subject: Haar for image compression

From: Prasenjeet Patil

Date: 24 Nov, 2008 16:44:03

Message: 1 of 2

I am a newbee.
I have downloaded the code from Mathworks.It says Input: x (an NxN image).
What does NxN mean & n = length(x) in this program Also what should I do to get all the images using subplot.
Thanks!

Subject: Haar for image compression

From: ImageAnalyst

Date: 24 Nov, 2008 17:22:15

Message: 2 of 2

On Nov 24, 11:44=A0am, "Prasenjeet Patil" <prasenjeet.pa...@hotmail.com>
wrote:
> I am a newbee.
> I have downloaded the code from Mathworks.It says Input: x (an NxN image)=
.
> What does NxN mean & n =3D length(x) in this program Also what should I d=
o to get all the images using subplot.
> Thanks!

----------------------------------------------------------------------
Prasenjeet:
x may be the filename of the image. Otherwise you'd have to input the
NxN image itself, which is a N rows by N columns numerical array. It
can be of any numerical type (integer, float, complex, etc.). Getting
the length of x is the number of characters in the filename string (if
it's a string), or the number of columns in the image (if it's a
rectangular or square numerical array). You don't get images using
subplot. You already need to have the images. Then subplot just
allows you to display several images in a table-like format on a
single window.
Regards,
ImageAnalyst

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com