Tiep Vu Van
Tiep Vu Van

Reputation: 1005

GPUImage get different result on real device

I use GPUImageLookupFilter for image processing. It's seem to be okay with Simulator, but when i run my application on real device, i got different result of image.

Here is two image

Could somebody tell me how to fix this?

Upvotes: 0

Views: 137

Answers (1)

sansuiso
sansuiso

Reputation: 9379

It seems that you're getting some saturation in the computation, maybe (to confirm) coming from different computation precision between the simulator and the real device.

In simulator, GPUImage code is executed on the host (development machine) GPU while it os executed on the actual device GPU in the real device. The gap between GPU capacities can be huge, especially if the dev machine is a recent one while the real device is an older one (iPhone 4 for example).

Upvotes: 1

Related Questions