From: zed <zedkiller737@hotmail.com>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webx
Newsgroups: comp.soft-sys.matlab
Subject: Re: Image compression in Matlab
Message-ID: <eed822e.44@webx.raydaftYaTP>
Date: Wed, 2 Mar 2005 12:44:13 -0500
References: <wf077lebijgw@legacy> <et9f1l615syn@legacy> <eed822e.42@webx.raydaftYaTP> <eed822e.43@webx.raydaftYaTP>
Lines: 32
NNTP-Posting-Host: 132.206.64.54
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:264320



But is this really working or is it just a test?

Vasco M wrote:
>
>
> I did a test:
>
> [x,map] = imread('julius.jpg');
>>> size(x)
>
> ans =
>
> 77 65 3
>
>>> d = dct(x);
> ??? In an assignment A(matrix,:) = B, the number of columns in A
> and B
> must be the same.
>
> Error in ==> C:\MATLAB6p5\toolbox\signal\signal\dct.m
> On line 61 ==> y(1:n,:) = aa;
>
>>> d = dct(x(:,:,1)); % You need to extract the individual
faces
> from the 3D matrix. x(:,:,1), x(:,:,2), x(:,:,3)
>
>>>> Hi,
>>> I need matlab code for a function that splits an image into
> 8x8
>> blocks ?
>> If anybody can help it's am emergency thanks
>>>