Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7392c77c84ff25edfeb07995a77d5148 > files > 346

steghide-0.5.1-11mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>steghide: BmpRGBSampleValue Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>BmpRGBSampleValue Class Reference</h1><!-- doxytag: class="BmpRGBSampleValue" --><!-- doxytag: inherits="BmpSampleValue" -->a sample in a bmp rgb (i.e. 24-bit) file  

<p>
<code>#include &lt;<a class="el" href="BmpRGBSampleValue_8h_source.html">BmpRGBSampleValue.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for BmpRGBSampleValue:</div>
<div class="dynsection">

<p><center><img src="classBmpRGBSampleValue.png" usemap="#BmpRGBSampleValue_map" border="0" alt=""></center>
<map name="BmpRGBSampleValue_map">
<area href="classBmpSampleValue.html" alt="BmpSampleValue" shape="rect" coords="0,56,135,80">
<area href="classSampleValue.html" alt="SampleValue" shape="rect" coords="0,0,135,24">
</map>
</div>

<p>
<a href="classBmpRGBSampleValue-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#2038cd4fa8aa78195078db8a40e8af50">BmpRGBSampleValue</a> (<a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> r, <a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> g, <a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> b)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#0b9ae2be392fe5f69f8e44fa1ac281af">BmpRGBSampleValue</a> (<a class="el" href="classRGBTriple.html">RGBTriple</a> t)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#6b8592979b076e06aa233e3f586ac999">UWORD32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#558ea1a6a1cc8fe882daef7b1d75be4b">calcDistance</a> (const <a class="el" href="classSampleValue.html">SampleValue</a> *s) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSampleValue.html">SampleValue</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#6d73441a935ae235e87e9bc68b3649b1">getNearestTargetSampleValue</a> (<a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a> t) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#07efa1e868fed53a78d2b0ed1f9fced0">getName</a> (void) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#0d0b4acb960d7024e8560605260bd488">getRed</a> (void) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#4a9db68fe15d0b3fa761d3dd7bae900a">getGreen</a> (void) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#3503f564c0a1d56bf91ad2f129f2948c">getBlue</a> (void) const </td></tr>

<tr><td colspan="2"><br><h2>Private Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d">COLOR</a> { <a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d4d2386856b553e3831419719cf284704">RED</a>, 
<a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d1c65467ddf0f5d047a09cb2e772e1140">GREEN</a>, 
<a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d4f80e6362ff5d7e0e27950d7d18ca7de">BLUE</a>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#c0d93f8972ad38b753b94df6991f77f6">DIRECTION</a> { <a class="el" href="classBmpRGBSampleValue.html#c0d93f8972ad38b753b94df6991f77f6c51fc636bcbf6661c93467e2e7ca2130">UP</a>, 
<a class="el" href="classBmpRGBSampleValue.html#c0d93f8972ad38b753b94df6991f77f60a44fea06b72341ea0b8c0984d2ed71b">DOWN</a>
 }</td></tr>

<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#6b8592979b076e06aa233e3f586ac999">UWORD32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#9c4b9dc6200cb84def939130d3e36293">calcKey</a> (const <a class="el" href="classRGBTriple.html">RGBTriple</a> &amp;rgb) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#33f170ceac33b2565b052e8d739c90f4">calcEValue</a> (const <a class="el" href="classRGBTriple.html">RGBTriple</a> &amp;rgb) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#2a0ae215b46892ec115c507ea5b1e6b9">plus</a> (<a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> a, <a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> b) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#40d7043f05eea0685d40dea51c318c91">minus</a> (<a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> a, <a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> b) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#d25d858c9d2968fc91495576d3da3908">addNTSVCandidates</a> (std::vector&lt; <a class="el" href="classRGBTriple.html">RGBTriple</a> &gt; &amp;cands, const <a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> cube[3][2], <a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d">COLOR</a> fc, <a class="el" href="classBmpRGBSampleValue.html#c0d93f8972ad38b753b94df6991f77f6">DIRECTION</a> fd, <a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d">COLOR</a> i1, <a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d">COLOR</a> i2, <a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a> t) const </td></tr>

<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classRGBTriple.html">RGBTriple</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBmpRGBSampleValue.html#48f3be8e29c6e6689a7e8456fe298c3f">Color</a></td></tr>

</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="1e5208b4f0d09c8f61d78cdfd5488d3d"></a><!-- doxytag: member="BmpRGBSampleValue::COLOR" ref="1e5208b4f0d09c8f61d78cdfd5488d3d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d">BmpRGBSampleValue::COLOR</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="1e5208b4f0d09c8f61d78cdfd5488d3d4d2386856b553e3831419719cf284704"></a><!-- doxytag: member="RED" ref="1e5208b4f0d09c8f61d78cdfd5488d3d4d2386856b553e3831419719cf284704" args="" -->RED</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1e5208b4f0d09c8f61d78cdfd5488d3d1c65467ddf0f5d047a09cb2e772e1140"></a><!-- doxytag: member="GREEN" ref="1e5208b4f0d09c8f61d78cdfd5488d3d1c65467ddf0f5d047a09cb2e772e1140" args="" -->GREEN</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1e5208b4f0d09c8f61d78cdfd5488d3d4f80e6362ff5d7e0e27950d7d18ca7de"></a><!-- doxytag: member="BLUE" ref="1e5208b4f0d09c8f61d78cdfd5488d3d4f80e6362ff5d7e0e27950d7d18ca7de" args="" -->BLUE</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

</div>
</div><p>
<a class="anchor" name="c0d93f8972ad38b753b94df6991f77f6"></a><!-- doxytag: member="BmpRGBSampleValue::DIRECTION" ref="c0d93f8972ad38b753b94df6991f77f6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classBmpRGBSampleValue.html#c0d93f8972ad38b753b94df6991f77f6">BmpRGBSampleValue::DIRECTION</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="c0d93f8972ad38b753b94df6991f77f6c51fc636bcbf6661c93467e2e7ca2130"></a><!-- doxytag: member="UP" ref="c0d93f8972ad38b753b94df6991f77f6c51fc636bcbf6661c93467e2e7ca2130" args="" -->UP</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="c0d93f8972ad38b753b94df6991f77f60a44fea06b72341ea0b8c0984d2ed71b"></a><!-- doxytag: member="DOWN" ref="c0d93f8972ad38b753b94df6991f77f60a44fea06b72341ea0b8c0984d2ed71b" args="" -->DOWN</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2038cd4fa8aa78195078db8a40e8af50"></a><!-- doxytag: member="BmpRGBSampleValue::BmpRGBSampleValue" ref="2038cd4fa8aa78195078db8a40e8af50" args="(BYTE r, BYTE g, BYTE b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BmpRGBSampleValue::BmpRGBSampleValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td>
          <td class="paramname"> <em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td>
          <td class="paramname"> <em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="0b9ae2be392fe5f69f8e44fa1ac281af"></a><!-- doxytag: member="BmpRGBSampleValue::BmpRGBSampleValue" ref="0b9ae2be392fe5f69f8e44fa1ac281af" args="(RGBTriple t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BmpRGBSampleValue::BmpRGBSampleValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRGBTriple.html">RGBTriple</a>&nbsp;</td>
          <td class="paramname"> <em>t</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d25d858c9d2968fc91495576d3da3908"></a><!-- doxytag: member="BmpRGBSampleValue::addNTSVCandidates" ref="d25d858c9d2968fc91495576d3da3908" args="(std::vector&lt; RGBTriple &gt; &amp;cands, const BYTE cube[3][2], COLOR fc, DIRECTION fd, COLOR i1, COLOR i2, EmbValue t) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BmpRGBSampleValue::addNTSVCandidates           </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classRGBTriple.html">RGBTriple</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>cands</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td>
          <td class="paramname"> <em>cube</em>[3][2], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d">COLOR</a>&nbsp;</td>
          <td class="paramname"> <em>fc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classBmpRGBSampleValue.html#c0d93f8972ad38b753b94df6991f77f6">DIRECTION</a>&nbsp;</td>
          <td class="paramname"> <em>fd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d">COLOR</a>&nbsp;</td>
          <td class="paramname"> <em>i1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classBmpRGBSampleValue.html#1e5208b4f0d09c8f61d78cdfd5488d3d">COLOR</a>&nbsp;</td>
          <td class="paramname"> <em>i2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a>&nbsp;</td>
          <td class="paramname"> <em>t</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
add candidates for the nearest target sample value <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cands</em>&nbsp;</td><td>the candidates vector </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cube</em>&nbsp;</td><td>the color values describing the current search cube </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fc</em>&nbsp;</td><td>the fixed color </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fd</em>&nbsp;</td><td>the fixed side of the fixed color </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="558ea1a6a1cc8fe882daef7b1d75be4b"></a><!-- doxytag: member="BmpRGBSampleValue::calcDistance" ref="558ea1a6a1cc8fe882daef7b1d75be4b" args="(const SampleValue *s) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#6b8592979b076e06aa233e3f586ac999">UWORD32</a> BmpRGBSampleValue::calcDistance           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSampleValue.html">SampleValue</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
calculate the distance between the sample value s and this sample value <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>s</em>&nbsp;</td><td>a sample value of the same type as this </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the distance </dd></dl>

<p>Reimplemented from <a class="el" href="classBmpSampleValue.html#591a3a5d7dcc61fde3fd1e37906e1781">BmpSampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="33f170ceac33b2565b052e8d739c90f4"></a><!-- doxytag: member="BmpRGBSampleValue::calcEValue" ref="33f170ceac33b2565b052e8d739c90f4" args="(const RGBTriple &amp;rgb) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a> BmpRGBSampleValue::calcEValue           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classRGBTriple.html">RGBTriple</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rgb</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="9c4b9dc6200cb84def939130d3e36293"></a><!-- doxytag: member="BmpRGBSampleValue::calcKey" ref="9c4b9dc6200cb84def939130d3e36293" args="(const RGBTriple &amp;rgb) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#6b8592979b076e06aa233e3f586ac999">UWORD32</a> BmpRGBSampleValue::calcKey           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classRGBTriple.html">RGBTriple</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rgb</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="3503f564c0a1d56bf91ad2f129f2948c"></a><!-- doxytag: member="BmpRGBSampleValue::getBlue" ref="3503f564c0a1d56bf91ad2f129f2948c" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> BmpRGBSampleValue::getBlue           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the blue color component 
<p>Implements <a class="el" href="classBmpSampleValue.html#0c31d4428158c7c6017935ac03254b26">BmpSampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="4a9db68fe15d0b3fa761d3dd7bae900a"></a><!-- doxytag: member="BmpRGBSampleValue::getGreen" ref="4a9db68fe15d0b3fa761d3dd7bae900a" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> BmpRGBSampleValue::getGreen           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the green color component 
<p>Implements <a class="el" href="classBmpSampleValue.html#5d646a4082648a5b63323167553066ab">BmpSampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="07efa1e868fed53a78d2b0ed1f9fced0"></a><!-- doxytag: member="BmpRGBSampleValue::getName" ref="07efa1e868fed53a78d2b0ed1f9fced0" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string BmpRGBSampleValue::getName           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
return a short name uniquely identifying this sample value 
<p>Implements <a class="el" href="classSampleValue.html#eaf5c46ec6d023840e9773604b20d25c">SampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="6d73441a935ae235e87e9bc68b3649b1"></a><!-- doxytag: member="BmpRGBSampleValue::getNearestTargetSampleValue" ref="6d73441a935ae235e87e9bc68b3649b1" args="(EmbValue t) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSampleValue.html">SampleValue</a> * BmpRGBSampleValue::getNearestTargetSampleValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a>&nbsp;</td>
          <td class="paramname"> <em>t</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the nearest (with the least distance to this sample value) sample value whose embedded value equals the specified target <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>t</em>&nbsp;</td><td>the target embedded value</td></tr>
  </table>
</dl>
If two or more target sample values have equal distance each of them should be returned with equal probability.<p>
The returned <a class="el" href="classSampleValue.html" title="the value of a sample in a CvrStgFile">SampleValue</a> object should be deleted by the callser. 
<p>Implements <a class="el" href="classSampleValue.html#eca3fc1fd34c09d2244706b010935c2c">SampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="0d0b4acb960d7024e8560605260bd488"></a><!-- doxytag: member="BmpRGBSampleValue::getRed" ref="0d0b4acb960d7024e8560605260bd488" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> BmpRGBSampleValue::getRed           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the red color component 
<p>Implements <a class="el" href="classBmpSampleValue.html#8665a4c4db9ac910abf4ec0738cfde68">BmpSampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="40d7043f05eea0685d40dea51c318c91"></a><!-- doxytag: member="BmpRGBSampleValue::minus" ref="40d7043f05eea0685d40dea51c318c91" args="(BYTE a, BYTE b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> BmpRGBSampleValue::minus           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td>
          <td class="paramname"> <em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
substract the BYTE b from the BYTE a <dl class="return" compact><dt><b>Returns:</b></dt><dd>max(0, a - b) </dd></dl>

</div>
</div><p>
<a class="anchor" name="2a0ae215b46892ec115c507ea5b1e6b9"></a><!-- doxytag: member="BmpRGBSampleValue::plus" ref="2a0ae215b46892ec115c507ea5b1e6b9" args="(BYTE a, BYTE b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a> BmpRGBSampleValue::plus           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td>
          <td class="paramname"> <em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="common_8h.html#4ae1dab0fb4b072a66584546209e7d58">BYTE</a>&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
add the BYTEs a and b <dl class="return" compact><dt><b>Returns:</b></dt><dd>min(255, a + b) </dd></dl>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="48f3be8e29c6e6689a7e8456fe298c3f"></a><!-- doxytag: member="BmpRGBSampleValue::Color" ref="48f3be8e29c6e6689a7e8456fe298c3f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRGBTriple.html">RGBTriple</a> <a class="el" href="classBmpRGBSampleValue.html#48f3be8e29c6e6689a7e8456fe298c3f">BmpRGBSampleValue::Color</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="BmpRGBSampleValue_8h_source.html">BmpRGBSampleValue.h</a><li><a class="el" href="BmpRGBSampleValue_8cc.html">BmpRGBSampleValue.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Aug 17 10:58:31 2009 for steghide by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>