Skip to content
HALOWERK

Image Processing

mask pair frame contact change

Mask clipping review identifies frame edges gaining or losing foreground contact between two masks. Use it when an agent needs a border-contact change after image extraction.

POST https://bild.halowerk.com/v1/mask-pair-frame-contact-change

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": {
        "gained": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "lost": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "both": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "gained",
        "lost",
        "both"
      ]
    },
    "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 →