Class/Object

scalismo.image

DiscreteImageDomain

Related Docs: object DiscreteImageDomain | package image

Permalink

abstract class DiscreteImageDomain[D <: Dim] extends DiscreteDomain[D] with Equals

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.

D

The dimensionality of the domain

Linear Supertypes
DiscreteDomain[D], Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DiscreteImageDomain
  2. DiscreteDomain
  3. Equals
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DiscreteImageDomain()(implicit arg0: NDSpace[D])

    Permalink

Abstract Value Members

  1. abstract def boundingBox: BoxDomain[D]

    Permalink

    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).

    Definition Classes
    DiscreteImageDomainDiscreteDomain
  2. abstract def directions: SquareMatrix[D]

    Permalink

    Direction cosine matrix

  3. abstract def index(pointId: PointId): IntVector[D]

    Permalink

    The index for the given point id

  4. abstract def origin: Point[D]

    Permalink

    the first point (lower-left corner in 2D) of the grid

  5. abstract def pointId(idx: IntVector[D]): PointId

    Permalink

    converts a grid index into a id that identifies a point

  6. abstract def points: Iterator[Point[D]]

    Permalink
    Definition Classes
    DiscreteDomain
  7. abstract def size: IntVector[D]

    Permalink

    the number of points in each direction

  8. abstract def spacing: Vector[D]

    Permalink

    the distance (in mm) between two points in each space direction

  9. abstract def transform(t: (Point[D]) ⇒ Point[D]): DiscreteDomain[D]

    Permalink
    Definition Classes
    DiscreteDomain

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def canEqual(a: Any): Boolean

    Permalink
    Definition Classes
    DiscreteImageDomainDiscreteDomain → Equals
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val dimensionality: Int

    Permalink

    the dimensionality of the domain

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(a: Any): Boolean

    Permalink
    Definition Classes
    DiscreteImageDomainDiscreteDomain → Equals → AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findClosestPoint(pt: Point[D]): PointWithId[D]

    Permalink

    * 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.

    Definition Classes
    DiscreteImageDomainDiscreteDomain
  12. def findNClosestPoints(pt: Point[D], n: Int): Seq[PointWithId[D]]

    Permalink
    Definition Classes
    DiscreteImageDomainDiscreteDomain
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    DiscreteImageDomainDiscreteDomain → AnyRef → Any
  15. def indexToPoint(i: IntVector[D]): Point[D]

    Permalink
  16. def isDefinedAt(pt: Point[D]): Boolean

    Permalink

    true if the point is part of the grid points

    true if the point is part of the grid points

    Definition Classes
    DiscreteImageDomainDiscreteDomain
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def numberOfPoints: Int

    Permalink
    Definition Classes
    DiscreteImageDomainDiscreteDomain
  22. def point(id: PointId): Point[D]

    Permalink
    Definition Classes
    DiscreteImageDomainDiscreteDomain
  23. def pointId(pt: Point[D]): Option[PointId]

    Permalink

    returns the point id in case it is defined, None otherwise.

    returns the point id in case it is defined, None otherwise.

    Definition Classes
    DiscreteImageDomainDiscreteDomain
  24. def pointIds: Iterator[PointId]

    Permalink
    Definition Classes
    DiscreteDomain
  25. def pointsWithId: Iterator[(Point[D], PointId)]

    Permalink
    Definition Classes
    DiscreteDomain
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DiscreteDomain[D]

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped