Keine Beschreibung

class_main_window.tex 6.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. \hypertarget{class_main_window}{}\section{Main\+Window Class Reference}
  2. \label{class_main_window}\index{Main\+Window@{Main\+Window}}
  3. Inheritance diagram for 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*{Public Member Functions}
  10. \begin{DoxyCompactItemize}
  11. \item
  12. \hypertarget{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{}\hyperlink{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{Main\+Window} (Q\+Widget $\ast$parent=0)\label{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}
  13. \begin{DoxyCompactList}\small\item\em Default Constructor for the \hyperlink{class_main_window}{Main\+Window}. \end{DoxyCompactList}\item
  14. \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}
  15. \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
  16. \hypertarget{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{}\hyperlink{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{$\sim$\+Main\+Window} ()\label{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}
  17. \begin{DoxyCompactList}\small\item\em Destructor for the \hyperlink{class_main_window}{Main\+Window}. \end{DoxyCompactList}\end{DoxyCompactItemize}
  18. \subsection*{Private Slots}
  19. \begin{DoxyCompactItemize}
  20. \item
  21. \hypertarget{class_main_window_a515c32e265a56100d4c8e6a7718aec38}{}void \hyperlink{class_main_window_a515c32e265a56100d4c8e6a7718aec38}{on\+\_\+ghost\+Box\+\_\+clicked} ()\label{class_main_window_a515c32e265a56100d4c8e6a7718aec38}
  22. \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
  23. \hypertarget{class_main_window_a0f9a3a6f81784e420db099e1bb051475}{}void \hyperlink{class_main_window_a0f9a3a6f81784e420db099e1bb051475}{on\+\_\+btn\+Select\+Image\+\_\+clicked} ()\label{class_main_window_a0f9a3a6f81784e420db099e1bb051475}
  24. \begin{DoxyCompactList}\small\item\em Display the file browsing window to load an image. (Green Background) \end{DoxyCompactList}\item
  25. \hypertarget{class_main_window_ac0ab1a7707da7b053b36b869eb7711d2}{}void \hyperlink{class_main_window_ac0ab1a7707da7b053b36b869eb7711d2}{on\+\_\+btn\+Select\+Background\+\_\+clicked} ()\label{class_main_window_ac0ab1a7707da7b053b36b869eb7711d2}
  26. \begin{DoxyCompactList}\small\item\em Display the file browsing window to load a background image. \end{DoxyCompactList}\item
  27. \hypertarget{class_main_window_a8ed5fa16d89ef45aa856b5cc4392a6d8}{}void \hyperlink{class_main_window_a8ed5fa16d89ef45aa856b5cc4392a6d8}{on\+\_\+btn\+Merge\+Images\+\_\+clicked} ()\label{class_main_window_a8ed5fa16d89ef45aa856b5cc4392a6d8}
  28. \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
  29. \hypertarget{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}{}void \hyperlink{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}{on\+\_\+btn\+Save\+Image\+\_\+clicked} ()\label{class_main_window_ad495b5030e61fb55b8ab95c5a3a559d6}
  30. \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
  31. void \hyperlink{class_main_window_a1d0a4664de36d7b98928cb815aaf29b9}{Mouse\+\_\+\+Pressed} ()
  32. \begin{DoxyCompactList}\small\item\em Function that gets the coordinates of the image with the greenscreen. \end{DoxyCompactList}\item
  33. \hypertarget{class_main_window_a0ff8f0c31c003b27896a579fdff5afad}{}void {\bfseries Mouse\+\_\+\+Pressed\+Background} ()\label{class_main_window_a0ff8f0c31c003b27896a579fdff5afad}
  34. \item
  35. \hypertarget{class_main_window_ad753a0e24a11fedfaeb6f3ba665749d7}{}void \hyperlink{class_main_window_ad753a0e24a11fedfaeb6f3ba665749d7}{on\+\_\+threshold\+Slider\+\_\+action\+Triggered} ()\label{class_main_window_ad753a0e24a11fedfaeb6f3ba665749d7}
  36. \begin{DoxyCompactList}\small\item\em Invokes the function that merges the green screen image with the background image. \end{DoxyCompactList}\end{DoxyCompactItemize}
  37. \subsection*{Private Attributes}
  38. \begin{DoxyCompactItemize}
  39. \item
  40. \hypertarget{class_main_window_a35466a70ed47252a0191168126a352a5}{}Ui\+::\+Main\+Window $\ast$ {\bfseries ui}\label{class_main_window_a35466a70ed47252a0191168126a352a5}
  41. \item
  42. \hypertarget{class_main_window_a4e3a604a9d31eae583a1935b5694af3b}{}Q\+Image {\bfseries original\+Image}\label{class_main_window_a4e3a604a9d31eae583a1935b5694af3b}
  43. \item
  44. \hypertarget{class_main_window_a7901a775a7746ef814f04db64414568d}{}Q\+Image {\bfseries background\+Image}\label{class_main_window_a7901a775a7746ef814f04db64414568d}
  45. \item
  46. \hypertarget{class_main_window_aa8eba166f2ef1f15dc3f5e3e9a5a315c}{}Q\+Image {\bfseries merged\+Image}\label{class_main_window_aa8eba166f2ef1f15dc3f5e3e9a5a315c}
  47. \end{DoxyCompactItemize}
  48. \subsection{Member Function Documentation}
  49. \hypertarget{class_main_window_a1d0a4664de36d7b98928cb815aaf29b9}{}\index{Main\+Window@{Main\+Window}!Mouse\+\_\+\+Pressed@{Mouse\+\_\+\+Pressed}}
  50. \index{Mouse\+\_\+\+Pressed@{Mouse\+\_\+\+Pressed}!Main\+Window@{Main\+Window}}
  51. \subsubsection[{Mouse\+\_\+\+Pressed}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::\+Mouse\+\_\+\+Pressed (
  52. \begin{DoxyParamCaption}
  53. {}
  54. \end{DoxyParamCaption}
  55. )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_main_window_a1d0a4664de36d7b98928cb815aaf29b9}
  56. Function that gets the coordinates of the image with the greenscreen.
  57. Function that gets the coordinaates of the image with the final background.
  58. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  59. \item
  60. Merge\+Panel.\+h\item
  61. \hyperlink{_filter_8cpp}{Filter.\+cpp}\item
  62. Merge\+Panel.\+cpp\end{DoxyCompactItemize}