-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
ImageMagick version
7.1.0-10
Operating system
MacOS
Operating system, version and so on
OSX Sierra
Description
Connected Components Abort Traps when filtering on area
Image:
magick objects.gif -type bilevel \
-define connected-components:mean-color=true \
-define connected-components:verbose=true \
-define connected-components:area-threshold=100 \
-connected-components 4 x.png
Objects (id: bounding-box centroid area mean-color Abort trap: 6
Works fine in IM 6.9.12-25
convert objects.gif -type bilevel \
-define connected-components:mean-color=true \
-define connected-components:verbose=true \
-define connected-components:area-threshold=100 \
-connected-components 4 x.png
Objects (id: bounding-box centroid area mean-color):
0: 256x171+0+0 119.3,80.7 33148 gray(0)
2: 120x135+104+18 159.5,106.5 8690 gray(255)
3: 50x36+129+44 154.2,63.4 1529 gray(0)
4: 21x23+0+45 8.8,55.9 409 gray(255)
Also works fine without the area threshold
magick objects.gif -type bilevel \
> -define connected-components:mean-color=true \
> -define connected-components:verbose=true \
> -connected-components 4 x.png
Objects (id: bounding-box centroid area mean-color):
0: 256x171+0+0 119.2,80.8 33117 gray(0)
2: 120x135+104+18 159.5,106.5 8690 gray(255)
3: 50x36+129+44 154.2,63.4 1529 gray(0)
4: 21x23+0+45 8.8,55.9 409 gray(255)
1: 4x10+252+0 253.9,4.1 31 gray(255)
Steps to Reproduce
See above
Images
See above
Metadata
Metadata
Assignees
Labels
No labels
