AI Object Classifier
The AI Object Classifier command applies an object classifier trained via the app’s Train Classifier dialog as a classification step: every object in the pipeline cache matching Input Classes is scored independently, using the same feature recipe used at training time, then remapped through Segmentation Mapping into this project’s own classes and applied via Match Handling.
It uses the same input-selection logic as Classify Objects, but the output class comes from a trained model’s prediction instead of a fixed shape/intersection rule - use it where the populations aren’t cleanly separable by shape criteria, or to complement a Classify Objects step earlier in the pipeline.
Available in builds with the ai Cargo feature enabled - see AI Models.
Parameters
Section titled “Parameters”| Parameter | Description |
|---|---|
| Model Path | Path to a trained object classifier .evamodel file, saved from the Train Classifier dialog |
| Segmentation Mapping | Maps each of the model’s predicted classes to one of this project’s object classes (despite the name, this maps object classes, not segmentation classes - a naming quirk carried over from the pixel classifier’s equivalent field) |
| Input Classes | Restrict scoring to objects that already carry every one of these classes. Leave empty to evaluate every object regardless of its current class - same AND semantics as Classify Objects’ Input Classes (see Object Classes) |
| Match Handling | What to do with an object’s classes once a mapped prediction is applied - see below |
Match Handling
Section titled “Match Handling”| Mode (GUI label) | Effect |
|---|---|
| Add class on match | Add the mapped class alongside the object’s existing classes |
| Reclassify on match (default) | Clear every class the object carries, then assign only the mapped class |
The command errors if Model Path doesn’t exist, or if it points at a model trained as a Pixel Classifier instead of an Object Classifier.
Example
Section titled “Example”An object classifier debris-vs-ev.evamodel was trained on two classes: Background and EV (extracellular vesicle), using shape metrics to separate genuine vesicles from imaging debris that survived thresholding.
Model Path: models/debris-vs-ev.evamodelInput Classes: cy5@spotSegmentation Mapping: EV → cy5@evMatch Handling: Reclassify on matchEvery cy5@spot object is scored; objects predicted as EV are reclassified to cy5@ev, while objects predicted as Background (left unmapped) keep their original cy5@spot class untouched.