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

package filter

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class BoxedFilter[D](width: Double)(implicit evidence$1: NDSpace[D]) extends Filter[D] with Product with Serializable

    D- dimensional box Blurring Filter to be used in a convolution.

    D- dimensional box Blurring Filter to be used in a convolution. The filter has a value 1 in its support and 0 otherwise

    width

    Defines the width of the filter support

  2. trait Filter[D] extends (Point[D]) => Float

    Trait for filters to be used in a convolution

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

    One dimensional Gaussian Blur Filter to be used in a convolution

    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)

  4. case class GaussianFilter2D(stddev: Double) extends Filter[_2D] with Product with Serializable

    2 dimensional Gaussian blur filter.

    2 dimensional Gaussian blur filter. See GaussianFilter1D

  5. case class GaussianFilter3D(stddev: Double) extends Filter[_3D] with Product with Serializable

    3 dimensional Gaussian blur filter.

    3 dimensional Gaussian blur filter. See GaussianFilter1D

Value Members

  1. object DiscreteImageFilter

Ungrouped