\section{Object detection and descriptors}
\ifCpp
-
\cvclass{RandomizedTree}
The class contains base structure for \texttt{RTreeClassifier}
\cvarg{num\_quant\_bits} {Number of bits are used for quantization}
\end{description}
-\cvCppFunc {RandomizedTree::read}
+\cvCppFunc{RandomizedTree::read}
Reads pre-saved randomized tree from file or stream
\cvdefCpp{read(const char* file\_name, int num\_quant\_bits)}
\cvdefCpp{read(std::istream \&is, int num\_quant\_bits)}
\cvarg{num\_quant\_bits} {Number of bits are used for quantization}
\end{description}
-\cvCppFunc {RandomizedTree::write}
+\cvCppFunc{RandomizedTree::write}
Writes current randomized tree to a file or stream
\cvdefCpp{void write(const char* file\_name) const;}
\cvdefCpp{void write(std::ostream \&os) const;}
\end{description}
-\cvCppFunc {RandomizedTree::applyQuantization}
+\cvCppFunc{RandomizedTree::applyQuantization}
Applies quantization to the current randomized tree
\cvdefCpp{void applyQuantization(int num\_quant\_bits)}
\begin{description}
\cvarg{tol} {The threshold used for elements counting. We take all elements are less than \texttt{tol} as zero elements}
\end{description}
-\cvCppFunc {RTreeClassifier::read}
+\cvCppFunc{RTreeClassifier::read}
Reads pre-saved RTreeClassifier from file or stream
\cvdefCpp{read(const char* file\_name)}
\cvdefCpp{read(std::istream \&is)}
\cvarg{is}{Input stream associated with file contains randomized tree data}
\end{description}
-\cvCppFunc {RTreeClassifier::write}
+\cvCppFunc{RTreeClassifier::write}
Writes current RTreeClassifier to a file or stream
\cvdefCpp{void write(const char* file\_name) const;}
\cvdefCpp{void write(std::ostream \&os) const;}
\end{description}
-\cvCppFunc {RTreeClassifier::setQuantization}
+\cvCppFunc{RTreeClassifier::setQuantization}
Applies quantization to the current randomized tree
\cvdefCpp{void setQuantization(int num\_quant\_bits)}
\begin{description}
}
\end{lstlisting}
-
\fi
\subsection{Bag of Visual Words Matching}
-The functions and classes described in this section are used to allow OpenCV's 2D feature descriptors to be used in a bag of words framework, first described in \cite{sivic_zisserman_2003}.
+%The functions and classes described in this section are used to allow OpenCV's
+%2D feature descriptors to be used in a bag of words framework, first described
+%in \cite{sivic_zisserman_2003}.
+
+\ifCpp
\cvclass{BasicBOWTrainer}
Class used for training visual vocabularies using the bag of words approach.
vector<KeyPoint>& keypoints, Mat& descriptors) const;
};
\end{lstlisting}
+
+\fi
\ No newline at end of file
\end{lstlisting}\r
\r
\r
-\cvCPyFunc{addText}\r
+\cvCPyFunc{AddText}\r
Create the font to be used to draw text on an image \r
\cvdefC{void cvAddText(const CvArr* img, const char* text, CvPoint location, CvFont *font);}\r
\r
\r
\r
%CVAPI(void) cvDisplayOverlay(const char* name, const char* text, int delay);\r
-\cvCPyFunc{displayOverlay}\r
+\cvCPyFunc{DisplayOverlay}\r
Display text on the window's image as an overlay for delay milliseconds. This is not editing the image's data. The text is display on the top of the image.\r
\cvdefC{void cvDisplayOverlay(const char* name, const char* text, int delay);}\r
\r
\r
\r
%CVAPI(void) cvDisplayStatusBar(const char* name, const char* text, int delayms);\r
-\cvCPyFunc{displayStatusBar}\r
+\cvCPyFunc{DisplayStatusBar}\r
Display text on the window's statusbar as for delay milliseconds.\r
\cvdefC{void cvDisplayStatusBar(const char* name, const char* text, int delayms);}\r
\r
\r
\r
%CVAPI(void) cvCreateOpenGLCallback( const char* window_name, CvOpenGLCallback callbackOpenGL, void* userdata CV_DEFAULT(NULL), double angle CV_DEFAULT(-1), double zmin CV_DEFAULT(-1), double zmax CV_DEFAULT(-1));\r
-\cvCPyFunc{createOpenGLCallback}\r
+\cvCPyFunc{CreateOpenGLCallback}\r
Create a callback function called to draw OpenGL on top the the image display by \emph{window\_name}.\r
\cvdefC{void cvCreateOpenGLCallback( const char* window\_name, CvOpenGLCallback callbackOpenGL, void* userdata CV\_DEFAULT(NULL), double angle CV\_DEFAULT(-1), double zmin CV\_DEFAULT(-1), double zmax CV\_DEFAULT(-1);}\r
\r
\r
\r
%CVAPI(void) cvSaveWindowParameters(const char* name);\r
-\cvCPyFunc{saveWindowParameters}\r
+\cvCPyFunc{SaveWindowParameters}\r
Save parameters of the window \emph{window\_name}.\r
\cvdefC{void cvSaveWindowParameters(const char* name);}\r
\r
\r
\r
%CVAPI(void) cvLoadWindowParameters(const char* name);\r
-\cvCPyFunc{loadWindowParameters}\r
+\cvCPyFunc{LoadWindowParameters}\r
Load parameters of the window \emph{window\_name}.\r
\cvdefC{void cvLoadWindowParameters(const char* name);}\r
\r
\r
\r
%CVAPI(int) cvCreateButton( const char* button_name CV_DEFAULT(NULL),CvButtonCallback on_change CV_DEFAULT(NULL), void* userdata CV_DEFAULT(NULL) , int button_type CV_DEFAULT(CV_PUSH_BUTTON), int initial_button_state CV_DEFAULT(0));\r
-\cvCPyFunc{createButton}\r
+\cvCPyFunc{CreateButton}\r
Create a callback function called to draw OpenGL on top the the image display by \emph{window\_name}.\r
\cvdefC{cvCreateButton( const char* button\_name CV\_DEFAULT(NULL),CvButtonCallback on\_change CV\_DEFAULT(NULL), void* userdata CV\_DEFAULT(NULL) , int button\_type CV\_DEFAULT(CV\_PUSH\_BUTTON), int initial\_button\_state CV\_DEFAULT(0);}\r
\r
\tableofcontents
%%% Chapters %%%
-\input{core_introduction}
-
-\chapter{core. The Core Functionality}
-\input{core_basic_structures}
-\input{core_array_operations}
-\input{core_dynamic_structures}
-\input{core_drawing_functions}
-\input{core_persistence}
-\input{core_clustering_search}
-\input{core_utilities_system_functions}
-
-
-\chapter{imgproc. Image Processing}
-\input{imgproc_histograms}
-\input{imgproc_image_filtering}
-\input{imgproc_image_warping}
-\input{imgproc_image_transform}
-\input{imgproc_struct_shape_analysis}
-\input{imgproc_planar_subdivisions}
-\input{imgproc_motion_tracking}
-\input{imgproc_feature_detection}
-
-\chapter{features2d. Feature Detection and Descriptor Extraction}
-\input{features2d_feature_detection}
-%\input{features2d_object_recognition}
-%\input{features2d_object_detection}
-
-\chapter{flann. Clustering and Search in Multi-Dimensional Spaces}
-\input{flann}
-
-\chapter{objdetect. Object Detection}
-\input{objdetect}
-
-\chapter{video. Video Analysis}
-\input{video_motion_tracking}
-
-\chapter{highgui. High-level GUI and Media I/O}
-\input{highgui}
-\ifPy %Qt is for C and Cpp, so do nothing
-\else
-\input{highgui_qt}
-\fi
-
-\chapter{calib3d. Camera Calibration, Pose Estimation and Stereo}
-\input{calib3d}
-
-
-\chapter{ml. Machine Learning}
-\input{ml}
+\input{opencvref_body}
%%%%%%%%%%%%%%%%
\end{document} % End of document.
\input{imgproc_planar_subdivisions}
\input{imgproc_motion_tracking}
\input{imgproc_feature_detection}
+\input{imgproc_object_detection}
\chapter{features2d. Feature Detection and Descriptor Extraction}
\input{features2d_feature_detection}