= b).$$</p>
    </div>
    <div id="-absdif-">
    <h2>'absdif'</h2>
    

<p>All parameters \(\theta_{a,b,r}\) with the same absolute difference
between \(a\) and \(b\) must be equal within each relative position
\(r\). (Note that <code>'absdif'</code> is equal to <code>'oneeach'</code> for binary images).</p>
<p>$$\theta_{a,b,r} = \sum_d \phi_{d,r} * 1(|a-b| == d)$$</p>
    </div>
    <div id="-dif-">
    <h2>'dif'</h2>
    

<p>The same as <code>'absdif'</code>, but parameters may differ between positive