self. Items = @[@ "Original",
@ "Ciblendwithalphamask",
@ "Cicolorclamp",
@ "cicolorcrosspolynomial",
@ "Cicolorcubewithcolorspace",
@ "Cicolorpolynomial",
@ "ciconvolution3x3",
@ "ciconvolution5x5",
@ "ciconvolution7x7",
@ "Ciconvolution9horizontal",
@ "ciconvolution9vertical",
@ "Cilineartosrgbtonecurve",
@ "Ciphotoeffectchrome",
@ "Ciphotoeffectfade",
@ "Ciphotoeffectinstant",
@ "Ciphotoeffectmono",
@ "Ciphotoeffectnoir",
@ "ciphotoeffectprocess",
@ "ciphotoeffecttonal",
@ "Ciphotoeffecttransfer",
@ "Cisrgbtonecurvetolinear",
@ "Civignetteeffect",
];
ciimage *ciimage = [[ciimagealloc] initwithimage:self. Orgimage];
cifilter *filter = [cifilterfilterwithname:self. Items[row]
keysandvalues:kciinputimagekey, ciimage,Nil];
[Filtersetdefaults];
cicontext *context = [cicontextcontextwithoptions:nil];
ciimage *outputimage = [Filter outputimage];
cgimageref cgimage = [Context createcgimage: outputimage
fromrect: [outputimage extent]];
Self. ImageView. image = [UIImageimagewithcgimage: cgimage];
cgimagerelease(cgimage);
Image add Filter