Once both types of objects have been identified (more can be added if needed), the next step is to identify points of interaction. This can be based on proximity (if a subject-object is within a certain distance of a reference-object), or overlap (if part or whole of a subject-objects is within the bounds of a reference-object). 

The distance operation can be used if a specified distance is enough. 

In this case, we have configured the operation in the following way:

  1. Renamed the operation so the tag attached to the objects is "contact" for ease of reading the pipeline and results.
  2. Set the operation to change the colour of tagged objects to Cyan to easily spot interactions in the viewer. 
  3. Set the subject to be the objects that will be tracked and whose interaction we want to measure and set the reference be those the subjects come into contact with.
  4. Set the filter to be a distance below 2um. The distance, in this case, was set to be fairly generous due to the processing and segmentation of the objects, but it can be set to any value as needed, even 0, meaning that objects must touch for an interaction to be inferred. 
  5. Set the distance calculation to be based on the proximity of the geometries of both the subjects and references.
  6. While the option to store the distance feature is on, it is unnecessary for the purpose of tagging.

Alternative ways to tag contact can also work. If the Distances operator is unpractical because it is too much computing for the image using a distance map is absolutely fine. Also, it is possible to use the Compartments operation if contact is limited to the overlap of objects.