Usage | Returns |
---|---|
Image.connectedPixelCount(maxSize, eightConnected) | Image |
Argument | Type | Details |
---|---|---|
this: input | Image | The input image. |
maxSize | Integer, default: 100 | The maximum size of the neighborhood in pixels. |
eightConnected | Boolean, default: true | Whether to use 8-connected rather 4-connected rules. |