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

Channel-wise intensity augment #216

Open
MariaTheiss opened this issue Dec 2, 2024 · 1 comment
Open

Channel-wise intensity augment #216

MariaTheiss opened this issue Dec 2, 2024 · 1 comment

Comments

@MariaTheiss
Copy link

Hi! I use Gunpowder for H&E pathology images, which often suffer from inconsistent staining and illumination. These are typically three-channel images, where channels are (R, G, B); or (Hematoxylin, Eosin, Residual). I augmented the images with gunpowder.IntensityAugment() to avoid overfitting on this inconsistent staining.
However, to my knowledge, gunpowder.IntensityAugment only changes the overall intensity of a patch.

It would be amazing if it were possible to change the intensity of the individual channels, i.e., the color of a patch. This would also benefit other types of multi-channel images, such as fluorescence microscopy images. Ideally, controlling the amount of change in each channel should be possible.

Thank you!

@pattonw
Copy link
Collaborator

pattonw commented Dec 2, 2024

Yes I have run into this need before and have written a node to do it, I'll see about adding it to the built in nodes

@pattonw pattonw mentioned this issue Dec 9, 2024
7 tasks
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

No branches or pull requests

2 participants