From: Sami Oueslati on
I have a picture with white circles scattered in picture and my problem consists in discerning every white point and drawing a white line along the vertical axis and passing by this point.
Here is the code that I wrote but this does not work for me. I'm little starting in Matlab that's why...

function b=Ver(a)
[row col]=size(a)
For x=1:1:row
For y=1:1:col
if a(x,y)=1
b(:,y)=1;
else
b=a;
end
end
end
imshow(b);
 | 
Pages: 1
Prev: How to load data with NA
Next: homogeneous points