Skip to content
HALOWERK

Bildwerk

raster mask euler hole count

Return bounded background holes, foreground component count and Euler characteristic of a binary mask. Supplied integer buffers only; no image download or model call.

POST https://bild.halowerk.com/v1/raster-mask-euler-hole-count

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
maskarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "mask": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1
        },
        "maxItems": 100,
        "minItems": 1
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "mask"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "mask": [
    [
      1,
      1,
      1
    ],
    [
      1,
      0,
      1
    ],
    [
      1,
      1,
      1
    ]
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub →