diff options
Diffstat (limited to 'doc/html/Bitmap_8h_source.html')
-rw-r--r-- | doc/html/Bitmap_8h_source.html | 486 |
1 files changed, 246 insertions, 240 deletions
diff --git a/doc/html/Bitmap_8h_source.html b/doc/html/Bitmap_8h_source.html index 596d8a3..f5f7c7c 100644 --- a/doc/html/Bitmap_8h_source.html +++ b/doc/html/Bitmap_8h_source.html @@ -28,7 +28,7 @@ <td id="projectlogo"><img alt="Logo" src="logo.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">Templates -- Meow -  <span id="projectnumber">204.13.18</span> +  <span id="projectnumber">1.2.9</span> </div> <div id="projectbrief">A C++ template contains kinds of interesting classes and functions</div> </td> @@ -86,269 +86,275 @@ $(document).ready(function(){initNavTree('Bitmap_8h_source.html','');}); <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a> = std::max(ceil((<span class="keywordtype">double</span>)(sigma * 2)), 0.0);</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  std::vector<double> factor(width + 1 + width);</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> x = 0; x < <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>; x++) {</div> -<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  factor[width - x - 1] = exp(-(<a class="code" href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">squ</a>((<span class="keywordtype">double</span>)x)) / (2.0 * sigma2));</div> -<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  factor[width + x + 1] = exp(-(<a class="code" href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">squ</a>((<span class="keywordtype">double</span>)x)) / (2.0 * sigma2));</div> -<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  }</div> -<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  factor[<a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>] = 1.0;</div> -<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">return</span> factor;</div> -<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div> -<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> -<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">static</span> std::vector<double> gradianceFactor1(<span class="keywordtype">double</span> sigma) {</div> -<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">double</span> sigma2 = <a class="code" href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">squ</a>(sigma), ss = sigma * 2;</div> -<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a> = std::max(ceil(ss), 1.0);</div> -<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  std::vector<double> factor(width + 1 + width);</div> -<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> x = 0; x < <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>; x++) {</div> -<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  factor[width - x - 1] = (<a class="code" href="classdouble.html">double</a>)x * exp(-(<a class="code" href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">squ</a>((<span class="keywordtype">double</span>)x))/(2.0*sigma2));</div> -<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  factor[width + x + 1] = -(<a class="code" href="classdouble.html">double</a>)x * exp(-(<a class="code" href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">squ</a>((<span class="keywordtype">double</span>)x))/(2.0*sigma2));</div> -<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div> -<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  factor[<a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>] = 0.0;</div> -<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">return</span> factor;</div> -<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  }</div> -<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div> -<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> xyBlur(std::vector<double> <span class="keyword">const</span>& factor,</div> -<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  ssize_t dx, ssize_t dy)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> ret(*<span class="keyword">this</span>);</div> -<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">if</span> (factor.size() > 0) {</div> -<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  ssize_t w = factor.size() / 2;</div> -<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> y = 0, Y = <a class="code" href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df">height</a>(); y < Y; y++) {</div> -<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> x = 0, X = <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>(); x < X; x++) {</div> -<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  Pixel sum(0);</div> -<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">double</span> fsum(0);</div> -<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">for</span> (ssize_t i = -w; i <= w; i++) {</div> -<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  ssize_t x2 = (ssize_t)x + dx * i;</div> -<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  ssize_t y2 = (ssize_t)y + dy * i;</div> -<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">if</span> (0 <= x2 && x2 < (ssize_t)X && 0 <= y2 && y2 < (ssize_t)Y) {</div> -<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  sum = sum + <a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(y2, x2) * factor[i + w];</div> -<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  fsum = fsum + fabs(factor[i + w]);</div> -<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div> -<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  }</div> -<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  ret.<a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(y, x, sum / fsum);</div> -<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div> -<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div> -<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div> -<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> ret;</div> -<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div> -<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ab313e096befabd933633cb75b870f75c"> 83</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#ab313e096befabd933633cb75b870f75c">Bitmap</a>() {</div> -<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div> -<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> -<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a2621e8833933b59c0e82e8776f1a6f11"> 89</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#a2621e8833933b59c0e82e8776f1a6f11">Bitmap</a>(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>& b): matrix_(b.matrix_) {</div> -<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div> -<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div> -<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#af4c9896dc2cdc714be5106bef45430c8"> 99</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#af4c9896dc2cdc714be5106bef45430c8">Bitmap</a>(<span class="keywordtype">size_t</span> h, <span class="keywordtype">size_t</span> w, Pixel <span class="keyword">const</span>& p): matrix_(h, w, p) {</div> -<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div> -<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div> -<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a73386b915d50c06f8e15cb6b53e9eb0e"> 105</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#a73386b915d50c06f8e15cb6b53e9eb0e">~Bitmap</a>() {</div> -<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  }</div> -<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div> -<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b"> 111</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>& <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>& b) {</div> -<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#afb81446984f7c27458ccef86be2de413">copyFrom</a>(b.matrix_);</div> -<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> -<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div> -<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div> -<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#affd5f41b44fa6afc55f2a3eb3f01cc4d"> 119</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>& <a class="code" href="classmeow_1_1Bitmap.html#affd5f41b44fa6afc55f2a3eb3f01cc4d">referenceFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>& b) {</div> -<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#a1dbef5b1a46df480f7fa3e118fd12bec">referenceFrom</a>(b.matrix_);</div> -<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> -<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  }</div> -<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div> -<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ae7bcc670d666a784d6e5e8f14b74aa3d"> 132</a></span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Bitmap.html#ae7bcc670d666a784d6e5e8f14b74aa3d">reset</a>(<span class="keywordtype">size_t</span> h, <span class="keywordtype">size_t</span> w, Pixel <span class="keyword">const</span>& p) {</div> -<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#ac17251cb984beb1f74558724a22a0120">reset</a>(h, w, p);</div> -<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  }</div> -<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div> -<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a573af36148f56209f9b537ee446e2867"> 139</a></span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Bitmap.html#a573af36148f56209f9b537ee446e2867">clear</a>() {</div> -<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">size</a>(0, 0, Pixel(0));</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">double</span> e = exp(-(<a class="code" href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">squ</a>((<span class="keywordtype">double</span>)x)) / (2.0 * sigma2));</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  factor[width - x - 1] = e;</div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  factor[width + x + 1] = e;</div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  }</div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  factor[<a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>] = 1.0;</div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">return</span> factor;</div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">static</span> std::vector<double> gradianceFactor1(<span class="keywordtype">double</span> sigma) {</div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">double</span> sigma2 = <a class="code" href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">squ</a>(sigma), ss = sigma * 2;</div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a> = std::max(ceil(ss), 1.0);</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  std::vector<double> factor(width + 1 + width);</div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> x = 0; x < <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>; x++) {</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordtype">double</span> e = exp(-(<a class="code" href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">squ</a>((<span class="keywordtype">double</span>)x)) / (2.0 * sigma2));</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  factor[width - x - 1] = (<a class="code" href="classdouble.html">double</a>)x * e;</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  factor[width + x + 1] = -(<a class="code" href="classdouble.html">double</a>)x * e;</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  }</div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  factor[<a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>] = 0.0;</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> factor;</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> xyBlur(std::vector<double> <span class="keyword">const</span>& factor,</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  ssize_t dx, ssize_t dy)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">if</span> (factor.size() <= 1)</div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> ret(<a class="code" href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df">height</a>(), <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>(), Pixel(0));</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  ssize_t w = factor.size() / 2;</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> y = 0, Y = <a class="code" href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df">height</a>(); y < Y; y++)</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> x = 0, X = <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>(); x < X; x++) {</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  Pixel sum(0);</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">double</span> fsum(0);</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">for</span> (ssize_t i = -w; i <= w; i++) {</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  ssize_t x2 = (ssize_t)x + dx * i;</div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  ssize_t y2 = (ssize_t)y + dy * i;</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span> (0 <= x2 && x2 < (ssize_t)X && 0 <= y2 && y2 < (ssize_t)Y) {</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  sum = sum + <a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(y2, x2) * factor[i + w];</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  fsum = fsum + fabs(factor[i + w]);</div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  ret.<a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(y, x, sum / fsum);</div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  }</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">return</span> ret;</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  }</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ab313e096befabd933633cb75b870f75c"> 84</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#ab313e096befabd933633cb75b870f75c">Bitmap</a>() {</div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div> +<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a2621e8833933b59c0e82e8776f1a6f11"> 90</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#a2621e8833933b59c0e82e8776f1a6f11">Bitmap</a>(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>& b): matrix_(b.matrix_) {</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> +<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ad19026db43db403ae5eb42e9142a6b62"> 96</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#ad19026db43db403ae5eb42e9142a6b62">Bitmap</a>(<a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a> <span class="keyword">const</span>& b): matrix_(b) {</div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  }</div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div> +<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#af4c9896dc2cdc714be5106bef45430c8"> 106</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#af4c9896dc2cdc714be5106bef45430c8">Bitmap</a>(<span class="keywordtype">size_t</span> h, <span class="keywordtype">size_t</span> w, Pixel <span class="keyword">const</span>& p): matrix_(h, w, p) {</div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  }</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div> +<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a73386b915d50c06f8e15cb6b53e9eb0e"> 112</a></span>  <a class="code" href="classmeow_1_1Bitmap.html#a73386b915d50c06f8e15cb6b53e9eb0e">~Bitmap</a>() {</div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div> +<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b"> 118</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>& <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>& b) {</div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#afb81446984f7c27458ccef86be2de413">copyFrom</a>(b.matrix_);</div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div> +<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#affd5f41b44fa6afc55f2a3eb3f01cc4d"> 126</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>& <a class="code" href="classmeow_1_1Bitmap.html#affd5f41b44fa6afc55f2a3eb3f01cc4d">referenceFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>& b) {</div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#a1dbef5b1a46df480f7fa3e118fd12bec">referenceFrom</a>(b.matrix_);</div> +<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div> +<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div> +<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ae7bcc670d666a784d6e5e8f14b74aa3d"> 139</a></span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Bitmap.html#ae7bcc670d666a784d6e5e8f14b74aa3d">reset</a>(<span class="keywordtype">size_t</span> h, <span class="keywordtype">size_t</span> w, Pixel <span class="keyword">const</span>& p) {</div> +<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#ac17251cb984beb1f74558724a22a0120">reset</a>(h, w, p);</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  }</div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div> -<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df"> 146</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df">height</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">rows</a>();</div> +<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a573af36148f56209f9b537ee446e2867"> 146</a></span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Bitmap.html#a573af36148f56209f9b537ee446e2867">clear</a>() {</div> +<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#a0c82b949f5cc6ad2e96a56080eb2b803">clear</a>();</div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div> -<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed"> 153</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">cols</a>();</div> +<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df"> 153</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df">height</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">rows</a>();</div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  }</div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div> -<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a13b986e9310eb100c100fd62fa548233"> 160</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#a13b986e9310eb100c100fd62fa548233">size</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">size</a>();</div> +<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed"> 160</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">width</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">cols</a>();</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  }</div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div> -<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a3887d1c54026fe8ed27fd21a294d8d0a"> 171</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#a3887d1c54026fe8ed27fd21a294d8d0a">height</a>(<span class="keywordtype">size_t</span> h2, Pixel <span class="keyword">const</span>& p) {</div> -<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">rows</a>(h2, p);</div> -<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div> -<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div> -<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a49731792bf45d5c230da50e3897e3061"> 182</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#a49731792bf45d5c230da50e3897e3061">width</a>(<span class="keywordtype">size_t</span> w2, Pixel <span class="keyword">const</span>& p) {</div> -<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">cols</a>(w2, p);</div> -<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  }</div> -<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div> -<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aef0bc77675e4652f885baf03cbcc25ef"> 194</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#aef0bc77675e4652f885baf03cbcc25ef">size</a>(<span class="keywordtype">size_t</span> h2, <span class="keywordtype">size_t</span> w2, Pixel <span class="keyword">const</span>& p) {</div> -<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">size</a>(h2, w2, p);</div> -<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  }</div> -<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div> -<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888"> 205</a></span>  Pixel <a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(<span class="keywordtype">size_t</span> y, <span class="keywordtype">size_t</span> x)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a46a12f45237e654e0140387d7290eb8b">entry</a>(y, x);</div> -<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  }</div> -<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div> -<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#afe97efe50d112a71ee45da6d2bc3e9dc"> 217</a></span>  Pixel <a class="code" href="classmeow_1_1Bitmap.html#afe97efe50d112a71ee45da6d2bc3e9dc">pixel</a>(<span class="keywordtype">size_t</span> y, <span class="keywordtype">size_t</span> x, Pixel <span class="keyword">const</span>& p) {</div> -<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a46a12f45237e654e0140387d7290eb8b">entry</a>(y, x, p);</div> -<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  }</div> -<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div> -<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a17f92dec30f314d832f040257d6d5584"> 233</a></span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Bitmap.html#a17f92dec30f314d832f040257d6d5584">pixels</a>(ssize_t yFirst, ssize_t yLast,</div> -<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  ssize_t xFirst, ssize_t xLast,</div> -<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  Pixel <span class="keyword">const</span>& p) {</div> -<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a13384643dc412817fdcd8f1834a02d12">entries</a>(yFirst, yLast, xFirst, xLast, p);</div> -<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  }</div> -<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div> -<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aa586a08e997e5ae8675e108d84643c81"> 242</a></span>  <a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a> <a class="code" href="classmeow_1_1Bitmap.html#aa586a08e997e5ae8675e108d84643c81">matrix</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordflow">return</span> matrix_;</div> +<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a13b986e9310eb100c100fd62fa548233"> 167</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#a13b986e9310eb100c100fd62fa548233">size</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">size</a>();</div> +<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  }</div> +<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div> +<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a3887d1c54026fe8ed27fd21a294d8d0a"> 178</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#a3887d1c54026fe8ed27fd21a294d8d0a">height</a>(<span class="keywordtype">size_t</span> h2, Pixel <span class="keyword">const</span>& p) {</div> +<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">rows</a>(h2, p);</div> +<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  }</div> +<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div> +<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a49731792bf45d5c230da50e3897e3061"> 189</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#a49731792bf45d5c230da50e3897e3061">width</a>(<span class="keywordtype">size_t</span> w2, Pixel <span class="keyword">const</span>& p) {</div> +<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">cols</a>(w2, p);</div> +<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div> +<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div> +<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aef0bc77675e4652f885baf03cbcc25ef"> 201</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="classmeow_1_1Bitmap.html#aef0bc77675e4652f885baf03cbcc25ef">size</a>(<span class="keywordtype">size_t</span> h2, <span class="keywordtype">size_t</span> w2, Pixel <span class="keyword">const</span>& p) {</div> +<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">size</a>(h2, w2, p);</div> +<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div> +<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div> +<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888"> 212</a></span>  Pixel <a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(<span class="keywordtype">size_t</span> y, <span class="keywordtype">size_t</span> x)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a46a12f45237e654e0140387d7290eb8b">entry</a>(y, x);</div> +<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  }</div> +<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div> +<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#afe97efe50d112a71ee45da6d2bc3e9dc"> 224</a></span>  Pixel <a class="code" href="classmeow_1_1Bitmap.html#afe97efe50d112a71ee45da6d2bc3e9dc">pixel</a>(<span class="keywordtype">size_t</span> y, <span class="keywordtype">size_t</span> x, Pixel <span class="keyword">const</span>& p) {</div> +<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a46a12f45237e654e0140387d7290eb8b">entry</a>(y, x, p);</div> +<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div> +<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div> +<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a17f92dec30f314d832f040257d6d5584"> 240</a></span>  <span class="keywordtype">void</span> <a class="code" href="classmeow_1_1Bitmap.html#a17f92dec30f314d832f040257d6d5584">pixels</a>(ssize_t yFirst, ssize_t yLast,</div> +<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  ssize_t xFirst, ssize_t xLast,</div> +<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  Pixel <span class="keyword">const</span>& p) {</div> +<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordflow">return</span> matrix_.<a class="code" href="classmeow_1_1Matrix.html#a13384643dc412817fdcd8f1834a02d12">entries</a>(yFirst, yLast, xFirst, xLast, p);</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  }</div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div> -<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a2c3ed8ebcceb2d5c5267df832e3aa3df"> 249</a></span>  <a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a>& <a class="code" href="classmeow_1_1Bitmap.html#a2c3ed8ebcceb2d5c5267df832e3aa3df">matrixGet</a>() {</div> +<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aa586a08e997e5ae8675e108d84643c81"> 249</a></span>  <a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a> <a class="code" href="classmeow_1_1Bitmap.html#aa586a08e997e5ae8675e108d84643c81">matrix</a>()<span class="keyword"> const </span>{</div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> matrix_;</div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  }</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div> -<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a52888380163b8088e1385ad068621c58"> 256</a></span>  <a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a> <a class="code" href="classmeow_1_1Bitmap.html#a52888380163b8088e1385ad068621c58">matrix</a>(<a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a> <span class="keyword">const</span>& p) {</div> -<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#afb81446984f7c27458ccef86be2de413">copyFrom</a>(p);</div> -<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#aa586a08e997e5ae8675e108d84643c81">matrix</a>();</div> -<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  }</div> -<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div> -<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a499f3f0ceb101cb92ea8cd030b3d9952"> 268</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <a class="code" href="classmeow_1_1Bitmap.html#a499f3f0ceb101cb92ea8cd030b3d9952">gaussian</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">return</span> (xyBlur(gaussianFactor1(radiusY), 1, 0).</div> -<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  xyBlur(gaussianFactor1(radiusX), 0, 1));</div> -<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  }</div> -<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div> -<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#af15952db2e4ecaa1e24ebfb8a1c5e650"> 280</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>& <a class="code" href="classmeow_1_1Bitmap.html#af15952db2e4ecaa1e24ebfb8a1c5e650">gaussianed</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX) {</div> -<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html#a499f3f0ceb101cb92ea8cd030b3d9952">gaussian</a>(radiusY, radiusX));</div> -<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  }</div> -<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div> -<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ad7066cf0542486b0944e1584ced9faa8"> 291</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <a class="code" href="classmeow_1_1Bitmap.html#ad7066cf0542486b0944e1584ced9faa8">gradianceX</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">return</span> (xyBlur(gaussianFactor1(radiusY), 1, 0).</div> -<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  xyBlur(gradianceFactor1(radiusX), 0, 1));</div> -<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  }</div> -<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div> -<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a1630de00aebe37d58e04d6b9fc69eafb"> 303</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap<Pixel></a>& <a class="code" href="classmeow_1_1Bitmap.html#a1630de00aebe37d58e04d6b9fc69eafb">gradiancedX</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX) {</div> -<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html#ad7066cf0542486b0944e1584ced9faa8">gradianceX</a>(radiusY, radiusX));</div> -<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  }</div> -<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div> -<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aa08c848b01a304f4569f0e45f3ccee12"> 314</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap<Pixel></a> <a class="code" href="classmeow_1_1Bitmap.html#aa08c848b01a304f4569f0e45f3ccee12">gradianceY</a> (<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keywordflow">return</span> (xyBlur(gaussianFactor1(radiusX), 0, 1).</div> -<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  xyBlur(gradianceFactor1(radiusY), 1, 0));</div> -<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  }</div> -<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div> -<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ae8d8985bd64971590862b165e2949faf"> 326</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap<Pixel></a>& <a class="code" href="classmeow_1_1Bitmap.html#ae8d8985bd64971590862b165e2949faf">gradiancedY</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX) {</div> -<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html#aa08c848b01a304f4569f0e45f3ccee12">gradianceY</a>(radiusY, radiusX));</div> -<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  }</div> -<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div> -<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aba3ea0e5f48b63363c91ae4168dbd0bb"> 333</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>& <a class="code" href="classmeow_1_1Bitmap.html#aba3ea0e5f48b63363c91ae4168dbd0bb">operator=</a>(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>& b) {</div> -<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(b);</div> +<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a2c3ed8ebcceb2d5c5267df832e3aa3df"> 256</a></span>  <a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a>& <a class="code" href="classmeow_1_1Bitmap.html#a2c3ed8ebcceb2d5c5267df832e3aa3df">matrixGet</a>() {</div> +<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordflow">return</span> matrix_;</div> +<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  }</div> +<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div> +<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a52888380163b8088e1385ad068621c58"> 263</a></span>  <a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a> <a class="code" href="classmeow_1_1Bitmap.html#a52888380163b8088e1385ad068621c58">matrix</a>(<a class="code" href="classmeow_1_1Matrix.html">Matrix<Pixel></a> <span class="keyword">const</span>& p) {</div> +<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#afb81446984f7c27458ccef86be2de413">copyFrom</a>(p);</div> +<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#aa586a08e997e5ae8675e108d84643c81">matrix</a>();</div> +<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  }</div> +<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> </div> +<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a499f3f0ceb101cb92ea8cd030b3d9952"> 275</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <a class="code" href="classmeow_1_1Bitmap.html#a499f3f0ceb101cb92ea8cd030b3d9952">gaussian</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordflow">return</span> (xyBlur(gaussianFactor1(radiusY), 1, 0).</div> +<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  xyBlur(gaussianFactor1(radiusX), 0, 1));</div> +<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  }</div> +<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div> +<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#af15952db2e4ecaa1e24ebfb8a1c5e650"> 287</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>& <a class="code" href="classmeow_1_1Bitmap.html#af15952db2e4ecaa1e24ebfb8a1c5e650">gaussianed</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX) {</div> +<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html#a499f3f0ceb101cb92ea8cd030b3d9952">gaussian</a>(radiusY, radiusX));</div> +<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  }</div> +<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div> +<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ad7066cf0542486b0944e1584ced9faa8"> 298</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <a class="code" href="classmeow_1_1Bitmap.html#ad7066cf0542486b0944e1584ced9faa8">gradianceX</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordflow">return</span> (xyBlur(gaussianFactor1(radiusY), 1, 0).</div> +<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  xyBlur(gradianceFactor1(radiusX), 0, 1));</div> +<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  }</div> +<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div> +<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a1630de00aebe37d58e04d6b9fc69eafb"> 310</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap<Pixel></a>& <a class="code" href="classmeow_1_1Bitmap.html#a1630de00aebe37d58e04d6b9fc69eafb">gradiancedX</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX) {</div> +<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html#ad7066cf0542486b0944e1584ced9faa8">gradianceX</a>(radiusY, radiusX));</div> +<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  }</div> +<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div> +<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aa08c848b01a304f4569f0e45f3ccee12"> 321</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap<Pixel></a> <a class="code" href="classmeow_1_1Bitmap.html#aa08c848b01a304f4569f0e45f3ccee12">gradianceY</a> (<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keywordflow">return</span> (xyBlur(gaussianFactor1(radiusX), 0, 1).</div> +<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  xyBlur(gradianceFactor1(radiusY), 1, 0));</div> +<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  }</div> +<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div> +<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#ae8d8985bd64971590862b165e2949faf"> 333</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap<Pixel></a>& <a class="code" href="classmeow_1_1Bitmap.html#ae8d8985bd64971590862b165e2949faf">gradiancedY</a>(<span class="keywordtype">double</span> radiusY, <span class="keywordtype">double</span> radiusX) {</div> +<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(<a class="code" href="classmeow_1_1Bitmap.html#aa08c848b01a304f4569f0e45f3ccee12">gradianceY</a>(radiusY, radiusX));</div> <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  }</div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div> -<div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a646c781896c74a7af4814da06cabf9e5"> 340</a></span>  Pixel <a class="code" href="classmeow_1_1Bitmap.html#a646c781896c74a7af4814da06cabf9e5">operator()</a>(<span class="keywordtype">size_t</span> y, <span class="keywordtype">size_t</span> x)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(y, x);</div> +<div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aba3ea0e5f48b63363c91ae4168dbd0bb"> 340</a></span>  <a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>& <a class="code" href="classmeow_1_1Bitmap.html#aba3ea0e5f48b63363c91ae4168dbd0bb">operator=</a>(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>& b) {</div> +<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(b);</div> <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  }</div> <div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div> -<div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a6ebb5310e9e24cee25fc748a0b9fef28"> 347</a></span>  Pixel <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Bitmap.html#a6ebb5310e9e24cee25fc748a0b9fef28">operator()</a>(<span class="keywordtype">size_t</span> y, <span class="keywordtype">size_t</span> x, Pixel <span class="keyword">const</span>& p)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(y, x, p);</div> +<div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a646c781896c74a7af4814da06cabf9e5"> 347</a></span>  Pixel <a class="code" href="classmeow_1_1Bitmap.html#a646c781896c74a7af4814da06cabf9e5">operator()</a>(<span class="keywordtype">size_t</span> y, <span class="keywordtype">size_t</span> x)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(y, x);</div> <div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  }</div> <div class="line"><a name="l00350"></a><span class="lineno"> 350</span> </div> -<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aad700e26eae54cb653919c165dcc98dd"> 355</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Bitmap.html#aad700e26eae54cb653919c165dcc98dd">write</a>(FILE* f, <span class="keywordtype">bool</span> bin, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fg)<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordflow">if</span> (fg & <a class="code" href="namespacemeow.html#af9bbb3a5f01cfa088cf5b6f7e70baba6">kBitmapReadWritePixels</a>)</div> -<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keywordflow">if</span> (bin) {</div> -<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keywordtype">long</span> tmp;</div> -<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keywordflow">if</span> (fwrite(&(tmp = matrix_.<a class="code" href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">cols</a>()), <span class="keyword">sizeof</span>(tmp), 1, f) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <span class="keywordflow">if</span> (fwrite(&(tmp = matrix_.<a class="code" href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">rows</a>()), <span class="keyword">sizeof</span>(tmp), 1, f) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  }</div> -<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keywordflow">else</span> {</div> -<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keywordflow">if</span> (fprintf(f, <span class="stringliteral">"%ld %ld\n"</span>, (<span class="keywordtype">long</span>)matrix_.<a class="code" href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">cols</a>(), (long)matrix_.<a class="code" href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">rows</a>())</div> -<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  < 2) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  }</div> -<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> -<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  }</div> -<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div> -<div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a3b13a4923d68de65bb7e21712185bec8"> 374</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Bitmap.html#a3b13a4923d68de65bb7e21712185bec8">read</a>(FILE* f, <span class="keywordtype">bool</span> bin, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fg) {</div> -<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="keywordflow">if</span> (fg & <a class="code" href="namespacemeow.html#af9bbb3a5f01cfa088cf5b6f7e70baba6">kBitmapReadWritePixels</a>)</div> -<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <span class="keywordtype">long</span> tmp1, tmp2;</div> -<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keywordflow">if</span> (bin) {</div> -<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keywordflow">if</span> (fread(&tmp1, <span class="keyword">sizeof</span>(tmp1), 1, f) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="keywordflow">if</span> (fread(&tmp2, <span class="keyword">sizeof</span>(tmp2), 1, f) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  }</div> -<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordflow">else</span> {</div> -<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordflow">if</span> (fscanf(f, <span class="stringliteral">"%ld %ld"</span>, &tmp1, &tmp2) < 2) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> -<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  }</div> -<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">size</a>(tmp1, tmp2, Pixel(0));</div> -<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> -<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  }</div> -<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div> -<div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a07b1eb689498112691ca72e8c6ae453f"> 393</a></span>  <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="code" href="classmeow_1_1Bitmap.html#a07b1eb689498112691ca72e8c6ae453f">create</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classmeow_1_1Bitmap.html#ab313e096befabd933633cb75b870f75c">Bitmap</a>();</div> -<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  }</div> -<div class="line"><a name="l00396"></a><span class="lineno"> 396</span> </div> -<div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a998a6a9607f8552ace65cce0d251042c"> 406</a></span>  <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="code" href="classmeow_1_1Bitmap.html#a998a6a9607f8552ace65cce0d251042c">copyFrom</a>(<a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a> <span class="keyword">const</span>* b) {</div> -<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keywordflow">return</span> &(<a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(*(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a>*)b));</div> -<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  }</div> -<div class="line"><a name="l00409"></a><span class="lineno"> 409</span> </div> -<div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#af8debba04055594b8507c77b3dbd0ff7"> 414</a></span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="classmeow_1_1Bitmap.html#af8debba04055594b8507c77b3dbd0ff7">ctype</a>()<span class="keyword"> const</span>{</div> -<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="keywordflow">return</span> <span class="keyword">typeid</span>(*this).name();</div> -<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  }</div> -<div class="line"><a name="l00417"></a><span class="lineno"> 417</span> </div> -<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a7f282d9a1ebb07ca5fe12d8ae73121d1"> 422</a></span>  std::string <a class="code" href="classmeow_1_1Bitmap.html#a7f282d9a1ebb07ca5fe12d8ae73121d1">type</a>()<span class="keyword"> const </span>{</div> -<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <span class="keywordflow">return</span> std::string(<a class="code" href="classmeow_1_1Bitmap.html#af8debba04055594b8507c77b3dbd0ff7">ctype</a>());</div> -<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  }</div> -<div class="line"><a name="l00425"></a><span class="lineno"> 425</span> };</div> -<div class="line"><a name="l00426"></a><span class="lineno"> 426</span> </div> -<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> </div> -<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> } <span class="comment">// meow</span></div> -<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> </div> -<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <span class="preprocessor">#endif // gra_Bitmap_H__</span></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_aa08c848b01a304f4569f0e45f3ccee12"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aa08c848b01a304f4569f0e45f3ccee12">meow::Bitmap::gradianceY</a></div><div class="ttdeci">Bitmap< Pixel > gradianceY(double radiusY, double radiusX) const </div><div class="ttdoc">回傳對y偏微分 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00314">Bitmap.h:314</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a998a6a9607f8552ace65cce0d251042c"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a998a6a9607f8552ace65cce0d251042c">meow::Bitmap::copyFrom</a></div><div class="ttdeci">ObjBase * copyFrom(ObjBase const *b)</div><div class="ttdoc">複製資料 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00406">Bitmap.h:406</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a17f92dec30f314d832f040257d6d5584"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a17f92dec30f314d832f040257d6d5584">meow::Bitmap::pixels</a></div><div class="ttdeci">void pixels(ssize_t yFirst, ssize_t yLast, ssize_t xFirst, ssize_t xLast, Pixel const &p)</div><div class="ttdoc">區塊修改 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00233">Bitmap.h:233</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_af4c9896dc2cdc714be5106bef45430c8"><div class="ttname"><a href="classmeow_1_1Bitmap.html#af4c9896dc2cdc714be5106bef45430c8">meow::Bitmap::Bitmap</a></div><div class="ttdeci">Bitmap(size_t h, size_t w, Pixel const &p)</div><div class="ttdoc">constructor, 指定寬高, 預設Pixel </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00099">Bitmap.h:99</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_aef0bc77675e4652f885baf03cbcc25ef"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aef0bc77675e4652f885baf03cbcc25ef">meow::Bitmap::size</a></div><div class="ttdeci">size_t size(size_t h2, size_t w2, Pixel const &p)</div><div class="ttdoc">修改寬高 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00194">Bitmap.h:194</a></div></div> -<div class="ttc" id="classmeow_1_1Matrix_html_a1dbef5b1a46df480f7fa3e118fd12bec"><div class="ttname"><a href="classmeow_1_1Matrix.html#a1dbef5b1a46df480f7fa3e118fd12bec">meow::Matrix::referenceFrom</a></div><div class="ttdeci">Matrix & referenceFrom(Matrix const &m)</div><div class="ttdoc">reference </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00104">Matrix.h:104</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a646c781896c74a7af4814da06cabf9e5"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a646c781896c74a7af4814da06cabf9e5">meow::Bitmap::operator()</a></div><div class="ttdeci">Pixel operator()(size_t y, size_t x) const </div><div class="ttdoc">same as pixel(y, x) </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00340">Bitmap.h:340</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a2290360ab49bdf1f33dc717fce71d5df"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df">meow::Bitmap::height</a></div><div class="ttdeci">size_t height() const </div><div class="ttdoc">回傳高度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00146">Bitmap.h:146</a></div></div> -<div class="ttc" id="classmeow_1_1Matrix_html_a560adbe0b39f52bfb016edddc2955178"><div class="ttname"><a href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">meow::Matrix::rows</a></div><div class="ttdeci">size_t rows() const </div><div class="ttdoc">Return number of rows. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00123">Matrix.h:123</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a573af36148f56209f9b537ee446e2867"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a573af36148f56209f9b537ee446e2867">meow::Bitmap::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">清除資料, 寬高階規零 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00139">Bitmap.h:139</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a6ebb5310e9e24cee25fc748a0b9fef28"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a6ebb5310e9e24cee25fc748a0b9fef28">meow::Bitmap::operator()</a></div><div class="ttdeci">Pixel const & operator()(size_t y, size_t x, Pixel const &p) const </div><div class="ttdoc">same as pixel(y, x, p) </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00347">Bitmap.h:347</a></div></div> +<div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a6ebb5310e9e24cee25fc748a0b9fef28"> 354</a></span>  Pixel <span class="keyword">const</span>& <a class="code" href="classmeow_1_1Bitmap.html#a6ebb5310e9e24cee25fc748a0b9fef28">operator()</a>(<span class="keywordtype">size_t</span> y, <span class="keywordtype">size_t</span> x, Pixel <span class="keyword">const</span>& p)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="keywordflow">return</span> <a class="code" href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">pixel</a>(y, x, p);</div> +<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  }</div> +<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div> +<div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#aad700e26eae54cb653919c165dcc98dd"> 362</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Bitmap.html#aad700e26eae54cb653919c165dcc98dd">write</a>(FILE* f, <span class="keywordtype">bool</span> bin, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fg)<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keywordflow">if</span> (fg & <a class="code" href="namespacemeow.html#af9bbb3a5f01cfa088cf5b6f7e70baba6">kBitmapReadWritePixels</a>)</div> +<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keywordflow">if</span> (bin) {</div> +<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordtype">long</span> tmp;</div> +<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keywordflow">if</span> (fwrite(&(tmp = matrix_.<a class="code" href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">cols</a>()), <span class="keyword">sizeof</span>(tmp), 1, f) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keywordflow">if</span> (fwrite(&(tmp = matrix_.<a class="code" href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">rows</a>()), <span class="keyword">sizeof</span>(tmp), 1, f) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  }</div> +<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keywordflow">else</span> {</div> +<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordflow">if</span> (fprintf(f, <span class="stringliteral">"%ld %ld\n"</span>, (<span class="keywordtype">long</span>)matrix_.<a class="code" href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">cols</a>(), (long)matrix_.<a class="code" href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">rows</a>())</div> +<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  < 2) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  }</div> +<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> +<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  }</div> +<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div> +<div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a3b13a4923d68de65bb7e21712185bec8"> 381</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmeow_1_1Bitmap.html#a3b13a4923d68de65bb7e21712185bec8">read</a>(FILE* f, <span class="keywordtype">bool</span> bin, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fg) {</div> +<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordflow">if</span> (fg & <a class="code" href="namespacemeow.html#af9bbb3a5f01cfa088cf5b6f7e70baba6">kBitmapReadWritePixels</a>)</div> +<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keywordtype">long</span> tmp1, tmp2;</div> +<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keywordflow">if</span> (bin) {</div> +<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keywordflow">if</span> (fread(&tmp1, <span class="keyword">sizeof</span>(tmp1), 1, f) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordflow">if</span> (fread(&tmp2, <span class="keyword">sizeof</span>(tmp2), 1, f) < 1) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  }</div> +<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keywordflow">else</span> {</div> +<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keywordflow">if</span> (fscanf(f, <span class="stringliteral">"%ld %ld"</span>, &tmp1, &tmp2) < 2) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div> +<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  }</div> +<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  matrix_.<a class="code" href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">size</a>(tmp1, tmp2, Pixel(0));</div> +<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> +<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  }</div> +<div class="line"><a name="l00395"></a><span class="lineno"> 395</span> </div> +<div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a07b1eb689498112691ca72e8c6ae453f"> 400</a></span>  <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="code" href="classmeow_1_1Bitmap.html#a07b1eb689498112691ca72e8c6ae453f">create</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classmeow_1_1Bitmap.html#ab313e096befabd933633cb75b870f75c">Bitmap</a>();</div> +<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  }</div> +<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> </div> +<div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a998a6a9607f8552ace65cce0d251042c"> 413</a></span>  <a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a>* <a class="code" href="classmeow_1_1Bitmap.html#a998a6a9607f8552ace65cce0d251042c">copyFrom</a>(<a class="code" href="classmeow_1_1ObjBase.html">ObjBase</a> <span class="keyword">const</span>* b) {</div> +<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keywordflow">return</span> &(<a class="code" href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">copyFrom</a>(*(<a class="code" href="classmeow_1_1Bitmap.html">Bitmap</a> <span class="keyword">const</span>*)b));</div> +<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  }</div> +<div class="line"><a name="l00416"></a><span class="lineno"> 416</span> </div> +<div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#af8debba04055594b8507c77b3dbd0ff7"> 421</a></span>  <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="classmeow_1_1Bitmap.html#af8debba04055594b8507c77b3dbd0ff7">ctype</a>()<span class="keyword"> const</span>{</div> +<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="keywordflow">return</span> <span class="keyword">typeid</span>(*this).name();</div> +<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  }</div> +<div class="line"><a name="l00424"></a><span class="lineno"> 424</span> </div> +<div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="classmeow_1_1Bitmap.html#a7f282d9a1ebb07ca5fe12d8ae73121d1"> 429</a></span>  std::string <a class="code" href="classmeow_1_1Bitmap.html#a7f282d9a1ebb07ca5fe12d8ae73121d1">type</a>()<span class="keyword"> const </span>{</div> +<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keywordflow">return</span> std::string(<a class="code" href="classmeow_1_1Bitmap.html#af8debba04055594b8507c77b3dbd0ff7">ctype</a>());</div> +<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  }</div> +<div class="line"><a name="l00432"></a><span class="lineno"> 432</span> };</div> +<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div> +<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div> +<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> } <span class="comment">// meow</span></div> +<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> </div> +<div class="line"><a name="l00437"></a><span class="lineno"> 437</span> <span class="preprocessor">#endif // gra_Bitmap_H__</span></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_aa08c848b01a304f4569f0e45f3ccee12"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aa08c848b01a304f4569f0e45f3ccee12">meow::Bitmap::gradianceY</a></div><div class="ttdeci">Bitmap< Pixel > gradianceY(double radiusY, double radiusX) const </div><div class="ttdoc">回傳對y偏微分 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00321">Bitmap.h:321</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a998a6a9607f8552ace65cce0d251042c"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a998a6a9607f8552ace65cce0d251042c">meow::Bitmap::copyFrom</a></div><div class="ttdeci">ObjBase * copyFrom(ObjBase const *b)</div><div class="ttdoc">複製資料 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00413">Bitmap.h:413</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a17f92dec30f314d832f040257d6d5584"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a17f92dec30f314d832f040257d6d5584">meow::Bitmap::pixels</a></div><div class="ttdeci">void pixels(ssize_t yFirst, ssize_t yLast, ssize_t xFirst, ssize_t xLast, Pixel const &p)</div><div class="ttdoc">區塊修改 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00240">Bitmap.h:240</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_af4c9896dc2cdc714be5106bef45430c8"><div class="ttname"><a href="classmeow_1_1Bitmap.html#af4c9896dc2cdc714be5106bef45430c8">meow::Bitmap::Bitmap</a></div><div class="ttdeci">Bitmap(size_t h, size_t w, Pixel const &p)</div><div class="ttdoc">constructor, 指定寬高, 預設Pixel </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00106">Bitmap.h:106</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_aef0bc77675e4652f885baf03cbcc25ef"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aef0bc77675e4652f885baf03cbcc25ef">meow::Bitmap::size</a></div><div class="ttdeci">size_t size(size_t h2, size_t w2, Pixel const &p)</div><div class="ttdoc">修改寬高 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00201">Bitmap.h:201</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_a1dbef5b1a46df480f7fa3e118fd12bec"><div class="ttname"><a href="classmeow_1_1Matrix.html#a1dbef5b1a46df480f7fa3e118fd12bec">meow::Matrix::referenceFrom</a></div><div class="ttdeci">Matrix & referenceFrom(Matrix const &m)</div><div class="ttdoc">reference </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00109">Matrix.h:109</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a646c781896c74a7af4814da06cabf9e5"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a646c781896c74a7af4814da06cabf9e5">meow::Bitmap::operator()</a></div><div class="ttdeci">Pixel operator()(size_t y, size_t x) const </div><div class="ttdoc">same as pixel(y, x) </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00347">Bitmap.h:347</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a2290360ab49bdf1f33dc717fce71d5df"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a2290360ab49bdf1f33dc717fce71d5df">meow::Bitmap::height</a></div><div class="ttdeci">size_t height() const </div><div class="ttdoc">回傳高度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00153">Bitmap.h:153</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_a560adbe0b39f52bfb016edddc2955178"><div class="ttname"><a href="classmeow_1_1Matrix.html#a560adbe0b39f52bfb016edddc2955178">meow::Matrix::rows</a></div><div class="ttdeci">size_t rows() const </div><div class="ttdoc">Return number of rows. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00128">Matrix.h:128</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a573af36148f56209f9b537ee446e2867"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a573af36148f56209f9b537ee446e2867">meow::Bitmap::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">清除資料, 寬高階規零 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00146">Bitmap.h:146</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a6ebb5310e9e24cee25fc748a0b9fef28"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a6ebb5310e9e24cee25fc748a0b9fef28">meow::Bitmap::operator()</a></div><div class="ttdeci">Pixel const & operator()(size_t y, size_t x, Pixel const &p) const </div><div class="ttdoc">same as pixel(y, x, p) </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00354">Bitmap.h:354</a></div></div> <div class="ttc" id="namespacemeow_html_af9bbb3a5f01cfa088cf5b6f7e70baba6"><div class="ttname"><a href="namespacemeow.html#af9bbb3a5f01cfa088cf5b6f7e70baba6">meow::kBitmapReadWritePixels</a></div><div class="ttdeci">const unsigned int kBitmapReadWritePixels</div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00017">Bitmap.h:17</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_af8debba04055594b8507c77b3dbd0ff7"><div class="ttname"><a href="classmeow_1_1Bitmap.html#af8debba04055594b8507c77b3dbd0ff7">meow::Bitmap::ctype</a></div><div class="ttdeci">char const * ctype() const </div><div class="ttdoc">回傳class的type </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00414">Bitmap.h:414</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_aba3ea0e5f48b63363c91ae4168dbd0bb"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aba3ea0e5f48b63363c91ae4168dbd0bb">meow::Bitmap::operator=</a></div><div class="ttdeci">Bitmap & operator=(Bitmap const &b)</div><div class="ttdoc">same as copyFrom(b) </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00333">Bitmap.h:333</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a499f3f0ceb101cb92ea8cd030b3d9952"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a499f3f0ceb101cb92ea8cd030b3d9952">meow::Bitmap::gaussian</a></div><div class="ttdeci">Bitmap gaussian(double radiusY, double radiusX) const </div><div class="ttdoc">回傳高斯模糊 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00268">Bitmap.h:268</a></div></div> -<div class="ttc" id="classmeow_1_1Matrix_html_a4db3bb07e2557cbc668bdaa1beb241df"><div class="ttname"><a href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">meow::Matrix::cols</a></div><div class="ttdeci">size_t cols() const </div><div class="ttdoc">Return number of cols. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00128">Matrix.h:128</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_af8debba04055594b8507c77b3dbd0ff7"><div class="ttname"><a href="classmeow_1_1Bitmap.html#af8debba04055594b8507c77b3dbd0ff7">meow::Bitmap::ctype</a></div><div class="ttdeci">char const * ctype() const </div><div class="ttdoc">回傳class的type </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00421">Bitmap.h:421</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_aba3ea0e5f48b63363c91ae4168dbd0bb"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aba3ea0e5f48b63363c91ae4168dbd0bb">meow::Bitmap::operator=</a></div><div class="ttdeci">Bitmap & operator=(Bitmap const &b)</div><div class="ttdoc">same as copyFrom(b) </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00340">Bitmap.h:340</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a499f3f0ceb101cb92ea8cd030b3d9952"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a499f3f0ceb101cb92ea8cd030b3d9952">meow::Bitmap::gaussian</a></div><div class="ttdeci">Bitmap gaussian(double radiusY, double radiusX) const </div><div class="ttdoc">回傳高斯模糊 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00275">Bitmap.h:275</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_a4db3bb07e2557cbc668bdaa1beb241df"><div class="ttname"><a href="classmeow_1_1Matrix.html#a4db3bb07e2557cbc668bdaa1beb241df">meow::Matrix::cols</a></div><div class="ttdeci">size_t cols() const </div><div class="ttdoc">Return number of cols. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00133">Matrix.h:133</a></div></div> <div class="ttc" id="classdouble_html"><div class="ttname"><a href="classdouble.html">double</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_ab313e096befabd933633cb75b870f75c"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ab313e096befabd933633cb75b870f75c">meow::Bitmap::Bitmap</a></div><div class="ttdeci">Bitmap()</div><div class="ttdoc">constructor, 產生一個空的Bitmap </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00083">Bitmap.h:83</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_aa586a08e997e5ae8675e108d84643c81"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aa586a08e997e5ae8675e108d84643c81">meow::Bitmap::matrix</a></div><div class="ttdeci">Matrix< Pixel > matrix() const </div><div class="ttdoc">回傳矩陣形式 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00242">Bitmap.h:242</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a2621e8833933b59c0e82e8776f1a6f11"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a2621e8833933b59c0e82e8776f1a6f11">meow::Bitmap::Bitmap</a></div><div class="ttdeci">Bitmap(Bitmap const &b)</div><div class="ttdoc">constructor, 複製一個bitmap </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00089">Bitmap.h:89</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a52888380163b8088e1385ad068621c58"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a52888380163b8088e1385ad068621c58">meow::Bitmap::matrix</a></div><div class="ttdeci">Matrix< Pixel > matrix(Matrix< Pixel > const &p)</div><div class="ttdoc">直接設定 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00256">Bitmap.h:256</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_ab313e096befabd933633cb75b870f75c"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ab313e096befabd933633cb75b870f75c">meow::Bitmap::Bitmap</a></div><div class="ttdeci">Bitmap()</div><div class="ttdoc">constructor, 產生一個空的Bitmap </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00084">Bitmap.h:84</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_aa586a08e997e5ae8675e108d84643c81"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aa586a08e997e5ae8675e108d84643c81">meow::Bitmap::matrix</a></div><div class="ttdeci">Matrix< Pixel > matrix() const </div><div class="ttdoc">回傳矩陣形式 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00249">Bitmap.h:249</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a2621e8833933b59c0e82e8776f1a6f11"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a2621e8833933b59c0e82e8776f1a6f11">meow::Bitmap::Bitmap</a></div><div class="ttdeci">Bitmap(Bitmap const &b)</div><div class="ttdoc">constructor, 複製一個bitmap </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00090">Bitmap.h:90</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a52888380163b8088e1385ad068621c58"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a52888380163b8088e1385ad068621c58">meow::Bitmap::matrix</a></div><div class="ttdeci">Matrix< Pixel > matrix(Matrix< Pixel > const &p)</div><div class="ttdoc">直接設定 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00263">Bitmap.h:263</a></div></div> <div class="ttc" id="classmeow_1_1Bitmap_html"><div class="ttname"><a href="classmeow_1_1Bitmap.html">meow::Bitmap</a></div><div class="ttdoc">二維點陣資料 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00025">Bitmap.h:25</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a3b13a4923d68de65bb7e21712185bec8"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a3b13a4923d68de65bb7e21712185bec8">meow::Bitmap::read</a></div><div class="ttdeci">bool read(FILE *f, bool bin, unsigned int fg)</div><div class="ttdoc">將資料讀入 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00374">Bitmap.h:374</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a2c3ed8ebcceb2d5c5267df832e3aa3df"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a2c3ed8ebcceb2d5c5267df832e3aa3df">meow::Bitmap::matrixGet</a></div><div class="ttdeci">Matrix< Pixel > & matrixGet()</div><div class="ttdoc">回傳矩陣形式 (non-constant form) </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00249">Bitmap.h:249</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_ac8f41ae97e068549565e9ac83ffef888"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">meow::Bitmap::pixel</a></div><div class="ttdeci">Pixel pixel(size_t y, size_t x) const </div><div class="ttdoc">取得 (y, x) 的pixel </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00205">Bitmap.h:205</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_ad8476258a0f9deefdb7170d53949d3ed"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">meow::Bitmap::width</a></div><div class="ttdeci">size_t width() const </div><div class="ttdoc">回傳寬度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00153">Bitmap.h:153</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_aad700e26eae54cb653919c165dcc98dd"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aad700e26eae54cb653919c165dcc98dd">meow::Bitmap::write</a></div><div class="ttdeci">bool write(FILE *f, bool bin, unsigned int fg) const </div><div class="ttdoc">將資料寫入檔案 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00355">Bitmap.h:355</a></div></div> -<div class="ttc" id="classmeow_1_1Matrix_html_afb81446984f7c27458ccef86be2de413"><div class="ttname"><a href="classmeow_1_1Matrix.html#afb81446984f7c27458ccef86be2de413">meow::Matrix::copyFrom</a></div><div class="ttdeci">Matrix & copyFrom(Matrix const &m)</div><div class="ttdoc">copy </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00091">Matrix.h:91</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a3b13a4923d68de65bb7e21712185bec8"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a3b13a4923d68de65bb7e21712185bec8">meow::Bitmap::read</a></div><div class="ttdeci">bool read(FILE *f, bool bin, unsigned int fg)</div><div class="ttdoc">將資料讀入 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00381">Bitmap.h:381</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a2c3ed8ebcceb2d5c5267df832e3aa3df"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a2c3ed8ebcceb2d5c5267df832e3aa3df">meow::Bitmap::matrixGet</a></div><div class="ttdeci">Matrix< Pixel > & matrixGet()</div><div class="ttdoc">回傳矩陣形式 (non-constant form) </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00256">Bitmap.h:256</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_ac8f41ae97e068549565e9ac83ffef888"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ac8f41ae97e068549565e9ac83ffef888">meow::Bitmap::pixel</a></div><div class="ttdeci">Pixel pixel(size_t y, size_t x) const </div><div class="ttdoc">取得 (y, x) 的pixel </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00212">Bitmap.h:212</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_ad8476258a0f9deefdb7170d53949d3ed"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ad8476258a0f9deefdb7170d53949d3ed">meow::Bitmap::width</a></div><div class="ttdeci">size_t width() const </div><div class="ttdoc">回傳寬度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00160">Bitmap.h:160</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_aad700e26eae54cb653919c165dcc98dd"><div class="ttname"><a href="classmeow_1_1Bitmap.html#aad700e26eae54cb653919c165dcc98dd">meow::Bitmap::write</a></div><div class="ttdeci">bool write(FILE *f, bool bin, unsigned int fg) const </div><div class="ttdoc">將資料寫入檔案 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00362">Bitmap.h:362</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_afb81446984f7c27458ccef86be2de413"><div class="ttname"><a href="classmeow_1_1Matrix.html#afb81446984f7c27458ccef86be2de413">meow::Matrix::copyFrom</a></div><div class="ttdeci">Matrix & copyFrom(Matrix const &m)</div><div class="ttdoc">copy </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00096">Matrix.h:96</a></div></div> <div class="ttc" id="classmeow_1_1ObjBase_html"><div class="ttname"><a href="classmeow_1_1ObjBase.html">meow::ObjBase</a></div><div class="ttdoc">一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能 </div><div class="ttdef"><b>Definition:</b> <a href="ObjBase_8h_source.html#l00015">ObjBase.h:15</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a5e08b5d3c78c91b33b83da02b658539b"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">meow::Bitmap::copyFrom</a></div><div class="ttdeci">Bitmap & copyFrom(Bitmap const &b)</div><div class="ttdoc">複製 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00111">Bitmap.h:111</a></div></div> -<div class="ttc" id="classmeow_1_1Matrix_html_a13384643dc412817fdcd8f1834a02d12"><div class="ttname"><a href="classmeow_1_1Matrix.html#a13384643dc412817fdcd8f1834a02d12">meow::Matrix::entries</a></div><div class="ttdeci">void entries(ssize_t rFirst, ssize_t rLast, ssize_t cFirst, ssize_t cLast, Entry const &e)</div><div class="ttdoc">Change the entries from rFirst x cFirst to rLast x cLast. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00221">Matrix.h:221</a></div></div> -<div class="ttc" id="classmeow_1_1Matrix_html_a8e35443c856f669d02b352f091c0404c"><div class="ttname"><a href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">meow::Matrix::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdoc">Return number of rows times number of cols. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00133">Matrix.h:133</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a13b986e9310eb100c100fd62fa548233"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a13b986e9310eb100c100fd62fa548233">meow::Bitmap::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdoc">回傳高度乘以寬度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00160">Bitmap.h:160</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_afe97efe50d112a71ee45da6d2bc3e9dc"><div class="ttname"><a href="classmeow_1_1Bitmap.html#afe97efe50d112a71ee45da6d2bc3e9dc">meow::Bitmap::pixel</a></div><div class="ttdeci">Pixel pixel(size_t y, size_t x, Pixel const &p)</div><div class="ttdoc">修改 (y, x) 的pixel </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00217">Bitmap.h:217</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a73386b915d50c06f8e15cb6b53e9eb0e"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a73386b915d50c06f8e15cb6b53e9eb0e">meow::Bitmap::~Bitmap</a></div><div class="ttdeci">~Bitmap()</div><div class="ttdoc">destructor </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00105">Bitmap.h:105</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_ad7066cf0542486b0944e1584ced9faa8"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ad7066cf0542486b0944e1584ced9faa8">meow::Bitmap::gradianceX</a></div><div class="ttdeci">Bitmap gradianceX(double radiusY, double radiusX) const </div><div class="ttdoc">回傳對x偏微分 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00291">Bitmap.h:291</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a49731792bf45d5c230da50e3897e3061"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a49731792bf45d5c230da50e3897e3061">meow::Bitmap::width</a></div><div class="ttdeci">size_t width(size_t w2, Pixel const &p)</div><div class="ttdoc">修改寬度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00182">Bitmap.h:182</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a5e08b5d3c78c91b33b83da02b658539b"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a5e08b5d3c78c91b33b83da02b658539b">meow::Bitmap::copyFrom</a></div><div class="ttdeci">Bitmap & copyFrom(Bitmap const &b)</div><div class="ttdoc">複製 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00118">Bitmap.h:118</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_a13384643dc412817fdcd8f1834a02d12"><div class="ttname"><a href="classmeow_1_1Matrix.html#a13384643dc412817fdcd8f1834a02d12">meow::Matrix::entries</a></div><div class="ttdeci">void entries(ssize_t rFirst, ssize_t rLast, ssize_t cFirst, ssize_t cLast, Entry const &e)</div><div class="ttdoc">Change the entries from rFirst x cFirst to rLast x cLast. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00236">Matrix.h:236</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_a8e35443c856f669d02b352f091c0404c"><div class="ttname"><a href="classmeow_1_1Matrix.html#a8e35443c856f669d02b352f091c0404c">meow::Matrix::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdoc">Return number of rows times number of cols. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00138">Matrix.h:138</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a13b986e9310eb100c100fd62fa548233"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a13b986e9310eb100c100fd62fa548233">meow::Bitmap::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdoc">回傳高度乘以寬度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00167">Bitmap.h:167</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_a0c82b949f5cc6ad2e96a56080eb2b803"><div class="ttname"><a href="classmeow_1_1Matrix.html#a0c82b949f5cc6ad2e96a56080eb2b803">meow::Matrix::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">free the memory </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00203">Matrix.h:203</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_afe97efe50d112a71ee45da6d2bc3e9dc"><div class="ttname"><a href="classmeow_1_1Bitmap.html#afe97efe50d112a71ee45da6d2bc3e9dc">meow::Bitmap::pixel</a></div><div class="ttdeci">Pixel pixel(size_t y, size_t x, Pixel const &p)</div><div class="ttdoc">修改 (y, x) 的pixel </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00224">Bitmap.h:224</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a73386b915d50c06f8e15cb6b53e9eb0e"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a73386b915d50c06f8e15cb6b53e9eb0e">meow::Bitmap::~Bitmap</a></div><div class="ttdeci">~Bitmap()</div><div class="ttdoc">destructor </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00112">Bitmap.h:112</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_ad7066cf0542486b0944e1584ced9faa8"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ad7066cf0542486b0944e1584ced9faa8">meow::Bitmap::gradianceX</a></div><div class="ttdeci">Bitmap gradianceX(double radiusY, double radiusX) const </div><div class="ttdoc">回傳對x偏微分 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00298">Bitmap.h:298</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a49731792bf45d5c230da50e3897e3061"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a49731792bf45d5c230da50e3897e3061">meow::Bitmap::width</a></div><div class="ttdeci">size_t width(size_t w2, Pixel const &p)</div><div class="ttdoc">修改寬度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00189">Bitmap.h:189</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_ad19026db43db403ae5eb42e9142a6b62"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ad19026db43db403ae5eb42e9142a6b62">meow::Bitmap::Bitmap</a></div><div class="ttdeci">Bitmap(Matrix< Pixel > const &b)</div><div class="ttdoc">constructor, copy data from a matrix </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00096">Bitmap.h:96</a></div></div> <div class="ttc" id="classmeow_1_1Matrix_html"><div class="ttname"><a href="classmeow_1_1Matrix.html">meow::Matrix< Pixel ></a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_ae7bcc670d666a784d6e5e8f14b74aa3d"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ae7bcc670d666a784d6e5e8f14b74aa3d">meow::Bitmap::reset</a></div><div class="ttdeci">void reset(size_t h, size_t w, Pixel const &p)</div><div class="ttdoc">全部重設 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00132">Bitmap.h:132</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a7f282d9a1ebb07ca5fe12d8ae73121d1"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a7f282d9a1ebb07ca5fe12d8ae73121d1">meow::Bitmap::type</a></div><div class="ttdeci">std::string type() const </div><div class="ttdoc">回傳class的type </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00422">Bitmap.h:422</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_affd5f41b44fa6afc55f2a3eb3f01cc4d"><div class="ttname"><a href="classmeow_1_1Bitmap.html#affd5f41b44fa6afc55f2a3eb3f01cc4d">meow::Bitmap::referenceFrom</a></div><div class="ttdeci">Bitmap & referenceFrom(Bitmap const &b)</div><div class="ttdoc">reference </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00119">Bitmap.h:119</a></div></div> -<div class="ttc" id="classmeow_1_1Matrix_html_a46a12f45237e654e0140387d7290eb8b"><div class="ttname"><a href="classmeow_1_1Matrix.html#a46a12f45237e654e0140387d7290eb8b">meow::Matrix::entry</a></div><div class="ttdeci">Entry entry(size_t r, size_t c) const </div><div class="ttdoc">Access the entry at r x c. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00196">Matrix.h:196</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a1630de00aebe37d58e04d6b9fc69eafb"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a1630de00aebe37d58e04d6b9fc69eafb">meow::Bitmap::gradiancedX</a></div><div class="ttdeci">Bitmap< Pixel > & gradiancedX(double radiusY, double radiusX)</div><div class="ttdoc">把自己對x偏微分 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00303">Bitmap.h:303</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a3887d1c54026fe8ed27fd21a294d8d0a"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a3887d1c54026fe8ed27fd21a294d8d0a">meow::Bitmap::height</a></div><div class="ttdeci">size_t height(size_t h2, Pixel const &p)</div><div class="ttdoc">修改高度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00171">Bitmap.h:171</a></div></div> -<div class="ttc" id="classmeow_1_1Matrix_html_ac17251cb984beb1f74558724a22a0120"><div class="ttname"><a href="classmeow_1_1Matrix.html#ac17251cb984beb1f74558724a22a0120">meow::Matrix::reset</a></div><div class="ttdeci">void reset(size_t r, size_t c, Entry const &e)</div><div class="ttdoc">reset the size of the matrix to r x c with entry all be e </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00110">Matrix.h:110</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_af15952db2e4ecaa1e24ebfb8a1c5e650"><div class="ttname"><a href="classmeow_1_1Bitmap.html#af15952db2e4ecaa1e24ebfb8a1c5e650">meow::Bitmap::gaussianed</a></div><div class="ttdeci">Bitmap & gaussianed(double radiusY, double radiusX)</div><div class="ttdoc">把自己高斯模糊 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00280">Bitmap.h:280</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_a07b1eb689498112691ca72e8c6ae453f"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a07b1eb689498112691ca72e8c6ae453f">meow::Bitmap::create</a></div><div class="ttdeci">ObjBase * create() const </div><div class="ttdoc">new一個自己 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00393">Bitmap.h:393</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_ae7bcc670d666a784d6e5e8f14b74aa3d"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ae7bcc670d666a784d6e5e8f14b74aa3d">meow::Bitmap::reset</a></div><div class="ttdeci">void reset(size_t h, size_t w, Pixel const &p)</div><div class="ttdoc">全部重設 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00139">Bitmap.h:139</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a7f282d9a1ebb07ca5fe12d8ae73121d1"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a7f282d9a1ebb07ca5fe12d8ae73121d1">meow::Bitmap::type</a></div><div class="ttdeci">std::string type() const </div><div class="ttdoc">回傳class的type </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00429">Bitmap.h:429</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_affd5f41b44fa6afc55f2a3eb3f01cc4d"><div class="ttname"><a href="classmeow_1_1Bitmap.html#affd5f41b44fa6afc55f2a3eb3f01cc4d">meow::Bitmap::referenceFrom</a></div><div class="ttdeci">Bitmap & referenceFrom(Bitmap const &b)</div><div class="ttdoc">reference </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00126">Bitmap.h:126</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_a46a12f45237e654e0140387d7290eb8b"><div class="ttname"><a href="classmeow_1_1Matrix.html#a46a12f45237e654e0140387d7290eb8b">meow::Matrix::entry</a></div><div class="ttdeci">Entry entry(size_t r, size_t c) const </div><div class="ttdoc">Access the entry at r x c. </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00211">Matrix.h:211</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a1630de00aebe37d58e04d6b9fc69eafb"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a1630de00aebe37d58e04d6b9fc69eafb">meow::Bitmap::gradiancedX</a></div><div class="ttdeci">Bitmap< Pixel > & gradiancedX(double radiusY, double radiusX)</div><div class="ttdoc">把自己對x偏微分 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00310">Bitmap.h:310</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a3887d1c54026fe8ed27fd21a294d8d0a"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a3887d1c54026fe8ed27fd21a294d8d0a">meow::Bitmap::height</a></div><div class="ttdeci">size_t height(size_t h2, Pixel const &p)</div><div class="ttdoc">修改高度 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00178">Bitmap.h:178</a></div></div> +<div class="ttc" id="classmeow_1_1Matrix_html_ac17251cb984beb1f74558724a22a0120"><div class="ttname"><a href="classmeow_1_1Matrix.html#ac17251cb984beb1f74558724a22a0120">meow::Matrix::reset</a></div><div class="ttdeci">void reset(size_t r, size_t c, Entry const &e)</div><div class="ttdoc">reset the size of the matrix to r x c with entry all be e </div><div class="ttdef"><b>Definition:</b> <a href="Matrix_8h_source.html#l00115">Matrix.h:115</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_af15952db2e4ecaa1e24ebfb8a1c5e650"><div class="ttname"><a href="classmeow_1_1Bitmap.html#af15952db2e4ecaa1e24ebfb8a1c5e650">meow::Bitmap::gaussianed</a></div><div class="ttdeci">Bitmap & gaussianed(double radiusY, double radiusX)</div><div class="ttdoc">把自己高斯模糊 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00287">Bitmap.h:287</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_a07b1eb689498112691ca72e8c6ae453f"><div class="ttname"><a href="classmeow_1_1Bitmap.html#a07b1eb689498112691ca72e8c6ae453f">meow::Bitmap::create</a></div><div class="ttdeci">ObjBase * create() const </div><div class="ttdoc">new一個自己 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00400">Bitmap.h:400</a></div></div> <div class="ttc" id="namespacemeow_html_a1954e235973a2ac79a7a72a4b7d25573"><div class="ttname"><a href="namespacemeow.html#a1954e235973a2ac79a7a72a4b7d25573">meow::squ</a></div><div class="ttdeci">T squ(T const &x)</div><div class="ttdoc">x*x </div><div class="ttdef"><b>Definition:</b> <a href="math_2utility_8h_source.html#l00067">utility.h:67</a></div></div> -<div class="ttc" id="classmeow_1_1Bitmap_html_ae8d8985bd64971590862b165e2949faf"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ae8d8985bd64971590862b165e2949faf">meow::Bitmap::gradiancedY</a></div><div class="ttdeci">Bitmap< Pixel > & gradiancedY(double radiusY, double radiusX)</div><div class="ttdoc">把自己對y偏微分 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00326">Bitmap.h:326</a></div></div> +<div class="ttc" id="classmeow_1_1Bitmap_html_ae8d8985bd64971590862b165e2949faf"><div class="ttname"><a href="classmeow_1_1Bitmap.html#ae8d8985bd64971590862b165e2949faf">meow::Bitmap::gradiancedY</a></div><div class="ttdeci">Bitmap< Pixel > & gradiancedY(double radiusY, double radiusX)</div><div class="ttdoc">把自己對y偏微分 </div><div class="ttdef"><b>Definition:</b> <a href="Bitmap_8h_source.html#l00333">Bitmap.h:333</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- HTML footer for doxygen 1.8.3.1--> @@ -356,7 +362,7 @@ $(document).ready(function(){initNavTree('Bitmap_8h_source.html','');}); <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_92fecd8d02dd5e7a67429447fdf0f60f.html">meowpp</a></li><li class="navelem"><a class="el" href="dir_115d3279a93b9c99d8f569a34543848f.html">gra</a></li><li class="navelem"><a class="el" href="Bitmap_8h.html">Bitmap.h</a></li> - <li class="footer">Generated on Tue Jun 24 2014 03:53:31 for Templates -- Meow by + <li class="footer">Generated on Fri Jun 27 2014 18:24:40 for Templates -- Meow by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> </ul> |