emantics</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">// NOTE: uses normal coordinate convention, i.e. integer pixel corners. NOT OPENCV&#39;s</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> ResultType = T&gt;</div><div class="line"><a name="l00107"></a><span class="lineno"><a clas