Skip to content

shapeworks::VectorImage

Image composed of vectors instead of just scalars.

#include <VectorImage.h>

Public Types

Name
using itk::GradientImageFilter< Image::ImageType > GradientImageFilter
using GradientImageFilter::OutputImageType ImageType
using itk::VectorLinearInterpolateImageFunction< ImageType, typename Image::PixelType > GradientInterpolator

Public Functions

Name
VectorImage(const Image & dt_img)
Creates a gradient vector image of image (presumably a distance transform)
VectorImage() =delete
~VectorImage() =default
Vector evaluate(Point p)
Returns a Vector (which can be normalized using v.Normalize()).

Public Types Documentation

using GradientImageFilter

using shapeworks::VectorImage::GradientImageFilter =  itk::GradientImageFilter<Image::ImageType>;

using ImageType

using shapeworks::VectorImage::ImageType =  GradientImageFilter::OutputImageType;

using GradientInterpolator

using shapeworks::VectorImage::GradientInterpolator =  itk::VectorLinearInterpolateImageFunction< ImageType, typename Image::PixelType>;

Public Functions Documentation

function VectorImage

VectorImage(
    const Image & dt_img
)

Creates a gradient vector image of image (presumably a distance transform)

function VectorImage

VectorImage() =delete

function ~VectorImage

~VectorImage() =default

function evaluate

inline Vector evaluate(
    Point p
)

Returns a Vector (which can be normalized using v.Normalize()).


Updated on 2022-03-31 at 09:51:19 -0600