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!