an_lines_fund = envelopeDetection(scan_lines_fund);
scan_lines_harm = envelopeDetection(scan_lines_harm);
</pre>

<p></p>
<p><b>5. Log Compression</b></p>
<p>The dynamic range of the processed scan lines often exceeds the gray scale range that can be displayed by a computer monitor or visually perceived. To reduce this dynamic range, the scan lines are log compressed using <code><a href="logCompression.html">logCompression</a></code> with a normalised compression ratio of 3.</p>

<pre class="codeinput">
<sp