Text this: Generalized image deconvolution by exploiting the transmission matrix of an optical imaging system