From: <car...@us...> - 2011-10-31 03:57:43
|
Revision: 8893 http://octave.svn.sourceforge.net/octave/?rev=8893&view=rev Author: carandraug Date: 2011-10-31 03:57:36 +0000 (Mon, 31 Oct 2011) Log Message: ----------- dilate, erode: marked as deprecated in favour of imerode and imdilate Modified Paths: -------------- trunk/octave-forge/main/image/inst/dilate.m trunk/octave-forge/main/image/inst/erode.m Modified: trunk/octave-forge/main/image/inst/dilate.m =================================================================== --- trunk/octave-forge/main/image/inst/dilate.m 2011-10-31 03:03:26 UTC (rev 8892) +++ trunk/octave-forge/main/image/inst/dilate.m 2011-10-31 03:57:36 UTC (rev 8893) @@ -42,6 +42,8 @@ ## Author: Josep Mones i Teixidor <jm...@pu...> function BW2 = dilate(BW1, SE, a, b) + warning ("'dilate' has been deprecated in favor of 'imdilate'. This function will be removed from future versions of the 'image' package"); + alg='spatial'; n=1; if (nargin < 1 || nargin > 4) Modified: trunk/octave-forge/main/image/inst/erode.m =================================================================== --- trunk/octave-forge/main/image/inst/erode.m 2011-10-31 03:03:26 UTC (rev 8892) +++ trunk/octave-forge/main/image/inst/erode.m 2011-10-31 03:57:36 UTC (rev 8893) @@ -42,6 +42,8 @@ ## Author: Josep Mones i Teixidor <jm...@pu...> function BW2 = erode(BW1, SE, a, b) + warning ("'erode' has been deprecated in favor of 'imerode'. This function will be removed from future versions of the 'image' package"); + alg='spatial'; n=1; if (nargin < 1 || nargin > 4) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |