convertion of 64 coefficients into 12 coefficients

1 visualizzazione (ultimi 30 giorni)
jenifer
jenifer il 21 Gen 2013
hi.. i want to extract the color feature.. for that i m using color layout descriptor.. in this process i had find the 64 dct coefficients for each Y, Cb,Cr color space... now in my paper they recommended to use 12 coeffients.. 6 for Y and 3 for Cb,Cr... how can convert like this... please help me with matlab codes...
thanks in advance..

Risposte (2)

Walter Roberson
Walter Roberson il 21 Gen 2013
reduced_Y_dct = y_dct(1:6);
  2 Commenti
jenifer
jenifer il 21 Gen 2013
sir they mentioned " first few coefficients are non linearly quantized using 64 and 32 for DC and AC coefficients"..
Walter Roberson
Walter Roberson il 21 Gen 2013
I do not see the relevance of that. You asked how to reduce down to 6 coefficients for Y and I showed you. If you want to reduce to a particular number of DC coefficients and a particular number of AC coefficients, then say so, and indicate which variables the DC and AC coefficients are stored in.

Accedi per commentare.


Elad
Elad il 6 Lug 2013
Change the code such that you choose the number of coefficients (clusters) you want for each color plane.

Categorie

Scopri di più su Modify Image Colors in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by