Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageJ macro runner can't transfer include cell nuclei & boundaries #1522

Open
petebankhead opened this issue May 10, 2024 · 0 comments
Open
Labels
Milestone

Comments

@petebankhead
Copy link
Member

petebankhead commented May 10, 2024

Bug report

Describe the bug
See https://forum.image.sc/t/unexpected-behavior-difference-in-imagej-macro-runner-vs-send-region-to-imagej/96089

Expected behavior
It's possible to transfer the cell nucleus and cell boundary to ImageJ for use with the macro runner.

Possibly this should also pay attention to the OverlayOptions in the viewer by default... but this is questionable as it introduces a dependency on the viewer settings.

Desktop (please complete the following information):

  • OS: All
  • QuPath Version: v0.5.1 (and earlier)

Additional context
The issue relates to OverlayOptions not being passed through, as shown at

pathImage = IJExtension.extractROIWithOverlay(server, pathObject, imageData.getHierarchy(), region, sendROI, null);

@petebankhead petebankhead changed the title ImageJ macro runner can't transfert include cell nuclei & boundaries ImageJ macro runner can't transfer include cell nuclei & boundaries May 10, 2024
@petebankhead petebankhead added this to the v0.6.0 milestone May 10, 2024
petebankhead added a commit to petebankhead/qupath that referenced this issue May 10, 2024
A step towards fixing qupath#1522

Incomplete, because it behaves inconsistently depending upon whether the macro is being run on a selected object or across all annotations / TMA cores. In the first case, the `ImageDisplay` and `OverlayOptions` may be used, but in the second case they are unavailable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant