histogram equalisation fro jpeg

Status
Not open for further replies.

heab

Newbie level 5
Joined
May 9, 2005
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,368
blkproc dct2

How can I use MATLAB for do the DCT(sub-block 8x8) with the image (512x512)?
 

Re: DCT (jpeg)

Yes, in the signal processing tool box there is a function of DCT ...
 

    heab

    Points: 2
    Helpful Answer Positive Rating
Re: DCT (jpeg)

Read the Discrete Cosine Transform topic in the image processing toolbox help
[8-16]and there is an example of 8x8 dct.

The dct2 function in the Image Processing Toolbox computes the two-dimensional discrete cosine transform (DCT) of an image.

-Best Regards
 

    heab

    Points: 2
    Helpful Answer Positive Rating
Re: DCT (jpeg)

Hi
Yes of course, a good matlab command in this area is blkproc and see matlab example in this area:
I = imread('cameraman.tif');
fun = @dct2;
J = blkproc(I,[8 8],fun);
imagesc(J), colormap(hot)
 

    heab

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…