From: Punkaj on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <6c07c67d-9fc0-4116-8711-79a58953ce78(a)e1g2000yqe.googlegroups.com>...
> I can't think of anything quick without putting a lot more work into
> it, which I can't afford to spend. But good luck with it.

I am still working on this problem and i have another question.

the image is represented as image(x,y,intensity)...to find the distance from a blank point from a data point, i need the (x,y) coordinate values of the image to plug into euc. distance formula. How do I obtain each of these in order to plug into the equation.

for example, if I want distance from point (510,444) to all data points how can I write an equation where a=510, and b=444, so that I can plug these into the equation, also this would be required for the rest of the data points.

sqrt( y-(all y-data).^2 + x-(all x-data).^2)

thanks any advice would help...i realize this is probably fairly basic but im pretty new to matlab esp images..