In a multi-line binary image with different slopes and center points. How do you find the coordinate where most lines intersect? (it should be close where the red arrow points)
Thanks in advance
In this case, it seems the point of interest is also the point with the highest density of white pixels, so you could apply some smoothing filter and then find the highest value in the matrix. Here's an example using a very simple 10x10 pixel average.
w=ones(10,10); A=conv2(I,w/numel(w),'same') imagesc(A) colormap(gca,'jet')
Have you considered dbscan?
MATLAB Code for it: