//I created filter let tempFilter = CIFilter(name: "CITemperatureAndTint") tempFilter?.setValue(brightnessOutput, forKey: "inputImage")