Creates a dict to use with the ASTRA Toolbox.
Parameters: | intype (string) – Type of the ASTRA object. |
---|---|
Returns: | dict – An ASTRA dict of type intype. |
Create a backprojection of a sinogram (2D).
Parameters: |
|
---|---|
Returns: | int or (int, numpy.ndarray) – If returnData=False, returns the ID of the backprojection. Otherwise, returns a tuple containing the ID of the backprojection and the backprojection itself, in that order. |
Create a backprojection of a sinogram (3D) using CUDA.
Parameters: |
|
---|---|
Returns: | int or (int, numpy.ndarray) – If returnData=False, returns the ID of the backprojection. Otherwise, returns a tuple containing the ID of the backprojection and the backprojection itself, in that order. |
Create a projection geometry.
This method can be called in a number of ways:
create_proj_geom('parallel', detector_spacing, det_count, angles):
Parameters: |
|
---|---|
Returns: | A parallel projection geometry. |
create_proj_geom('fanflat', det_width, det_count, angles, source_origin, source_det):
Parameters: |
|
---|---|
Returns: | A fan-beam projection geometry. |
create_proj_geom('fanflat_vec', det_count, V):
Parameters: |
|
---|---|
Returns: | A fan-beam projection geometry. |
create_proj_geom('parallel3d', detector_spacing_x, detector_spacing_y, det_row_count, det_col_count, angles):
Parameters: |
|
---|---|
Returns: | A parallel projection geometry. |
create_proj_geom('cone', detector_spacing_x, detector_spacing_y, det_row_count, det_col_count, angles, source_origin, source_det):
Parameters: |
|
---|---|
Returns: | A cone-beam projection geometry. |
create_proj_geom('cone_vec', det_row_count, det_col_count, V):
Parameters: |
|
---|---|
Returns: | A cone-beam projection geometry. |
create_proj_geom('parallel3d_vec', det_row_count, det_col_count, V):
Parameters: |
|
---|---|
Returns: | A parallel projection geometry. |
create_proj_geom('sparse_matrix', det_width, det_count, angles, matrix_id):
Parameters: |
|
---|---|
Returns: | A projection geometry based on a sparse matrix. |
Create a 2D projector.
Parameters: | |
---|---|
Returns: | int – The ID of the projector. |
Create a reconstruction of a sinogram (2D).
Parameters: |
|
---|---|
Returns: | int or (int, numpy.ndarray) – If returnData=False, returns the ID of the reconstruction. Otherwise, returns a tuple containing the ID of the reconstruction and reconstruction itself, in that order. |
Create a forward projection of an image (2D).
Parameters: |
|
---|---|
Returns: | int or (int, numpy.ndarray) – If returnData=False, returns the ID of the forward projection. Otherwise, returns a tuple containing the ID of the forward projection and the forward projection itself, in that order. |
Create a forward projection of an image (3D).
Parameters: |
|
---|---|
Returns: | int or (int, numpy.ndarray) – If returnData=False, returns the ID of the forward projection. Otherwise, returns a tuple containing the ID of the forward projection and the forward projection itself, in that order. |
Create a volume geometry structure.
This method can be called in a number of ways:
returns: | A 2D volume geometry of size \(N \times N\). |
---|
returns: | A 2D volume geometry of size \(M \times N\). |
---|
returns: | A 2D volume geometry of size \(M \times N\). |
---|
returns: | A 2D volume geometry of size \(M \times N\), windowed as \(minx \leq x \leq maxx\) and \(miny \leq y \leq maxy\). |
---|
returns: | A 3D volume geometry of size \(M \times N \times Z\). |
---|
returns: | A 3D volume geometry of size \(M \times N \times Z\). |
---|