

<pre><code>void ccv_swt(ccv_dense_matrix_t* a, ccv_dense_matrix_t** b, int type, ccv_swt_param_t params)
</code></pre>

<p>Compute the Stroke-Width-Transform image.</p>

<ul>
  <li><strong>a</strong>: the input matrix.</li>
  <li><strong>b</strong>: the output matrix.</li>
  <li><strong>type</strong>: the type of the output matrix, if 0, ccv will default to CCV_32S | CCV_C1.</li>
  <li><strong>params</strong>: a <strong>ccv_swt_param_t</strong> structure that defines various aspect of the SWT function.</l