Class Ntree<T extends Comparable<T>>

java.lang.Object
net.imglib2.img.sparse.Ntree<T>

public final class Ntree<T extends Comparable<T>> extends Object
N-dimensional equivalent of a quad/oct-tree.
Author:
Tobias Pietzsch
  • Constructor Details

    • Ntree

      public Ntree(long[] dimensions, T value)
      Create a ntree structure capable of representing an array of the given dimensions. Initially, the tree contains only a root node and represents an array of uniform values.
      Parameters:
      dimensions - of the array
      value - uniform value of all pixels in the array
  • Method Details

    • getRootNode

      public Ntree.NtreeNode<T> getRootNode()
      Returns the root node of the ntree
      Returns:
      root node