Name namespace for CortidQCT library.
More...
|
template<class T > |
constexpr DiscreteRange< T > | discreteRange (T min, T max, T stride) noexcept |
| Convenient creator function.
|
|
template<class T > |
constexpr DiscreteRange< T > | discreteRange (T min, T max) noexcept |
| Convenient creator function.
|
|
template<class MatrixType > |
MartrixIOWrapper< MatrixType > | io (Eigen::MatrixBase< MatrixType > &matrix) |
|
template<class MatrixType > |
MartrixIOWrapper< MatrixType > | io (Eigen::MatrixBase< MatrixType > const &matrix) |
|
template<class DerivedV , class DerivedN > |
Eigen::Matrix< typename DerivedV::Scalar, Eigen::Dynamic, 3 > | samplingPoints (Eigen::MatrixBase< DerivedV > const &V, Eigen::MatrixBase< DerivedN > const &N, MeasurementModel const &model) |
| Returns a matrix containing positions to sample a voxel volume at. More...
|
|
Name namespace for CortidQCT library.
template<class Label , class Scalar >
Color to label map.
A function mapping 3-component floating point RGB colors to integer labels. Takes three arguments of type Scalar
: red, green, blue, Must return a label of type Label
.
- Template Parameters
-
Label | Label type |
Scalar | Scalar type of color components |
template<class Scalar , class Label >
Label to color map.
A function mapping an integer label to a 3-component floating point RGB color. Takes the label as an argument and returns a std::array<Scalar, 3> RGB color.
- Template Parameters
-
Scalar | Scalar type of color components |
Label | Label type |
template<class MatrixType >
MartrixIOWrapper<MatrixType> CortidQCT::io |
( |
Eigen::MatrixBase< MatrixType > & |
matrix | ) |
|
|
inline |
Wrappes an Eigen matrix for IO support
- Template Parameters
-
MatrixType | Eigen matrix type |
- Parameters
-
- Returns
- Wrapper object
template<class MatrixType >
MartrixIOWrapper<MatrixType> CortidQCT::io |
( |
Eigen::MatrixBase< MatrixType > const & |
matrix | ) |
|
|
inline |
Wrappes an Eigen matrix for IO support
- Template Parameters
-
MatrixType | Eigen matrix type |
- Parameters
-
- Returns
- Wrapper object (const)
template<class DerivedV , class DerivedN >
Eigen::Matrix<typename DerivedV::Scalar, Eigen::Dynamic, 3> CortidQCT::samplingPoints |
( |
Eigen::MatrixBase< DerivedV > const & |
V, |
|
|
Eigen::MatrixBase< DerivedN > const & |
N, |
|
|
MeasurementModel const & |
model |
|
) |
| |
Returns a matrix containing positions to sample a voxel volume at.
Let and let , where represent model.samplingRange
, then the returned NMx3 matrix contains N*M positions, where each M consecutive postitions represent a line through a vertex in V
sampled along the surface normal in N
.
- Parameters
-
V | Nx3 matrix with vertex positions |
N | Nx3 matrix of per-vertex surface normals |
model | MeasurementModel instance |
- Returns
- NMx3 matrix containing sampling positions