Ei kuvausta

class_main_window.tex 7.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. \hypertarget{class_main_window}{}\section{Referencia de la Clase Main\+Window}
  2. \label{class_main_window}\index{Main\+Window@{Main\+Window}}
  3. Diagrama de herencias de Main\+Window\begin{figure}[H]
  4. \begin{center}
  5. \leavevmode
  6. \includegraphics[height=2.000000cm]{class_main_window}
  7. \end{center}
  8. \end{figure}
  9. \subsection*{Métodos públicos}
  10. \begin{DoxyCompactItemize}
  11. \item
  12. \hyperlink{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{Main\+Window} (Q\+Widget $\ast$parent=0)
  13. \begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item
  14. void \hyperlink{class_main_window_a1ef271ff94a2ae4a2e2d4ddc5f78f7e6}{Pixel\+Sort} (vector$<$ Q\+Rgb $>$ \&pixels)
  15. \begin{DoxyCompactList}\small\item\em Funcion que ordena pixeles usando Selection Sort (Seleccion) \end{DoxyCompactList}\item
  16. \hypertarget{class_main_window_acb4d4a3692e9edf987f35b21edf1427d}{}void \hyperlink{class_main_window_acb4d4a3692e9edf987f35b21edf1427d}{Remove\+Noise} (Q\+Image \&final\+Image, const vector$<$ Q\+Image $>$ \&images)\label{class_main_window_acb4d4a3692e9edf987f35b21edf1427d}
  17. \begin{DoxyCompactList}\small\item\em Funcion que remueve el ruido de un conjunto de imagenes. Por cada posicion (i, j) de los pixeles, inserta en un vector el pixel en esa posicion por cada una de las imagenes, ordena el vector de pixeles, y finalmente ajusta el pixel (i,j) de la nueva imagen al pixel en la media. \end{DoxyCompactList}\end{DoxyCompactItemize}
  18. \subsection*{Slots privados}
  19. \begin{DoxyCompactItemize}
  20. \item
  21. \hypertarget{class_main_window_a50277f5201555db09f53f5c721aedeea}{}void \hyperlink{class_main_window_a50277f5201555db09f53f5c721aedeea}{on\+\_\+btn\+Load\+Images\+\_\+clicked} ()\label{class_main_window_a50277f5201555db09f53f5c721aedeea}
  22. \begin{DoxyCompactList}\small\item\em Funcion que carga una imagen a una etiqueta del G\+U\+I. \end{DoxyCompactList}\item
  23. \hypertarget{class_main_window_aae2244407f60009048a97972eaa9d2a8}{}void \hyperlink{class_main_window_aae2244407f60009048a97972eaa9d2a8}{on\+\_\+btn\+Remove\+Noise\+\_\+clicked} ()\label{class_main_window_aae2244407f60009048a97972eaa9d2a8}
  24. \begin{DoxyCompactList}\small\item\em Funcion que invoca la funcion que remueve el ruido de las imagenes y ajusta la imagen que devuelve enn el G\+U\+I. \end{DoxyCompactList}\item
  25. \hypertarget{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}{}void \hyperlink{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}{on\+\_\+btn\+Save\+Image\+\_\+clicked} ()\label{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}
  26. \begin{DoxyCompactList}\small\item\em Funcion que guarda la imagen sin ruido en la computadora. \end{DoxyCompactList}\item
  27. \hypertarget{class_main_window_ab37ac3fb919fcbb12543a5c25813e5a6}{}void \hyperlink{class_main_window_ab37ac3fb919fcbb12543a5c25813e5a6}{on\+\_\+act\+Load\+\_\+\+Images\+\_\+triggered} ()\label{class_main_window_ab37ac3fb919fcbb12543a5c25813e5a6}
  28. \begin{DoxyCompactList}\small\item\em Invoca \hyperlink{class_main_window_a50277f5201555db09f53f5c721aedeea}{on\+\_\+btn\+Load\+Images\+\_\+clicked()} desde los botones. \end{DoxyCompactList}\item
  29. \hypertarget{class_main_window_ab6f80eeb70e84d0ae1295bd79a546468}{}void \hyperlink{class_main_window_ab6f80eeb70e84d0ae1295bd79a546468}{on\+\_\+act\+Remove\+Noise\+\_\+triggered} ()\label{class_main_window_ab6f80eeb70e84d0ae1295bd79a546468}
  30. \begin{DoxyCompactList}\small\item\em Invoca \hyperlink{class_main_window_aae2244407f60009048a97972eaa9d2a8}{on\+\_\+btn\+Remove\+Noise\+\_\+clicked()} desde los botones. \end{DoxyCompactList}\item
  31. \hypertarget{class_main_window_a5939455a2e03188852db2182a0247f18}{}void \hyperlink{class_main_window_a5939455a2e03188852db2182a0247f18}{on\+\_\+act\+Save\+Image\+\_\+triggered} ()\label{class_main_window_a5939455a2e03188852db2182a0247f18}
  32. \begin{DoxyCompactList}\small\item\em Invoca \hyperlink{class_main_window_a5939455a2e03188852db2182a0247f18}{on\+\_\+act\+Save\+Image\+\_\+triggered()} desde los botones. \end{DoxyCompactList}\end{DoxyCompactItemize}
  33. \subsection*{Métodos privados}
  34. \begin{DoxyCompactItemize}
  35. \item
  36. void \hyperlink{class_main_window_a0e9e12ec3c93d49b12559ccf1d8fbb52}{load\+Images} (vector$<$ Q\+Image $>$ \&, Q\+String)
  37. \begin{DoxyCompactList}\small\item\em Funcion que carga multiples imagenes de un directorio. \end{DoxyCompactList}\end{DoxyCompactItemize}
  38. \subsection*{Atributos privados}
  39. \begin{DoxyCompactItemize}
  40. \item
  41. \hypertarget{class_main_window_a35466a70ed47252a0191168126a352a5}{}Ui\+::\+Main\+Window $\ast$ {\bfseries ui}\label{class_main_window_a35466a70ed47252a0191168126a352a5}
  42. \item
  43. \hypertarget{class_main_window_acf4a478c904743c5739eaea26c329271}{}Q\+Image {\bfseries final\+Image}\label{class_main_window_acf4a478c904743c5739eaea26c329271}
  44. \item
  45. \hypertarget{class_main_window_a9e8eec97dd2fc09af9141de7e262d343}{}vector$<$ Q\+Image $>$ {\bfseries images}\label{class_main_window_a9e8eec97dd2fc09af9141de7e262d343}
  46. \end{DoxyCompactItemize}
  47. \subsection{Documentación del constructor y destructor}
  48. \hypertarget{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{}\index{Main\+Window@{Main\+Window}!Main\+Window@{Main\+Window}}
  49. \index{Main\+Window@{Main\+Window}!Main\+Window@{Main\+Window}}
  50. \subsubsection[{Main\+Window}]{\setlength{\rightskip}{0pt plus 5cm}Main\+Window\+::\+Main\+Window (
  51. \begin{DoxyParamCaption}
  52. \item[{Q\+Widget $\ast$}]{parent = {\ttfamily 0}}
  53. \end{DoxyParamCaption}
  54. )\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}
  55. Constructor.
  56. Destructor. Keyboard shortcuts Atajos del teclado
  57. Closes window with cmd + w Cierra la ventana con cmd + w
  58. Loads a image with cmd + o Carga una imagen con cmd + o
  59. Removes noise from a image with cmd + r Remueve el ruido de una imagen con cmd + r
  60. Saves an image without noise with cmd + s Guarda una imagen sin ruido con cmd + s
  61. \subsection{Documentación de las funciones miembro}
  62. \hypertarget{class_main_window_a0e9e12ec3c93d49b12559ccf1d8fbb52}{}\index{Main\+Window@{Main\+Window}!load\+Images@{load\+Images}}
  63. \index{load\+Images@{load\+Images}!Main\+Window@{Main\+Window}}
  64. \subsubsection[{load\+Images}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::load\+Images (
  65. \begin{DoxyParamCaption}
  66. \item[{vector$<$ Q\+Image $>$ \&}]{images, }
  67. \item[{Q\+String}]{path}
  68. \end{DoxyParamCaption}
  69. )\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_a0e9e12ec3c93d49b12559ccf1d8fbb52}
  70. Funcion que carga multiples imagenes de un directorio.
  71. \begin{DoxyParams}{Parámetros}
  72. {\em images} & vector de imagenes con ruido \\
  73. \hline
  74. {\em path} & camino al directorio con las imagenes para cargar. \\
  75. \hline
  76. \end{DoxyParams}
  77. \hypertarget{class_main_window_a1ef271ff94a2ae4a2e2d4ddc5f78f7e6}{}\index{Main\+Window@{Main\+Window}!Pixel\+Sort@{Pixel\+Sort}}
  78. \index{Pixel\+Sort@{Pixel\+Sort}!Main\+Window@{Main\+Window}}
  79. \subsubsection[{Pixel\+Sort}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::\+Pixel\+Sort (
  80. \begin{DoxyParamCaption}
  81. \item[{vector$<$ Q\+Rgb $>$ \&}]{pixels}
  82. \end{DoxyParamCaption}
  83. )}\label{class_main_window_a1ef271ff94a2ae4a2e2d4ddc5f78f7e6}
  84. Funcion que ordena pixeles usando Selection Sort (Seleccion)
  85. \begin{DoxyParams}{Parámetros}
  86. {\em pixels} & vector de pixeles \\
  87. \hline
  88. \end{DoxyParams}
  89. La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
  90. \item
  91. mainwindow.\+h\item
  92. Filter.\+cpp\item
  93. mainwindow.\+cpp\end{DoxyCompactItemize}