Kernel

doodle.algebra.Kernel
final case class Kernel(width: Int, height: Int, elements: IArray[Double])

Represents a convolution kernel/matrix for image filtering operations.

Value parameters

elements

the kernel elements in row-major order

height

the height of the kernel (must be odd and positive)

width

the width of the kernel (must be odd and positive)

Attributes

Source
Kernel.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def sum: Double

Attributes

Source
Kernel.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product