yr,pind);
</pre><img vspace="5" hspace="5" src="HTML/matlabPyrTools_23.png" alt=""> <h2>Steerable pyramid, constructed in frequency domain:<a name="18"></a></h2><pre class="codeinput"><span class="comment">%[pyr,pind] = buildSFpyr(im,5-imSubSample,4);  %5 orientation bands</span>
[pyr,pind] = buildSFpyr(im);  <span class="comment">%5 orientation bands</span>
showSpyr(pyr,pind);
res = reconSFpyr(pyr,pind);
imStats(im,res);
</pre><pre class="codeoutput">Difference statistics:
  Range: [-1.176482e-05, 1.176482