:Mat_&lt;T&gt;&amp; image, <span class="keyword">const</span> cv::Size&amp; size, <span class="keyword">const</span> <span class="keywordtype">int</span> type = cv::INTER_AREA) {</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  <span class="keywordflow">if</span> (image.empty() || image.size() == size) {</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="keywordflow">return</span> image;</div><div class="line"><a name="l001