Packages

  • package root
    Definition Classes
    root
  • package scalismo
    Definition Classes
    root
  • package image

    Contains classes for representing discrete and continuous images as well as filters for filtering both types of 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:

    val domain = StructuredPoints(Point(0,0), Vector(1,1), Index(255,255))
    val di = DiscreteImage(domain)(0)
    val discreteImage =  DiscreteImage(domain, (_ : Point[_2D]) => 1.0f)
    val continuousImage = discreteImage.interpolate(3)

    To get back the discrete representation, we can sample the image values on a regular grid:

    val newDomain = StructuredPoints(Point(0,0), Vector(1,1), Index(128,128))
    val resampledDiscreteImage = continuousImage.sample(domain, 0)
    Definition Classes
    scalismo
  • package filter
    Definition Classes
    image
  • CreateStructuredPoints
  • DiscreteImage
  • DiscreteImage1D
  • DiscreteImage2D
  • DiscreteImage3D
  • DiscreteImageDomain
  • DiscreteImageDomain1D
  • DiscreteImageDomain2D
  • DiscreteImageDomain3D
  • DiscreteImageOps
  • StructuredPoints
  • StructuredPoints1D
  • StructuredPoints2D
  • StructuredPoints3D

case class StructuredPoints3D(origin: Point[_3D], spacing: EuclideanVector[_3D], size: IntVector[_3D], phi: Double, theta: Double, psi: Double) extends StructuredPoints[_3D] with Product with Serializable

Linear Supertypes
Serializable, Product, StructuredPoints[_3D], PointSet[_3D], Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StructuredPoints3D
  2. Serializable
  3. Product
  4. StructuredPoints
  5. PointSet
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StructuredPoints3D(origin: Point[_3D], spacing: EuclideanVector[_3D], size: IntVector[_3D], phi: Double, theta: Double, psi: Double)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def boundingBox: BoxDomain[_3D]

    a rectangular region that represents the area, which defines the bounding box of the points

    a rectangular region that represents the area, which defines the bounding box of the points

    Definition Classes
    StructuredPoints3DStructuredPointsPointSet
  6. def canEqual(a: Any): Boolean
    Definition Classes
    StructuredPointsPointSet → Equals
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val dimensionality: Int

    the dimensionality of the domain

    the dimensionality of the domain

    Definition Classes
    StructuredPoints
  9. val directions: SquareMatrix[_3D]

    Direction cosine matrix

    Direction cosine matrix

    Definition Classes
    StructuredPoints3DStructuredPoints
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(a: Any): Boolean
    Definition Classes
    StructuredPointsPointSet → Equals → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def findClosestPoint(pt: Point[_3D]): PointWithId[_3D]

    returns the closest point in this set to the given point

    returns the closest point in this set to the given point

    Definition Classes
    StructuredPointsPointSet
  14. def findNClosestPoints(pt: Point[_3D], n: Int): Seq[PointWithId[_3D]]

    returns the n closest points to the given set of points

    returns the n closest points to the given set of points

    Definition Classes
    StructuredPointsPointSet
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    StructuredPointsPointSet → AnyRef → Any
  17. def index(pointId: PointId): IntVector3D

    The index for the given point id

    The index for the given point id

    Definition Classes
    StructuredPoints3DStructuredPoints
  18. def indexToPoint(indx: IntVector[_3D]): Point3D
    Definition Classes
    StructuredPoints3DStructuredPoints
  19. def isDefinedAt(idx: IntVector[_3D]): Boolean

    true if the point is part of the grid points

    true if the point is part of the grid points

    Definition Classes
    StructuredPoints
  20. def isDefinedAt(pt: Point[_3D]): Boolean

    true if the point is part of the grid points

    true if the point is part of the grid points

    Definition Classes
    StructuredPointsPointSet
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def numberOfPoints: Int
    Definition Classes
    StructuredPointsPointSet
  26. val origin: Point[_3D]

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

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

    Definition Classes
    StructuredPoints3DStructuredPoints
  27. val phi: Double
  28. def point(id: PointId): Point[_3D]

    returns the points belonging to the given id

    returns the points belonging to the given id

    Definition Classes
    StructuredPointsPointSet
  29. def pointId(idx: IntVector[_3D]): PointId

    converts a grid index into a id that identifies a point

    converts a grid index into a id that identifies a point

    Definition Classes
    StructuredPoints3DStructuredPoints
  30. def pointId(pt: Point[_3D]): Option[PointId]

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

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

    Definition Classes
    StructuredPointsPointSet
  31. def pointIds: Iterator[PointId]
    Definition Classes
    PointSet
  32. def points: Iterator[Point3D]
    Definition Classes
    StructuredPoints3DPointSet
  33. def pointsInChunks(nbChunks: Int): IndexedSeq[Iterator[Point3D]]

    * Returns the domain points in n chunks.

    * Returns the domain points in n chunks. Each chunk of the points is given as an iterator

    The main idea behind this method is to be able to easily parallelize on the domain points, as parallel operations on a single iterator in Scala end up more costly than sequential access in our case. Using this method, one would parallelize on the Seq of iterators instead.

    Definition Classes
    StructuredPoints3DStructuredPointsPointSet
  34. def pointsWithId: Iterator[(Point[_3D], PointId)]
    Definition Classes
    PointSet
  35. def productElementNames: Iterator[String]
    Definition Classes
    Product
  36. val psi: Double
  37. val rigidTransform: TranslationAfterRotation[_3D]
  38. val size: IntVector[_3D]

    the number of points in each direction

    the number of points in each direction

    Definition Classes
    StructuredPoints3DStructuredPoints
  39. val spacing: EuclideanVector[_3D]

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

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

    Definition Classes
    StructuredPoints3DStructuredPoints
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. val theta: Double
  42. def toString(): String
    Definition Classes
    StructuredPoints3D → AnyRef → Any
  43. def transform(t: (Point[_3D]) => Point[_3D]): UnstructuredPoints[_3D]
    Definition Classes
    StructuredPoints3DPointSet
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from StructuredPoints[_3D]

Inherited from PointSet[_3D]

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped