Class/Object

scalismo.image

ScalarImage

Related Docs: object ScalarImage | package image

Permalink

class ScalarImage[D <: Dim] extends ScalarField[D, Float]

An image whose values are scalar.

Linear Supertypes
ScalarField[D, Float], Serializable, Serializable, Product, Equals, Field[D, Float], (Point[D]) ⇒ Float, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalarImage
  2. ScalarField
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. Field
  8. Function1
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalarImage(domain: Domain[D], f: (Point[D]) ⇒ Float)(implicit arg0: NDSpace[D])

    Permalink
    Attributes
    protected

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(s: Double): ScalarImage[D]

    Permalink

    scalar multiplication of an image

    scalar multiplication of an image

    Definition Classes
    ScalarImageScalarField
  4. def +(that: ScalarImage[D]): ScalarImage[D]

    Permalink

    adds two images.

    adds two images. The domain of the new image is the intersection of both

  5. def +(that: ScalarField[D, Float]): ScalarField[D, Float]

    Permalink

    adds two images.

    adds two images. The domain of the new image is the intersection of both

    Definition Classes
    ScalarField
  6. def -(that: ScalarImage[D]): ScalarImage[D]

    Permalink

    subtract two images.

    subtract two images. The domain of the new image is the intersection of the domains of the individual images

  7. def -(that: ScalarField[D, Float]): ScalarField[D, Float]

    Permalink

    subtract two images.

    subtract two images. The domain of the new image is the intersection of the domains of the individual images

    Definition Classes
    ScalarField
  8. def :*(that: ScalarImage[D]): ScalarImage[D]

    Permalink

    element wise multiplication.

    element wise multiplication. The domain of the new image is the intersection of the domains of the individual images

  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def andThen(g: (Float) ⇒ Float): ScalarImage[D]

    Permalink

    applies the given function to the image values

  11. def andThen[A](g: (Float) ⇒ A): (Point[D]) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. def apply(x: Point[D]): Float

    Permalink

    The value of the image at a given point.

    The value of the image at a given point. if an image is accessed outside of its definition, an exception is thrown

    Definition Classes
    Field → Function1
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def compose(t: Transformation[D]): ScalarImage[D]

    Permalink

    composes (i.e.

    composes (i.e. warp) an image with a transformation.

  16. def compose[A](g: (A) ⇒ Point[D]): (A) ⇒ Float

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  17. def convolve(filter: Filter[D], numberOfPointsPerDim: Int)(implicit c: CreateDiscreteImageDomain[D]): ScalarImage[D]

    Permalink

    Convolution of an image with a given filter.

    Convolution of an image with a given filter. The convolution is carried out by numerical integration, using the given number of points elevated to the power of dimensionality as an approximation.

    filter

    Filter to be used in the convolution.

    numberOfPointsPerDim

    Number of points to be used to approximate the filter. Depending on the support size of the filter and the Frequency of the image, increasing this value can help avoid artifacts (at the cost of heavier computation)

  18. val domain: Domain[D]

    Permalink

    The domain on which the image is defined

    The domain on which the image is defined

    Definition Classes
    ScalarImageScalarFieldField
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. val ev: Scalar[Float]

    Permalink
    Definition Classes
    ScalarField
  21. val f: (Point[D]) ⇒ Float

    Permalink

    a function that defines the image values.

    a function that defines the image values. It must be defined on the full domain

    Definition Classes
    ScalarImageScalarFieldField
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def isDefinedAt(pt: Point[D]): Boolean

    Permalink

    True if the image is defined at the given point

    True if the image is defined at the given point

    Definition Classes
    Field
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def liftValues: (Point[D]) ⇒ Option[Float]

    Permalink

    Lifts the definition of the value function such that it is defined everywhere, but yields none if the value is outside of the domain

    Lifts the definition of the value function such that it is defined everywhere, but yields none if the value is outside of the domain

    Definition Classes
    Field
  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 sample[Pixel](domain: DiscreteImageDomain[D], outsideValue: Float)(implicit arg0: Scalar[Pixel], arg1: ClassTag[Pixel], ev: Create[D]): DiscreteScalarImage[D, Pixel]

    Permalink

    Returns a discrete scalar image with the given domain, whose values are obtained by sampling the scalarImage at the domain points.

    Returns a discrete scalar image with the given domain, whose values are obtained by sampling the scalarImage at the domain points. If the image is not defined at a domain point, the outside value is used.

  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from ScalarField[D, Float]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Field[D, Float]

Inherited from (Point[D]) ⇒ Float

Inherited from AnyRef

Inherited from Any

Ungrouped