changeset 803:8905fa8c4877

bwmorph: small code comment added about compatibility
author Carnë Draug <carandraug@octave.org>
date Fri, 11 Oct 2013 15:49:13 +0100
parents bec6e07f4272
children 9e53c082b5eb
files inst/bwmorph.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/inst/bwmorph.m
+++ b/inst/bwmorph.m
@@ -325,6 +325,8 @@
       ## im* functions, and in bwmorph. The rest of bwmorph that uses
       ## erosion (open, close, bothat, and tophat a least), suffer the
       ## same problem. We do not replicate the bug and use imerode.
+      ## In 2013, Mathworks has confirmed this bug and will try to fix it
+      ## for their next releases. So, do NOT fix this for "compatibility".
       se = strel ("hypercube", ndims (bw), 3);
       morph = @(x) imerode (x, se);