Ei kuvausta

class_image_scrambler.html 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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.9.1"/>
  7. <title>My Project: ImageScrambler Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  42. <li><a href="files.html"><span>Files</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  64. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  65. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="#pri-slots">Private Slots</a> &#124;
  86. <a href="#pri-attribs">Private Attributes</a> &#124;
  87. <a href="class_image_scrambler-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">ImageScrambler Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <div class="dynheader">
  93. Inheritance diagram for ImageScrambler:</div>
  94. <div class="dyncontent">
  95. <div class="center">
  96. <img src="class_image_scrambler.png" usemap="#ImageScrambler_map" alt=""/>
  97. <map id="ImageScrambler_map" name="ImageScrambler_map">
  98. </map>
  99. </div></div>
  100. <table class="memberdecls">
  101. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  102. Public Member Functions</h2></td></tr>
  103. <tr class="memitem:add8fe476a0557f10a1fdae5b2b8e576a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add8fe476a0557f10a1fdae5b2b8e576a"></a>
  104. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#add8fe476a0557f10a1fdae5b2b8e576a">ImageScrambler</a> (QWidget *parent=0)</td></tr>
  105. <tr class="memdesc:add8fe476a0557f10a1fdae5b2b8e576a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
  106. <tr class="separator:add8fe476a0557f10a1fdae5b2b8e576a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:aa0ad5b405d49d1769d7e794f391f8657"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0ad5b405d49d1769d7e794f391f8657"></a>
  108. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#aa0ad5b405d49d1769d7e794f391f8657">~ImageScrambler</a> ()</td></tr>
  109. <tr class="memdesc:aa0ad5b405d49d1769d7e794f391f8657"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  110. <tr class="separator:aa0ad5b405d49d1769d7e794f391f8657"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:afe4e275f55ee362ea7ce13fcec6f0b26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#afe4e275f55ee362ea7ce13fcec6f0b26">cropSwap</a> (QImage &amp;, int, int, int, int, int, int)</td></tr>
  112. <tr class="memdesc:afe4e275f55ee362ea7ce13fcec6f0b26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funtion that crop two squares of equal size of an image or sub image and swaps them. The funtion receives two coords (x0, y0) and (x1, y1) and a width and a height. Then swaps pixel by pixel the square formed from the top left coordinate (x0, y0) to the bottom right coordinate (x0+width, y0+height) with the square formed from the top left coordinate (x1, y1) to the bottom right (x1+width, y1+height). <a href="#afe4e275f55ee362ea7ce13fcec6f0b26">More...</a><br /></td></tr>
  113. <tr class="separator:afe4e275f55ee362ea7ce13fcec6f0b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a7eb90242d1779b98f48f9abe5ed7d698"><td class="memItemLeft" align="right" valign="top">QImage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#a7eb90242d1779b98f48f9abe5ed7d698">ScrambleFilter</a> (QImage image, int, int, int, int, int)</td></tr>
  115. <tr class="memdesc:a7eb90242d1779b98f48f9abe5ed7d698"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funtion that recursively scrambles an images by dividing the image in squares (sub images) and then swapping them. The first step the program does is divide the image in two or four squares and swap the squares, the resulting image is divided in four squares and then the same steps are applied recursively to each of the four squares. <a href="#a7eb90242d1779b98f48f9abe5ed7d698">More...</a><br /></td></tr>
  116. <tr class="separator:a7eb90242d1779b98f48f9abe5ed7d698"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. </table><table class="memberdecls">
  118. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
  119. Private Slots</h2></td></tr>
  120. <tr class="memitem:afa24bbf9d4f71fd0853478a66d74d5f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa24bbf9d4f71fd0853478a66d74d5f4"></a>
  121. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#afa24bbf9d4f71fd0853478a66d74d5f4">on_btnLoadNewImage_clicked</a> ()</td></tr>
  122. <tr class="memdesc:afa24bbf9d4f71fd0853478a66d74d5f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function display a file browsing window to load an image into the GUI. <br /></td></tr>
  123. <tr class="separator:afa24bbf9d4f71fd0853478a66d74d5f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:aba8b3a0f8d406c9e48e1d0e9e429a60e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba8b3a0f8d406c9e48e1d0e9e429a60e"></a>
  125. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#aba8b3a0f8d406c9e48e1d0e9e429a60e">on_btnSave_clicked</a> ()</td></tr>
  126. <tr class="memdesc:aba8b3a0f8d406c9e48e1d0e9e429a60e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that saves the scrambled image in the computer. <br /></td></tr>
  127. <tr class="separator:aba8b3a0f8d406c9e48e1d0e9e429a60e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a2a548be139a62d30dea82e2797d51ec7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a548be139a62d30dea82e2797d51ec7"></a>
  129. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#a2a548be139a62d30dea82e2797d51ec7">on_btnScrambleImage_clicked</a> ()</td></tr>
  130. <tr class="memdesc:a2a548be139a62d30dea82e2797d51ec7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function invokes the ScrambleFilter function to scramble the image and load it in the GUI. <br /></td></tr>
  131. <tr class="separator:a2a548be139a62d30dea82e2797d51ec7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a7c3ef8d29bfc424d296e95c6acdb427e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c3ef8d29bfc424d296e95c6acdb427e"></a>
  133. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#a7c3ef8d29bfc424d296e95c6acdb427e">on_btnDescrambleImage_clicked</a> ()</td></tr>
  134. <tr class="memdesc:a7c3ef8d29bfc424d296e95c6acdb427e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that restore the scrambled image to the original image. <br /></td></tr>
  135. <tr class="separator:a7c3ef8d29bfc424d296e95c6acdb427e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a7199f376e7dc4fc4b61145be2dcaaad3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7199f376e7dc4fc4b61145be2dcaaad3"></a>
  137. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#a7199f376e7dc4fc4b61145be2dcaaad3">on_actionLoad_Image_triggered</a> ()</td></tr>
  138. <tr class="memdesc:a7199f376e7dc4fc4b61145be2dcaaad3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that invokes the <a class="el" href="class_image_scrambler.html#afa24bbf9d4f71fd0853478a66d74d5f4" title="Function display a file browsing window to load an image into the GUI. ">on_btnLoadNewImage_clicked()</a> function. <br /></td></tr>
  139. <tr class="separator:a7199f376e7dc4fc4b61145be2dcaaad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:aef30dcfeee03fa8aee60fd7ba89815b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef30dcfeee03fa8aee60fd7ba89815b3"></a>
  141. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#aef30dcfeee03fa8aee60fd7ba89815b3">on_actionSave_Image_triggered</a> ()</td></tr>
  142. <tr class="memdesc:aef30dcfeee03fa8aee60fd7ba89815b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that invokes the <a class="el" href="class_image_scrambler.html#aba8b3a0f8d406c9e48e1d0e9e429a60e" title="Function that saves the scrambled image in the computer. ">on_btnSave_clicked()</a> function. <br /></td></tr>
  143. <tr class="separator:aef30dcfeee03fa8aee60fd7ba89815b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:ac7514d09c9ee2b021d803375eba95f74"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7514d09c9ee2b021d803375eba95f74"></a>
  145. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#ac7514d09c9ee2b021d803375eba95f74">on_actionScramble_Image_triggered</a> ()</td></tr>
  146. <tr class="memdesc:ac7514d09c9ee2b021d803375eba95f74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that invokes the <a class="el" href="class_image_scrambler.html#a2a548be139a62d30dea82e2797d51ec7" title="Function invokes the ScrambleFilter function to scramble the image and load it in the GUI...">on_btnScrambleImage_clicked()</a> function. <br /></td></tr>
  147. <tr class="separator:ac7514d09c9ee2b021d803375eba95f74"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a80b3b6e575f0b24290d71d202d910fed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80b3b6e575f0b24290d71d202d910fed"></a>
  149. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#a80b3b6e575f0b24290d71d202d910fed">on_actionDescramble_Image_triggered</a> ()</td></tr>
  150. <tr class="memdesc:a80b3b6e575f0b24290d71d202d910fed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that invokes the <a class="el" href="class_image_scrambler.html#a7c3ef8d29bfc424d296e95c6acdb427e" title="Function that restore the scrambled image to the original image. ">on_btnDescrambleImage_clicked()</a> function. <br /></td></tr>
  151. <tr class="separator:a80b3b6e575f0b24290d71d202d910fed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. </table><table class="memberdecls">
  153. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  154. Private Attributes</h2></td></tr>
  155. <tr class="memitem:a9bdaf498f7f4d2b6143aae8ff59ddff3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bdaf498f7f4d2b6143aae8ff59ddff3"></a>
  156. Ui::ImageScrambler *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
  157. <tr class="separator:a9bdaf498f7f4d2b6143aae8ff59ddff3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a90f0c2de88b3d790ab25460dc2222a60"><td class="memItemLeft" align="right" valign="top">QImage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#a90f0c2de88b3d790ab25460dc2222a60">originalImage</a></td></tr>
  159. <tr class="separator:a90f0c2de88b3d790ab25460dc2222a60"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:a691bd6839008b2ec5dc3bc2933328cc2"><td class="memItemLeft" align="right" valign="top">QImage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#a691bd6839008b2ec5dc3bc2933328cc2">scrambledImage</a></td></tr>
  161. <tr class="separator:a691bd6839008b2ec5dc3bc2933328cc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a4d5951c83206c8cf7bad2c6a9f7387d8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_image_scrambler.html#a4d5951c83206c8cf7bad2c6a9f7387d8">scrambleDepth</a></td></tr>
  163. <tr class="separator:a4d5951c83206c8cf7bad2c6a9f7387d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. </table>
  165. <h2 class="groupheader">Member Function Documentation</h2>
  166. <a class="anchor" id="afe4e275f55ee362ea7ce13fcec6f0b26"></a>
  167. <div class="memitem">
  168. <div class="memproto">
  169. <table class="memname">
  170. <tr>
  171. <td class="memname">void ImageScrambler::cropSwap </td>
  172. <td>(</td>
  173. <td class="paramtype">QImage &amp;&#160;</td>
  174. <td class="paramname"><em>img</em>, </td>
  175. </tr>
  176. <tr>
  177. <td class="paramkey"></td>
  178. <td></td>
  179. <td class="paramtype">int&#160;</td>
  180. <td class="paramname"><em>x0</em>, </td>
  181. </tr>
  182. <tr>
  183. <td class="paramkey"></td>
  184. <td></td>
  185. <td class="paramtype">int&#160;</td>
  186. <td class="paramname"><em>y0</em>, </td>
  187. </tr>
  188. <tr>
  189. <td class="paramkey"></td>
  190. <td></td>
  191. <td class="paramtype">int&#160;</td>
  192. <td class="paramname"><em>x1</em>, </td>
  193. </tr>
  194. <tr>
  195. <td class="paramkey"></td>
  196. <td></td>
  197. <td class="paramtype">int&#160;</td>
  198. <td class="paramname"><em>y1</em>, </td>
  199. </tr>
  200. <tr>
  201. <td class="paramkey"></td>
  202. <td></td>
  203. <td class="paramtype">int&#160;</td>
  204. <td class="paramname"><em>width</em>, </td>
  205. </tr>
  206. <tr>
  207. <td class="paramkey"></td>
  208. <td></td>
  209. <td class="paramtype">int&#160;</td>
  210. <td class="paramname"><em>height</em>&#160;</td>
  211. </tr>
  212. <tr>
  213. <td></td>
  214. <td>)</td>
  215. <td></td><td></td>
  216. </tr>
  217. </table>
  218. </div><div class="memdoc">
  219. <p>Funtion that crop two squares of equal size of an image or sub image and swaps them. The funtion receives two coords (x0, y0) and (x1, y1) and a width and a height. Then swaps pixel by pixel the square formed from the top left coordinate (x0, y0) to the bottom right coordinate (x0+width, y0+height) with the square formed from the top left coordinate (x1, y1) to the bottom right (x1+width, y1+height). </p>
  220. <dl class="params"><dt>Parameters</dt><dd>
  221. <table class="params">
  222. <tr><td class="paramname">img</td><td>Reference to the image to swap the squares. </td></tr>
  223. <tr><td class="paramname">x0</td><td>The top left x coordinate of the first square in the image. </td></tr>
  224. <tr><td class="paramname">y0</td><td>The top left y coordinate of the first square in the image. </td></tr>
  225. <tr><td class="paramname">x1</td><td>The top left x coordinate of the second square in the image. </td></tr>
  226. <tr><td class="paramname">y1</td><td>The top left y coordinate of the second square in the image. </td></tr>
  227. <tr><td class="paramname">width</td><td>Width of the squares </td></tr>
  228. <tr><td class="paramname">height</td><td>Height of the squares </td></tr>
  229. </table>
  230. </dd>
  231. </dl>
  232. </div>
  233. </div>
  234. <a class="anchor" id="a7eb90242d1779b98f48f9abe5ed7d698"></a>
  235. <div class="memitem">
  236. <div class="memproto">
  237. <table class="memname">
  238. <tr>
  239. <td class="memname">QImage ImageScrambler::ScrambleFilter </td>
  240. <td>(</td>
  241. <td class="paramtype">QImage&#160;</td>
  242. <td class="paramname"><em>image</em>, </td>
  243. </tr>
  244. <tr>
  245. <td class="paramkey"></td>
  246. <td></td>
  247. <td class="paramtype">int&#160;</td>
  248. <td class="paramname"><em>N</em>, </td>
  249. </tr>
  250. <tr>
  251. <td class="paramkey"></td>
  252. <td></td>
  253. <td class="paramtype">int&#160;</td>
  254. <td class="paramname"><em>sx</em>, </td>
  255. </tr>
  256. <tr>
  257. <td class="paramkey"></td>
  258. <td></td>
  259. <td class="paramtype">int&#160;</td>
  260. <td class="paramname"><em>sy</em>, </td>
  261. </tr>
  262. <tr>
  263. <td class="paramkey"></td>
  264. <td></td>
  265. <td class="paramtype">int&#160;</td>
  266. <td class="paramname"><em>width</em>, </td>
  267. </tr>
  268. <tr>
  269. <td class="paramkey"></td>
  270. <td></td>
  271. <td class="paramtype">int&#160;</td>
  272. <td class="paramname"><em>height</em>&#160;</td>
  273. </tr>
  274. <tr>
  275. <td></td>
  276. <td>)</td>
  277. <td></td><td></td>
  278. </tr>
  279. </table>
  280. </div><div class="memdoc">
  281. <p>Funtion that recursively scrambles an images by dividing the image in squares (sub images) and then swapping them. The first step the program does is divide the image in two or four squares and swap the squares, the resulting image is divided in four squares and then the same steps are applied recursively to each of the four squares. </p>
  282. <dl class="params"><dt>Parameters</dt><dd>
  283. <table class="params">
  284. <tr><td class="paramname">image</td><td>The image to scramble </td></tr>
  285. <tr><td class="paramname">N</td><td>The depth of the recursion. The image will be scrambled in 4^n squares. </td></tr>
  286. <tr><td class="paramname">sx</td><td>Starting left top x coordinate of the image or sub image to divide </td></tr>
  287. <tr><td class="paramname">sy</td><td>Starting left top y coodinate of the image or sub image to divide </td></tr>
  288. <tr><td class="paramname">width</td><td>Width of the received image </td></tr>
  289. <tr><td class="paramname">height</td><td>Height of the received image </td></tr>
  290. </table>
  291. </dd>
  292. </dl>
  293. <dl class="section return"><dt>Returns</dt><dd>the scrambled image </dd></dl>
  294. </div>
  295. </div>
  296. <h2 class="groupheader">Member Data Documentation</h2>
  297. <a class="anchor" id="a90f0c2de88b3d790ab25460dc2222a60"></a>
  298. <div class="memitem">
  299. <div class="memproto">
  300. <table class="mlabels">
  301. <tr>
  302. <td class="mlabels-left">
  303. <table class="memname">
  304. <tr>
  305. <td class="memname">QImage ImageScrambler::originalImage</td>
  306. </tr>
  307. </table>
  308. </td>
  309. <td class="mlabels-right">
  310. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  311. </tr>
  312. </table>
  313. </div><div class="memdoc">
  314. <p>the original image (imagen original) </p>
  315. </div>
  316. </div>
  317. <a class="anchor" id="a4d5951c83206c8cf7bad2c6a9f7387d8"></a>
  318. <div class="memitem">
  319. <div class="memproto">
  320. <table class="mlabels">
  321. <tr>
  322. <td class="mlabels-left">
  323. <table class="memname">
  324. <tr>
  325. <td class="memname">int ImageScrambler::scrambleDepth</td>
  326. </tr>
  327. </table>
  328. </td>
  329. <td class="mlabels-right">
  330. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  331. </tr>
  332. </table>
  333. </div><div class="memdoc">
  334. <p>recursive depth (profundidad de la recursion) </p>
  335. </div>
  336. </div>
  337. <a class="anchor" id="a691bd6839008b2ec5dc3bc2933328cc2"></a>
  338. <div class="memitem">
  339. <div class="memproto">
  340. <table class="mlabels">
  341. <tr>
  342. <td class="mlabels-left">
  343. <table class="memname">
  344. <tr>
  345. <td class="memname">QImage ImageScrambler::scrambledImage</td>
  346. </tr>
  347. </table>
  348. </td>
  349. <td class="mlabels-right">
  350. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  351. </tr>
  352. </table>
  353. </div><div class="memdoc">
  354. <p>scrambled image (imagen revuelta) </p>
  355. </div>
  356. </div>
  357. <hr/>The documentation for this class was generated from the following files:<ul>
  358. <li><a class="el" href="_image_scrambler_8h_source.html">ImageScrambler.h</a></li>
  359. <li>Filter.cpp</li>
  360. <li>ImageScrambler.cpp</li>
  361. </ul>
  362. </div><!-- contents -->
  363. <!-- start footer part -->
  364. <hr class="footer"/><address class="footer"><small>
  365. Generated on Tue Jun 16 2015 20:51:16 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  366. <img class="footer" src="doxygen.png" alt="doxygen"/>
  367. </a> 1.8.9.1
  368. </small></address>
  369. </body>
  370. </html>