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!