Identify pixel in the image.
I'm sorry my bad English. But I am Brazilian and I'm not accustomed to English.
I have the following problem:
I'm trying to identify a point (pixel) in an image.
The problem is the following:
Among some dashed lines need to identify where they intersect, or combine. The thickness of the line is 1 pixel. So by logic, where 1 pixel, find 3 neighboring pixels (connected) would be a point to identify. I need to do this to change the value of this pixel and its neighbors. The image is in grayscale. Black lines with
Only those pixels that are neighbors are direct (online) (vertical, horizontal) and Diagonal.
How could I do the reading of the image and find these points?
I am using the class "raster" for reading.
I do not know if I can do this by reading the linear rows and columns. Or if I use a neighborhood algorithm.
How can I solve this problem?
It has an example of an image: (link)
Thank you all!