Every detection method ends in the same place. Whether objects come from thresholding, from NucleiLoading... detection or from deep learningLoading..., StrataQuest stores the result as a labeled image, which it calls a coded image. All pixels belonging to an event have the same unique ID, so two touching nuclei remain two objects with their own outlines.
In StrataQuest a coded image is a 24-bit color image that can hold up to 65,535 labels. Labels are assigned one field of viewLoading... at a time (local labels), so the limit applies per field. StitchingLoading... then matches labels across field borders into global labels, which are kept in 32-bit images and the project file, so a sample can hold far more objects than one field.
A maskLoading... can become a coded image too. The LabelLoading... operation in the Basic Operations Module treats each connected set of non-zero pixels as one marker and gives it its own value, using 4-connected neighbors by default. Going the other way, the Coded Image engine's Mask from Coded result turns events into a plain mask, and the unique IDs and individual contours are lost.
The engine named Coded Image. Events are visible only in the layer that made them. The Coded Image engine, under Add > Import in a layer's Pre-Processing section, brings a set of events in from another layer, so layersLoading... share events instead of detecting them twice. Its Gates option imports only the subset selected by gates or cutoffsLoading... on a diagram, and events imported that way carry no stitch information.
Source: StrataQuest 8.1 User Manual §11.1.1 (pp. 150–151), §12.3 (pp. 170–171); Engines Reference ch. 9 (pp. 379–381), ch. 6.6 (p. 195), ch. 21 (p. 431), ch. 41 (p. 538).