/usr/share/doc/mia-2.0/libdoc/classC2DPPDivcurlMatrix.html is in libmia-2.0-doc 2.0.13-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>C2DPPDivcurlMatrix Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">C2DPPDivcurlMatrix Class Reference<div class="ingroups"><a class="el" href="group__registration.html">Image Registration and Transformation</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Precomputed matrix for the DivCurl regularization.
<a href="classC2DPPDivcurlMatrix.html#details">More...</a></p>
<p><code>#include <<a class="el" href="2d_2ppmatrix_8hh_source.html">mia/2d/ppmatrix.hh</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a32d0f7176f21c17670571f8ded8c337b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classC2DPPDivcurlMatrix.html#a32d0f7176f21c17670571f8ded8c337b">C2DPPDivcurlMatrix</a> (const <a class="el" href="2d_2vector_8hh.html#a11b5d262e935234ba1d72bc6423bd2e4">C2DBounds</a> &size, const <a class="el" href="2d_2vector_8hh.html#a1ff708442aa1da9d0b897f04042c7e0c">C2DFVector</a> &range, const <a class="el" href="classCSplineKernel.html">CSplineKernel</a> &kernel, double wd, double wr)</td></tr>
<tr class="separator:a32d0f7176f21c17670571f8ded8c337b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a869bd954299ce99f4d5ff6ef46bb1d66"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classC2DPPDivcurlMatrix.html#a869bd954299ce99f4d5ff6ef46bb1d66">evaluate</a> (const <a class="el" href="2d_2vectorfield_8hh.html#a7d767ad57620614c40e4cc85bb0cff9b">C2DFVectorfield</a> &coefficients, <a class="el" href="group__misc.html#ga763570a5d6b0bf1ff4af8e359d03d938">CDoubleVector</a> &gradient) const </td></tr>
<tr class="separator:a869bd954299ce99f4d5ff6ef46bb1d66"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e4916669a6e3f449e446f915e948d0f"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classC2DPPDivcurlMatrix.html#a3e4916669a6e3f449e446f915e948d0f">evaluate</a> (const <a class="el" href="classT2DDatafield.html">T2DDatafield</a>< <a class="el" href="2d_2vector_8hh.html#a7d2c13545427df8d736c625c1a700e84">C2DDVector</a> > &coefficients, <a class="el" href="group__misc.html#ga763570a5d6b0bf1ff4af8e359d03d938">CDoubleVector</a> &gradient) const </td></tr>
<tr class="separator:a3e4916669a6e3f449e446f915e948d0f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7fb747e2f779725105cc3234d868f85a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="2d_2vector_8hh.html#a11b5d262e935234ba1d72bc6423bd2e4">C2DBounds</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classC2DPPDivcurlMatrix.html#a7fb747e2f779725105cc3234d868f85a">get_size</a> () const </td></tr>
<tr class="separator:a7fb747e2f779725105cc3234d868f85a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47da0a8ba3906973d17666010c5d2a02"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classC2DPPDivcurlMatrix.html#a47da0a8ba3906973d17666010c5d2a02">operator*</a> (const <a class="el" href="2d_2vectorfield_8hh.html#a7d767ad57620614c40e4cc85bb0cff9b">C2DFVectorfield</a> &coefficients) const </td></tr>
<tr class="separator:a47da0a8ba3906973d17666010c5d2a02"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa2a0dfbd56812112592e0da6f605da95"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classC2DPPDivcurlMatrix.html#aa2a0dfbd56812112592e0da6f605da95">operator*</a> (const <a class="el" href="classT2DDatafield.html">T2DDatafield</a>< <a class="el" href="2d_2vector_8hh.html#a7d2c13545427df8d736c625c1a700e84">C2DDVector</a> > &coefficients) const </td></tr>
<tr class="separator:aa2a0dfbd56812112592e0da6f605da95"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae04854c0039d38e6a9dc87e06214a1cb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classC2DPPDivcurlMatrix.html#ae04854c0039d38e6a9dc87e06214a1cb">reset</a> (const <a class="el" href="2d_2vector_8hh.html#a11b5d262e935234ba1d72bc6423bd2e4">C2DBounds</a> &size, const <a class="el" href="2d_2vector_8hh.html#a1ff708442aa1da9d0b897f04042c7e0c">C2DFVector</a> &range, const <a class="el" href="classCSplineKernel.html">CSplineKernel</a> &kernel, double wd, double wr)</td></tr>
<tr class="separator:ae04854c0039d38e6a9dc87e06214a1cb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83a46da93621a336b5399fa84841be8b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classC2DPPDivcurlMatrix.html#a83a46da93621a336b5399fa84841be8b">~C2DPPDivcurlMatrix</a> ()</td></tr>
<tr class="separator:a83a46da93621a336b5399fa84841be8b"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Precomputed matrix for the DivCurl regularization. </p>
<p>Precomputed Matrix for the DivCurl regularization. This class stores the precomputed matrix for the divcurl regislarization of a spline based transformation. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000015">Todo:</a></b></dt><dd>Optimize like the 3D version that only stores the patch of required values instead of building the whole diagonals </dd></dl>
<p>Definition at line <a class="el" href="2d_2ppmatrix_8hh_source.html#l00040">40</a> of file <a class="el" href="2d_2ppmatrix_8hh_source.html">2d/ppmatrix.hh</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a32d0f7176f21c17670571f8ded8c337b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">C2DPPDivcurlMatrix::C2DPPDivcurlMatrix </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="2d_2vector_8hh.html#a11b5d262e935234ba1d72bc6423bd2e4">C2DBounds</a> & </td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="2d_2vector_8hh.html#a1ff708442aa1da9d0b897f04042c7e0c">C2DFVector</a> & </td>
<td class="paramname"><em>range</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCSplineKernel.html">CSplineKernel</a> & </td>
<td class="paramname"><em>kernel</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>wd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>wr</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct the matrix according to the given coefficient field size, the used B-Spline kernel and the divergence and rotational weights </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">size</td><td>coefficient field size </td></tr>
<tr><td class="paramname">range</td><td>full data range </td></tr>
<tr><td class="paramname">kernel</td><td>B-Spline kernel used for the transformation </td></tr>
<tr><td class="paramname">wd</td><td>weight for divergence </td></tr>
<tr><td class="paramname">wr</td><td>weight for rotation (curl) </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a83a46da93621a336b5399fa84841be8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">C2DPPDivcurlMatrix::~C2DPPDivcurlMatrix </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a869bd954299ce99f4d5ff6ef46bb1d66"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double C2DPPDivcurlMatrix::evaluate </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="2d_2vectorfield_8hh.html#a7d767ad57620614c40e4cc85bb0cff9b">C2DFVectorfield</a> & </td>
<td class="paramname"><em>coefficients</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__misc.html#ga763570a5d6b0bf1ff4af8e359d03d938">CDoubleVector</a> & </td>
<td class="paramname"><em>gradient</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Given this matrix P and the coefficient field c evaluate the value for c^T P c </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">coefficients</td><td>B-Spline coefficient field c </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">gradient</td><td>gradient of the divcurl cost </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><c^T, P, c> </dd></dl>
</div>
</div>
<a class="anchor" id="a3e4916669a6e3f449e446f915e948d0f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double C2DPPDivcurlMatrix::evaluate </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classT2DDatafield.html">T2DDatafield</a>< <a class="el" href="2d_2vector_8hh.html#a7d2c13545427df8d736c625c1a700e84">C2DDVector</a> > & </td>
<td class="paramname"><em>coefficients</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__misc.html#ga763570a5d6b0bf1ff4af8e359d03d938">CDoubleVector</a> & </td>
<td class="paramname"><em>gradient</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Given this matrix P and the coefficient field c evaluate the value for c^T P c Specialization for double valued vectors </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">coefficients</td><td>B-Spline coefficient field c </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">gradient</td><td>gradient of the divcurl cost </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><c^T, P, c> </dd></dl>
</div>
</div>
<a class="anchor" id="a7fb747e2f779725105cc3234d868f85a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="2d_2vector_8hh.html#a11b5d262e935234ba1d72bc6423bd2e4">C2DBounds</a>& C2DPPDivcurlMatrix::get_size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>fild size this matrix was created for </dd></dl>
</div>
</div>
<a class="anchor" id="a47da0a8ba3906973d17666010c5d2a02"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double C2DPPDivcurlMatrix::operator* </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="2d_2vectorfield_8hh.html#a7d767ad57620614c40e4cc85bb0cff9b">C2DFVectorfield</a> & </td>
<td class="paramname"><em>coefficients</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Given this matrix P and the coefficient field c evaluate the value for c^T P c </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">coefficients</td><td>B-Spline coefficient field c </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><c^T, P, c> </dd></dl>
</div>
</div>
<a class="anchor" id="aa2a0dfbd56812112592e0da6f605da95"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double C2DPPDivcurlMatrix::operator* </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classT2DDatafield.html">T2DDatafield</a>< <a class="el" href="2d_2vector_8hh.html#a7d2c13545427df8d736c625c1a700e84">C2DDVector</a> > & </td>
<td class="paramname"><em>coefficients</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Given this matrix P and the coefficient field c evaluate the value for c^T P c </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">coefficients</td><td>B-Spline coefficient field c </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><c^T, P, c> </dd></dl>
</div>
</div>
<a class="anchor" id="ae04854c0039d38e6a9dc87e06214a1cb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void C2DPPDivcurlMatrix::reset </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="2d_2vector_8hh.html#a11b5d262e935234ba1d72bc6423bd2e4">C2DBounds</a> & </td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="2d_2vector_8hh.html#a1ff708442aa1da9d0b897f04042c7e0c">C2DFVector</a> & </td>
<td class="paramname"><em>range</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCSplineKernel.html">CSplineKernel</a> & </td>
<td class="paramname"><em>kernel</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>wd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>wr</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>re-initialize the matrix (if the values are changed) </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="2d_2ppmatrix_8hh_source.html">2d/ppmatrix.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 25 2014 23:52:08 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
|