RGBAComponents

scalismo.color.RGBA$.RGBAComponents$

implementation of the Vectorizer interface for RGBA

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

override def component(color: RGBA, index: Int): Double

access specific components directly, with slow default

access specific components directly, with slow default

Attributes

Definition Classes
override def dim: Int

Attributes

Definition Classes
override def fromArray(arr: Array[Double]): RGBA

Create an instance from an array

Create an instance from an array

Attributes

Definition Classes
override def fromComponents(comp: Int => Double): RGBA

Attributes

Definition Classes
override def intoArray(color: RGBA, array: Array[Double]): Array[Double]

vectorize into an existing array, returns array

vectorize into an existing array, returns array

Attributes

Definition Classes
override def toArray(color: RGBA): Array[Double]

Generate a new array for instance

Generate a new array for instance

Attributes

Definition Classes
override def unvectorize(d: DenseVector[Double]): RGBA

Attributes

Definition Classes
override def vectorize(v: RGBA): DenseVector[Double]

Attributes

Definition Classes

Concrete fields

override val size: Int

Length of array linked to type T

Length of array linked to type T

Attributes