[vlfeat] 12/44: vl_covdet.m, covdet.c: fix typos
Dima Kogan
dima at secretsauce.net
Wed Sep 16 21:05:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
dkogan-guest pushed a commit to branch master
in repository vlfeat.
commit 350c4f0ae298c8f4ea0e02f6dae18dcde08706ee
Author: Pierre Moulon <pmoulon at gmail.com>
Date: Tue Feb 18 22:13:01 2014 +0100
vl_covdet.m, covdet.c: fix typos
---
toolbox/sift/vl_covdet.c | 14 +++++++-------
vl/covdet.c | 8 ++++----
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/toolbox/sift/vl_covdet.c b/toolbox/sift/vl_covdet.c
index 9ca54cf..182d01e 100644
--- a/toolbox/sift/vl_covdet.c
+++ b/toolbox/sift/vl_covdet.c
@@ -95,7 +95,7 @@ VlEnumerator vlCovDetDescriptorTypes [VL_COVDET_DESC_NUM] =
/** ------------------------------------------------------------------
** @brief Export scale space into a MATLAB structure
- ** @param ss Pointer to the scale space to be xported
+ ** @param ss Pointer to the scale space to be exported
** @return Pointer to matlab structure with the scale space
**/
static mxArray *
@@ -148,12 +148,12 @@ _createArrayFromScaleSpace(VlScaleSpace const *ss)
}
/** ------------------------------------------------------------------
- ** @internal @brief Transpose desriptor
+ ** @internal @brief Transpose descriptor
** @param dst destination buffer.
** @param src source buffer.
**
** The function writes to @a dst the transpose of the SIFT descriptor
- ** @a src. The tranpsose is defined as the descriptor that one
+ ** @a src. The transpose is defined as the descriptor that one
** obtains from computing the normal descriptor on the transposed
** image.
**/
@@ -446,7 +446,7 @@ mexFunction(int nout, mxArray *out[],
/* process the image */
vl_covdet_put_image(covdet, image, numRows, numCols) ;
- /* fill with frames: eitehr run the detector of poure them in */
+ /* fill with frames: either run the detector of poure them in */
if (numUserFrames > 0) {
vl_index k ;
@@ -596,7 +596,7 @@ mexFunction(int nout, mxArray *out[],
numFeaturesAfter = vl_covdet_get_num_features(covdet) ;
if (verbose && numFeaturesAfter > numFeaturesBefore) {
- mexPrintf("vl_covdet: %d duplicate features were crated due to ambiguous "
+ mexPrintf("vl_covdet: %d duplicate features were created due to ambiguous "
"orientation detection (%d total)\n",
numFeaturesAfter - numFeaturesBefore, numFeaturesAfter) ;
}
@@ -696,8 +696,8 @@ mexFunction(int nout, mxArray *out[],
However, if NBO is not divisible by 4, then the configuration
of the SIFT orientations is not symmetric by rotations of pi/2.
Hence the only option is to rotate the descriptor further by
- an angle we need to compute the descriptor rotaed by an additional pi/2
- angle. In this manner, x concides and y is flipped.
+ an angle we need to compute the descriptor rotated by an additional pi/2
+ angle. In this manner, x coincides and y is flipped.
*/
vl_sift_calc_raw_descriptor (sift,
patchXY,
diff --git a/vl/covdet.c b/vl/covdet.c
index 31c581c..b8242e9 100644
--- a/vl/covdet.c
+++ b/vl/covdet.c
@@ -2205,7 +2205,7 @@ vl_covdet_extract_patch_helper (VlCovDet * self,
/*
Determine the best level (o,s) such that sigma_(o,s) factor <= sigma.
- This can be obtained by scanning octaves from smalles to largest
+ This can be obtained by scanning octaves from smallest to largest
and stopping when no level in the octave satisfies the relation.
Given the range of octave availables, do the best you can.
@@ -2260,7 +2260,7 @@ vl_covdet_extract_patch_helper (VlCovDet * self,
Warp the patch domain [x0hat,y0hat,x1hat,y1hat] to the image domain/
Obtain a box [x0,y0,x1,y1] enclosing that wrapped box, and then
an integer vertexes version [x0i, y0i, x1i, y1i], making room
- for one pixel at the boundaty to simplify bilinear interpolation
+ for one pixel at the boundary to simplify bilinear interpolation
later on.
*/
vl_index x0i, y0i, x1i, y1i ;
@@ -2410,7 +2410,7 @@ vl_covdet_extract_patch_helper (VlCovDet * self,
** The function considers a patch of extent <code>[-extent,extent]</code>
** on each side, with a side counting <code>2*resolution+1</code> pixels.
** In attempts to extract from the scale space a patch
- ** baed on the affine warping specified by @a frame in such a way
+ ** based on the affine warping specified by @a frame in such a way
** that the resulting smoothing of the image is @a sigma (in the
** patch frame).
**
@@ -2829,7 +2829,7 @@ vl_covdet_extract_orientations_for_frame (VlCovDet * self,
}
}
- /* sort the oritentations by decreasing scores */
+ /* sort the orientations by decreasing scores */
qsort(self->orientations,
*numOrientations,
sizeof(VlCovDetFeatureOrientation),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vlfeat.git
More information about the debian-science-commits
mailing list