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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article