Skip to content
HALOWERK

Image Processing

mask pair object mergers

Mask object merger detection counts candidate components joining separate reference objects. Use it when an agent needs false object merges after foreground extraction.

POST https://bild.halowerk.com/v1/mask-pair-object-mergers

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
referencearrayYes
candidatearrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "reference": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 128,
        "minLength": 1
      },
      "maxItems": 128,
      "minItems": 1
    },
    "candidate": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 128,
        "minLength": 1
      },
      "maxItems": 128,
      "minItems": 1
    }
  },
  "required": [
    "reference",
    "candidate"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "reference": [
    "000110000",
    "000110000",
    "000101000",
    "001001000",
    "001001000",
    "011000100",
    "011111100",
    "010000110",
    "110000010"
  ],
  "candidate": [
    "000110000",
    "000110000",
    "000101000",
    "001001000",
    "001001000",
    "011000100",
    "011111100",
    "010000100",
    "100000010"
  ]
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "candidate_objects": {
          "type": "integer"
        },
        "merged": {
          "type": "integer"
        },
        "spurious": {
          "type": "integer"
        },
        "largest_merge": {
          "type": "integer"
        }
      },
      "required": [
        "candidate_objects",
        "merged",
        "spurious",
        "largest_merge"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →