age-class.html">Image</a></code> object. Note that <code>target</code> has to be an
  8-bit ("8U") single-channel image with the same dimensions as <code>image</code>,
  otherwise an error will be thrown.</p></dd>


</dl></dd>

</dl></div>
    <div class="section level2">
    <h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
    <p>If <code>target="new"</code>, the function returns an <code><a href="Image-class.html">Image</a></code>
 object. If <code>target</code> is an <cod