AIMech AI

Otsu thresholding

Algorithms AIMech:OtsuThresholding DRAFT
Aliases: Otsu’s method, Otsu threshold selection
A histogram-based threshold-selection algorithm that partitions ordered gray levels by maximizing class-weighted between-class variance, equivalently minimizing within-class variance for a fixed histogram.
Identity Notes & Concept Scope The binary method chooses a global intensity threshold without labeled training data or a fitted parametric intensity density. Its ordered multilevel extension jointly selects several thresholds using the same variance decomposition. It is not a supervised classifier, a learned activation threshold, adaptive spatial thresholding or a guarantee of semantically correct image segmentation. The threshold search depends on intensity counts and order, not spatial adjacency. Thresholds with the same partition can be equivalent even when their numeric values differ. No normalized identity match was found across all 442 pinned AIO labels and all scoped synonyms and 397 preceding native IDs, names and aliases for these three concepts. Full-checkout fixed-string searches included ignored and hidden files in worktree and main, yielding 12 and 12 matched lines; all 9 unique contents were read. Hits represent citations and discovery leads rather than records of these identities. All 161 semantic label/synonym hits were read. Forty fully annotated exact CLASS nodes and outgoing edges were inspected:24 byte-verified after prior full reading and 16 freshly read. Fifty contextual YAMLs comprise 40 generated and 10 native records:28 byte-verified after prior reading and 22 freshly read. Any truncated display was reread in smaller batches. Short acronyms were included in the complete normalized identity comparison. Absence is bounded to the pin, native collection and inspected semantic neighborhood.

Claims & Grounded Evidence

1 Claim
Mechanism #method
For nonnegative counts n_i at ordered gray levels i with positive total N, use p_i=n_i/N and total mean mu_T=sum_i i*p_i. For every binary threshold k admitting two nonempty classes, set w=sum_(i<=k) p_i and m=sum_(i<=k) i*p_i. Compute between-class variance B(k)=(mu_T*w-m)^2/[w*(1-w)] and choose a global maximizer. Cumulative counts and first moments give an O(L) scan over L gray levels after histogram construction. At fixed total variance T, within-class variance is T-B(k); if T>0, maximizing the separability ratio B(k)/T gives the same maximizers. The source’s multilevel extension jointly partitions the ordered levels into nonempty classes and maximizes sum_c w_c*(mu_c-mu_T)^2; recursive binary splitting is not automatically equivalent to that joint optimum.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:UnsupervisedClustering
Unsupervised Clustering
related_match The method groups unlabeled intensities into ordered classes by a between/within-class variance criterion. The AIO target describes an unsupervised grouping task; related_match connects that role without equating this specific threshold-selection algorithm with the task or requiring supervised classification.

Evidence Sources & Primary Literature

1 Source
Source ID Publication / Document Type / Access Reference & Checksum
method-source
Nobuyuki Otsu
primary paper
full_text
ID: doi:10.1109/TSMC.1979.4310076
sha256:24fd73e56dca…

Curation Provenance

Curator: Codex
Method: ai_assisted
Model: GPT-6
Created: 2026-10-11T21:41:53Z
Updated: 2026-10-11T21:43:16Z
Source File: data/curated/OtsuThresholding.yaml