Computing Color Gaussian Kernel

조회 수: 11 (최근 30일)
Algorithms Analyst
Algorithms Analyst 2013년 2월 18일
Can anybody help me how to compute the color Gaussian Kernel described in the paper.I am confused what is Uj and Uk.
Thanks
  댓글 수: 2
José-Luis
José-Luis 2013년 2월 18일
편집: José-Luis 2013년 2월 18일
What have you done so far? What specific Matlab problems have you encountered in your implementation? Do you seriously expect someone to read a Paper and give you the code? For that please try the file exchange. Otherwise, people generally get paid for such tasks.
Algorithms Analyst
Algorithms Analyst 2013년 2월 18일
I am not expecting from anyone to implement it.As I have impelemnt it uptill Spatial Gaussian Kernel.Just need to get idea what is Uk and Uj for computing Color Gassian Kernel?For color Quantization I transformed rgbimage into YUV color space and then I selected only two of them U and V as described in the paper then I reduce UV image using Kmeans algorithm upto 40 after that I computer Spatial Gaussian Kernel now the Problem is how to compute du and dv as they did not described in detail what is Uk and UJ?I assumed they are two different clusters in U image?thats why i need to clear myself.
Thanks.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2013년 2월 18일
You compute the YUV image from the RGB image. The Uk and Uj are just pixel values from the U image, taken from different locations, location j and location k. They are not clusters.
  댓글 수: 15
Algorithms Analyst
Algorithms Analyst 2013년 2월 20일
thanx.I appreciate you...
Algorithms Analyst
Algorithms Analyst 2013년 2월 20일
But if you have time then you can guide me.AS you told I did it like that
Image=imread('Uimage');
imageWidth = size(image, 2);
imageHeight = size(image, 1);
windowWidth = 100;
windowHeight = 100;
for j = 1:imageHeight - windowHeight + 1
for i = 1:imageWidth - windowWidth + 1
slidingwindow = image(j:j + windowHeight - 1, i:i + windowWidth - 1, :);
end
end
%%Now I got the sliding window and need to compute the centre pixels
center_pixels=floor(([x y z]+1)/2);
[pixelsrow pixelscol]=size(centre_pixel);
for windowrow=-1:1 row=pixelsrow+windowrow;
for windowcol=-1:1
col=pixelscol+windowcol
Uk=UImage(row);
Uj=UImage(col); end end
Thankyou once again for you concern.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by