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
  • BoxedFilter
  • DiscreteImageFilter
  • Filter
  • GaussianFilter1D
  • GaussianFilter2D
  • GaussianFilter3D
c

scalismo.image.filter

GaussianFilter1D

case class GaussianFilter1D(stddev: Double) extends Filter[_1D] with Product with Serializable

One dimensional Gaussian Blur Filter to be used in a convolution

stddev

Standard deviation of the Gaussian to be used. The extent of the support of the Filter is fixed to be 6 times the standard deviation (3 stddev on each direction)

Linear Supertypes
Serializable, Product, Equals, Filter[_1D], (Point[_1D]) => Float, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GaussianFilter1D
  2. Serializable
  3. Product
  4. Equals
  5. Filter
  6. Function1
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GaussianFilter1D(stddev: Double)

    stddev

    Standard deviation of the Gaussian to be used. The extent of the support of the Filter is fixed to be 6 times the standard deviation (3 stddev on each direction)

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. def andThen[A](g: (Float) => A): (Point[_1D]) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(p: Point[_1D]): Float
    Definition Classes
    GaussianFilter1D → Function1
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def compose[A](g: (A) => Point[_1D]): (A) => Float
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. val radius: Float
  18. val stddev: Double
  19. def support: BoxDomain[_1D]

    Returns the continuous domain on which the filter is defined

    Returns the continuous domain on which the filter is defined

    Definition Classes
    GaussianFilter1DFilter
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Filter[_1D]

Inherited from (Point[_1D]) => Float

Inherited from AnyRef

Inherited from Any

Ungrouped