webmcp-tda.pages.dev
A shared browser-local persistent homology workbench for people and WebMCP agents
First seen 2026-11-05 · Last seen 2026-11-05 · Source: webmcp.com
Answer 2 · Act 2 · Transact 0 · Score: Not yet scored
Tool inspector
tda_compute_cubical_persistence
Denoise an image, convert it to a binary foreground mask, close small mask holes, then compute 2D vertex lower-star cubical persistence over F2. Accepts the current uploaded image, a built-in sample, or supplied row-major scalar values. Omit threshold to use Otsu auto-thresholding. Runs locally in a Web Worker and updates the visible shared result.
Input schema
| Property | Type | Required | Description |
|---|---|---|---|
source |
string | no | — |
sample |
string | no | A bundled real photograph with visually meaningful holes. |
width |
integer | no | — |
height |
integer | no | — |
values |
array | no | Row-major scalar values; required when source is values and must contain width × height entries. |
binarize |
boolean | no | Binarize before persistence. Set false to preserve a grayscale filtration. |
threshold |
number | no | Manual grayscale threshold. Omit for Otsu automatic thresholding. |
foreground |
string | no | Pixels on this side of the threshold become foreground value 0. |
filtration |
string | no | — |
downsample |
integer | no | — |
resultLimit |
integer | no | — |
Raw JSON schema
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"current",
"sample",
"values"
],
"default": "current"
},
"sample": {
"type": "string",
"enum": [
"donut",
"pretzel",
"glasses"
],
"description": "A bundled real photograph with visually meaningful holes."
},
"width": {
"type": "integer",
"minimum": 2,
"maximum": 256
},
"height": {
"type": "integer",
"minimum": 2,
"maximum": 256
},
"values": {
"type": "array",
"maxItems": 65536,
"items": {
"type": "number"
},
"description": "Row-major scalar values; required when source is values and must contain width × height entries."
},
"binarize": {
"type": "boolean",
"default": true,
"description": "Binarize before persistence. Set false to preserve a grayscale filtration."
},
"threshold": {
"type": "number",
"minimum": 0,
"maximum": 255,
"description": "Manual grayscale threshold. Omit for Otsu automatic thresholding."
},
"foreground": {
"type": "string",
"enum": [
"dark",
"light"
],
"default": "dark",
"description": "Pixels on this side of the threshold become foreground value 0."
},
"filtration": {
"type": "string",
"enum": [
"sublevel",
"superlevel"
],
"default": "sublevel"
},
"downsample": {
"type": "integer",
"enum": [
1,
2,
4
],
"default": 1
},
"resultLimit": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 50
}
},
"required": [],
"additionalProperties": false
}
Similar websites
pocketgull.app
Pocket Gull is a real-time clinical AI consult engine powered by Google Gemini. Features 10D multi-paradigm strategy, FHIR R4 export & 3D spatial anatomy.
webmcp-six-lac.vercel.app
AI Navigation Layer: Model Context Protocol (MCP) Semantic DOM integration for intelligent, safe, and observable web navigation.
ghqsandbox.net
Interactive math and physics tools an AI agent can drive directly through WebMCP.
app.formative.com
Formative classroom assessment and learning platform