The generation of contrast in MRI relies on a variety of physical processes (e.g. relaxation, magnetization transfer, etc.) that produces a relatively rich amount of information for biological samples. However, given the complex microstructure of tissues, some histological information of relevance in biology and medicine are obtained more easily using optical acquisition techniques on specifically stained specimens. Here, we propose a machine-learning-based method of replicating the contrast information from optical microscopy by exploiting the richness of MRI acquisitions (which will limit the final resolution). The approach exploits the properties of multi-layer feed-forward neural networks as universal function approximators.