← Back to directory

Count colonies, particles or spots in an image: Otsu threshold, connected compon...

https://bild.halowerk.com/v1/colony-count

Overview

Count colonies, particles or spots in an image: Otsu threshold, connected components with size filter, an estimate for touching clumps, optional circular plate region, with positions, sizes and circularity. Grey copy (long side ≤ 1600), optional circular ROI, Otsu threshold inside it; objects are the minority class unless polarity is set. 8-connected components within min/max area (original pixels); objects on the image or ROI edge are skipped by default.

Protocol x402 (POST)
Price $0.0060
Payment Asset USD Coin
Payment Network Base
Category media/images
Provider bild
Source bazaar
Indexed 2026-11-16 12:08:10

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4AgMAAAAIzBH8AAAADFBMVEU7LBHy6tDLwqh2aE4Zcn5WAAAACXBIWXMAAAsTAAALEwEAmpwYAAABoElEQVRYhe2XsW3DMBBFf+wqRdJlhIyQIp1HcBFSAqRCA7jwCFrCe2gELZERskcgWCTvyLsLUybgrwzw2fL/92Ge4SqFBlqCeUrUwF/HszzXgQPwVQVOwGMVOAOHKnAFjio4pK/lAeCmgQui024DPxXQkw/52MAXBewBvNaAI4C3GnBCyo6DQ3B5B68AnkQzS3B5B08AHqR4fHxdgizwProUQDrCMboUQFqKKboszbCaXeNBGQ8r7ik+qgyc6ZSBdIQm6MVmuRKkNWO6ZmZocZmmLB5VYxa4qj4boSqflULXwmuma+DFrRAaaAnmKVEDTcE+TmrgH4vHr+914AXHWxU4F7cE5CezC8oAO3rl5SDdyLaf7oMCso1suwyOCsg2svO2BTgZZBuZBa70YQbo2UZGQL/PCOISQ8xc9hlBXItIPPM+IxlMgfswIxlMI+zCW2QwlaIPX0I2k2o2BltyPKm45xCUHHjSuQDlpdqVoLymuxKUF39XmFH+SrgiHk1dHrgmn49Q1ZyVQtUlq5n+7JUX90ehgZZgnhI10NS/iucb/2rZfArPWCEAAAAASUVORK5CYII=" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Counts are image-analysis estimates; for CFU reporting follow your laboratory standard (e.g. ISO 7218 countable range) and verify manually.", "Touching clumps are estimated from area; heavily overgrown plates, condensation, bubbles or reflections give wrong counts.", "Uneven lighting can shift the global threshold; crop to the plate and light it evenly." ], "result": { "clumps": 0, "count": 6, "estimated_count": 6, "image": { "analysis_scale": 1, "height": 120, "width": 160 }, "objects": [ { "area_px": 256, "circularity": 1.006, "diameter_px": 18.1, "estimated_objects": 1, "x": 80, "y": 25 }, { "area_px": 256, "circularity": 1.006, "diameter_px": 18.1, "estimated_objects": 1, "x": 30, "y": 30 }, { "area_px": 256, "circularity": 1.006, "diameter_px": 18.1, "estimated_objects": 1, "x": 130, "y": 35 }, { "area_px": 256, "circularity": 1.006, "diameter_px": 18.1, "estimated_objects": 1, "x": 95, "y": 80 }, { "area_px": 256, "circularity": 1.006, "diameter_px": 18.1, "estimated_objects": 1, "x": 40, "y": 85 }, { "area_px": 256, "circularity": 1.006, "diameter_px": 18.1, "estimated_objects": 1, "x": 135, "y": 90 } ], "objects_listed": 6, "polarity": "dark_on_light", "single_object_area_px": 256, "threshold": 105 }, "service": "colony-count", "status": "success" }, "type": "json" }