hi,
I think you want to match that nucleus (white region),correct?
Why are you preferring pattern matching only? Please go through various examples. There are far better methods than pattern matching.
Note: In your case it is possible to trace the nucleus but you have to add some preprocessing algorithm(like filters/grey morphology etc.)on template as well as on test image.
The NI example you shared it is matching of pattern but of similar kind of template and test image. Your template (unstained) and test image(stained) both seems to be different
If you want to stick to the pattern matching you can select smaller region, saving different templates for match otherwise I would recommend to go with the particle analysis with the thresholding approach.
Please let us know.