Hi can any one help me.
I want to scan each pixel in a output image of sobel vertical edge image.
start from top-left, scan once i get a pixel i mark it a start pixel and go forward in same line by shifting the point to a MAX intervell that i give. (Eg : MaxIntervel = 30)
But i want scan back word after shifting the point to max intervel,to fix a end point.
To make it more clear see this.
Row pixel
1(starting point) 25 30(Maxintervel)
function new_image = fill_function(Image, start_row, start_col, interval)
if Image(start_row, start_col) == 1 && Image(start_row, start_col + interval + 1) == 1
for i = 1:interval
Image(start_row, start_col + i) = 1;
end
end
new_image = Image;
end
I want to fix 25 as end point and fill 1 to 25 with a threshold value white pixel...
How to do it can any one help me
Thank You
Manoj