PYME.LMVis.Extras.objectMeasurements module

class PYME.LMVis.Extras.objectMeasurements.OMDialog(candidate_keys=['objectID', 'dbscanClumpID', 'clumpIndex'], *args, **kw)

Bases: mClass

property edge_cutoff
property label_key
class PYME.LMVis.Extras.objectMeasurements.ObjectMeasurer(visFr)

Bases: object

OnGetIDs(event)

Function to propagate labels from a segmented image (or stack of images) to localizations within the pipeline. Localizations in the same area (or volume) of image.ImageStack labels will be given the same ‘ObjectID’ as that label. The ImageStack containing labels is selected through the GUI.

Parameters
event: GUI event
Returns
Nothing, but adds ObjectID and NEvents columns to the pipeline

ObjectID: Label number from image, mapped to each localization within that label NEvents: Number of localizations within the label that a given localization belongs to

OnMeasure(event)
gen_pairwise_distance_features(event=None)
PYME.LMVis.Extras.objectMeasurements.Plug(visFr)

Plugs this module into the gui