The pattern is black and white picture, just some intersection. Here you can find such image. Also to note, image can be rotated or proportionaly scaled. About 10,000 image should be in databse.
Here's one example of query image.
I was thinking of using SURF+FLANN, but if more experinced develeoper think there are better suitable algorithms, they can suggest.
Also, the entire source code needs to be included.