Skip to content

shapeworks::VectorImage

Gradient (vector) image.

#include <VectorImage.h>

Public Types

Name
using itk::GradientImageFilter< Image::ImageType > GradientImageFilter
using itk::Image< Covariant, 3 > ImageType
using itk::VectorLinearInterpolateImageFunction< ImageType, Image::PixelType > GradientInterpolatorType
using itk::ImageRegionIterator< ImageType > ImageIterator

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()).
ImageIterator iterator()

Public Types Documentation

using GradientImageFilter

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

using ImageType

using shapeworks::VectorImage::ImageType =  itk::Image<Covariant, 3>;

using GradientInterpolatorType

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

using ImageIterator

using shapeworks::VectorImage::ImageIterator =  itk::ImageRegionIterator<ImageType>;

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

Vector evaluate(
    Point p
)

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

function iterator

ImageIterator iterator()

Updated on 2024-03-17 at 12:58:44 -0600