I have a file that contains the coordinates of two points that make up a line. When I plot these lines, I notice that there are areas where the lines intersect more often. These points are identified as the areas where the yellow patterns are the thinnest on the plot. To make it easier to locate these points accurately, I plot them as a 2D histogram.
However, even with the 2D histogram, it's still a bit challenging to identify these points precisely. Therefore, I am wondering if anyone knows of an algorithm that can be used to find these points where the lines intersect most frequently. Any suggestions or ideas would be greatly appreciated.