Hi K_seeker,
Unfortunately it is not currently possible to mask a particular part of an image when performing a pattern match. I believe that you may have spoken with Jesse earlier today and he has mentioned that there should be an application specific solution for you in this instance. I would continue contact with him and we can work out a solution!
Take care,
Robert