-
Notifications
You must be signed in to change notification settings - Fork 104
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
Zero mean intensity normalization #172
Comments
AFAIK, the NeuralNetwork PO has a It also looks like the |
Multi-channel values are not supported atm. |
This functionality can be added to the already existing ZeroMeanUnitVariance PO: https://github.com/smistad/FAST/blob/master/source/FAST/Algorithms/IntensityNormalization/ZeroMeanUnitVariance.hpp |
Yes, I saw this one, but I believe it has the same problem as the NeuralNetwork PO. It is only designed for single-channel images, as per this. Also one would need to add support for setting mean and std, which the NeuralNetwork PO already supports, so wouldn't it make more sense to add it to the NeuralNetwork PO? Or both? |
This I have done for TF models before. Works wonders. Have you tried the same in PyTorch, @MarkusDrange? Did it resolve the issue? |
Yes! Worked perfectly after adding it to the forward function of my backbone. |
I meant that this functionality can be implemented and added to the ZeroMeanUnitVariance PO. |
As a pre-processing step, i do zero mean intensity normalization over all three RGB channels, with the same mean and standard deviation for all patches:
I understand this is not supported in FAST-Pathology pre processing; would it be possible to add this functionality?
The text was updated successfully, but these errors were encountered: