using matrices for digital photos 6201986