Grangeat-based 2D/3D image registration
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
ResampleSinogram3D.h File Reference
#include "Common.h"

Go to the source code of this file.

Classes

struct  reg23::ResampleSinogram3D
 
struct  reg23::ResampleSinogram3D::ConstantGeometry
 
struct  reg23::ResampleSinogram3D::CommonData
 

Namespaces

namespace  reg23
 

Functions

at::Tensor reg23::ResampleSinogram3D_CPU (const at::Tensor &sinogram3d, const std::string &sinogramType, double rSpacing, const at::Tensor &projectionMatrix, const at::Tensor &phiValues, const at::Tensor &rValues, c10::optional< at::Tensor > out)
 Resample the given 3D sinogram at locations corresponding to the given 2D sinogram grid (phiValues, rValues), according to the 2D-3D image registration method based on Grangeat's relation.
 
__host__ at::Tensor reg23::ResampleSinogram3D_CUDA (const at::Tensor &sinogram3d, const std::string &sinogramType, double rSpacing, const at::Tensor &projectionMatrix, const at::Tensor &phiValues, const at::Tensor &rValues, c10::optional< at::Tensor > out)
 An implementation of reg23::ResampleSinogram3D_CPU that uses CUDA parallelisation.
 
__host__ at::Tensor reg23::ResampleSinogram3DCUDATexture (int64_t sinogram3dTextureHandle, int64_t sinogramWidth, int64_t sinogramHeight, int64_t sinogramDepth, const std::string &sinogramType, double rSpacing, const at::Tensor &projectionMatrix, const at::Tensor &phiValues, const at::Tensor &rValues, c10::optional< at::Tensor > out)
 An implementation of reg23::ResampleSinogram3D_CUDA that takes a handle to a pre-allocated CUDA texture instead of a PyTorch tensor.