i have a table that i want recognize all row and column and extract all content of my table but i have a problem with selecting table
for example:
my code get first point of my table in top left and also get last point of my table in bottom right and extract rectangle
but when i scan my paper ,my table line have noise and can not get exact first and last point
what should i do?
i use from code in
Image Processing for Dummies with C# and GDI+ Part 6 - The HSL color space[
^] and with EdgeDetectHomogenity filter , my line were better but i want line in one column with same index in array
0 is black border of my table
like this
255 255 255 255 0 255 255 255
255 255 255 255 0 255 255 255
255 255 255 255 0 255 255 255
255 255 255 255 0 255 255 255
255 255 255 255 0 255 255 255
not this
255 255 255 255 0 255 255 255
255 255 255 0 255 255 255 255
255 255 255 0 255 255 255 255
255 255 255 255 0 255 255 255
255 255 255 255 255 0 255 255
255 255 255 255 0 255 255 255
how can i move all 0 or black pixel to one column ?
thanks for your help