Computing Color Gaussian Kernel
Afficher commentaires plus anciens
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 commentaires
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
le 18 Fév 2013
Réponses (1)
Image Analyst
le 18 Fév 2013
0 votes
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 commentaires
Algorithms Analyst
le 18 Fév 2013
Image Analyst
le 18 Fév 2013
No. Uk = U(rowAtSomePixel, columnForThatSamePixel).
Algorithms Analyst
le 18 Fév 2013
Image Analyst
le 18 Fév 2013
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
le 18 Fév 2013
Image Analyst
le 18 Fév 2013
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
le 18 Fév 2013
Image Analyst
le 18 Fév 2013
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
le 19 Fév 2013
Algorithms Analyst
le 19 Fév 2013
Algorithms Analyst
le 19 Fév 2013
Algorithms Analyst
le 19 Fév 2013
Image Analyst
le 19 Fév 2013
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
le 20 Fév 2013
Algorithms Analyst
le 20 Fév 2013
Catégories
En savoir plus sur Spectral Measurements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!