convertion of 64 coefficients into 12 coefficients
2 次查看(过去 30 天)
显示 更早的评论
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..
0 个评论
回答(2 个)
Walter Roberson
2013-1-21
reduced_Y_dct = y_dct(1:6);
2 个评论
Walter Roberson
2013-1-21
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.
Elad
2013-7-6
Change the code such that you choose the number of coefficients (clusters) you want for each color plane.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modify Image Colors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!