Skip to content

Error if running brightfield cell detection on non-brightfield image#2025

Closed
alanocallaghan wants to merge 1 commit intoqupath:mainfrom
alanocallaghan:watershed-error-brightfield
Closed

Error if running brightfield cell detection on non-brightfield image#2025
alanocallaghan wants to merge 1 commit intoqupath:mainfrom
alanocallaghan:watershed-error-brightfield

Conversation

@alanocallaghan
Copy link
Contributor

@alanocallaghan alanocallaghan commented Oct 28, 2025

Throw an error if trying to run an instance of brightfield cell detection on a non-brightfield image.

To reproduce:

  1. open a brightfield image
  2. run cell detection, or open a workflow of a previous cell detection on this image
  3. without closing cell detection, open a non-brightfield image
  4. run cell detection using either of the two detection images and observe that the results look suspiciously normal (at least, when DAPI is the first channel).

Draft PR pending further testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant