Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Detection Centroid Distances does not work across detection types (Detections vs Cells) #1550

Copy link
Copy link

Description

@lacan
Issue body actions

Bug report

Describe the bug
If we have detections and cell objects and try to run Detection Centroid Distances 2D, it will only output a result for the cells and not the detections.

To Reproduce
Steps to reproduce the behavior:

  1. Annotate a small region and use cell detection to create cells (with expansion) and classify them as "Stroma"
  2. Annotate another region (It can overlap with the other, but it does not matter) and detect cells without expansion, label them as "Other"
  3. Use Detection Centroid Distances 2D with the defaults
  4. If you look at the Cell objects, they have a Distance to detection with Stroma um
  5. If you look at the Detections (not expanded cells) there is no measurement

If you repeat the steps above but make only Cell objects or Detections without expansion (Where both are of the same type) then it works as expected, meaning both PathObjects have the distance measurements

Expected behavior
I would expect the Detection Centroid Distances 2D would work for heterogeneous groups (cells and detections) as cells are detections too.

Desktop (please complete the following information):

  • OS: Win 11
  • QuPath Version: 0.5.1
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.