Skip to content

Commit

Permalink
DOC: Fix typos and improve grammar
Browse files Browse the repository at this point in the history
Fix typos and improve grammar.
  • Loading branch information
jhlegarreta authored and N-Dekker committed Dec 2, 2021
1 parent 8a6ae50 commit b14b95a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkImageBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class ITK_TEMPLATE_EXPORT ImageBase : public DataObject

/** Spacing type alias support. Spacing holds the size of a pixel.
* The spacing is the geometric distance between image samples along
* each dimension. ITK only supports positive spacing value:
* each dimension. ITK only supports positive spacing values:
* negative values may cause undesirable results. */
using SpacingValueType = SpacePrecisionType;
using SpacingType = Vector<SpacingValueType, VImageDimension>;
Expand All @@ -156,7 +156,7 @@ class ITK_TEMPLATE_EXPORT ImageBase : public DataObject
using PointValueType = SpacePrecisionType;
using PointType = Point<PointValueType, VImageDimension>;

/** Direction type alias support. The Direction is a matix of
/** Direction type alias support. The Direction is a matrix of
* direction cosines that specify the direction in physical space
* between samples along each dimension. */
using DirectionType = Matrix<SpacePrecisionType, VImageDimension, VImageDimension>;
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/ImageAdaptors/include/itkImageAdaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class ITK_TEMPLATE_EXPORT ImageAdaptor : public ImageBase<TImage::ImageDimension
* of the index (0,0). */
using typename Superclass::PointType;

/** Direction type alias support The Direction is a matix of
/** Direction type alias support The Direction is a matrix of
* direction cosines that specify the direction between samples.
* */
using typename Superclass::DirectionType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class ITK_TEMPLATE_EXPORT TriangleMeshToBinaryImageFilter : public ImageSource<T

itkGetConstReferenceMacro(Spacing, SpacingType);

/** The Direction is a matix of direction cosines
/** The Direction is a matrix of direction cosines
* that specify the direction between samples.
* */
itkSetMacro(Direction, DirectionType);
Expand Down

0 comments on commit b14b95a

Please sign in to comment.