\hypertarget{class_main_window}{}\section{Main\+Window Class Reference} \label{class_main_window}\index{Main\+Window@{Main\+Window}} Inheritance diagram for Main\+Window\+:\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2.000000cm]{class_main_window} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hypertarget{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{}\hyperlink{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{Main\+Window} (Q\+Widget $\ast$parent=0)\label{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db} \begin{DoxyCompactList}\small\item\em Default Constructor for the \hyperlink{class_main_window}{Main\+Window}. \end{DoxyCompactList}\item \hypertarget{class_main_window_a46f80e359e19d2aac22df1fce85f3bdc}{}void \hyperlink{class_main_window_a46f80e359e19d2aac22df1fce85f3bdc}{Merge\+Images} (const Q\+Image \&, const Q\+Image \&, Q\+Image \&, int, bool=false, int=0, int=0, int=0, int=0)\label{class_main_window_a46f80e359e19d2aac22df1fce85f3bdc} \begin{DoxyCompactList}\small\item\em Funcion that merges two images together. It takes an image with any background color and puts it in another image that will act as a background. (Implements Greenscreen techonology) \end{DoxyCompactList}\item \hypertarget{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{}\hyperlink{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{$\sim$\+Main\+Window} ()\label{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7} \begin{DoxyCompactList}\small\item\em Destructor for the \hyperlink{class_main_window}{Main\+Window}. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Private Slots} \begin{DoxyCompactItemize} \item \hypertarget{class_main_window_a515c32e265a56100d4c8e6a7718aec38}{}void \hyperlink{class_main_window_a515c32e265a56100d4c8e6a7718aec38}{on\+\_\+ghost\+Box\+\_\+clicked} ()\label{class_main_window_a515c32e265a56100d4c8e6a7718aec38} \begin{DoxyCompactList}\small\item\em Funtion that invokes the threshold\+Slider function and creates a ghost version of the image with greenscreen background. \end{DoxyCompactList}\item \hypertarget{class_main_window_a0f9a3a6f81784e420db099e1bb051475}{}void \hyperlink{class_main_window_a0f9a3a6f81784e420db099e1bb051475}{on\+\_\+btn\+Select\+Image\+\_\+clicked} ()\label{class_main_window_a0f9a3a6f81784e420db099e1bb051475} \begin{DoxyCompactList}\small\item\em Display the file browsing window to load an image. (Green Background) \end{DoxyCompactList}\item \hypertarget{class_main_window_ac0ab1a7707da7b053b36b869eb7711d2}{}void \hyperlink{class_main_window_ac0ab1a7707da7b053b36b869eb7711d2}{on\+\_\+btn\+Select\+Background\+\_\+clicked} ()\label{class_main_window_ac0ab1a7707da7b053b36b869eb7711d2} \begin{DoxyCompactList}\small\item\em Display the file browsing window to load a background image. \end{DoxyCompactList}\item \hypertarget{class_main_window_a8ed5fa16d89ef45aa856b5cc4392a6d8}{}void \hyperlink{class_main_window_a8ed5fa16d89ef45aa856b5cc4392a6d8}{on\+\_\+btn\+Merge\+Images\+\_\+clicked} ()\label{class_main_window_a8ed5fa16d89ef45aa856b5cc4392a6d8} \begin{DoxyCompactList}\small\item\em Invokes the function that merges the green screen image with the background image, then displays the merged image. \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 Displays the file browse window to choose the path to save the merged image in the file system. \end{DoxyCompactList}\item void \hyperlink{class_main_window_a1d0a4664de36d7b98928cb815aaf29b9}{Mouse\+\_\+\+Pressed} () \begin{DoxyCompactList}\small\item\em Function that gets the coordinates of the image with the greenscreen. \end{DoxyCompactList}\item \hypertarget{class_main_window_a0ff8f0c31c003b27896a579fdff5afad}{}void {\bfseries Mouse\+\_\+\+Pressed\+Background} ()\label{class_main_window_a0ff8f0c31c003b27896a579fdff5afad} \item \hypertarget{class_main_window_ad753a0e24a11fedfaeb6f3ba665749d7}{}void \hyperlink{class_main_window_ad753a0e24a11fedfaeb6f3ba665749d7}{on\+\_\+threshold\+Slider\+\_\+action\+Triggered} ()\label{class_main_window_ad753a0e24a11fedfaeb6f3ba665749d7} \begin{DoxyCompactList}\small\item\em Invokes the function that merges the green screen image with the background image. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Private Attributes} \begin{DoxyCompactItemize} \item \hypertarget{class_main_window_a35466a70ed47252a0191168126a352a5}{}Ui\+::\+Main\+Window $\ast$ {\bfseries ui}\label{class_main_window_a35466a70ed47252a0191168126a352a5} \item \hypertarget{class_main_window_a4e3a604a9d31eae583a1935b5694af3b}{}Q\+Image {\bfseries original\+Image}\label{class_main_window_a4e3a604a9d31eae583a1935b5694af3b} \item \hypertarget{class_main_window_a7901a775a7746ef814f04db64414568d}{}Q\+Image {\bfseries background\+Image}\label{class_main_window_a7901a775a7746ef814f04db64414568d} \item \hypertarget{class_main_window_aa8eba166f2ef1f15dc3f5e3e9a5a315c}{}Q\+Image {\bfseries merged\+Image}\label{class_main_window_aa8eba166f2ef1f15dc3f5e3e9a5a315c} \end{DoxyCompactItemize} \subsection{Member Function Documentation} \hypertarget{class_main_window_a1d0a4664de36d7b98928cb815aaf29b9}{}\index{Main\+Window@{Main\+Window}!Mouse\+\_\+\+Pressed@{Mouse\+\_\+\+Pressed}} \index{Mouse\+\_\+\+Pressed@{Mouse\+\_\+\+Pressed}!Main\+Window@{Main\+Window}} \subsubsection[{Mouse\+\_\+\+Pressed}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::\+Mouse\+\_\+\+Pressed ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_main_window_a1d0a4664de36d7b98928cb815aaf29b9} Function that gets the coordinates of the image with the greenscreen. Function that gets the coordinaates of the image with the final background. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} \item Merge\+Panel.\+h\item \hyperlink{_filter_8cpp}{Filter.\+cpp}\item Merge\+Panel.\+cpp\end{DoxyCompactItemize}