I’m reaching to you with a rather “strange” question, concerning the calculation of the staining-intensity values for brightfield images.
I’m trying to calculate additional staining values based on RGB values and staining vectors. Thus I was testing my script on the H / DAB / Residual staining vectors (set as default), resolving the 3x3 matrix.
Unfortunately I did only get somehow similar but not the same results for the staining intensities. So my question would be how the staining calculation based on RGB values and staining vectors works in qupath and whether it is more complicated than just resolving the 3x3 equation system?
Even a link to the actual source code making the calculations of the staining values of objects based on their RGB values would already be helpful.
Thank you very much.