minor doc changes

This commit is contained in:
Vighnesh Birodkar
2014-04-09 10:33:24 +05:30
parent 3cf6bffe84
commit d5f9ebfc8f
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ cdef inline int _clip(np.int_t x, np.int_t low, np.int_t high):
Returns Returns
------- -------
x : int x : int
`x` clipped between 'high' and `low`. `x` clipped between `high` and `low`.
""" """
@@ -77,7 +77,7 @@ def _hessian_det_appx(np.ndarray[np.int_t, ndim=2] image, float sigma):
"""Computes the approximate Hessian Determinant over an image. """Computes the approximate Hessian Determinant over an image.
This method uses box filters over integral images to compute the This method uses box filters over integral images to compute the
approximate Hessian Determinant as described in [1]. approximate Hessian Determinant as described in [1]_.
Parameters Parameters
---------- ----------
+2 -3
View File
@@ -309,13 +309,12 @@ def blob_doh(image, min_sigma=1, max_sigma=30, num_sigma=10, threshold=500,
Blobs are found using the Determinant of Hessian method [1]_. For each blob Blobs are found using the Determinant of Hessian method [1]_. For each blob
found, the method returns its coordinates and the standard deviation found, the method returns its coordinates and the standard deviation
of the Gaussian Kernel used for the Hessian matrix whose determinant of the Gaussian Kernel used for the Hessian matrix whose determinant
detected the blob. Determinant of Hessians is approximated using [2]_ detected the blob. Determinant of Hessians is approximated using [2]_.
Parameters Parameters
---------- ----------
image : ndarray image : ndarray
Input grayscale image, blobs are assumed to be light on dark Input grayscale image.Blobs can either be light on dark or vice versa.
background (white on black).
min_sigma : float, optional min_sigma : float, optional
The minimum standard deviation for Gaussian Kernel used to compute The minimum standard deviation for Gaussian Kernel used to compute
Hessian matrix. Keep this low to detect smaller blobs. Hessian matrix. Keep this low to detect smaller blobs.