anyone suggest me a code for dct2() and blockproc()

1 visualización (últimos 30 días)
Dhines
Dhines el 28 de Sept. de 2012
i take one image with any kind of size. for that image how to apply 8x8 dct. anyone suggest me what is the code for this?

Respuesta aceptada

Wayne King
Wayne King el 28 de Sept. de 2012
Hi, You should have just continued the post that you started here:
Did you read the help for dct2() and blockproc()?
fun = @(block_struct) dct2(block_struct.data);
RGB = imread('autumn.tif');
I = rgb2gray(RGB);
Y = blockproc(I,[8 8],fun);

Más respuestas (0)

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by