FAST/Algorithms/TubeSegmentationAndCenterlineExtraction/RidgeTraversalCenterlineExtraction.cpp file

Namespaces

namespace fast
FAST namespace - All FAST code lives in this namespace.

Classes

struct fast::point
class fast::PointComparison
struct fast::CenterlinePoint

Typedefs

using point = struct fast::point
using CenterlinePoint = struct fast::CenterlinePoint

Functions

auto sign(float value) -> float
auto squaredMagnitude(ImageAccess::pointer& vectorFieldAccess, Vector3i position) -> float
auto getNormalizedValue(ImageAccess::pointer& vectorField, Vector3i pos, uint component) -> float
auto gradientNormalized(ImageAccess::pointer& vectorField, Vector3i pos, int volumeComponent, int dimensions) -> Vector3f
auto gradient(ImageAccess::pointer& vectorField, Vector3i pos, int volumeComponent, int dimensions) -> Vector3f
void sortEigenvaluesAndVectors(Vector3f* eigenvaluesOut, Matrix3f* eigenvectorsOut)
auto getTubeDirection(ImageAccess::pointer& vectorField, Vector3i pos, Vector3ui size, bool normalize) -> Vector3f
void doEigen(ImageAccess::pointer& vectorField, Vector3i pos, Vector3ui size, bool normalize, Vector3f* lambda, Vector3f* e1, Vector3f* e2, Vector3f* e3)
void copyToLineSet(std::stack<CenterlinePoint> points, std::vector<MeshVertex>& vertices, std::vector<MeshLine>& lines, Vector3f spacing)
void extractCenterlines(Image::pointer TDF, Image::pointer vectorField, Image::pointer radius, int* centerlines, unordered_map<int, int>& centerlineDistances, unordered_map<int, std::stack<CenterlinePoint>>& centerlineStacks, std::vector<MeshVertex>& vertices, std::vector<MeshLine>& lines, int maxBelowTlow, bool* useFirstRadius)

Defines

#define LPOS(a, b, c)
#define POS(pos)