stainextract¶

Stain matrix extraction for stain normalization.

Functions

dl_output_for_h_and_e

Return correct value for H and E from dictionary learning output.

h_and_e_in_right_order

Rearrange input vectors for H&E in correct order with H as first output.

vectors_in_correct_direction

Points the eigen vectors in the right direction.

Classes

CustomExtractor

Get the user-defined stain matrix.

MacenkoExtractor

Macenko stain extractor.

RuifrokExtractor

Reuifrok stain extractor.

VahadaneExtractor

Vahadane stain extractor.