Staining library
RationAI Staining is a library designed for digital pathology, allowing separation, normalization, and recombination of histology stains for consistent, reproducible analysis. It provides ready-to-use RGB↔︎stain-space conversion (H&E, H&DAB), automatic stain vector estimation, stain-space editing with faithful reconstruction, white balance correction, and stain normalization routines.