Class/Object

scalismo.image

DiscreteScalarImage

Related Docs: object DiscreteScalarImage | package image

Permalink

abstract class DiscreteScalarImage[D <: Dim, A] extends DiscreteScalarField[D, A] with DiscreteImage[D, A]

A scalar valued discrete image.

D

The dimensionality of the image

A

The type of the pixel (needs to implement Scalar).

Linear Supertypes
DiscreteImage[D, A], DiscreteScalarField[D, A], DiscreteField[D, A], PartialFunction[PointId, A], (PointId) ⇒ A, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DiscreteScalarImage
  2. DiscreteImage
  3. DiscreteScalarField
  4. DiscreteField
  5. PartialFunction
  6. Function1
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DiscreteScalarImage(domain: DiscreteImageDomain[D], data: ScalarArray[A])(implicit arg0: NDSpace[D], arg1: Create[D], arg2: Scalar[A], arg3: ClassTag[A])

    Permalink

    domain

    The domain over which this image is defined

    data

    The values for each grid points.

    Attributes
    protected

Abstract Value Members

  1. abstract def interpolate(order: Int): DifferentiableScalarImage[D]

    Permalink

    Returns a new ContinuousScalarImage by interpolating the given DiscreteScalarImage using b-spline interpolation of given order

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. def andThen[C](k: (A) ⇒ C): PartialFunction[PointId, C]

    Permalink
    Definition Classes
    PartialFunction → Function1
  5. def apply(idx: IntVector[D]): A

    Permalink
    Definition Classes
    DiscreteImage
  6. def apply(ptId: PointId): A

    Permalink
    Definition Classes
    DiscreteScalarField → Function1
  7. def applyOrElse[A1 <: PointId, B1 >: A](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    DiscreteScalarField
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compose[A](g: (A) ⇒ PointId): (A) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. val dimensionality: Int

    Permalink
    Definition Classes
    DiscreteImage
  13. val domain: DiscreteImageDomain[D]

    Permalink

    The domain over which this image is defined

    The domain over which this image is defined

    Definition Classes
    DiscreteScalarImageDiscreteImageDiscreteScalarFieldDiscreteField
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    DiscreteScalarField → AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def foreach(f: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    DiscreteField
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. lazy val hashCode: Int

    Permalink
    Definition Classes
    DiscreteScalarField → AnyRef → Any
  20. def interpolateNearestNeighbor(): ScalarField[D, A]

    Permalink

    Returns a continuous scalar field.

    Returns a continuous scalar field. If you want a nearest neighbor interpolation that returns a ScalarImage, use interpolate(0) instead

    Definition Classes
    DiscreteScalarImageDiscreteScalarFieldDiscreteField
  21. def isDefinedAt(idx: IntVector[D]): Boolean

    Permalink
    Definition Classes
    DiscreteImage
  22. def isDefinedAt(ptId: PointId): Boolean

    Permalink
    Definition Classes
    DiscreteScalarField → PartialFunction
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def lift: (PointId) ⇒ Option[A]

    Permalink
    Definition Classes
    PartialFunction
  25. def map[B](f: (A) ⇒ B)(implicit arg0: Scalar[B], arg1: ClassTag[B]): DiscreteScalarImage[D, B]

    Permalink

    returns a new image whose whose pixel values have been mapped using the function f

    returns a new image whose whose pixel values have been mapped using the function f

    Definition Classes
    DiscreteScalarImageDiscreteScalarField
  26. def ndSpace: NDSpace[D]

    Permalink
    Attributes
    protected
    Definition Classes
    DiscreteScalarImageDiscreteImage
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def orElse[A1 <: PointId, B1 >: A](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Permalink
    Definition Classes
    PartialFunction
  31. def pointsWithIds: Iterator[(Point[D], Int)]

    Permalink
    Definition Classes
    DiscreteField
  32. def pointsWithValues: Iterator[(Point[D], A)]

    Permalink
    Definition Classes
    DiscreteField
  33. def resample(newDomain: DiscreteImageDomain[D], interpolationDegree: Int, outsideValue: Float): DiscreteScalarImage[D, A]

    Permalink

    Returns a new DiscreteScalarImage which is obtained by resampling the given image on the points defined by the new domain

  34. def runWith[U](action: (A) ⇒ U): (PointId) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  37. def values: Iterator[A]

    Permalink
    Definition Classes
    DiscreteScalarFieldDiscreteField
  38. def valuesWithIds: Iterator[(A, PointId)]

    Permalink
    Definition Classes
    DiscreteField
  39. final def wait(): Unit

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

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

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

Inherited from DiscreteImage[D, A]

Inherited from DiscreteScalarField[D, A]

Inherited from DiscreteField[D, A]

Inherited from PartialFunction[PointId, A]

Inherited from (PointId) ⇒ A

Inherited from AnyRef

Inherited from Any

Ungrouped