Image

org.appliedtopology.tda4j.Image
See theImage companion object
final case class Image(values: IndexedSeq[Double], shape: IndexedSeq[Int], sublevel: Boolean = ..., nanMask: Boolean = ...)

A grayscale image (or voxel grid) for Persistence(Image(...)): values in row-major order, shape its size per axis. Sublevel filtration by default (dark regions first); sublevel = false for superlevel. A pixel of value Double.NaN is masked (missing data): it is not in the complex, in either direction (NaN has no sign). Infinite values are ordinary values: Double.PositiveInfinity enters after every finite value of a sublevel image and before them in a superlevel one, Double.NegativeInfinity the reverse. nanMask = false turns masks off, for data where a NaN can only be a bug: a NaN pixel is then an error, naming the pixel.

Attributes

Companion
object
Experimental
true
Source
Persistence.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

The same image filtered from the bright end (superlevel sets). Filtration values are then negated intensities.

The same image filtered from the bright end (superlevel sets). Filtration values are then negated intensities.

Attributes

Source
Persistence.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala