API & MCP

Everything a person can do on Star Detector & FWHM Meter, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Star Detector & FWHM Meter

Upload a FITS, PNG, TIFF or JPEG frame to detect stars above a noise threshold, measure sub-pixel centroids, full width at half maximum, half-flux radius and roundness, and download a star list CSV and an overlay PNG. Useful for focusing, judging seeing and tracking, and checking frames before stacking. Lumina Astro Lab runs the same detector.

Inputs of Star Detector & FWHM Meter
FieldTypeDefaultDescription
image (required)file—Image (FITS, PNG, TIFF or JPEG; up to 16 MB and 1 megapixel)
thresholdnumber5Detection threshold (σ above background)
minAreainteger3Minimum star area (pixels)
maxStarsinteger300Stars to list (brightest first)
bayerselect (auto, none, RGGB, BGGR, GRBG, GBRG)"auto"Bayer pattern of raw one-plane data
stretchselect (auto, asinh, linear)"auto"Preview stretch

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "lumina-star-detector": { "type": "http", "url": "https://luminastardetector.usefulweb.site/mcp" }
  }
}