classutil_1_1Parser.tex 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. \hypertarget{classutil_1_1Parser}{}\section{util\+:\+:Parser Class Reference}
  2. \label{classutil_1_1Parser}\index{util\+::\+Parser@{util\+::\+Parser}}
  3. {\ttfamily \#include $<$Parser.\+h$>$}
  4. \subsection*{Static Public Member Functions}
  5. \begin{DoxyCompactItemize}
  6. \item
  7. static void \hyperlink{classutil_1_1Parser_abcf27fbfdf936204064e3e3c0ff27d9e}{Parse\+Object\+Data2D} (Value\+Map\+Vector \&values, \hyperlink{classcore_1_1DetectionSequence}{core\+::\+Detection\+Sequence} \&sequence, double image\+\_\+width, double image\+\_\+height, double temporal\+\_\+weight, double spatial\+\_\+weight)
  8. \item
  9. static void \hyperlink{classutil_1_1Parser_a4286ab16cc0aff0669ca5a876411d532}{Parse\+Object\+Data\+Box} (Value\+Map\+Vector \&values, \hyperlink{classcore_1_1DetectionSequence}{core\+::\+Detection\+Sequence} \&sequence, double image\+\_\+width, double image\+\_\+height, double temporal\+\_\+weight, double spatial\+\_\+weight)
  10. \item
  11. static void \hyperlink{classutil_1_1Parser_a271db7290aece47fca8fcd1734f47499}{Parse\+Object\+Data\+Angular} (Value\+Map\+Vector \&values, \hyperlink{classcore_1_1DetectionSequence}{core\+::\+Detection\+Sequence} \&sequence, double image\+\_\+width, double image\+\_\+height, double temporal\+\_\+weight, double spatial\+\_\+weight, double angular\+\_\+weight)
  12. \item
  13. static \hyperlink{classutil_1_1Grid}{Grid} \hyperlink{classutil_1_1Parser_ab5d42421adbcb880ffe633981e3226e4}{Parse\+Grid} (\hyperlink{classcore_1_1DetectionSequence}{core\+::\+Detection\+Sequence} \&sequence, size\+\_\+t start, size\+\_\+t stop, double min\+\_\+x, double max\+\_\+x, int res\+\_\+x, double min\+\_\+y, double max\+\_\+y, int res\+\_\+y)
  14. \end{DoxyCompactItemize}
  15. \subsection*{Static Public Attributes}
  16. \begin{DoxyCompactItemize}
  17. \item
  18. static const std\+::string {\bfseries K\+E\+Y\+\_\+\+F\+R\+A\+ME} = \char`\"{}frame\char`\"{}\hypertarget{classutil_1_1Parser_a9fd08e7f29329a2d5b67e466f6f561ea}{}\label{classutil_1_1Parser_a9fd08e7f29329a2d5b67e466f6f561ea}
  19. \item
  20. static const std\+::string {\bfseries K\+E\+Y\+\_\+\+ID} = \char`\"{}id\char`\"{}\hypertarget{classutil_1_1Parser_a82822b70cb89a7d402c8ebfbbc656047}{}\label{classutil_1_1Parser_a82822b70cb89a7d402c8ebfbbc656047}
  21. \item
  22. static const std\+::string {\bfseries K\+E\+Y\+\_\+\+S\+C\+O\+RE} = \char`\"{}score\char`\"{}\hypertarget{classutil_1_1Parser_aea01dc9348cb59860fb279b716d3cf72}{}\label{classutil_1_1Parser_aea01dc9348cb59860fb279b716d3cf72}
  23. \item
  24. static const std\+::string {\bfseries K\+E\+Y\+\_\+X} = \char`\"{}xc\char`\"{}\hypertarget{classutil_1_1Parser_a67cac8af9b52947d6984d64a56ac4ad3}{}\label{classutil_1_1Parser_a67cac8af9b52947d6984d64a56ac4ad3}
  25. \item
  26. static const std\+::string {\bfseries K\+E\+Y\+\_\+Y} = \char`\"{}yc\char`\"{}\hypertarget{classutil_1_1Parser_aa13293b6680f1bec5532247c14acf85f}{}\label{classutil_1_1Parser_aa13293b6680f1bec5532247c14acf85f}
  27. \item
  28. static const std\+::string {\bfseries K\+E\+Y\+\_\+Z} = \char`\"{}zc\char`\"{}\hypertarget{classutil_1_1Parser_a33c7c6efa60e5881ebf497851b56b493}{}\label{classutil_1_1Parser_a33c7c6efa60e5881ebf497851b56b493}
  29. \item
  30. static const std\+::string {\bfseries K\+E\+Y\+\_\+\+W\+I\+D\+TH} = \char`\"{}width\char`\"{}\hypertarget{classutil_1_1Parser_af460fb066f6dede3b0e3aa0ea97ac115}{}\label{classutil_1_1Parser_af460fb066f6dede3b0e3aa0ea97ac115}
  31. \item
  32. static const std\+::string {\bfseries K\+E\+Y\+\_\+\+H\+E\+I\+G\+HT} = \char`\"{}height\char`\"{}\hypertarget{classutil_1_1Parser_a819fb19f3d743320864fcc125b9c40eb}{}\label{classutil_1_1Parser_a819fb19f3d743320864fcc125b9c40eb}
  33. \item
  34. static const std\+::string {\bfseries K\+E\+Y\+\_\+\+D\+E\+P\+TH} = \char`\"{}depth\char`\"{}\hypertarget{classutil_1_1Parser_a4add600ddc8287c10285bbae8ccd4ef1}{}\label{classutil_1_1Parser_a4add600ddc8287c10285bbae8ccd4ef1}
  35. \item
  36. static const std\+::string {\bfseries K\+E\+Y\+\_\+\+A\+N\+G\+LE} = \char`\"{}angle\char`\"{}\hypertarget{classutil_1_1Parser_a03362a18612fcb3ca7c01cfcb6652521}{}\label{classutil_1_1Parser_a03362a18612fcb3ca7c01cfcb6652521}
  37. \end{DoxyCompactItemize}
  38. \subsection{Detailed Description}
  39. Utility class for parsing diverse objects.
  40. \subsection{Member Function Documentation}
  41. \index{util\+::\+Parser@{util\+::\+Parser}!Parse\+Grid@{Parse\+Grid}}
  42. \index{Parse\+Grid@{Parse\+Grid}!util\+::\+Parser@{util\+::\+Parser}}
  43. \subsubsection[{\texorpdfstring{Parse\+Grid(core\+::\+Detection\+Sequence \&sequence, size\+\_\+t start, size\+\_\+t stop, double min\+\_\+x, double max\+\_\+x, int res\+\_\+x, double min\+\_\+y, double max\+\_\+y, int res\+\_\+y)}{ParseGrid(core::DetectionSequence \&sequence, size\_t start, size\_t stop, double min\_x, double max\_x, int res\_x, double min\_y, double max\_y, int res\_y)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Grid} util\+::\+Parser\+::\+Parse\+Grid (
  44. \begin{DoxyParamCaption}
  45. \item[{{\bf core\+::\+Detection\+Sequence} \&}]{sequence, }
  46. \item[{size\+\_\+t}]{start, }
  47. \item[{size\+\_\+t}]{stop, }
  48. \item[{double}]{min\+\_\+x, }
  49. \item[{double}]{max\+\_\+x, }
  50. \item[{int}]{res\+\_\+x, }
  51. \item[{double}]{min\+\_\+y, }
  52. \item[{double}]{max\+\_\+y, }
  53. \item[{int}]{res\+\_\+y}
  54. \end{DoxyParamCaption}
  55. )\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{classutil_1_1Parser_ab5d42421adbcb880ffe633981e3226e4}{}\label{classutil_1_1Parser_ab5d42421adbcb880ffe633981e3226e4}
  56. Parses the given sequence into a grid. The sequence data need to be a Object\+Data2D. The frame index is the depth of the grid.
  57. \begin{DoxyParams}{Parameters}
  58. {\em sequence} & The detection sequence to parse \\
  59. \hline
  60. {\em start} & The first frame to use \\
  61. \hline
  62. {\em stop} & The first frame not to use \\
  63. \hline
  64. {\em min\+\_\+x} & The minimal x value \\
  65. \hline
  66. {\em max\+\_\+x} & The maximal x value \\
  67. \hline
  68. {\em res\+\_\+x} & The number of cells on the x axis \\
  69. \hline
  70. {\em min\+\_\+y} & The minimal y value \\
  71. \hline
  72. {\em max\+\_\+y} & The maximal y value \\
  73. \hline
  74. {\em res\+\_\+y} & The number of cells on the y axis \\
  75. \hline
  76. \end{DoxyParams}
  77. \begin{DoxyReturn}{Returns}
  78. The grid with the detection values
  79. \end{DoxyReturn}
  80. \index{util\+::\+Parser@{util\+::\+Parser}!Parse\+Object\+Data2D@{Parse\+Object\+Data2D}}
  81. \index{Parse\+Object\+Data2D@{Parse\+Object\+Data2D}!util\+::\+Parser@{util\+::\+Parser}}
  82. \subsubsection[{\texorpdfstring{Parse\+Object\+Data2\+D(\+Value\+Map\+Vector \&values, core\+::\+Detection\+Sequence \&sequence, double image\+\_\+width, double image\+\_\+height, double temporal\+\_\+weight, double spatial\+\_\+weight)}{ParseObjectData2D(ValueMapVector \&values, core::DetectionSequence \&sequence, double image\_width, double image\_height, double temporal\_weight, double spatial\_weight)}}]{\setlength{\rightskip}{0pt plus 5cm}void util\+::\+Parser\+::\+Parse\+Object\+Data2D (
  83. \begin{DoxyParamCaption}
  84. \item[{Value\+Map\+Vector \&}]{values, }
  85. \item[{{\bf core\+::\+Detection\+Sequence} \&}]{sequence, }
  86. \item[{double}]{image\+\_\+width, }
  87. \item[{double}]{image\+\_\+height, }
  88. \item[{double}]{temporal\+\_\+weight, }
  89. \item[{double}]{spatial\+\_\+weight}
  90. \end{DoxyParamCaption}
  91. )\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{classutil_1_1Parser_abcf27fbfdf936204064e3e3c0ff27d9e}{}\label{classutil_1_1Parser_abcf27fbfdf936204064e3e3c0ff27d9e}
  92. Parses the specified values into the specified sequence. The used format is Object\+Data2D.
  93. \begin{DoxyParams}{Parameters}
  94. {\em values} & The input values \\
  95. \hline
  96. {\em sequence} & The output sequence containing the parsed values \\
  97. \hline
  98. {\em image\+\_\+width} & The width of the image used for normalized coordinates \\
  99. \hline
  100. {\em image\+\_\+height} & The height of the image used for normalized coordinates \\
  101. \hline
  102. {\em temporal\+\_\+weight} & The temporal weight \\
  103. \hline
  104. {\em spatial\+\_\+weight} & The spatial weight \\
  105. \hline
  106. \end{DoxyParams}
  107. \index{util\+::\+Parser@{util\+::\+Parser}!Parse\+Object\+Data\+Angular@{Parse\+Object\+Data\+Angular}}
  108. \index{Parse\+Object\+Data\+Angular@{Parse\+Object\+Data\+Angular}!util\+::\+Parser@{util\+::\+Parser}}
  109. \subsubsection[{\texorpdfstring{Parse\+Object\+Data\+Angular(\+Value\+Map\+Vector \&values, core\+::\+Detection\+Sequence \&sequence, double image\+\_\+width, double image\+\_\+height, double temporal\+\_\+weight, double spatial\+\_\+weight, double angular\+\_\+weight)}{ParseObjectDataAngular(ValueMapVector \&values, core::DetectionSequence \&sequence, double image\_width, double image\_height, double temporal\_weight, double spatial\_weight, double angular\_weight)}}]{\setlength{\rightskip}{0pt plus 5cm}void util\+::\+Parser\+::\+Parse\+Object\+Data\+Angular (
  110. \begin{DoxyParamCaption}
  111. \item[{Value\+Map\+Vector \&}]{values, }
  112. \item[{{\bf core\+::\+Detection\+Sequence} \&}]{sequence, }
  113. \item[{double}]{image\+\_\+width, }
  114. \item[{double}]{image\+\_\+height, }
  115. \item[{double}]{temporal\+\_\+weight, }
  116. \item[{double}]{spatial\+\_\+weight, }
  117. \item[{double}]{angular\+\_\+weight}
  118. \end{DoxyParamCaption}
  119. )\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{classutil_1_1Parser_a271db7290aece47fca8fcd1734f47499}{}\label{classutil_1_1Parser_a271db7290aece47fca8fcd1734f47499}
  120. Parses the specified values into the specified sequence. The used format is Object\+Data\+Angular.
  121. \begin{DoxyParams}{Parameters}
  122. {\em values} & The input values \\
  123. \hline
  124. {\em sequence} & The sequence to store the created objects in \\
  125. \hline
  126. {\em image\+\_\+width} & The width of the image used for normalized coordinates \\
  127. \hline
  128. {\em image\+\_\+height} & The height of the image used for normalized coordinates \\
  129. \hline
  130. {\em temporal\+\_\+weight} & The temporal weight \\
  131. \hline
  132. {\em spatial\+\_\+weight} & The spatial weight \\
  133. \hline
  134. {\em angular\+\_\+weight} & The angular weight \\
  135. \hline
  136. \end{DoxyParams}
  137. \index{util\+::\+Parser@{util\+::\+Parser}!Parse\+Object\+Data\+Box@{Parse\+Object\+Data\+Box}}
  138. \index{Parse\+Object\+Data\+Box@{Parse\+Object\+Data\+Box}!util\+::\+Parser@{util\+::\+Parser}}
  139. \subsubsection[{\texorpdfstring{Parse\+Object\+Data\+Box(\+Value\+Map\+Vector \&values, core\+::\+Detection\+Sequence \&sequence, double image\+\_\+width, double image\+\_\+height, double temporal\+\_\+weight, double spatial\+\_\+weight)}{ParseObjectDataBox(ValueMapVector \&values, core::DetectionSequence \&sequence, double image\_width, double image\_height, double temporal\_weight, double spatial\_weight)}}]{\setlength{\rightskip}{0pt plus 5cm}void util\+::\+Parser\+::\+Parse\+Object\+Data\+Box (
  140. \begin{DoxyParamCaption}
  141. \item[{Value\+Map\+Vector \&}]{values, }
  142. \item[{{\bf core\+::\+Detection\+Sequence} \&}]{sequence, }
  143. \item[{double}]{image\+\_\+width, }
  144. \item[{double}]{image\+\_\+height, }
  145. \item[{double}]{temporal\+\_\+weight, }
  146. \item[{double}]{spatial\+\_\+weight}
  147. \end{DoxyParamCaption}
  148. )\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{classutil_1_1Parser_a4286ab16cc0aff0669ca5a876411d532}{}\label{classutil_1_1Parser_a4286ab16cc0aff0669ca5a876411d532}
  149. Parses the specified values into the specified sequence. The used format is Object\+Data\+Box.
  150. \begin{DoxyParams}{Parameters}
  151. {\em values} & The input values \\
  152. \hline
  153. {\em sequence} & The output sequence containing the parsed values \\
  154. \hline
  155. {\em image\+\_\+width} & The width of the image used for normalized coordinates \\
  156. \hline
  157. {\em image\+\_\+height} & The height of the image used for normalized coordinates \\
  158. \hline
  159. {\em temporal\+\_\+weight} & The temporal weight \\
  160. \hline
  161. {\em spatial\+\_\+weight} & The spatial weight \\
  162. \hline
  163. \end{DoxyParams}
  164. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  165. \item
  166. util/Parser.\+h\item
  167. util/Parser.\+cpp\end{DoxyCompactItemize}