Thread Subject: Image compression in Matlab

Subject: Image compression in Matlab

From: rushna27@yahoo.com (roopa)

Date: 29 Mar, 2004 14:28:53

Message: 1 of 36

hi,
  I am searching for the matlab code for JPEG (8x8) digital image
compression using dct.Please can you email me the respective code for
it
   

Subject: Image compression in Matlab

From: gigi

Date: 11 May, 2004 06:30:08

Message: 2 of 36

try gaussian pyramids:

 <http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4772&objectType=FILE>

Subject: Image compression in Matlab

From: MIA

Date: 13 May, 2004 06:52:44

Message: 3 of 36

Hi,
 u can try try this transform,which gives better compression
ratio.after this transform u got to do MTF coding and then entropy
coding.and volla..u have a image codec.lossless..

BWT transform matlab source code can be found at the following link

 <http://www.geocities.com/imran_akthar/files/>

HTH
MIA

Subject: Image compression in Matlab

From: pihu

Date: 3 Jun, 2004 13:04:37

Message: 4 of 36

roopa wrote:
>
>
> hi,
> I am searching for the matlab code for JPEG (8x8) digital image
> compression using dct.Please can you email me the respective code
> for
> it
>
>
>

Subject: Image compression in Matlab

From: Ken Davis

Date: 1 Sep, 2004 15:00:46

Message: 5 of 36

"subasni" <s_s_u_b_a@yahoo.com> wrote in message news:4fl0glz0tm1d@legacy...
> PLEASE! PLEASE! PLEASE! I NEED HELP IN MATLAB. ANY KIND SOUL. PLEASE
> HELP ME
>

It's school season again!

If you really want help, stop shouting (all caps) and tell us what your
problem is and where you are getting stuck.


Subject: Image compression in Matlab

From: Waldemar Krzok

Date: 2 Sep, 2004 09:14:58

Message: 6 of 36



Ken Davis schrieb:
> "subasni" <s_s_u_b_a@yahoo.com> wrote in message news:4fl0glz0tm1d@legacy...
>
>>PLEASE! PLEASE! PLEASE! I NEED HELP IN MATLAB. ANY KIND SOUL. PLEASE
>>HELP ME
>>
>
>
> It's school season again!
>
> If you really want help, stop shouting (all caps) and tell us what your
> problem is and where you are getting stuck.

don't mention him. I already gave him a 303k links from google. At least
3 of first 10 were pretty nice for him (I assume). But what he wants is
homework done, not ideas.

Waldemar


Subject: Image compression in Matlab

From: Gauthier Fleutot

Date: 2 Sep, 2004 05:32:21

Message: 7 of 36

subasni wrote:
>
>
> PLEASE! PLEASE! PLEASE! I NEED HELP IN MATLAB. ANY KIND SOUL.
> PLEASE
> HELP ME
>
>

Hi!

I want to help you! I think the best webpage for you to read is this
one:
 <http://www.catb.org/~esr/faqs/smart-questions.html>

Good luck!

Gauthier

Subject: Image compression in Matlab

From: Shakeel Ur Rehman

Date: 20 Sep, 2004 08:20:47

Message: 8 of 36

Rauf Khan wrote:
>
>
> Hi,
>
> Iam working on JPEG images compression Using matlab. Iam
> finding
> very difficult to use dct transform by using the function 'dct'.
> Have a look of this code.
> =================
> clc;
> clear
>
> % Reading the image in a vector
> a=imread('c:\matlab6p5\work\raufkhan\one.jpg')
> sizA=size(a)
> figure(1)
> image(a)
>
> %Applying DCT
> b=dct(a);
> imwrite(b,'c:\matlab6p5\work\raufkhan\two.jpg')
> sizB=size(b)
> figure(2)
> image(b)
> =================
> The problme is iam not able to apply the dct becos of M*N*3
> matrix.
>
> please help me.
>
> Regards
> Rauf Khan
>
>
decompose 3d matrix into 2d and apply dct on each dimension. its
better if u change the image to gray scale then u will get 2D matrix.

Subject: vector quantization in C

From: muthulakshmi

Date: 21 Nov, 2004 12:01:49

Message: 9 of 36

roopa wrote:
>
>
> hi,
> I am searching for the C code for Vector quantization.Please can
you email me the respective code
> for
> it
>
>
>

Subject: Image compression in Matlab

From: padmajach

Date: 14 Dec, 2004 00:57:50

Message: 10 of 36

padmajach wrote:
>
>
> hello
> i am doing project on image compression using jpeg2000 if anybody
> knows this code please mail me.
> thank you for helping me
> with regards padmaja.
>
>

Subject: Image compression in Matlab

From: vijay

Date: 17 Dec, 2004 00:42:00

Message: 11 of 36

sir, i am a B.E(ECE) final year student.i want to do a project on
image compression using wavelet transform in matlab.so please give me
complete programs for that immediately.
            thanking u.

Subject: Image compression in Matlab

From: Jerome

Date: 23 Feb, 2005 09:20:16

Message: 12 of 36

justin wrote:

> i am singing this song
>
> When the truth is found to be lies
> And all the joys within you dies
> Don't you want somebody to love
> Don't you need somebody to love
> Wouldn't you love somebody to love
> You better find somebody to love

1967... That was a great time for me... no algorithm... no Matlab...
nobody kindly asking for jpeg2000...

I was not yet on this earth...

Jérôme "dutmatlab Airplane"

Subject: Image compression in Matlab

From: zedkiller

Date: 1 Mar, 2005 22:45:12

Message: 13 of 36

ercan kaplan wrote:
>
>
> Hi,
> I need matlab code for a function that splits an image into 8x8
blocks ?
If anybody can help it's am emergency thanks
>

Subject: Image compression in Matlab

From: Vasco M

Date: 2 Mar, 2005 02:24:33

Message: 14 of 36

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)

zedkiller wrote:
>
>
> ercan kaplan wrote:
>>
>>
>> Hi,
>> I need matlab code for a function that splits an image into 8x8
> blocks ?
> If anybody can help it's am emergency thanks
>>

Subject: Image compression in Matlab

From: zed

Date: 2 Mar, 2005 12:44:13

Message: 15 of 36

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
>>>

Subject: Image compression in Matlab

From: Vasco M

Date: 2 Mar, 2005 14:24:46

Message: 16 of 36

What I meant was, the test was successful. Here I passed each face of
the 3D matrix through "DCT". I'm displaying the compressed image.
It's all blur, nothing much to look at. Then I used "IDCT" to get the
original image back. Try it.

function t6

% Get the image here: <http://www.codeofkings.com/Julius.jpg>

[x,map] = imread('julius.jpg');
size(x)
x2 = x;
figure(1)
colormap(map)
image(x)
a = dct(x(:,:,1));
b = dct(x(:,:,2));
c = dct(x(:,:,3));
x2(:,:,1) = a;
x2(:,:,2) = b;
x2(:,:,3) = c;
size(x2)
figure(2)
colormap(map)
image(x2)

x2(:,:,1) = idct(a);
x2(:,:,2) = idct(b);
x2(:,:,3) = idct(c);
figure(3)
colormap(map)
image(x)

return;

zed wrote:
>
>
> 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
>>>>

Subject: Image compression in Matlab

From: rami alzo'ubi

Date: 11 May, 2005 06:17:06

Message: 17 of 36

Brett Shoelson wrote:
>
>
>
> "deepak" <d124gupta@indiatimes.com> wrote in message
> news:9ldka1iiaxy9@legacy...
>> Dear sir ,
>> I am a B.Tech. final year student. I want to do a project on
> image
>> compression using DCT in MATLAB as well as in C.
>> Pleas guide me.
>> Thank you.
>>
>
>>> lookfor compress
> DCTDEMO 2-D DCT image compression demo.
> ...
>
> Brett
>
>
>

Subject: i need your help

From: ian

Date: 4 Dec, 2005 07:28:56

Message: 18 of 36

zedkiller wrote:
>
>
> ercan kaplan wrote:
>>
>>
>> Hi,
>> I need matlab code for a function that splits an image into 8x8
> blocks ?
> If anybody can help it's am emergency thanks
>>

hi..how do you do
i need jpeg compression&decompression in matlab code.. can you help
me.. please send to my email.. thanks so much

Subject: Image compression in Matlab

From: Stefan

Date: 4 Dec, 2005 09:08:38

Message: 19 of 36

and what do you mean with 'face of 3d matrix'?

These are the colours layers!

Regards,
Stefan

Subject: Image compression in Matlab

From: moh asic

Date: 28 Feb, 2006 00:38:59

Message: 20 of 36

majed wrote:
>
>
> hello all please i need a matlab code
> using Compression Using Vector Quantization
>
> pleeeeeeeeeeeeeeeese
>
>
> thanks
>
>

Subject: Image compression in Matlab

From: noor

Date: 10 Apr, 2006 10:41:09

Message: 21 of 36

roopa wrote:
>
>
> hi,
> I am searching for the matlab code for JPEG (8x8) digital image
> compression using dct.Please can you email me the respective code
> for
> it
>
>
>

Subject: Image compression in Matlab

From: Bachir dahda

Date: 29 Jul, 2006 04:20:03

Message: 22 of 36

roopa wrote:
>
>
> hi,
> I am searching for the matlab code for JPEG (8x8) digital image
> compression using dct.Please can you email me the respective code
> for
> it
>
>
>

Subject: Image compression in Matlab

From: sridhar d

Date: 14 Feb, 2007 01:28:49

Message: 23 of 36

roopa wrote:
>
>
> hi,
> I am searching for the matlab code for JPEG (8x8) digital image
> compression using dct.Please can you email me the respective code
> for
> it
>
>
>

Subject: Image compression in Matlab

From: hanan

Date: 12 Mar, 2007 06:21:52

Message: 24 of 36

sridhar d wrote:
>
>
> roopa wrote:
>>
>>
>> hi,
>> I am searching for the matlab code for JPEG (8x8) digital image
>> compression using dct.Please can you email me the respective
code
>> for
>> it
>>
>>hi to all
is there any one read the program of image compression using SOFM and
vector quantization ,my question is ,are all the steps of compression
like the transform then quantization then the entropy all in it?
and what is the clusturing property of kohonen?
i hope someone can replay me about this or at least giving me some
information about compression using vector quantization and matlab
code for that
regards
hanan
>>

Subject: need quantization table

From: chirag

Date: 4 Apr, 2007 08:29:55

Message: 25 of 36

hi!
i'm an undergraduate student,successfully implemented dct2(blocked)
but i need jpeg quantization table for determination of frequency
sensitivity.

 i have 8*8 table but i need 16*16 table

is there any way to apply 8*8 table in stead of 16*16?

bcoz i need to calculate dc coefficient of each block and contrast
masking. i have formulaes but i'm stuck with matrix size.
can anybody help me out?

thanks n withv regards!
                                              chirag jaju

Subject: video compression in Matlab

From: reeta ponmalar

Date: 26 Sep, 2007 03:11:06

Message: 26 of 36

"Shakeel Ur Rehman" <shakeel_ur_rehman@blueyonder.co.uk>
wrote in message <eed822e.22@webx.raydaftYaTP>...
> Rauf Khan wrote:
> >
> >
> > Hi,
> >
> > Iam working on video compression using matlab.
> > i want source code for intra frames with harr transform
and inter frames using DCT in H.263 standard.
> >
> >
>regards
reeta

Subject: video compression in Matlab

From: reeta ponmalar

Date: 26 Sep, 2007 03:15:11

Message: 27 of 36

"Shakeel Ur Rehman" <shakeel_ur_rehman@blueyonder.co.uk>
wrote in message <eed822e.22@webx.raydaftYaTP>...
> Rauf Khan wrote:
> >
> >
> > Hi,
> >
> > Iam working on video compression using matlab.
> > i want source code for intra frames with harr transform
and inter frames using DCT in H.263 standard.
> >
> >
>regards
reeta

Subject: video compression in Matlab

From: paul murugan

Date: 10 Jan, 2008 10:41:03

Message: 28 of 36

"reeta ponmalar" <reetponmalar.doe.nospam@mathworks.com>
wrote in message <fdcirv$c6s$1@fred.mathworks.com>...
> "Shakeel Ur Rehman" <shakeel_ur_rehman@blueyonder.co.uk>
> wrote in message <eed822e.22@webx.raydaftYaTP>...
> > Rauf Khan wrote:
> > >
> > >
> > > Hi,
> > >
> > > Iam working on video compression using matlab.
> > > i want source code for intra frames with harr
transform
> and inter frames using DCT in H.263 standard.
> > >
> > >
> >regards
> reeta
>

Subject: Image compression in Matlab

From: Khaled Al-Ali

Date: 11 Jan, 2008 16:57:04

Message: 29 of 36

hey guys,
Im new here, Im not sure how this works, but, I wrote a
code for my graduation project (Fingerprint Recognition
System - FVC2000 approach), for some reason, it's giving
false results, no errors, just incorrect answers, I REALLY
NEED HELP. it is VERY URGENT. just tell me what is going
wrong, or give me any ideas, here is the code:


function q=measure(finger,position)

cd('C:\Documents and Settings\Khaled\My Documents\MATLAB');

        path=strcat('C:\Documents and Settings\Khaled\My
Documents\MATLAB\DBs\Database','\',int2str
(finger),'_',int2str(position),'.tif');
        I=imread(path);
        r(1,:)=analysis10(I);

save r
cd('C:\Documents and Settings\Khaled\My Documents\MATLAB');

----------------------------------------------------------

function w=analysis10(p);
o=p;
cd('C:\Documents and Settings\Khaled\My Documents\MATLAB');
o=adapthisteq(o);
q=fspecial('unsharp');
o=imfilter(o,q);
o=adapthisteq(o);
o=im2double(o);
oBinary=im2bw(o);
oBinary=double(~oBinary);
ac=regionprops(oBinary,'centroid');
y(1)=ac.Centroid(1);
y(2)=ac.Centroid(2);
ai = o(y(2) - 89: y(2) + 90, y(1)-89:y(1) +90);
o=ai
[w(25),w(26),w(27),w(28),w(29),w(30),w(31)]=invmoments(ai);
[oA,oH,oV,oD] = dwt2(o,'db4');
[oA1,oH1,oV1,oD1] = dwt2(oA,'db4');
[oA2,oH2,oV2,oD2] = dwt2(oA1,'db4');
w(1)=mean(mean(oA));
w(2)=std(std(oA));
w(3)=mean(mean(oH));
w(4)=std(std(oH));
w(5)=mean(mean(oV));
w(6)=std(std(oV));
w(7)=mean(mean(oD));
w(8)=std(std(oD));
w(9)=mean(mean(oA1));
w(10)=std(std(oA1));
w(11)=mean(mean(oH1));
w(12)=std(std(oH1));
w(13)=mean(mean(oV1));
w(14)=std(std(oV1));
w(15)=mean(mean(oD1));
w(16)=std(std(oD1));
w(17)=mean(mean(oA2));
w(18)=std(std(oA2));
w(19)=mean(mean(oH2));
w(20)=std(std(oH2));
w(21)=mean(mean(oV2));
w(22)=std(std(oV2));
w(23)=mean(mean(oD2));
w(24)=std(std(oD2));
CoA=graycomatrix(im2uint8(oA));
CoD=graycomatrix(im2uint8(oD));
CoH=graycomatrix(im2uint8(oH));
CoV=graycomatrix(im2uint8(oV));
stats=graycoprops(CoA,'All');
w(32)=stats.Contrast;
w(33)=stats.Correlation;
w(34)=stats.Energy;
w(35)=stats.Homogeneity;
w(36)=entropy(CoA);
stats=graycoprops(CoD,'All');
w(37)=stats.Contrast;
w(38)=stats.Correlation;
w(39)=stats.Energy;
w(40)=stats.Homogeneity;
w(41)=entropy(CoD);
stats=graycoprops(CoH,'All');
w(42)=stats.Contrast;
w(43)=stats.Correlation;
w(44)=stats.Energy;
w(45)=stats.Homogeneity;
w(46)=entropy(CoH);
stats=graycoprops(CoV,'All');
w(47)=stats.Contrast;
w(48)=stats.Correlation;
w(49)=stats.Energy;
w(50)=stats.Homogeneity;
w(51)=entropy(CoV);
CoA1=graycomatrix(im2uint8(oA1));
CoD1=graycomatrix(im2uint8(oD1));
CoH1=graycomatrix(im2uint8(oH1));
CoV1=graycomatrix(im2uint8(oV1));
stats=graycoprops(CoA1,'All');
w(52)=stats.Contrast;
w(53)=stats.Correlation;
w(54)=stats.Energy;
w(55)=stats.Homogeneity;
w(56)=entropy(CoA1);
stats=graycoprops(CoD1,'All');
w(57)=stats.Contrast;
w(58)=stats.Correlation;
w(59)=stats.Energy;
w(60)=stats.Homogeneity;
w(61)=entropy(CoD1);
stats=graycoprops(CoH1,'All');
w(62)=stats.Contrast;
w(63)=stats.Correlation;
w(64)=stats.Energy;
w(65)=stats.Homogeneity;
w(66)=entropy(CoH1);
stats=graycoprops(CoV1,'All');
w(67)=stats.Contrast;
w(68)=stats.Correlation;
w(69)=stats.Energy;
w(70)=stats.Homogeneity;
w(71)=entropy(CoV1);
CoA2=graycomatrix(im2uint8(oA2));
CoD2=graycomatrix(im2uint8(oD2));
CoH2=graycomatrix(im2uint8(oH2));
CoV2=graycomatrix(im2uint8(oV2));
stats=graycoprops(CoA2,'All');
w(72)=stats.Contrast;
w(73)=1;
w(74)=stats.Energy;
w(75)=stats.Homogeneity;
w(76)=entropy(CoA2);
stats=graycoprops(CoD2,'All');
w(77)=stats.Contrast;
w(78)=stats.Correlation;
w(79)=stats.Energy;
w(80)=stats.Homogeneity;
w(81)=entropy(CoD2);
stats=graycoprops(CoH2,'All');
w(82)=stats.Contrast;
w(83)=stats.Correlation;
w(84)=stats.Energy;
w(85)=stats.Homogeneity;
w(86)=entropy(CoH2);
stats=graycoprops(CoV2,'All');
w(87)=stats.Contrast;
w(88)=stats.Correlation;
w(89)=stats.Energy;
w(90)=stats.Homogeneity;
w(91)=entropy(CoV2);

---------------------------------------------------------

function results=match(r,final)
j=1;
while j<97

    t(j,1)= sum(r(1,1:91)-final(j,1:91))^2;
    t(j,1)=t(j,1)^.5;
    j=j+1;
end

save t

g=t;
b=1;
while b<5
    q=min(g(:,1));
    a=1 ;
    while a<97
        if g(a,1)==q
            results(1,b)=a;
            g(a,1)=10^9;
        end
        a=a+1;
    end
    b=b+1;
end
save results

---------------------------------------------------------

invmoments is working successfully, Im definite about that..

Subject: Image compression in Matlab

From: vaibhav

Date: 13 Aug, 2008 16:10:21

Message: 30 of 36

rushna27@yahoo.com (roopa) wrote in message
<wf077lebijgw@legacy>...
> hi,
> I am searching for the matlab code for JPEG (8x8)
digital image
> compression using dct.Please can you email me the
respective code for
> it
>
>
  hi this may sound STUPID but whats the procedure to ask
questions on this forum

Subject: Image compression in Matlab

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 13 Aug, 2008 18:00:39

Message: 31 of 36

In article <g7v11c$qve$1@fred.mathworks.com>,
vaibhav <vabshin@gmail.com> wrote:

> hi this may sound STUPID but whats the procedure to ask
>questions on this forum

Start a new thread, give it a *meaningful* title, and
post the substance of your question. Giving examples is often
useful, and if you are having a problem be sure to describe the
symptoms you see and include the error messages you get and
the relevant lines of code.

--
  "I like to build things, I like to do things. I am having
  a lot of fun." -- Walter Chrysler

Subject: Image compression in Matlab

From: vaibhav

Date: 15 Aug, 2008 09:44:01

Message: 32 of 36

rushna27@yahoo.com (roopa) wrote in message
<wf077lebijgw@legacy>...
> hi,
> I am searching for the matlab code for JPEG (8x8)
digital image
> compression using dct.Please can you email me the
respective code for
> it
>
>


hey i too would like a IMAGE COMPRESSION source code written
 in MATLAB.
please send me if you have it

thanks

p.s. : i would also like to write matlab code for
           MULTI-VIEW IMAGE COMPRESSION any kind of
                  contribution in this will be helpful.

Subject: Image compression in Matlab

From: vaibhav

Date: 15 Aug, 2008 09:44:02

Message: 33 of 36

rushna27@yahoo.com (roopa) wrote in message
<wf077lebijgw@legacy>...
> hi,
> I am searching for the matlab code for JPEG (8x8)
digital image
> compression using dct.Please can you email me the
respective code for
> it
>
>


hey i too would like a IMAGE COMPRESSION source code written
 in MATLAB.
please send me if you have it

thanks

p.s. : i would also like to write matlab code for
           MULTI-VIEW IMAGE COMPRESSION any kind of
                  contribution in this will be helpful.

Subject: Image compression in Matlab

From: vaibhav

Date: 15 Aug, 2008 09:45:02

Message: 34 of 36

MIA <imran_akthar@hotmail.com> wrote in message
<eed822e.7@webx.raydaftYaTP>...
> Hi,
> u can try try this transform,which gives better compression
> ratio.after this transform u got to do MTF coding and then
entropy
> coding.and volla..u have a image codec.lossless..
>
> BWT transform matlab source code can be found at the
following link
>
> <http://www.geocities.com/imran_akthar/files/>
>
> HTH
> MIA



hey i too would like a IMAGE COMPRESSION source code written
 in MATLAB.
please send me if you have it

thanks

p.s. : i would also like to write matlab code for
           MULTI-VIEW IMAGE COMPRESSION any kind of
                  contribution in this will be helpful.

Subject: Image compression in Matlab

From: Adam

Date: 15 Aug, 2008 13:08:02

Message: 35 of 36

"vaibhav " <vabshin@gmail.com> wrote in message
<g83j6u$kgh$1@fred.mathworks.com>...

 
> hey i too would like a IMAGE COMPRESSION source code written
> in MATLAB.
> please send me if you have it
>
> thanks
>
> p.s. : i would also like to write matlab code for
> MULTI-VIEW IMAGE COMPRESSION any kind of
> contribution in this will be helpful.
>

Way to follow directions.

The tags in this thread are hilarious. All it needs now is
a "I CAN HAZ IMAGE COMPRESSION. KTHXBAI" picture.

~Adam

Subject: Image compression in Matlab

From: Walter Roberson

Date: 15 Aug, 2008 16:55:35

Message: 36 of 36

vaibhav wrote:

> hey i too would like a IMAGE COMPRESSION source code written
> in MATLAB.
> please send me if you have it

You did not follow the instructions that you were given yesterday
in this thread, which were:


>>post the substance of your question. Giving examples is often
>>useful, and if you are having a problem be sure to describe the
>>symptoms you see and include the error messages you get and
>>the relevant lines of code.

"I too would like an IMAGE COMPRESSION source code" is not a question,
is not an example, does not describe symptoms you have seen, and does
not describe any error messages you got when you attempted to
write your own code.

If you want pre-written source code to pass off as your own work,
you can google for it like everyone else.

However, as I am feeling generous today, here is source code that
meets all of your posted requirements:

imwrite( mean(reshape(imread(uigetfile([],'select an input file')), ...
  [],1)), uiputfile([], 'select an output file'))

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
registration ls... Jhon Oliver 31 Oct, 2008 01:19:52
registration Jhon Oliver 31 Oct, 2008 01:19:26
i can has image... Adam 15 Aug, 2008 11:39:20
code vaibhav 15 Aug, 2008 05:45:06
source vaibhav 15 Aug, 2008 05:45:06
multiview image... vaibhav 15 Aug, 2008 05:45:06
image vaibhav 15 Aug, 2008 05:45:06
compression vaibhav 15 Aug, 2008 05:45:06
questions vaibhav 13 Aug, 2008 12:15:07
ask vaibhav 13 Aug, 2008 12:15:07
help vaibhav 13 Aug, 2008 12:15:07
hi lee thomas 31 Jan, 2008 01:19:34
does any one ha... lee thomas 31 Jan, 2008 01:19:34
compression sruthi devi 19 Jan, 2008 22:56:41
dwt vishwanathan Rangaswamy 12 Jan, 2008 22:33:41
recognition Khaled Al-Ali 11 Jan, 2008 12:01:52
dwt Khaled Al-Ali 11 Jan, 2008 12:01:52
compression Khaled Al-Ali 11 Jan, 2008 12:01:52
fingerprint Khaled Al-Ali 11 Jan, 2008 12:01:52
image Khaled Al-Ali 11 Jan, 2008 12:01:52
processing Khaled Al-Ali 11 Jan, 2008 12:01:52
if u have get t... paul murugan 10 Jan, 2008 05:45:09
iam also do the... paul murugan 10 Jan, 2008 05:45:09
hi paul murugan 10 Jan, 2008 05:45:09
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com