odl
odl copied to clipboard
Operator Discretization Library https://odlgroup.github.io/odl/
I would like to use odl to reconstruct the mayo datasets; I am trying to follow the scripts: https://github.com/odlgroup/odl/blob/25ec783954a85c2294ad5b76414f8c7c3cd2785d/odl/contrib/datasets/ct/examples/mayo_reconstruct.py https://github.com/odlgroup/odl/blob/25ec783954a85c2294ad5b76414f8c7c3cd2785d/odl/contrib/datasets/ct/mayo.py However the import statement fails: 8 from dicom.datadict import DicomDictionary,...
I just could not make correspondence between the math and implementation of PDHG. It seems that we do not need to compute gradient when update x  https://github.com/odlgroup/odl/blob/0b088df8dc4621c68b9414c3deff9127f4c4f11d/odl/solvers/nonsmooth/primal_dual_hybrid_gradient.py#L282
https://github.com/odlgroup/odl/blob/d30f57dd5f034472e99d8c57d6095eda706ebf76/odl/tomo/backends/skimage_radon.py#L155-L162 The function `skimage_radon_back_projector ` call iradon whith the keyword argument `filter`, but this argument is removed since skimage v0.19. ```python @deprecate_kwarg(kwarg_mapping={'filter': 'filter_name'}, removed_version="0.19") def iradon(radon_image, theta=None, output_size=None, filter_name="ramp", interpolation="linear",...
```python import odl import numpy as np from odl.trafos import PYFFTW_AVAILABLE apart = odl.uniform_partition(0, 2 * np.pi, 360) dpart = odl.uniform_partition(-0.75, 0.75, 500) geom = odl.tomo.geometry.conebeam.FanBeamGeometry(apart, dpart, src_radius=0.5, det_radius=0.5) space...
Hi! I am trying to run the jupyter notebook: part3_learned_reconstruction_pytorch.ipynb from the odlworkshop . I use pytorch 1.7.0 and cuda 10.1. I get the following error message: --------------------------------------------------------------------------- RuntimeError Traceback...
I want to create a helical geometry with cylindrical detector. Here is my code: reco_space = odl.uniform_discr(min_pt=[-63.5, -63.5, 0], max_pt=[63.5, 63.5, 14], shape=[128, 128, 15], dtype='float32') angle_partition = odl.uniform_partition(0, 2...
Hello, @adler-j . I tried to run the following code with ODL in ubuntu 16.04 with python3.6. The original geometry I find in your public code for Learned Primal Dual...
https://github.com/odlgroup/odl/blob/a269486387f51559fece569704097dda07b3ce86/odl/solvers/nonsmooth/proximal_operators.py#L1497 As it is implemented, the proximal of the Linfty-norm does not depend on its scaling factor in front of it (see line above). Not sure what the correct formulation...
So I've been trying to reconstruct some tomo data that has negative values and while I get a pretty nice results with fbp, when I try to run either the...
Hello, I am trying to perform FISTA reconstruction but the f_prox = f.proximal(gamma) line in proximal_gradient_solvers.py throws me an error because (I guess) my regularizer functional f falls into the...