Mercurial > hg > octave-image
changeset 367:adf5b6998ace
Stupid, fatal typo corrected
author | stegu |
---|---|
date | Sat, 18 Apr 2009 15:26:15 +0000 |
parents | 63a2da8539fa |
children | 1fa9ce890166 |
files | src/__bwdist.cc |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/__bwdist.cc +++ b/src/__bwdist.cc @@ -1,4 +1,4 @@ -// bwdist.cc - OCT file, implements the BWDIST function +// __bwdist.cc - OCT file, implements the BWDIST function // Depends on "edtfunc.c" for the actual computations /* @@ -15,8 +15,7 @@ for more details. You should have received a copy of the GNU General Public License -along with Octave; see the file COPYING. If not, see -<http://www.gnu.org/licenses/>. +along with this file. If not, see <http://www.gnu.org/licenses/>. */ @@ -63,9 +62,9 @@ } /* end extern "C" */ #endif -DEFUN_DLD (bwdist, args, nargout, +DEFUN_DLD ( __bwdist, args, nargout, "-*- texinfo -*-\n\ -@deftypefn {Function File} {@var{D} =} bwdist(@var{bw})\n\ +@deftypefn {Function File} {@var{D} =} __bwdist(@var{bw})\n\ Computes the distance transform of the image @var{bw}.\n\ @var{bw} should be a binary 2D array, either a Boolean array or a\n\ numeric array containing only the values 0 and 1.\n\ @@ -76,7 +75,7 @@ metric) to the closest object pixel. For each object pixel the\n\ return value is 0.\n\ \n\ -@deftypefnx{Function File} {@var{D} =} bwdist(@var{bw}, @var{method})\n\ +@deftypefnx{Function File} {@var{D} =} __bwdist(@var{bw}, @var{method})\n\ \n\ @var{method} is a string to choose the distance metric. Currently\n\ available metrics are 'euclidean', 'chessboard', 'cityblock' and\n\ @@ -84,7 +83,7 @@ to any string starting with 'e', 'ch', 'ci' and 'q', respectively.\n\ If @var{method} is not specified, 'euclidean' is the default.\n\ \n\ -@deftypefnx {Function File} {[@var{D},@var{C}] =} bwdist(@var{bw}, @var{method})\n\ +@deftypefnx {Function File} {[@var{D},@var{C}] =} __bwdist(@var{bw}, @var{method})\n\ \n\ If a second output argument is given, the linear index for the\n\ closest object pixel is returned for each pixel. (For object\n\