Class

scalismo.faces.image

NearestNeighbourPixelImage

Related Doc: package image

Permalink

case class NearestNeighbourPixelImage[A](image: PixelImage[A]) extends ContinuousPixelImage[A] with Product with Serializable

Special case for nearest neighbour interpolated continuous images.

Linear Supertypes
Serializable, Serializable, Product, Equals, ContinuousPixelImage[A], (Double, Double) ⇒ A, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NearestNeighbourPixelImage
  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 NearestNeighbourPixelImage(image: PixelImage[A])

    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: (A) ⇒ 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): A

    Permalink

    Image value at specified position (x, y) - this is not the pixel position but the coordinates of a point! The center of pixel (0, 0) lies at (0.5, 0.5) in the coordinate system (cell-centered)

    Image value at specified position (x, y) - this is not the pixel position but the coordinates of a point! The center of pixel (0, 0) lies at (0.5, 0.5) in the coordinate system (cell-centered)

    x

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

    y

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

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

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

    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) ⇒ A

    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[A]

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def map[B](g: (A) ⇒ B): ContinuousPixelImage[B]

    Permalink

    apply function to each pixel

    apply function to each pixel

    Definition Classes
    NearestNeighbourPixelImageContinuousPixelImage
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def nearestNeighbourResample(image: PixelImage[A], cols: Int, rows: Int)(implicit tag: ClassTag[A]): PixelImage[A]

    Permalink

    Chooses nearest neighbour pixel for pixel value during resampling.

  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[A]): PixelImage[A]

    Permalink

    resamples the image to produce a new discrete PixelImage.

    resamples the image to produce a new discrete PixelImage. Nearest neighbour values are selected during resampling.

    w

    Number of samples along x axis (width of image)

    h

    Number of samples along y axis (height of image)

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. 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[A]

Inherited from (Double, Double) ⇒ A

Inherited from AnyRef

Inherited from Any

Ungrouped