EIDOSLAB / torchstain

Stain normalization tools for histological analysis and computational pathology
MIT License
111 stars 20 forks source link

Support for Vahadane normalization #10

Open carloalbertobarbano opened 2 years ago

carloalbertobarbano commented 2 years ago

Add support for Vahadane normalization, as in https://github.com/Peter554/StainTools

andreped commented 1 year ago

I can make an attempt. Will start with numpy on a new branch.

andreped commented 1 year ago

I have made an implementation with numpy backend in this PR: https://github.com/EIDOSLAB/torchstain/pull/28

However, it depends on spams, and hence, some work likely still remains.

If spams will be added, implementing the tf and pytorch backends should be trivial, as the main challenges rely on the two tasks that spamssolves.

For more information, see the aforementioned PR.