Computing Color Gaussian Kernel
显示 更早的评论
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 个评论
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
2013-2-18
回答(1 个)
Image Analyst
2013-2-18
0 个投票
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
2013-2-18
Image Analyst
2013-2-18
No. Uk = U(rowAtSomePixel, columnForThatSamePixel).
Algorithms Analyst
2013-2-18
Image Analyst
2013-2-18
That's a good approach. One of them is the pixel at the center of a sliding window - the Gaussian slides around your image. The other is one of the other pixels in the window, say one of the other 8 pixels surrounding the center pixel.
Algorithms Analyst
2013-2-18
Image Analyst
2013-2-18
Sorry, no I don't have time, as I said in your duplicate post, and as you said in this post " I am not expecting from anyone to implement it." FAQ: http://matlab.wikia.com/wiki/FAQ#Can_you_program_up_the_algorithm_in_this_article_for_me_and_explain_it_to_me.3F
Algorithms Analyst
2013-2-18
Image Analyst
2013-2-18
You need a pair of nested for loops to index over rows and columns to get the value from every pixel in the window.
for windowRow = -1 : 1
row = pixelsRow + windowRow;
for windowCol = -1 : 1
col = pixelsCol + windowCol;
% Now do something with U(row, col).
end
end
pixelsRow and pixelsCol change - they're the center of the window as it moves around the image. You might have two outer loops over them.
Algorithms Analyst
2013-2-19
Algorithms Analyst
2013-2-19
Algorithms Analyst
2013-2-19
Algorithms Analyst
2013-2-19
Image Analyst
2013-2-19
I'm not going to have time to work on this. Certainly not today, if ever. http://matlab.wikia.com/wiki/FAQ#Can_you_program_up_the_algorithm_in_this_article_for_me_and_explain_it_to_me.3F
Algorithms Analyst
2013-2-20
Algorithms Analyst
2013-2-20
类别
在 帮助中心 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!