# ITK ERROR: Hematoxylin and Eosin are getting mixed up; failed

**URL:** https://discourse.itk.org/t/itk-error-hematoxylin-and-eosin-are-getting-mixed-up-failed/4767
**Category:** Uncategorized
**Created:** [January 28, 2022, 8:56pm UTC](https://discourse.itk.org/t/itk-error-hematoxylin-and-eosin-are-getting-mixed-up-failed/4767 "2022-01-28T20:56:33Z")
**Posts on this page:** 1
**Showing post:** 36

<div class="post-metadata">

### Author: ![Jon](https://discourse.itk.org/user_avatar/discourse.itk.org/jon/32/2515_2.png) [@Jon](https://discourse.itk.org/u/Jon)
#### Post date: [February 25, 2022, 10:59am UTC](https://discourse.itk.org/t/itk-error-hematoxylin-and-eosin-are-getting-mixed-up-failed/4767/36 "2022-02-25T10:59:41Z")

</div>

Hi Lee,

In the meantime, I used a Python version of the original Macenko MATLAB code to see how it worked. It hard-codes the reference stain parameters (but I couldn’t find where they came from) and so is less appealing and less flexible than your package. But it allows me to see what is used in the normalized output for each input stain, hematoxylin and eosin, as attached.

Is there a way to get at these separated images in your package?

Cheers,  
Jon

Jon R. Sauer  
[jon.sauer@gmail.com](mailto:jon.sauer@gmail.com)  
Acton, MA, USA 01720  
+1 303.579.3009

 ![inp1_quad.jpg](https://discourse.itk.org/uploads/default/original/2X/e/e3e1aca4129e5810b644fc3a5e3f77ab2aeea6de.jpeg)

---

_[View the full topic](https://discourse.itk.org/t/itk-error-hematoxylin-and-eosin-are-getting-mixed-up-failed/4767)._
