CIL
CIL copied to clipboard
A versatile python framework for tomographic imaging
TotalVariation proximal is not calculated in place correctly. This was spotted when trying to run SIRT with a TV constraint in https://github.com/TomographicImaging/CIL/issues/1514. ```python data = dataexample.SIMPLE_PHANTOM_2D.get(size=(128,128)) plt.figure() plt.imshow(data.as_array()) plt.show() out=data.geometry.allocate('random')...
## Describe your changes Implements `TotalGeneralisedVariation` `Function` where the `proximal` method configures and runs the PDHG algorithm,i.e.  Using the definition of TGV, we have  And PDHG solves the...
Readers could be standalone plugins `conda install -cil_reader_nikon -c ccpi -c conda-forge` This would mean that specific dependencies aren't required for the core CIL installation.
In the KL function the mask is not used by the numpy implementation but this is not mentioned in the documentation
For about one month, I have been trying to reconstruct a dataset (cone-beam geometry) using the [ZeissDataReader](https://github.com/TomographicImaging/CIL/blob/master/Wrappers/Python/cil/io/ZEISSDataReader.py), and I found some bugs in terms of reading the actual `data` and...
Looking at this documentation I noticed that we use 'center' rather than 'centre' in the Function methods: https://github.com/TomographicImaging/CIL/blob/ff4741092b7f10bde5e0572c0ac103288a163ffc/Wrappers/Python/cil/optimisation/functions/Function.py#L151 This is inconsistent with our: https://github.com/TomographicImaging/CIL/blob/ff4741092b7f10bde5e0572c0ac103288a163ffc/Wrappers/Python/cil/processors/CentreOfRotationCorrector.py#L25 And we should be consistent across...
This was suggested from @mehrhardt and code is available [here](https://github.com/mehrhardt/spdhg).
## Describe your changes Add a random seed to the power method and relevant unit tests ## Describe any testing you have performed *Please add any demo scripts to [CIL-Demos/misc/](https://github.com/TomographicImaging/CIL-Demos/tree/main/misc)*...
`show1D` does not work if the `VectorData` does not have a `dimension_label` The `dimension_labels` property is not mandatory for the data container nor does it show in any way when...
## Describe your changes Reduced image dimension, max iterations and update objective interval in order to speed up the Spdhg unit tests. Changing to GPU didn't seem to have any...