This is my first post.
I need to remove H and V white lines with black background. The result is a grid generated using -canny 0x1+10%+25%.
The main problem is that the grid is slightly leaning:
I have tried with:
Code: Select all
convert source.jpg -morphology Thinning "1x14: 1,1,1,1,1,1,1,1,1,1,1,1,1,1" -morphology Thinning "14x3: 0,0,0,0,0,0,0,0,0,0,0,0,0,0 1,1,1,1,1,1,1,1,1,1,1,1,1,1 0,0,0,0,0,0,0,0,0,0,0,0,0,0" destination.jpg
Thank you.