calculating an expression in an efficient way
Mostra commenti meno recenti
I have binary image size mxn with K number of 1's at different location (Xk,Yk). Now i want to produce a spatial voting image such that each point (1's) has the highest vote at its spatial coordinate (Xk, Yk), and its votes decrease with respect to the spatial distance. So voting matrix for X = 1.....m and Y=1.....n, can be calulated with formula shown in picuture.
standard deviation sigma can be left as 1.
So how to calculate that expression in an efficient way?
Thanks
Risposte (1)
Sukuchha
il 16 Ott 2012
Categorie
Scopri di più su Convert Image Type in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!