gt;::max_value();</div><div class="line">assert(src_channel == 1);</div><div class="line"></div><div class="line"><span class="comment">// uint8_t is 8-bit unsigned integral channel (aliased from unsigned char)</span></div><div class="line">uint8_t dst_channel = channel_convert&lt;uint8_t&gt;(src_channel);</div><div class="line">assert(dst_channel == 255);     <span class="comment">// max value goes to max value</span></div></div><!-- fragment --> </div><!-- contents -->
     <!-- HTML footer for doxygen 1.