General Expressions for the Quantum Fisher Information Matrix with Applications to Discrete Quantum Imaging