/usr/share/doc/liblqr-1-0-dev/html/ref-lqr-carver-set-energy-function-builtin.html is in liblqr-1-0-dev 0.4.1-2.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lqr_carver_set_energy_function_builtin</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="The Liquid Rescale library Manual"><link rel="up" href="ref-energy.html" title="Energy"><link rel="prev" href="ref-energy.html" title="Energy"><link rel="next" href="ref-lqr-carver-set-energy-function.html" title="lqr_carver_set_energy_function"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><code class="function">lqr_carver_set_energy_function_builtin</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref-energy.html">Prev</a> </td><th width="60%" align="center">Energy</th><td width="20%" align="right"> <a accesskey="n" href="ref-lqr-carver-set-energy-function.html">Next</a></td></tr></table><hr></div><div class="refentry" title="lqr_carver_set_energy_function_builtin"><a name="ref-lqr-carver-set-energy-function-builtin"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lqr_carver_bias_set_energy_function_builtin — set a builtin energy function for a <code class="classname">LqrCarver</code> object</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include <lqr.h></pre><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">LqrRetVal <b class="fsfunc">lqr_carver_set_energy_function_builtin</b>(</code></td><td>LqrCarver* <var class="pdparam">carver</var>, </td></tr><tr><td> </td><td>LqrEnergyFuncBuiltinType <var class="pdparam">ef_ind</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1" title="Description"><a name="idp8671424"></a><h2>Description</h2><p>
The function <code class="function">lqr_carver_set_energy_function_builtin</code> allows to pick a
builtin energy function for the <code class="classname">LqrCarver</code> object pointed to by <em class="parameter"><code>carver</code></em>.
</p><p>
The possible values for <em class="parameter"><code>ef_ind</code></em> are:
</p><div class="variablelist"><dl><dt><span class="term"><code class="literal">LQR_EF_GRAD_XABS</code></span></dt><dd><p>
absolute value of the brightness gradient in the direction of the rescaling
(this is the default)
</p></dd><dt><span class="term"><code class="literal">LQR_EF_GRAD_SUMABS</code></span></dt><dd><p>
sum of absolute values of the brightness gradients in both directions
</p></dd><dt><span class="term"><code class="literal">LQR_EF_GRAD_NORM</code></span></dt><dd><p>
norm of the brightness gradient
</p></dd><dt><span class="term"><code class="literal">LQR_EF_LUMA_GRAD_XABS</code></span></dt><dd><p>
absolute value of the luma gradient in the direction of the rescaling
</p></dd><dt><span class="term"><code class="literal">LQR_EF_LUMA_GRAD_SUMABS</code></span></dt><dd><p>
sum of absolute values of the luma gradients in both directions
</p></dd><dt><span class="term"><code class="literal">LQR_EF_LUMA_GRAD_NORM</code></span></dt><dd><p>
norm of the luma gradient
</p></dd><dt><span class="term"><code class="literal">LQR_EF_NULL</code></span></dt><dd><p>
null
</p></dd></dl></div><p>
</p><p>
All of the above gradient functions have a radius of 1 pixel.
</p></div><div class="refsect1" title="Return value"><a name="idp8691520"></a><h2>Return value</h2><p>
The return value follows the Liquid Rescale library signalling system.
</p></div><div class="refsect1" title="See also"><a name="idp8692928"></a><h2>See also</h2><p>
<span class="simplelist"><a class="xref" href="ref-lqr-carver-set-energy-function.html" title="lqr_carver_set_energy_function"><span class="refentrytitle"><code class="function">lqr_carver_set_energy_function</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-get-energy.html" title="lqr_carver_get_energy"><span class="refentrytitle"><code class="function">lqr_carver_get_energy</code></span>(3)</a></span>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref-energy.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-energy.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ref-lqr-carver-set-energy-function.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Energy </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <code class="function">lqr_carver_set_energy_function</code></td></tr></table></div></body></html>
|