A step towards true quantitative analysis in infrared microscopy: from models to real samples