minor changes in gpu docs
authorAlexey Spizhevoy <no@email>
Fri, 21 Jan 2011 07:57:18 +0000 (07:57 +0000)
committerAlexey Spizhevoy <no@email>
Fri, 21 Jan 2011 07:57:18 +0000 (07:57 +0000)
doc/gpu_data_structures.tex
doc/gpu_object_detection.tex

index 59e0e8d..ab6c44d 100644 (file)
@@ -21,7 +21,7 @@ Matrix is called continuous if its elements are stored continuously, i.e. wuthou
 \r
 \r
 \cvCppFunc{gpu::ensureSizeIsEnough}\r
-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.\r
+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.\r
 \r
 \cvdefCpp{void ensureSizeIsEnough(int rows, int cols, int type, GpuMat\& m);}\r
 \begin{description}\r
index 46cca72..1490471 100644 (file)
@@ -60,11 +60,12 @@ Interfaces of all methods are kept similar to CPU HOG descriptor and detector an
 \cvCppFunc{gpu::HOGDescriptor::HOGDescriptor}\r
 Creates HOG descriptor and detector.\r
 \r
-\cvdefCpp{HOGDescriptor(Size win\_size=Size(64, 128), Size block\_size=Size(16, 16),\par\r
-          Size block\_stride=Size(8, 8), Size cell\_size=Size(8, 8),\par\r
-          int nbins=9, double win\_sigma=DEFAULT\_WIN\_SIGMA,\par\r
-          double threshold\_L2hys=0.2, bool gamma\_correction=true,\par\r
-          int nlevels=DEFAULT\_NLEVELS);}\r
+\cvdefCpp{HOGDescriptor::HOGDescriptor(Size win\_size=Size(64, 128),\par\r
+  Size block\_size=Size(16, 16), Size block\_stride=Size(8, 8),\par\r
+  Size cell\_size=Size(8, 8), int nbins=9,\par\r
+  double win\_sigma=DEFAULT\_WIN\_SIGMA,\par\r
+  double threshold\_L2hys=0.2, bool gamma\_correction=true,\par\r
+  int nlevels=DEFAULT\_NLEVELS);}\r
 \r
 \begin{description}\r
 \cvarg{win\_size}{Detection window size. Must be aligned to block size and block stride.}\r
@@ -94,7 +95,7 @@ Returns block histogram size.
 \cvCppFunc{gpu::HOGDescriptor::setSVMDetector}\r
 Sets coefficients for the linear SVM classifier. \r
 \r
-\cvdefCpp{void setSVMDetector(const vector<float>\& detector);}\r
+\cvdefCpp{void HOGDescriptor::setSVMDetector(const vector<float>\& detector);}\r
 \r
 \r
 \cvCppFunc{gpu::HOGDescriptor::getDefaultPeopleDetector}\r
@@ -118,9 +119,9 @@ Returns coefficients of the classifier trained for people detection (for 64x128
 \cvCppFunc{gpu::HOGDescriptor::detect}\r
 Perfroms object detection without multiscale window.\r
 \r
-\cvdefCpp{void HOGDescriptor::detect(const GpuMat\& img, vector<Point>\& found\_locations,\par\r
-             double hit\_threshold=0, Size win\_stride=Size(),\par\r
-             Size padding=Size());}\r
+\cvdefCpp{void HOGDescriptor::detect(const GpuMat\& img,\par\r
+  vector<Point>\& found\_locations, double hit\_threshold=0,\par\r
+  Size win\_stride=Size(), Size padding=Size());}\r
 \r
 \begin{description}\r
 \cvarg{img}{Source image. \texttt{CV\_8UC1} and \texttt{CV\_8UC4}types are supported for now.}\r