Suppose you've detected nuclei and want to know how big each one is and how much Ki67 it holds. Standard Measurements answers both, from two inputs. Coded is the coded imageLoading... of events, and it supplies every shape measurement. Shades is a single grayscale imageLoading..., and it supplies every intensity measurement.
Shades can be a marker channel or a virtual channel made by another engine, such as a distance transform used to find the closest structure. In the reference example it is a Ki67 image from Color SeparationLoading..., measured over detected structures in an IHC colon sample. The global version adds a third input, Mask, which limits the measurements to its white areas.
The engine comes in two versions. The global version, under Add Measurements (basic), measures global events: pieces of one structure that touch across neighboring fields of view, stitched into one. It needs Stitch objects enabled in the layer's options, which is the default. The local version, under Add Measurements (advanced), measures each field of view's events separately and needs Stitch objects disabled.
What you feed Shades determines what an intensity measurement means. With a distance mapLoading... as Shades, an intensity becomes a distance. With the ClassifierLoading...'s Measurements Gray Map as Shades, Most Frequent Intensity gives each nucleus the class covering most of it.