minor changes in gpu docs

This commit is contained in:
Alexey Spizhevoy 2011-01-21 07:57:18 +00:00
parent ad10b6e0fe
commit a05ae51271
2 changed files with 11 additions and 10 deletions

View File

@ -21,7 +21,7 @@ Matrix is called continuous if its elements are stored continuously, i.e. wuthou
\cvCppFunc{gpu::ensureSizeIsEnough} \cvCppFunc{gpu::ensureSizeIsEnough}
Ensures that size of matrix is big enough and matrix has proper type. The function doesn't reallocate memory if matrix has proper attributes already. Ensures that size of matrix is big enough and matrix has proper type. The function doesn't reallocate memory if the matrix has proper attributes already.
\cvdefCpp{void ensureSizeIsEnough(int rows, int cols, int type, GpuMat\& m);} \cvdefCpp{void ensureSizeIsEnough(int rows, int cols, int type, GpuMat\& m);}
\begin{description} \begin{description}

View File

@ -60,9 +60,10 @@ Interfaces of all methods are kept similar to CPU HOG descriptor and detector an
\cvCppFunc{gpu::HOGDescriptor::HOGDescriptor} \cvCppFunc{gpu::HOGDescriptor::HOGDescriptor}
Creates HOG descriptor and detector. Creates HOG descriptor and detector.
\cvdefCpp{HOGDescriptor(Size win\_size=Size(64, 128), Size block\_size=Size(16, 16),\par \cvdefCpp{HOGDescriptor::HOGDescriptor(Size win\_size=Size(64, 128),\par
Size block\_stride=Size(8, 8), Size cell\_size=Size(8, 8),\par Size block\_size=Size(16, 16), Size block\_stride=Size(8, 8),\par
int nbins=9, double win\_sigma=DEFAULT\_WIN\_SIGMA,\par Size cell\_size=Size(8, 8), int nbins=9,\par
double win\_sigma=DEFAULT\_WIN\_SIGMA,\par
double threshold\_L2hys=0.2, bool gamma\_correction=true,\par double threshold\_L2hys=0.2, bool gamma\_correction=true,\par
int nlevels=DEFAULT\_NLEVELS);} int nlevels=DEFAULT\_NLEVELS);}
@ -94,7 +95,7 @@ Returns block histogram size.
\cvCppFunc{gpu::HOGDescriptor::setSVMDetector} \cvCppFunc{gpu::HOGDescriptor::setSVMDetector}
Sets coefficients for the linear SVM classifier. Sets coefficients for the linear SVM classifier.
\cvdefCpp{void setSVMDetector(const vector<float>\& detector);} \cvdefCpp{void HOGDescriptor::setSVMDetector(const vector<float>\& detector);}
\cvCppFunc{gpu::HOGDescriptor::getDefaultPeopleDetector} \cvCppFunc{gpu::HOGDescriptor::getDefaultPeopleDetector}
@ -118,9 +119,9 @@ Returns coefficients of the classifier trained for people detection (for 64x128
\cvCppFunc{gpu::HOGDescriptor::detect} \cvCppFunc{gpu::HOGDescriptor::detect}
Perfroms object detection without multiscale window. Perfroms object detection without multiscale window.
\cvdefCpp{void HOGDescriptor::detect(const GpuMat\& img, vector<Point>\& found\_locations,\par \cvdefCpp{void HOGDescriptor::detect(const GpuMat\& img,\par
double hit\_threshold=0, Size win\_stride=Size(),\par vector<Point>\& found\_locations, double hit\_threshold=0,\par
Size padding=Size());} Size win\_stride=Size(), Size padding=Size());}
\begin{description} \begin{description}
\cvarg{img}{Source image. \texttt{CV\_8UC1} and \texttt{CV\_8UC4}types are supported for now.} \cvarg{img}{Source image. \texttt{CV\_8UC1} and \texttt{CV\_8UC4}types are supported for now.}