Two solutions to the problem of matrixing for non-ideal camera transmission filters