Package biopb.tensor

Class TensorFlightClient.PhysicalScale

java.lang.Object
biopb.tensor.TensorFlightClient.PhysicalScale
Enclosing class:
TensorFlightClient

public static final class TensorFlightClient.PhysicalScale extends Object
Per-dimension physical pixel size + unit for a tensor, as returned by TensorFlightClient.getPhysicalScale(java.lang.String). Both arrays are aligned with the tensor's dim_labels (source axis order).
  • Method Details

    • getScale

      public double[] getScale()
      Physical pixel size per dimension, aligned with dim_labels.
    • getUnit

      public String[] getUnit()
      Physical unit per dimension, aligned with dim_labels.