+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 5
    Points: 1,408, Level: 8

    Join Date
    May 2005
    Posts
    8
    Helped
    4 / 4
    Points
    1,408
    Level
    8

    blkproc dct2

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

    •   AltAdvertisement

        
       

  2. #2
    Member level 4
    Points: 1,591, Level: 9

    Join Date
    Aug 2005
    Posts
    68
    Helped
    6 / 6
    Points
    1,591
    Level
    9

    Re: DCT (jpeg)

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


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Full Member level 2
    Points: 2,683, Level: 12

    Join Date
    Mar 2005
    Posts
    141
    Helped
    24 / 24
    Points
    2,683
    Level
    12

    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


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  4. #4
    Newbie level 4
    Points: 1,338, Level: 8

    Join Date
    Aug 2005
    Posts
    5
    Helped
    2 / 2
    Points
    1,338
    Level
    8

    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)


    1 members found this post helpful.

--[[ ]]--