Mercurial > hg > octave-image
changeset 505:4a286a42d3fb
dilate and erode: added warning about being deprecated on their help text
author | carandraug |
---|---|
date | Mon, 05 Dec 2011 01:16:55 +0000 |
parents | 1a7e9a91a6a0 |
children | 3b5c14635553 |
files | inst/dilate.m inst/erode.m |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/inst/dilate.m +++ b/inst/dilate.m @@ -19,6 +19,10 @@ ## @deftypefnx {Function File} {@var{BW2} = } dilate (@var{BW1},@var{SE},...,@var{n}) ## Perform a dilation morphological operation on a binary image. ## +## @emph{warning}: @code{dilate} has been deprecated in favor of +## @code{imdilate}. This function will be removed from future versions of the +## 'image' package". +## ## BW2 = dilate(BW1, SE) returns a binary image with the result of a dilation ## operation on @var{BW1} using neighbour mask @var{SE}. ##
--- a/inst/erode.m +++ b/inst/erode.m @@ -19,6 +19,10 @@ ## @deftypefnx {Function File} {@var{BW2} = } erode (@var{BW1},@var{SE},...,@var{n}) ## Perform an erosion morphological operation on a binary image. ## +## @emph{warning}: @code{erode} has been deprecated in favor of +## @code{imerode}. This function will be removed from future versions of the +## 'image' package". +## ## BW2 = erosion(BW1, SE) returns a binary image with the result of an erosion ## operation on @var{BW1} using neighbour mask @var{SE}. ##