Hello I have a X-ray image. There is a n*m grid in the image (It has n*m cells). User may click on the image and I want to get the cell edges (a stretched rectangle) around the point.
The difficuilty here is there might be some noises on the image so I cannot simply judge the cell edge by checking rgb value. For example: 1, In the cell, the left part background may be blacker than the right one. 2, There might be some pixels in the image, they are even blacker than the cell edges.