\hypertarget{class_my_image_processing_classes_1_1_marks_detector}{\section{My\-Image\-Processing\-Classes.\-Marks\-Detector Class Reference}
\label{class_my_image_processing_classes_1_1_marks_detector}\index{My\-Image\-Processing\-Classes.\-Marks\-Detector@{My\-Image\-Processing\-Classes.\-Marks\-Detector}}
}


Class used to detect marks by averaging previous measurement results.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_my_image_processing_classes_1_1_marks_detector_afb30ddb2b4c9e2f4e773a776caf8f125}{Marks\-Detector} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
void \hyperlink{class_my_image_processing_classes_1_1_marks_detector_a4c271e3b16d49d8dbf0534dff0bfcef5}{Reset} ()
\begin{DoxyCompactList}\small\item\em Empty the query. \end{DoxyCompactList}\item 
void \hyperlink{class_my_image_processing_classes_1_1_marks_detector_a7ed5dcd7b334a2d58c835e50b5e5683e}{Add\-Point} (Point\-F point)
\begin{DoxyCompactList}\small\item\em Adds point into the query. \end{DoxyCompactList}\item 
Boolean \hyperlink{class_my_image_processing_classes_1_1_marks_detector_a55f3a1d2026f24c43125135cbfbb1065}{Detect\-Mark} (out Point detected\-Point)
\begin{DoxyCompactList}\small\item\em Detect point using values stored in buffer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
Boolean \hyperlink{class_my_image_processing_classes_1_1_marks_detector_a27212ea7fb83ba58f965c335a22afc22}{Is\-Buffer\-Full}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Buffer full property getter. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
const Byte \hyperlink{class_my_image_processing_classes_1_1_marks_detector_af746ee3b325637b4ecac8617e305ecd9}{M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H} = 5
\begin{DoxyCompactList}\small\item\em Length of buffer to store previous measurements. \end{DoxyCompactList}\item 
const float \hyperlink{class_my_image_processing_classes_1_1_marks_detector_a34e7776db7737fa16f6fd9aee1fcb4d7}{D\-E\-V\-I\-A\-T\-I\-O\-N\-\_\-\-T\-H\-R\-E\-S\-H} = 10f
\begin{DoxyCompactList}\small\item\em Maximal allowed deviation. \end{DoxyCompactList}\item 
Queue$<$ Point\-F $>$ \hyperlink{class_my_image_processing_classes_1_1_marks_detector_a4cf93cfb874afed0ef4cd031d09047b2}{marks\-Buffer} = new Queue$<$Point\-F$>$(\hyperlink{class_my_image_processing_classes_1_1_marks_detector_af746ee3b325637b4ecac8617e305ecd9}{M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H})
\begin{DoxyCompactList}\small\item\em Queue to store last values. \end{DoxyCompactList}\item 
Object \hyperlink{class_my_image_processing_classes_1_1_marks_detector_ae5526dc4e36146202fd1b622c40ff319}{buffer\-Access\-Lock} = new Object()
\begin{DoxyCompactList}\small\item\em Lock for buffer operations. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class used to detect marks by averaging previous measurement results. 



Definition at line 482 of file My\-Image\-Processing\-Classes.\-cs.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_my_image_processing_classes_1_1_marks_detector_afb30ddb2b4c9e2f4e773a776caf8f125}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!Marks\-Detector@{Marks\-Detector}}
\index{Marks\-Detector@{Marks\-Detector}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{Marks\-Detector}]{\setlength{\rightskip}{0pt plus 5cm}My\-Image\-Processing\-Classes.\-Marks\-Detector.\-Marks\-Detector (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_my_image_processing_classes_1_1_marks_detector_afb30ddb2b4c9e2f4e773a776caf8f125}


Default constructor. 



Definition at line 507 of file My\-Image\-Processing\-Classes.\-cs.



\subsection{Member Function Documentation}
\hypertarget{class_my_image_processing_classes_1_1_marks_detector_a7ed5dcd7b334a2d58c835e50b5e5683e}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!Add\-Point@{Add\-Point}}
\index{Add\-Point@{Add\-Point}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{Add\-Point}]{\setlength{\rightskip}{0pt plus 5cm}void My\-Image\-Processing\-Classes.\-Marks\-Detector.\-Add\-Point (
\begin{DoxyParamCaption}
\item[{Point\-F}]{point}
\end{DoxyParamCaption}
)}}\label{class_my_image_processing_classes_1_1_marks_detector_a7ed5dcd7b334a2d58c835e50b5e5683e}


Adds point into the query. 


\begin{DoxyParams}{Parameters}
{\em point} & Point.\\
\hline
\end{DoxyParams}


Definition at line 523 of file My\-Image\-Processing\-Classes.\-cs.

\hypertarget{class_my_image_processing_classes_1_1_marks_detector_a55f3a1d2026f24c43125135cbfbb1065}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!Detect\-Mark@{Detect\-Mark}}
\index{Detect\-Mark@{Detect\-Mark}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{Detect\-Mark}]{\setlength{\rightskip}{0pt plus 5cm}Boolean My\-Image\-Processing\-Classes.\-Marks\-Detector.\-Detect\-Mark (
\begin{DoxyParamCaption}
\item[{out Point}]{detected\-Point}
\end{DoxyParamCaption}
)}}\label{class_my_image_processing_classes_1_1_marks_detector_a55f3a1d2026f24c43125135cbfbb1065}


Detect point using values stored in buffer. 


\begin{DoxyParams}{Parameters}
{\em detected\-Point} & Detected point.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if succeedes.
\end{DoxyReturn}


Definition at line 558 of file My\-Image\-Processing\-Classes.\-cs.

\hypertarget{class_my_image_processing_classes_1_1_marks_detector_a4c271e3b16d49d8dbf0534dff0bfcef5}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!Reset@{Reset}}
\index{Reset@{Reset}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{Reset}]{\setlength{\rightskip}{0pt plus 5cm}void My\-Image\-Processing\-Classes.\-Marks\-Detector.\-Reset (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_my_image_processing_classes_1_1_marks_detector_a4c271e3b16d49d8dbf0534dff0bfcef5}


Empty the query. 



Definition at line 513 of file My\-Image\-Processing\-Classes.\-cs.



\subsection{Member Data Documentation}
\hypertarget{class_my_image_processing_classes_1_1_marks_detector_ae5526dc4e36146202fd1b622c40ff319}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!buffer\-Access\-Lock@{buffer\-Access\-Lock}}
\index{buffer\-Access\-Lock@{buffer\-Access\-Lock}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{buffer\-Access\-Lock}]{\setlength{\rightskip}{0pt plus 5cm}Object My\-Image\-Processing\-Classes.\-Marks\-Detector.\-buffer\-Access\-Lock = new Object()\hspace{0.3cm}{\ttfamily [private]}}}\label{class_my_image_processing_classes_1_1_marks_detector_ae5526dc4e36146202fd1b622c40ff319}


Lock for buffer operations. 



Definition at line 502 of file My\-Image\-Processing\-Classes.\-cs.

\hypertarget{class_my_image_processing_classes_1_1_marks_detector_a34e7776db7737fa16f6fd9aee1fcb4d7}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!D\-E\-V\-I\-A\-T\-I\-O\-N\-\_\-\-T\-H\-R\-E\-S\-H@{D\-E\-V\-I\-A\-T\-I\-O\-N\-\_\-\-T\-H\-R\-E\-S\-H}}
\index{D\-E\-V\-I\-A\-T\-I\-O\-N\-\_\-\-T\-H\-R\-E\-S\-H@{D\-E\-V\-I\-A\-T\-I\-O\-N\-\_\-\-T\-H\-R\-E\-S\-H}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{D\-E\-V\-I\-A\-T\-I\-O\-N\-\_\-\-T\-H\-R\-E\-S\-H}]{\setlength{\rightskip}{0pt plus 5cm}const float My\-Image\-Processing\-Classes.\-Marks\-Detector.\-D\-E\-V\-I\-A\-T\-I\-O\-N\-\_\-\-T\-H\-R\-E\-S\-H = 10f\hspace{0.3cm}{\ttfamily [private]}}}\label{class_my_image_processing_classes_1_1_marks_detector_a34e7776db7737fa16f6fd9aee1fcb4d7}


Maximal allowed deviation. 



Definition at line 492 of file My\-Image\-Processing\-Classes.\-cs.

\hypertarget{class_my_image_processing_classes_1_1_marks_detector_af746ee3b325637b4ecac8617e305ecd9}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H@{M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H}}
\index{M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H@{M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H}]{\setlength{\rightskip}{0pt plus 5cm}const Byte My\-Image\-Processing\-Classes.\-Marks\-Detector.\-M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H = 5\hspace{0.3cm}{\ttfamily [private]}}}\label{class_my_image_processing_classes_1_1_marks_detector_af746ee3b325637b4ecac8617e305ecd9}


Length of buffer to store previous measurements. 



Definition at line 487 of file My\-Image\-Processing\-Classes.\-cs.

\hypertarget{class_my_image_processing_classes_1_1_marks_detector_a4cf93cfb874afed0ef4cd031d09047b2}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!marks\-Buffer@{marks\-Buffer}}
\index{marks\-Buffer@{marks\-Buffer}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{marks\-Buffer}]{\setlength{\rightskip}{0pt plus 5cm}Queue$<$Point\-F$>$ My\-Image\-Processing\-Classes.\-Marks\-Detector.\-marks\-Buffer = new Queue$<$Point\-F$>$({\bf M\-A\-R\-K\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-L\-E\-N\-G\-T\-H})\hspace{0.3cm}{\ttfamily [private]}}}\label{class_my_image_processing_classes_1_1_marks_detector_a4cf93cfb874afed0ef4cd031d09047b2}


Queue to store last values. 



Definition at line 497 of file My\-Image\-Processing\-Classes.\-cs.



\subsection{Property Documentation}
\hypertarget{class_my_image_processing_classes_1_1_marks_detector_a27212ea7fb83ba58f965c335a22afc22}{\index{My\-Image\-Processing\-Classes\-::\-Marks\-Detector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}!Is\-Buffer\-Full@{Is\-Buffer\-Full}}
\index{Is\-Buffer\-Full@{Is\-Buffer\-Full}!MyImageProcessingClasses::MarksDetector@{My\-Image\-Processing\-Classes\-::\-Marks\-Detector}}
\subsubsection[{Is\-Buffer\-Full}]{\setlength{\rightskip}{0pt plus 5cm}Boolean My\-Image\-Processing\-Classes.\-Marks\-Detector.\-Is\-Buffer\-Full\hspace{0.3cm}{\ttfamily [get]}}}\label{class_my_image_processing_classes_1_1_marks_detector_a27212ea7fb83ba58f965c335a22afc22}


Buffer full property getter. 



Definition at line 545 of file My\-Image\-Processing\-Classes.\-cs.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Ondra/\-Desktop/\-Wheelchair Control/My\-Image\-Processing\-Classes.\-cs\end{DoxyCompactItemize}
