Page 1 of 1

template matching takes so long and gets stuck

Posted: May 8th, 2019, 12:19 am
by yun
I have a template including about 100 blobs, the template matching takes hours and couldn't finish. It always gets stuck there. How can I fix it?

Re: template matching takes so long and gets stuck

Posted: May 8th, 2019, 8:53 am
by qtao
It should not take that long if the matching settings are reasonable. I just tested matching with about 700 blobs. It took about a couple of seconds.

If some matching settings are set too big, matching could take much longer time. Also, if template peaks have qCLIC set, it will take more time to compute qCLIC such as match factors. But it still won't take that long to match.

Double check Configure > Settings > Template Matching
  • Set Search Space back to defaults;
  • Set Distance Threshold smaller.
If the RT variation is reasonable, Distance Thresholds can be set based on average peak widths. Usually Col I Threshold is around 3-5 (modulation periods), and Col II Threshold needs to be bigger (i.e. 5-20 sampling intervals) because RT2 has higher variation.

If the template is completely misaligned, you may want to use Template > Interactive Match and Transform to manually adjust the template first.