Grangeat-based 2D/3D image registration
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
Texture-Related Types

Classes and enumerations related to accessing data as textures. More...

Classes

class  reg23::SinogramClassic3D< texture_t >
 A 3D texture stored for access by the CPU, structured for storing an even distribution of values over the surface of S^2, according to the HEALPix mapping. ToDo: citation here. More...
 
class  reg23::SinogramHEALPix< texture_t >
 A 3D texture stored for access by the CPU, structured for storing an even distribution of values over the surface of S^2, according to the HEALPix mapping. ToDo: citation here. More...
 
class  reg23::Texture< dimensionality, intType, floatType >
 A parent texture class containing template data and functionality. More...
 
class  reg23::Texture2DCPU
 A 2D texture stored for access by the CPU. More...
 
class  reg23::Texture3DCPU
 A 3D texture stored for access by the CPU. More...
 

Enumerations

enum class  reg23::TextureAddressMode { reg23::TextureAddressMode::ZERO , reg23::TextureAddressMode::WRAP }
 

Functions

template<std::size_t DIMENSIONALITY>
Vec< TextureAddressMode, DIMENSIONALITY > reg23::StringsToAddressModes (const std::array< std::string_view, DIMENSIONALITY > &strings)
 

Detailed Description

Classes and enumerations related to accessing data as textures.

Enumeration Type Documentation

◆ TextureAddressMode

An enumeration of address modes for texture objects, similar to the argument padding_mode in torch.nn.functional.grid_sample, or the CUDA enumeration cudaTextureAddressMode.

Enumerator
ZERO 

Sampling locations outside texture coordinate range will be read as 0.

WRAP 

Sampling locations outside texture coordinate range will be read wrapped back according to ((x - left) mod width + left, (y - bottom) mod height + bottom, etc...

Function Documentation

◆ StringsToAddressModes()

template<std::size_t DIMENSIONALITY>
Vec< TextureAddressMode, DIMENSIONALITY > reg23::StringsToAddressModes ( const std::array< std::string_view, DIMENSIONALITY > &  strings)
Template Parameters
DIMENSIONALITY
Parameters
strings
Returns