Typeclass for creating domains of arbitrary dimensionality
A scalar image that is once differentiable
Basic interface for a discrete image of arbitrary Pixel type
Basic interface for a discrete image of arbitrary Pixel type
The dimensionality of the image
The type of the pixel (usually a scalar or a vector)
Defines points in D dimension which are aligned on a regular grid.
Defines points in D dimension which are aligned on a regular grid.
The grid points are defined by specifying an origin, a spacing between the grid points, and the size (number of points) in each direction.
A global coordinate system is assumed, and all units are measured in mm.
The dimensionality of the domain
A scalar valued discrete image.
A scalar valued discrete image.
The dimensionality of the image
The type of the pixel (needs to implement Scalar).
An image whose values are scalar.
Factory methods to create a differentiableScalarImage
Factory methods for creating DiscreteImageDomain objects
Factory methods for creating a new DiscreteScalarImage, as well as method to interpolate and resample images.
Factory methods for creating scalar images
Contains classes for representing discrete and continuous images as well as filters for filtering both types of images.
In this library, the standard type of images are just functions, defined on some domain. There is also the more traditional discrete image type, which represents image data on a regular pixel/voxel grid.
DiscreteImages are mainly used for reading/writing and simple manipulation of image values. The continuous representation of images is much more flexible and most method for manipulating images are defined only on this image type. A discrete image can be converted to a continuous image by using an interpolation procedure:
To get back the discrete representation, we can sample the image values on a regular grid: