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

Normalize by maximum pixel in case of Rosetta tiling for sparse signal #472

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alex-l-kong
Copy link
Contributor

What is the purpose of this PR?

Closes #469.

How did you implement your changes

If the percent norm for either source or tile is 0 at the given percent_norm, default to normalizing by the maximum pixel intensity in the image. This will ensure that normalization is possible and should only happen if the signal is extremely sparse.

Remaining issues

This process will still fail in case of a blank source or tile, but that should not happen with proper run and extraction settings.

@alex-l-kong alex-l-kong self-assigned this Nov 12, 2024
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.

Rosetta source stitching fails for channels with extremely sparse signal
1 participant