Computing Color Gaussian Kernel
Mostrar comentarios más antiguos
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 comentarios
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
el 18 de Feb. de 2013
Respuestas (1)
Image Analyst
el 18 de Feb. de 2013
0 votos
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 comentarios
Algorithms Analyst
el 18 de Feb. de 2013
Image Analyst
el 18 de Feb. de 2013
No. Uk = U(rowAtSomePixel, columnForThatSamePixel).
Algorithms Analyst
el 18 de Feb. de 2013
Image Analyst
el 18 de Feb. de 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
el 18 de Feb. de 2013
Image Analyst
el 18 de Feb. de 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
el 18 de Feb. de 2013
Image Analyst
el 18 de Feb. de 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
el 19 de Feb. de 2013
Algorithms Analyst
el 19 de Feb. de 2013
Algorithms Analyst
el 19 de Feb. de 2013
Algorithms Analyst
el 19 de Feb. de 2013
Image Analyst
el 19 de Feb. de 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
el 20 de Feb. de 2013
Algorithms Analyst
el 20 de Feb. de 2013
Categorías
Más información sobre Spectral Measurements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!