Channels == 3 || numChannels == 4) &lt;&lt; <span class="stringliteral">&quot;unexpected &quot;</span> &lt;&lt; numChannels;</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">bool</span> hasAlpha = numChannels == 4;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;  cv::Mat imageMat = <a class="code" href="namespacefb360__dep_1_1cv__util.html#a851df77e14ea190fb7da3cf64e268c6d">co