Class Processing.ProcessingWithMode

java.lang.Object
qupath.bioimageio.spec.tensor.Processing
qupath.bioimageio.spec.tensor.Processing.ProcessingWithMode
Direct Known Subclasses:
Processing.ScaleMeanVariance, Processing.ScaleRange, Processing.ZeroMeanUnitVariance
Enclosing class:
Processing

protected abstract static class Processing.ProcessingWithMode extends Processing
A processing mode that operates optionally on different sets of data. For example, per_dataset or per_sample.
  • Method Details

    • getEps

      public double getEps()
      Epsilon for numeric stability: out = (tensor - mean) / (std + eps) * (ref_std + eps) + ref_mean.
      Returns:
      The epsilon value.
    • getMode

      public Processing.ProcessingMode getMode()
      Mode for computing processing. Not all are supported for all operations, but here are some options: | mode | description | | ----------- | ------------------------------------ | | fixed | Fixed values | | per_dataset | Compute for the entire dataset | | per_sample | Compute for each sample individually |
    • getAxes

      public Axis[] getAxes()
      The subset of axes to scale jointly. For example xy to normalize the two image axes for 2d data jointly. Default: scale all non-batch axes jointly.
      Returns:
      the subset of axes to scale jointly.