1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<meta http-equiv="X-UA-Compatible" content="IE=9"/> 6<meta name="generator" content="Doxygen 1.8.14"/> 7<meta name="viewport" content="width=device-width, initial-scale=1"/> 8<title>Magick++: Magick::ImagePerceptualHash Class Reference</title> 9<link href="tabs.css" rel="stylesheet" type="text/css"/> 10<script type="text/javascript" src="jquery.js"></script> 11<script type="text/javascript" src="dynsections.js"></script> 12<link href="navtree.css" rel="stylesheet" type="text/css"/> 13<script type="text/javascript" src="resize.js"></script> 14<script type="text/javascript" src="navtreedata.js"></script> 15<script type="text/javascript" src="navtree.js"></script> 16<script type="text/javascript"> 17/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 18 $(document).ready(initResizable); 19/* @license-end */</script> 20<link href="doxygen.css" rel="stylesheet" type="text/css" /> 21</head> 22<body> 23<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 24<div id="titlearea"> 25<table cellspacing="0" cellpadding="0"> 26 <tbody> 27 <tr style="height: 56px;"> 28 <td id="projectalign" style="padding-left: 0.5em;"> 29 <div id="projectname">Magick++ 30  <span id="projectnumber">7.0.10</span> 31 </div> 32 </td> 33 </tr> 34 </tbody> 35</table> 36</div> 37<!-- end header part --> 38<!-- Generated by Doxygen 1.8.14 --> 39</div><!-- top --> 40<div id="side-nav" class="ui-resizable side-nav-resizable"> 41 <div id="nav-tree"> 42 <div id="nav-tree-contents"> 43 <div id="nav-sync" class="sync"></div> 44 </div> 45 </div> 46 <div id="splitbar" style="-moz-user-select:none;" 47 class="ui-resizable-handle"> 48 </div> 49</div> 50<script type="text/javascript"> 51/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 52$(document).ready(function(){initNavTree('classMagick_1_1ImagePerceptualHash.html','');}); 53/* @license-end */ 54</script> 55<div id="doc-content"> 56<div class="header"> 57 <div class="summary"> 58<a href="classMagick_1_1ImagePerceptualHash.html#pub-methods">Public Member Functions</a> | 59<a href="https://imagemagick.org/api/Magick++/classMagick_1_1ImagePerceptualHash-members.html">List of all members</a> </div> 60 <div class="headertitle"> 61<div class="title">Magick::ImagePerceptualHash Class Reference</div> </div> 62</div><!--header--> 63<div class="contents"> 64 65<p><code>#include <<a class="el" href="Statistic_8h_source.html">Statistic.h</a>></code></p> 66<table class="memberdecls"> 67<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> 68Public Member Functions</h2></td></tr> 69<tr class="memitem:a083f0170fd8d5d9927d63b66c8f30113"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#a083f0170fd8d5d9927d63b66c8f30113">ImagePerceptualHash</a> (void)</td></tr> 70<tr class="separator:a083f0170fd8d5d9927d63b66c8f30113"><td class="memSeparator" colspan="2"> </td></tr> 71<tr class="memitem:a2822249debb61501cc6f9a299358669a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#a2822249debb61501cc6f9a299358669a">ImagePerceptualHash</a> (const <a class="el" href="classMagick_1_1ImagePerceptualHash.html">ImagePerceptualHash</a> &imagePerceptualHash_)</td></tr> 72<tr class="separator:a2822249debb61501cc6f9a299358669a"><td class="memSeparator" colspan="2"> </td></tr> 73<tr class="memitem:aa748b6b8935d756607111a58da5daf16"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#aa748b6b8935d756607111a58da5daf16">ImagePerceptualHash</a> (const std::string &hash_)</td></tr> 74<tr class="separator:aa748b6b8935d756607111a58da5daf16"><td class="memSeparator" colspan="2"> </td></tr> 75<tr class="memitem:a364918acb43b88109bc33e8568520c4c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#a364918acb43b88109bc33e8568520c4c">~ImagePerceptualHash</a> (void)</td></tr> 76<tr class="separator:a364918acb43b88109bc33e8568520c4c"><td class="memSeparator" colspan="2"> </td></tr> 77<tr class="memitem:ab24414996a77ed18f43d3fb423ff87f4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#ab24414996a77ed18f43d3fb423ff87f4">operator std::string</a> () const</td></tr> 78<tr class="separator:ab24414996a77ed18f43d3fb423ff87f4"><td class="memSeparator" colspan="2"> </td></tr> 79<tr class="memitem:aa5cc112dd2156f7ddae7df65ef648b4f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classMagick_1_1ChannelPerceptualHash.html">ChannelPerceptualHash</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#aa5cc112dd2156f7ddae7df65ef648b4f">channel</a> (const PixelChannel channel_) const</td></tr> 80<tr class="separator:aa5cc112dd2156f7ddae7df65ef648b4f"><td class="memSeparator" colspan="2"> </td></tr> 81<tr class="memitem:af063f2aad8ec262ee0452b8eb3190459"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#af063f2aad8ec262ee0452b8eb3190459">isValid</a> () const</td></tr> 82<tr class="separator:af063f2aad8ec262ee0452b8eb3190459"><td class="memSeparator" colspan="2"> </td></tr> 83<tr class="memitem:a87da0932d61f8c7a6c368820320bea26"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#a87da0932d61f8c7a6c368820320bea26">sumSquaredDifferences</a> (const <a class="el" href="classMagick_1_1ImagePerceptualHash.html">ImagePerceptualHash</a> &channelPerceptualHash_)</td></tr> 84<tr class="separator:a87da0932d61f8c7a6c368820320bea26"><td class="memSeparator" colspan="2"> </td></tr> 85<tr class="memitem:a941c94c8ae175f417b53f6c73395bddb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMagick_1_1ImagePerceptualHash.html#a941c94c8ae175f417b53f6c73395bddb">ImagePerceptualHash</a> (const <a class="el" href="classMagick_1_1Image.html">Image</a> &image_)</td></tr> 86<tr class="separator:a941c94c8ae175f417b53f6c73395bddb"><td class="memSeparator" colspan="2"> </td></tr> 87</table> 88<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 89<div class="textblock"> 90<p class="definition">Definition at line <a class="el" href="Statistic_8h_source.html#l00243">243</a> of file <a class="el" href="Statistic_8h_source.html">Statistic.h</a>.</p> 91</div><h2 class="groupheader">Constructor & Destructor Documentation</h2> 92<a id="a083f0170fd8d5d9927d63b66c8f30113"></a> 93<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#a083f0170fd8d5d9927d63b66c8f30113">◆ </a></span>ImagePerceptualHash() <span class="overload">[1/4]</span></h2> 94 95<div class="memitem"> 96<div class="memproto"> 97 <table class="memname"> 98 <tr> 99 <td class="memname">Magick::ImagePerceptualHash::ImagePerceptualHash </td> 100 <td>(</td> 101 <td class="paramtype">void </td> 102 <td class="paramname"></td><td>)</td> 103 <td></td> 104 </tr> 105 </table> 106</div><div class="memdoc"> 107 108<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00480">480</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 109 110</div> 111</div> 112<a id="a2822249debb61501cc6f9a299358669a"></a> 113<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#a2822249debb61501cc6f9a299358669a">◆ </a></span>ImagePerceptualHash() <span class="overload">[2/4]</span></h2> 114 115<div class="memitem"> 116<div class="memproto"> 117 <table class="memname"> 118 <tr> 119 <td class="memname">Magick::ImagePerceptualHash::ImagePerceptualHash </td> 120 <td>(</td> 121 <td class="paramtype">const <a class="el" href="classMagick_1_1ImagePerceptualHash.html">ImagePerceptualHash</a> & </td> 122 <td class="paramname"><em>imagePerceptualHash_</em></td><td>)</td> 123 <td></td> 124 </tr> 125 </table> 126</div><div class="memdoc"> 127 128<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00485">485</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 129 130</div> 131</div> 132<a id="aa748b6b8935d756607111a58da5daf16"></a> 133<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#aa748b6b8935d756607111a58da5daf16">◆ </a></span>ImagePerceptualHash() <span class="overload">[3/4]</span></h2> 134 135<div class="memitem"> 136<div class="memproto"> 137 <table class="memname"> 138 <tr> 139 <td class="memname">Magick::ImagePerceptualHash::ImagePerceptualHash </td> 140 <td>(</td> 141 <td class="paramtype">const std::string & </td> 142 <td class="paramname"><em>hash_</em></td><td>)</td> 143 <td></td> 144 </tr> 145 </table> 146</div><div class="memdoc"> 147 148<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00491">491</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 149 150</div> 151</div> 152<a id="a364918acb43b88109bc33e8568520c4c"></a> 153<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#a364918acb43b88109bc33e8568520c4c">◆ </a></span>~ImagePerceptualHash()</h2> 154 155<div class="memitem"> 156<div class="memproto"> 157 <table class="memname"> 158 <tr> 159 <td class="memname">Magick::ImagePerceptualHash::~ImagePerceptualHash </td> 160 <td>(</td> 161 <td class="paramtype">void </td> 162 <td class="paramname"></td><td>)</td> 163 <td></td> 164 </tr> 165 </table> 166</div><div class="memdoc"> 167 168<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00505">505</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 169 170</div> 171</div> 172<a id="a941c94c8ae175f417b53f6c73395bddb"></a> 173<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#a941c94c8ae175f417b53f6c73395bddb">◆ </a></span>ImagePerceptualHash() <span class="overload">[4/4]</span></h2> 174 175<div class="memitem"> 176<div class="memproto"> 177 <table class="memname"> 178 <tr> 179 <td class="memname">Magick::ImagePerceptualHash::ImagePerceptualHash </td> 180 <td>(</td> 181 <td class="paramtype">const <a class="el" href="classMagick_1_1Image.html">Image</a> & </td> 182 <td class="paramname"><em>image_</em></td><td>)</td> 183 <td></td> 184 </tr> 185 </table> 186</div><div class="memdoc"> 187 188<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00570">570</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 189 190<p class="reference">References <a class="el" href="Image_8cpp_source.html#l05013">Magick::Image::constImage()</a>, <a class="el" href="Include_8h_source.html#l01544">GetPPException</a>, <a class="el" href="Image_8cpp_source.html#l01314">Magick::Image::quiet()</a>, and <a class="el" href="Include_8h_source.html#l01563">ThrowPPException</a>.</p> 191 192</div> 193</div> 194<h2 class="groupheader">Member Function Documentation</h2> 195<a id="aa5cc112dd2156f7ddae7df65ef648b4f"></a> 196<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#aa5cc112dd2156f7ddae7df65ef648b4f">◆ </a></span>channel()</h2> 197 198<div class="memitem"> 199<div class="memproto"> 200 <table class="memname"> 201 <tr> 202 <td class="memname"><a class="el" href="classMagick_1_1ChannelPerceptualHash.html">Magick::ChannelPerceptualHash</a> Magick::ImagePerceptualHash::channel </td> 203 <td>(</td> 204 <td class="paramtype">const PixelChannel </td> 205 <td class="paramname"><em>channel_</em></td><td>)</td> 206 <td> const</td> 207 </tr> 208 </table> 209</div><div class="memdoc"> 210 211<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00519">519</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 212 213</div> 214</div> 215<a id="af063f2aad8ec262ee0452b8eb3190459"></a> 216<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#af063f2aad8ec262ee0452b8eb3190459">◆ </a></span>isValid()</h2> 217 218<div class="memitem"> 219<div class="memproto"> 220 <table class="memname"> 221 <tr> 222 <td class="memname">bool Magick::ImagePerceptualHash::isValid </td> 223 <td>(</td> 224 <td class="paramtype">void </td> 225 <td class="paramname"></td><td>)</td> 226 <td> const</td> 227 </tr> 228 </table> 229</div><div class="memdoc"> 230 231<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00531">531</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 232 233<p class="reference">Referenced by <a class="el" href="Statistic_8cpp_source.html#l00548">sumSquaredDifferences()</a>.</p> 234 235</div> 236</div> 237<a id="ab24414996a77ed18f43d3fb423ff87f4"></a> 238<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#ab24414996a77ed18f43d3fb423ff87f4">◆ </a></span>operator std::string()</h2> 239 240<div class="memitem"> 241<div class="memproto"> 242 <table class="memname"> 243 <tr> 244 <td class="memname">Magick::ImagePerceptualHash::operator std::string </td> 245 <td>(</td> 246 <td class="paramname"></td><td>)</td> 247 <td> const</td> 248 </tr> 249 </table> 250</div><div class="memdoc"> 251 252<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00509">509</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 253 254</div> 255</div> 256<a id="a87da0932d61f8c7a6c368820320bea26"></a> 257<h2 class="memtitle"><span class="permalink"><a href="classMagick_1_1ImagePerceptualHash.html#a87da0932d61f8c7a6c368820320bea26">◆ </a></span>sumSquaredDifferences()</h2> 258 259<div class="memitem"> 260<div class="memproto"> 261 <table class="memname"> 262 <tr> 263 <td class="memname">double Magick::ImagePerceptualHash::sumSquaredDifferences </td> 264 <td>(</td> 265 <td class="paramtype">const <a class="el" href="classMagick_1_1ImagePerceptualHash.html">ImagePerceptualHash</a> & </td> 266 <td class="paramname"><em>channelPerceptualHash_</em></td><td>)</td> 267 <td></td> 268 </tr> 269 </table> 270</div><div class="memdoc"> 271 272<p class="definition">Definition at line <a class="el" href="Statistic_8cpp_source.html#l00548">548</a> of file <a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a>.</p> 273 274<p class="reference">References <a class="el" href="Statistic_8cpp_source.html#l00531">isValid()</a>.</p> 275 276</div> 277</div> 278<hr/>The documentation for this class was generated from the following files:<ul> 279<li><a class="el" href="Statistic_8h_source.html">Statistic.h</a></li> 280<li><a class="el" href="Statistic_8cpp_source.html">Statistic.cpp</a></li> 281</ul> 282</div><!-- contents --> 283</div><!-- doc-content --> 284<!-- start footer part --> 285<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 286 <ul> 287 <li class="navelem"><a class="el" href="namespaceMagick.html">Magick</a></li><li class="navelem"><a class="el" href="classMagick_1_1ImagePerceptualHash.html">ImagePerceptualHash</a></li> 288 <li class="footer">Generated by 289 <a href="http://www.doxygen.org/index.html"> 290 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li> 291 </ul> 292</div> 293</body> 294</html> 295