java.lang.Object
qupath.bioimageio.spec.tensor.BaseTensor
qupath.bioimageio.spec.tensor.OutputTensor
Model output, including shape, axes, halo, datatype and postprocessing.
-
Field Summary
Fields inherited from class qupath.bioimageio.spec.tensor.BaseTensor
axes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class qupath.bioimageio.spec.tensor.BaseTensor
getAxes, getDataDescription, getDataRange, getDataType, getId, getName, getSampleTensor, getShape, getTestTensor, validate
-
Constructor Details
-
OutputTensor
public OutputTensor()
-
-
Method Details
-
getPostprocessing
Get the post-processing steps for this output tensor.- Returns:
- The processing steps
-
getHalo
public int[] getHalo()The "halo" that should be cropped from the output tensor to avoid boundary effects. The "halo" is to be cropped from both sides, i.e. `shape_after_crop = shape - 2 * halo`. To document a "halo" that is already cropped by the model `shape.offset` has to be used instead. In 0.5 models, halo is specified on tensor axes, not the tensor itself, but this should hopefully fetch halo from axis objects.- Returns:
- the halo
-
toString
-