self.filterLookup= [[GPUImageLookupFilteralloc]init];
self.lookupImageSource= [[GPUImagePicturealloc]initWithImage:[UIImageimageNamed:fitlername]];
[self.lookupImageSourceaddTarget:self.filterLookupatTextureLocation:1];
[self.lookupImageSourceuseNextFrameForImageCapture];
[self.lookupImageSourceprocessImage];
然后不要在viewwillappear上寫。