0, 0, 0, 0, 0.2] let redVector = CIVector(values: redArray, count: redArray.count)
let image = CIImage(image: UIImage(named: "color_test")!)! let editedCIImage = CIFilter( name: "CIColorCrossPolynomial", parameters: [ kCIInputImageKey: ciImage, "inputRedCoefficients": redVector ] )!.outputImage! let context = CIContext() let cgImage = context.createCGImage(editedCIImage, from: editedCIImage.extent)! ίʔυ؆ུԽͷͨΊʹڧ੍ΞϯϥοϓΛଟ༻͍ͯ͠·͢