TomographicImaging / CCPi-Regularisation-Toolkit

The set of CPU/GPU optimised regularisation modules for iterative image reconstruction and other image processing tasks
Apache License 2.0
49 stars 25 forks source link

TGV discrepancy with CPU and GPU regularisers #186

Open paskino opened 8 months ago

paskino commented 8 months ago

With the work on the ctypes #183 I encountered a problem with the comparison of TGV CPU and GPU implementations.

There is a minor difference at the start of the array.

On the whole 256 by 256 image it is less than 60 pixels.

To pass I reduced the tolerance of the test from 1e-5 to 1e-2.

image