]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 15 Jan 2017 00:11:29 +0000 (19:11 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 15 Jan 2017 00:11:29 +0000 (19:11 -0500)
MagickCore/vision.c

index 1f843342b422da7068e37155b99b842f60972ca4..6c4d58d3aff6b5cdd614e9c4313aff3f8dd021d7 100644 (file)
@@ -469,7 +469,7 @@ MagickExport Image *ConnectedComponentsImage(const Image *image,
 
         if (status == MagickFalse)
           continue;
-        if ((double) object[i].area > area_threshold)
+        if ((double) object[i].area >= area_threshold)
           continue;
         for (j=0; j < (ssize_t) component_image->colors; j++)
           object[j].census=0;