Image formation under partially coherent and partially polarised illumination in anodised optical systems