RGBComponents

scalismo.color.RGB$.RGBComponents$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

override def component(color: RGB, 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]): RGB

Create an instance from an array

Create an instance from an array

Attributes

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

Attributes

Definition Classes
override def intoArray(color: RGB, 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: RGB): Array[Double]

Generate a new array for instance

Generate a new array for instance

Attributes

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

Attributes

Definition Classes
override def vectorize(v: RGB): 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