123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305 |
- \hypertarget{class_main_window}{}\section{Referencia de la Clase Main\+Window}
- \label{class_main_window}\index{Main\+Window@{Main\+Window}}
- Diagrama de herencias de Main\+Window\begin{figure}[H]
- \begin{center}
- \leavevmode
- \includegraphics[height=2.000000cm]{class_main_window}
- \end{center}
- \end{figure}
- \subsection*{Métodos públicos}
- \begin{DoxyCompactItemize}
- \item
- \hyperlink{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{Main\+Window} (Q\+Widget $\ast$parent=0)
- \begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item
- void \hyperlink{class_main_window_a92d8983ccdda1d49d2d9c6302e7aab52}{Gray\+Scale} (Q\+Image \&)
- \begin{DoxyCompactList}\small\item\em Funcion que aplica un filtro de escala gris en la imagen editada. Funciona cambiando cada pixel a un tono de color gris. \end{DoxyCompactList}\item
- void \hyperlink{class_main_window_a3d4e0cc1efd8a430d0a07901a9da96ae}{Vertical\+Flip} (Q\+Image \&)
- \begin{DoxyCompactList}\small\item\em Funcion que aplica un filtro de flip vertical en la imagen editada. Funciona poniendo el pixel de la imagen original en la posicion height-\/1-\/j (altura) de la imagen editada. \end{DoxyCompactList}\item
- void \hyperlink{class_main_window_a6827de64beb6250700e8bafc005379c4}{Horizontal\+Flip} (Q\+Image \&)
- \begin{DoxyCompactList}\small\item\em Funcion que aplica un filtro de flip horizontal en la imagen editada. Funciona poniendo el pixel de la imagen original en la posicion width-\/1-\/i (altura) de la imagen editada. \end{DoxyCompactList}\item
- void \hyperlink{class_main_window_a4fc39fdbaf9fb6a3f551eea7c4e3c9ae}{Threshold\+Filter} (Q\+Image \&, Q\+Image \&, unsigned int, bool)
- \begin{DoxyCompactList}\small\item\em Funcion que aplica un filtro de umbral en la imagen editada. Funciona creando una imagen en blanco y negro donde el color del pixel nuevo is blanco o negro dependiendo de un valor umbral y el promedio de los colores del pixel de la imagen original. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{}{\bfseries Main\+Window} (Q\+Widget $\ast$parent=0)\label{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}
-
- \item
- \hypertarget{class_main_window_a92d8983ccdda1d49d2d9c6302e7aab52}{}void {\bfseries Gray\+Scale} (Q\+Image \&)\label{class_main_window_a92d8983ccdda1d49d2d9c6302e7aab52}
-
- \item
- \hypertarget{class_main_window_a3d4e0cc1efd8a430d0a07901a9da96ae}{}void {\bfseries Vertical\+Flip} (Q\+Image \&)\label{class_main_window_a3d4e0cc1efd8a430d0a07901a9da96ae}
-
- \item
- \hypertarget{class_main_window_a6827de64beb6250700e8bafc005379c4}{}void {\bfseries Horizontal\+Flip} (Q\+Image \&)\label{class_main_window_a6827de64beb6250700e8bafc005379c4}
-
- \item
- \hypertarget{class_main_window_a4fc39fdbaf9fb6a3f551eea7c4e3c9ae}{}void {\bfseries Threshold\+Filter} (Q\+Image \&, Q\+Image \&, unsigned int, bool)\label{class_main_window_a4fc39fdbaf9fb6a3f551eea7c4e3c9ae}
-
- \end{DoxyCompactItemize}
- \subsection*{Slots privados}
- \begin{DoxyCompactItemize}
- \item
- void \hyperlink{class_main_window_a4ff08d0fe0eca41750440ca1f4d9c768}{on\+\_\+action\+Load\+\_\+\+Image\+\_\+triggered} ()
- \begin{DoxyCompactList}\small\item\em Invoca la funcion \hyperlink{class_main_window_a097fcba797448372b19307a32ced737d}{on\+\_\+btn\+Load\+Image\+\_\+clicked()} \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a9064a0047e3e77e6d48ebb59bd711da4}{}void \hyperlink{class_main_window_a9064a0047e3e77e6d48ebb59bd711da4}{on\+\_\+action\+Save\+\_\+\+Image\+\_\+triggered} ()\label{class_main_window_a9064a0047e3e77e6d48ebb59bd711da4}
-
- \begin{DoxyCompactList}\small\item\em Invoca la funcion \hyperlink{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}{on\+\_\+btn\+Save\+Image\+\_\+clicked()} \end{DoxyCompactList}\item
- \hypertarget{class_main_window_addb3dd1ec7fe84f4d8a7b63bc7431b5a}{}void {\bfseries on\+\_\+action\+Close\+\_\+\+Window\+\_\+triggered} ()\label{class_main_window_addb3dd1ec7fe84f4d8a7b63bc7431b5a}
-
- \item
- \hypertarget{class_main_window_aab8ca019ab84ef9c21ed9301abca6636}{}void \hyperlink{class_main_window_aab8ca019ab84ef9c21ed9301abca6636}{on\+\_\+action\+Invert\+\_\+\+Threshold\+\_\+\+Colors\+\_\+triggered} ()\label{class_main_window_aab8ca019ab84ef9c21ed9301abca6636}
-
- \begin{DoxyCompactList}\small\item\em Invoca la funcion \hyperlink{class_main_window_a803c210fefa9d0416f1b1c6c9769aa40}{on\+\_\+btn\+Invert\+Threshold\+\_\+clicked()} \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a78d8ae530c062adf68cd5d5d05d13320}{}void \hyperlink{class_main_window_a78d8ae530c062adf68cd5d5d05d13320}{on\+\_\+action\+Flip\+\_\+\+Image\+\_\+\+Horizontally\+\_\+triggered} ()\label{class_main_window_a78d8ae530c062adf68cd5d5d05d13320}
-
- \begin{DoxyCompactList}\small\item\em Invoca la funcion \hyperlink{class_main_window_ad5d0ca46a9061f5a22f84494de29f8d9}{on\+\_\+btn\+Flip\+Image\+Horizontally\+\_\+clicked()} \end{DoxyCompactList}\item
- \hypertarget{class_main_window_aee732b0d048591cff1432aa7992ae474}{}void \hyperlink{class_main_window_aee732b0d048591cff1432aa7992ae474}{on\+\_\+action\+Flip\+\_\+\+Image\+\_\+\+Vertically\+\_\+triggered} ()\label{class_main_window_aee732b0d048591cff1432aa7992ae474}
-
- \begin{DoxyCompactList}\small\item\em Invoca la funcion \hyperlink{class_main_window_aeb76bf75157cc088511193f8190d0d95}{on\+\_\+btn\+Flip\+Image\+Vertically\+\_\+clicked()} \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a86de73fc655de25fc6bed09f8ee304a0}{}void \hyperlink{class_main_window_a86de73fc655de25fc6bed09f8ee304a0}{on\+\_\+action\+Apply\+\_\+\+Grey\+\_\+\+Scale\+\_\+\+Filter\+\_\+triggered} ()\label{class_main_window_a86de73fc655de25fc6bed09f8ee304a0}
-
- \begin{DoxyCompactList}\small\item\em Invoca la funcion \hyperlink{class_main_window_aadc6d08a96c6003b94d29b254de97838}{on\+\_\+btn\+Grey\+Scale\+Filter\+\_\+clicked()} \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a579dbaf9e4684318a252f7bc471e2db8}{}void \hyperlink{class_main_window_a579dbaf9e4684318a252f7bc471e2db8}{on\+\_\+action\+Revert\+\_\+\+Edited\+\_\+\+Image\+\_\+to\+\_\+\+Original\+\_\+triggered} ()\label{class_main_window_a579dbaf9e4684318a252f7bc471e2db8}
-
- \begin{DoxyCompactList}\small\item\em Invoca la funcion \hyperlink{class_main_window_a4a615fae77ffcbb3ff634215be270590}{on\+\_\+btn\+Revert\+Image\+\_\+clicked()} \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a7a83ec2aee41b85977c9a832de61346b}{}void \hyperlink{class_main_window_a7a83ec2aee41b85977c9a832de61346b}{on\+\_\+action\+Instructions\+\_\+triggered} ()\label{class_main_window_a7a83ec2aee41b85977c9a832de61346b}
-
- \begin{DoxyCompactList}\small\item\em Para desplegar las instrucciones. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_ab39da572361126e8b2b47b55dd8a9f51}{}void \hyperlink{class_main_window_ab39da572361126e8b2b47b55dd8a9f51}{apply\+Threshold\+Filter} ()\label{class_main_window_ab39da572361126e8b2b47b55dd8a9f51}
-
- \begin{DoxyCompactList}\small\item\em Para aplicar el filtro de umbral. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_aeeabb8c67fc108c9df2b0da0d9674181}{}void \hyperlink{class_main_window_aeeabb8c67fc108c9df2b0da0d9674181}{instructions} ()\label{class_main_window_aeeabb8c67fc108c9df2b0da0d9674181}
-
- \begin{DoxyCompactList}\small\item\em Para desplegar las instrucciones. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_aa2b30fce1731a2ba1818f60ee9dc45a4}{}void \hyperlink{class_main_window_aa2b30fce1731a2ba1818f60ee9dc45a4}{on\+\_\+threshold\+Slider\+\_\+slider\+Released} ()\label{class_main_window_aa2b30fce1731a2ba1818f60ee9dc45a4}
-
- \begin{DoxyCompactList}\small\item\em Para aplicar el filtro de umbral y cargar la imagen editada al G\+U\+I cuando el deslizador del G\+U\+I es movido. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a097fcba797448372b19307a32ced737d}{}void \hyperlink{class_main_window_a097fcba797448372b19307a32ced737d}{on\+\_\+btn\+Load\+Image\+\_\+clicked} ()\label{class_main_window_a097fcba797448372b19307a32ced737d}
-
- \begin{DoxyCompactList}\small\item\em Para cargar una imagen al G\+U\+I cuando se marca opcion de cargar imagen. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}{}void \hyperlink{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}{on\+\_\+btn\+Save\+Image\+\_\+clicked} ()\label{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}
-
- \begin{DoxyCompactList}\small\item\em Para guardar una imagen al sistema de archivos cuando se marca opcion de guardar imagen. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a9936e00b191c04ab938897cf13690dbe}{}void \hyperlink{class_main_window_a9936e00b191c04ab938897cf13690dbe}{on\+\_\+chbox\+Threshold\+\_\+clicked} ()\label{class_main_window_a9936e00b191c04ab938897cf13690dbe}
-
- \begin{DoxyCompactList}\small\item\em Para aplicar el filtro de umbral y cargar la imagen editada al G\+U\+I. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a803c210fefa9d0416f1b1c6c9769aa40}{}void \hyperlink{class_main_window_a803c210fefa9d0416f1b1c6c9769aa40}{on\+\_\+btn\+Invert\+Threshold\+\_\+clicked} ()\label{class_main_window_a803c210fefa9d0416f1b1c6c9769aa40}
-
- \begin{DoxyCompactList}\small\item\em Para aplicar el filtro de umbral y cargar la imagen editada al G\+U\+I cuando el color del umbral es invertido. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_ad5d0ca46a9061f5a22f84494de29f8d9}{}void \hyperlink{class_main_window_ad5d0ca46a9061f5a22f84494de29f8d9}{on\+\_\+btn\+Flip\+Image\+Horizontally\+\_\+clicked} ()\label{class_main_window_ad5d0ca46a9061f5a22f84494de29f8d9}
-
- \begin{DoxyCompactList}\small\item\em Para llamar al filtro de imagen flip horizontal. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_aeb76bf75157cc088511193f8190d0d95}{}void \hyperlink{class_main_window_aeb76bf75157cc088511193f8190d0d95}{on\+\_\+btn\+Flip\+Image\+Vertically\+\_\+clicked} ()\label{class_main_window_aeb76bf75157cc088511193f8190d0d95}
-
- \begin{DoxyCompactList}\small\item\em Para llamar al filtro de imagen flip vertical. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_aadc6d08a96c6003b94d29b254de97838}{}void \hyperlink{class_main_window_aadc6d08a96c6003b94d29b254de97838}{on\+\_\+btn\+Grey\+Scale\+Filter\+\_\+clicked} ()\label{class_main_window_aadc6d08a96c6003b94d29b254de97838}
-
- \begin{DoxyCompactList}\small\item\em Para llamar al filtro de imagen de escalas grises. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a4a615fae77ffcbb3ff634215be270590}{}void \hyperlink{class_main_window_a4a615fae77ffcbb3ff634215be270590}{on\+\_\+btn\+Revert\+Image\+\_\+clicked} ()\label{class_main_window_a4a615fae77ffcbb3ff634215be270590}
-
- \begin{DoxyCompactList}\small\item\em Para reajustar la imagen editada a la imagen original. \end{DoxyCompactList}\item
- \hypertarget{class_main_window_a4ff08d0fe0eca41750440ca1f4d9c768}{}void {\bfseries on\+\_\+action\+Load\+\_\+\+Image\+\_\+triggered} ()\label{class_main_window_a4ff08d0fe0eca41750440ca1f4d9c768}
-
- \item
- \hypertarget{class_main_window_a9064a0047e3e77e6d48ebb59bd711da4}{}void {\bfseries on\+\_\+action\+Save\+\_\+\+Image\+\_\+triggered} ()\label{class_main_window_a9064a0047e3e77e6d48ebb59bd711da4}
-
- \item
- \hypertarget{class_main_window_addb3dd1ec7fe84f4d8a7b63bc7431b5a}{}void {\bfseries on\+\_\+action\+Close\+\_\+\+Window\+\_\+triggered} ()\label{class_main_window_addb3dd1ec7fe84f4d8a7b63bc7431b5a}
-
- \item
- \hypertarget{class_main_window_aab8ca019ab84ef9c21ed9301abca6636}{}void {\bfseries on\+\_\+action\+Invert\+\_\+\+Threshold\+\_\+\+Colors\+\_\+triggered} ()\label{class_main_window_aab8ca019ab84ef9c21ed9301abca6636}
-
- \item
- \hypertarget{class_main_window_a78d8ae530c062adf68cd5d5d05d13320}{}void {\bfseries on\+\_\+action\+Flip\+\_\+\+Image\+\_\+\+Horizontally\+\_\+triggered} ()\label{class_main_window_a78d8ae530c062adf68cd5d5d05d13320}
-
- \item
- \hypertarget{class_main_window_aee732b0d048591cff1432aa7992ae474}{}void {\bfseries on\+\_\+action\+Flip\+\_\+\+Image\+\_\+\+Vertically\+\_\+triggered} ()\label{class_main_window_aee732b0d048591cff1432aa7992ae474}
-
- \item
- \hypertarget{class_main_window_a86de73fc655de25fc6bed09f8ee304a0}{}void {\bfseries on\+\_\+action\+Apply\+\_\+\+Grey\+\_\+\+Scale\+\_\+\+Filter\+\_\+triggered} ()\label{class_main_window_a86de73fc655de25fc6bed09f8ee304a0}
-
- \item
- \hypertarget{class_main_window_a579dbaf9e4684318a252f7bc471e2db8}{}void {\bfseries on\+\_\+action\+Revert\+\_\+\+Edited\+\_\+\+Image\+\_\+to\+\_\+\+Original\+\_\+triggered} ()\label{class_main_window_a579dbaf9e4684318a252f7bc471e2db8}
-
- \item
- \hypertarget{class_main_window_a7a83ec2aee41b85977c9a832de61346b}{}void {\bfseries on\+\_\+action\+Instructions\+\_\+triggered} ()\label{class_main_window_a7a83ec2aee41b85977c9a832de61346b}
-
- \item
- \hypertarget{class_main_window_ab39da572361126e8b2b47b55dd8a9f51}{}void {\bfseries apply\+Threshold\+Filter} ()\label{class_main_window_ab39da572361126e8b2b47b55dd8a9f51}
-
- \item
- \hypertarget{class_main_window_aeeabb8c67fc108c9df2b0da0d9674181}{}void {\bfseries instructions} ()\label{class_main_window_aeeabb8c67fc108c9df2b0da0d9674181}
-
- \item
- \hypertarget{class_main_window_aa2b30fce1731a2ba1818f60ee9dc45a4}{}void {\bfseries on\+\_\+threshold\+Slider\+\_\+slider\+Released} ()\label{class_main_window_aa2b30fce1731a2ba1818f60ee9dc45a4}
-
- \item
- \hypertarget{class_main_window_a097fcba797448372b19307a32ced737d}{}void {\bfseries on\+\_\+btn\+Load\+Image\+\_\+clicked} ()\label{class_main_window_a097fcba797448372b19307a32ced737d}
-
- \item
- \hypertarget{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}{}void {\bfseries on\+\_\+btn\+Save\+Image\+\_\+clicked} ()\label{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}
-
- \item
- \hypertarget{class_main_window_a9936e00b191c04ab938897cf13690dbe}{}void {\bfseries on\+\_\+chbox\+Threshold\+\_\+clicked} ()\label{class_main_window_a9936e00b191c04ab938897cf13690dbe}
-
- \item
- \hypertarget{class_main_window_a803c210fefa9d0416f1b1c6c9769aa40}{}void {\bfseries on\+\_\+btn\+Invert\+Threshold\+\_\+clicked} ()\label{class_main_window_a803c210fefa9d0416f1b1c6c9769aa40}
-
- \item
- \hypertarget{class_main_window_ad5d0ca46a9061f5a22f84494de29f8d9}{}void {\bfseries on\+\_\+btn\+Flip\+Image\+Horizontally\+\_\+clicked} ()\label{class_main_window_ad5d0ca46a9061f5a22f84494de29f8d9}
-
- \item
- \hypertarget{class_main_window_aeb76bf75157cc088511193f8190d0d95}{}void {\bfseries on\+\_\+btn\+Flip\+Image\+Vertically\+\_\+clicked} ()\label{class_main_window_aeb76bf75157cc088511193f8190d0d95}
-
- \item
- \hypertarget{class_main_window_aadc6d08a96c6003b94d29b254de97838}{}void {\bfseries on\+\_\+btn\+Grey\+Scale\+Filter\+\_\+clicked} ()\label{class_main_window_aadc6d08a96c6003b94d29b254de97838}
-
- \item
- \hypertarget{class_main_window_a4a615fae77ffcbb3ff634215be270590}{}void {\bfseries on\+\_\+btn\+Revert\+Image\+\_\+clicked} ()\label{class_main_window_a4a615fae77ffcbb3ff634215be270590}
-
- \end{DoxyCompactItemize}
- \subsection*{Atributos privados}
- \begin{DoxyCompactItemize}
- \item
- \hypertarget{class_main_window_a43606649aeaf9e561328935fca0cd1bf}{}Ui\+::\+Main\+Window $\ast$ {\bfseries ui}\label{class_main_window_a43606649aeaf9e561328935fca0cd1bf}
-
- \item
- \hypertarget{class_main_window_a4e3a604a9d31eae583a1935b5694af3b}{}Q\+Image {\bfseries original\+Image}\label{class_main_window_a4e3a604a9d31eae583a1935b5694af3b}
-
- \item
- \hypertarget{class_main_window_a958e3bd8b0adbd5675083198a25d35ab}{}Q\+Image {\bfseries edited\+Image}\label{class_main_window_a958e3bd8b0adbd5675083198a25d35ab}
-
- \item
- \hypertarget{class_main_window_a81fc322ea9d4bf48c690011789e7badf}{}bool {\bfseries invert\+Color}\label{class_main_window_a81fc322ea9d4bf48c690011789e7badf}
-
- \end{DoxyCompactItemize}
-
-
- \subsection{Documentación del constructor y destructor}
- \hypertarget{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{}\index{Main\+Window@{Main\+Window}!Main\+Window@{Main\+Window}}
- \index{Main\+Window@{Main\+Window}!Main\+Window@{Main\+Window}}
- \subsubsection[{Main\+Window}]{\setlength{\rightskip}{0pt plus 5cm}Main\+Window\+::\+Main\+Window (
- \begin{DoxyParamCaption}
- \item[{Q\+Widget $\ast$}]{parent = {\ttfamily 0}}
- \end{DoxyParamCaption}
- )\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}
-
-
- Constructor.
-
- Destructor. K\+E\+Y\+B\+O\+A\+R\+D S\+H\+O\+R\+T\+C\+U\+T\+S Loads a image with cmd + o Carga una imagen con cmd + o
-
- Saves a image with cmd + s Guarda una imagen con cmd + s
-
- Closes window with cmd + w Cierra la ventana con cmd + w
-
- Inverts threshold color with cmd + t Invierte el color umbral con cmd + t
-
- Flips horizontally a image with cmd + f Rota horizontalmente una imagen con cmd + f
-
- Flips vertically a image with cmd + v Rota verticalmente una imagen con cmd + v
-
- Applies greyscale filter to a image with cmd + g Aplica el filtro de tonos grises a una imagen con cmd + g
-
- Resets an edited image to the orignal one to a image with cmd + r Devuelve la imagen editada a su estado original con cmd + r
-
- Display the instructions with cmd + i Despliega las instrucciones con cmd + i
-
- \subsection{Documentación de las funciones miembro}
- \hypertarget{class_main_window_a92d8983ccdda1d49d2d9c6302e7aab52}{}\index{Main\+Window@{Main\+Window}!Gray\+Scale@{Gray\+Scale}}
- \index{Gray\+Scale@{Gray\+Scale}!Main\+Window@{Main\+Window}}
- \subsubsection[{Gray\+Scale}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::\+Gray\+Scale (
- \begin{DoxyParamCaption}
- \item[{Q\+Image \&}]{edited\+Image}
- \end{DoxyParamCaption}
- )}\label{class_main_window_a92d8983ccdda1d49d2d9c6302e7aab52}
-
-
- Funcion que aplica un filtro de escala gris en la imagen editada. Funciona cambiando cada pixel a un tono de color gris.
-
- Function that applies a greyscale filter to the edited image. It works by turning each pixel into the color grey. For this we use two for loops to access the pixels of the edited image.
-
-
- \begin{DoxyParams}{Parámetros}
- {\em original\+Image} & Referencia a la imagen original (sin filtro) \\
- \hline
- {\em edited\+Image} & Referencia a la imagen destino con el filtro aplicado. \\
- \hline
- \end{DoxyParams}
- \hypertarget{class_main_window_a6827de64beb6250700e8bafc005379c4}{}\index{Main\+Window@{Main\+Window}!Horizontal\+Flip@{Horizontal\+Flip}}
- \index{Horizontal\+Flip@{Horizontal\+Flip}!Main\+Window@{Main\+Window}}
- \subsubsection[{Horizontal\+Flip}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::\+Horizontal\+Flip (
- \begin{DoxyParamCaption}
- \item[{Q\+Image \&}]{edited\+Image}
- \end{DoxyParamCaption}
- )}\label{class_main_window_a6827de64beb6250700e8bafc005379c4}
-
-
- Funcion que aplica un filtro de flip horizontal en la imagen editada. Funciona poniendo el pixel de la imagen original en la posicion width-\/1-\/i (altura) de la imagen editada.
-
- Function that applies a horizontal flip to the edited image For this we use two for loops to access the pixels of the images. In the first loop we go through the x axis and in the second we go through the y axis and inside of it we put the pixel from the original image in the width-\/1-\/i position of the edited image.
-
-
- \begin{DoxyParams}{Parámetros}
- {\em edited\+Image} & Referencia a la imagen destino con el filtro aplicado. \\
- \hline
- \end{DoxyParams}
- \hypertarget{class_main_window_a4ff08d0fe0eca41750440ca1f4d9c768}{}\index{Main\+Window@{Main\+Window}!on\+\_\+action\+Load\+\_\+\+Image\+\_\+triggered@{on\+\_\+action\+Load\+\_\+\+Image\+\_\+triggered}}
- \index{on\+\_\+action\+Load\+\_\+\+Image\+\_\+triggered@{on\+\_\+action\+Load\+\_\+\+Image\+\_\+triggered}!Main\+Window@{Main\+Window}}
- \subsubsection[{on\+\_\+action\+Load\+\_\+\+Image\+\_\+triggered}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::on\+\_\+action\+Load\+\_\+\+Image\+\_\+triggered (
- \begin{DoxyParamCaption}
- {}
- \end{DoxyParamCaption}
- )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_main_window_a4ff08d0fe0eca41750440ca1f4d9c768}
-
-
- Invoca la funcion \hyperlink{class_main_window_a097fcba797448372b19307a32ced737d}{on\+\_\+btn\+Load\+Image\+\_\+clicked()}
-
- A\+C\+T\+I\+O\+N F\+U\+N\+C\+T\+I\+O\+N\+S \hypertarget{class_main_window_a4fc39fdbaf9fb6a3f551eea7c4e3c9ae}{}\index{Main\+Window@{Main\+Window}!Threshold\+Filter@{Threshold\+Filter}}
- \index{Threshold\+Filter@{Threshold\+Filter}!Main\+Window@{Main\+Window}}
- \subsubsection[{Threshold\+Filter}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::\+Threshold\+Filter (
- \begin{DoxyParamCaption}
- \item[{Q\+Image \&}]{original\+Image, }
- \item[{Q\+Image \&}]{edited\+Image, }
- \item[{unsigned int}]{threshold, }
- \item[{bool}]{color}
- \end{DoxyParamCaption}
- )}\label{class_main_window_a4fc39fdbaf9fb6a3f551eea7c4e3c9ae}
-
-
- Funcion que aplica un filtro de umbral en la imagen editada. Funciona creando una imagen en blanco y negro donde el color del pixel nuevo is blanco o negro dependiendo de un valor umbral y el promedio de los colores del pixel de la imagen original.
-
-
- \begin{DoxyParams}{Parámetros}
- {\em original\+Image} & Referencia a la imagen original (sin filtro) \\
- \hline
- {\em edited\+Image} & Referencia a la imagen destino con el filtro aplicado. \\
- \hline
- {\em threshold} & Intero que sirve como un umbral de color entre blanco y negro \\
- \hline
- {\em color} & Booleano para seleccionar que color blanco o negro si el promedio del color esta bajo o sobre el umbral.\\
- \hline
- \end{DoxyParams}
- Function that applies a threshold filter to the edited image. For this we use two for loops to access the pixels of the images. In the first loop we go through the x axis and in the second we go through the y axis. \hypertarget{class_main_window_a3d4e0cc1efd8a430d0a07901a9da96ae}{}\index{Main\+Window@{Main\+Window}!Vertical\+Flip@{Vertical\+Flip}}
- \index{Vertical\+Flip@{Vertical\+Flip}!Main\+Window@{Main\+Window}}
- \subsubsection[{Vertical\+Flip}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::\+Vertical\+Flip (
- \begin{DoxyParamCaption}
- \item[{Q\+Image \&}]{edited\+Image}
- \end{DoxyParamCaption}
- )}\label{class_main_window_a3d4e0cc1efd8a430d0a07901a9da96ae}
-
-
- Funcion que aplica un filtro de flip vertical en la imagen editada. Funciona poniendo el pixel de la imagen original en la posicion height-\/1-\/j (altura) de la imagen editada.
-
- Function that applies a vertical flip to the edited image. For this we use two for loops to access the pixels of the images. In the first loop we go through the x axis and in the second we go through the y axis and inside of it we put the pixel from the original image in the heigth-\/1-\/j position of the edited image.
-
-
- \begin{DoxyParams}{Parámetros}
- {\em edited\+Image} & Referencia a la imagen destino con el filtro aplicado. \\
- \hline
- \end{DoxyParams}
-
-
- La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
- \item
- bk/mainwindow.\+h\item
- bk/mainwindow.\+cpp\item
- filter.\+cpp\end{DoxyCompactItemize}
|