Analysis of Signal Decomposition and Stain Separation methods for biomedical applications