/** * Check if we have H-DAB staining, by checking the names of the first two stains and confirming that the third stain is a residual. * Note the order of the stains must be 1-Hematoxylin, 2-DAB, 3-residual (missing) * @return */ public boolean isH_DAB() { return isHematoxylin(stain1) && isDAB(stain2); // && stain3.isResidual(); }
/** * Check if we have H&E staining, by checking the names of the first two stains and confirming that the third stain is a residual. * Note the order of the stains must be 1-Hematoxylin, 2-Eosin, 3-residual (missing) * @return */ public boolean isH_E() { return stain3.isResidual() && isHematoxylin(stain1) && isEosin(stain2); }