a rectangular region that represents the area over which an image is defined by the points that represent this image.
a rectangular region that represents the area over which an image is defined by the points that represent this image.
The bounding box origin is always the lower left corner of the image domain, which might be different from the image domain's origin if it is not RAI oriented.
An important assumption here is that all images in Scalismo are oriented along the spatial axis (i.e. no oblique images. These are handled at IO by resampling to axis oriented images).
Direction cosine matrix
The index for the given point id
the first point (lower-left corner in 2D) of the grid
converts a grid index into a id that identifies a point
the number of points in each direction
the distance (in mm) between two points in each space direction
the dimensionality of the domain
* Returns the point belonging to the domain that is closest to the indicated position.
* Returns the point belonging to the domain that is closest to the indicated position. The point identifier within th e domain is also returned.
true if the point is part of the grid points
true if the point is part of the grid points
returns the point id in case it is defined, None otherwise.
returns the point id in case it is defined, None otherwise.
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