Class/Object

scalismo.faces.image

InterpolatedPixelImage

Related Docs: object InterpolatedPixelImage | package image

Permalink

case class InterpolatedPixelImage[Pixel](image: PixelImage[Pixel], kernel: InterpolationKernel)(implicit ops: ColorSpaceOperations[Pixel]) extends ContinuousPixelImage[Pixel] with Product with Serializable

continuous access image (create e.g. using PixelImage.interpolate) !!! WARNING: not specialized, specialized version leads to IllegalAccessError on width and height (https://issues.scala-lang.org/browse/SI-4511)

Linear Supertypes
Serializable, Serializable, Product, Equals, ContinuousPixelImage[Pixel], (Double, Double) ⇒ Pixel, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InterpolatedPixelImage
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ContinuousPixelImage
  7. Function2
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InterpolatedPixelImage(image: PixelImage[Pixel], kernel: InterpolationKernel)(implicit ops: ColorSpaceOperations[Pixel])

    Permalink

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[B](g: (Pixel) ⇒ B): ContinuousPixelImage[B]

    Permalink

    andThen is identical to map, compatibility with scalismo interface

    andThen is identical to map, compatibility with scalismo interface

    Definition Classes
    ContinuousPixelImage
  5. def apply(x: Double, y: Double): Pixel

    Permalink

    read the value at the given location, "continuous pixel index" (Double coordinates)

    read the value at the given location, "continuous pixel index" (Double coordinates)

    x

    x coordinate (0.5 <-> 0 in discrete case)

    y

    y coordinate (0.5 <-> 0 in discrete case)

    Definition Classes
    InterpolatedPixelImageContinuousPixelImage → Function2
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def atContinuousPixel(x: Double, y: Double): Pixel

    Permalink

    Access the image value at the "continuous" pixel position, (0.0, 0.0) corresponds to pixel at (0, 0)

    Access the image value at the "continuous" pixel position, (0.0, 0.0) corresponds to pixel at (0, 0)

    x

    continuous pixel coordinate (0.0 <-> 0 in discrete case)

    y

    continuous pixel coordinate (0.0 <-> 0 in discrete case)

    Definition Classes
    ContinuousPixelImage
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def curried: (Double) ⇒ (Double) ⇒ Pixel

    Permalink
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. val height: Double

    Permalink
  13. val image: PixelImage[Pixel]

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val kernel: InterpolationKernel

    Permalink
  16. def map[B](g: (Pixel) ⇒ B): MappedContinuousPixelImage[Pixel, B]

    Permalink

    apply function to each pixel

    apply function to each pixel

    Definition Classes
    InterpolatedPixelImageContinuousPixelImage
  17. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. def sample(w: Int, h: Int)(implicit tag: ClassTag[Pixel]): PixelImage[Pixel]

    Permalink

    resamples the image to produce a new discrete PixelImage - filtered sampling, using the filter of construction

    resamples the image to produce a new discrete PixelImage - filtered sampling, using the filter of construction

    w

    Number of samples along x axis (width of image)

    h

    Number of samples along y axis (height of image)

    Definition Classes
    InterpolatedPixelImageContinuousPixelImage
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toFunction2D: Function2DImage[Pixel]

    Permalink

    drop original samples, treat as direct continuous 2d function (removes resampling with filtering, interpolation only)

  23. def toString(): String

    Permalink
    Definition Classes
    Function2 → AnyRef → Any
  24. def tupled: ((Double, Double)) ⇒ Pixel

    Permalink
    Definition Classes
    Function2
    Annotations
    @unspecialized()
  25. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. val width: Double

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ContinuousPixelImage[Pixel]

Inherited from (Double, Double) ⇒ Pixel

Inherited from AnyRef

Inherited from Any

Ungrouped