bins is 255.</p></li>
<li><p>Compute the integral of the histogram.</p></li>
<li><p>Transform the image using the integral of the histogram as a look-up
   table.</p></li>
</ul></div>

    <div class="section level2">
    <h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">histEq</span><span class="op">(</span><span class="va">image</span>, target <span class="op">=</span> <span class="st