Stain SAN involves three main steps: stain extraction, color adaptation, and intensity adaptation. In the first step, the original stain image is decomposed into a product of two matrices: one ...