Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to scan pixel and fill gaps.
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.
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;
new_image = Image;
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