stics:<a name="7"></a></b><pre class="codeinput">mean2(im)
var2(im)
skew2(im)
kurt2(im)
entropy2(im)
imStats(im)
</pre>
<pre class="codeoutput">
ans =

  107.7522


ans =

   1.3772e+03


ans =

   -0.3853


ans =

    3.4430


ans =

    6.8841

Image statistics:
  Range: [0.000000, 237.000000]
  Mean: 107.752213,  Stdev: 37.111143,  Kurtosis: 3.442999
</pre>
<h2>Synthetic images.  First pick some parameters:<a name="8"></a></h2>
<pre class="codeinput">
sz = 200;
dir = 2*pi*rand(1)
slope = 10*rand(1)-5
int