Class LabelDilation3D4WShort

java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.label.distmap.LabelDilation3D4WShort
All Implemented Interfaces:
Algo

@Deprecated
public class LabelDilation3D4WShort
extends AlgoStub
Deprecated.
replaced by LabelDilation3DShort (since 1.4.4)
Apply a dilation by a specified radius to each label of a label map by constraining the dilation. Labels can not dilate over existing labels.
See Also:
ChamferWeights3D, LabelDilationShort5x5
  • Constructor Summary

    Constructors
    Constructor Description
    LabelDilation3D4WShort​(short[] weights)
    Deprecated.
    Creates a new image processor for dilating labels using chamfer weight stored using shorts.
    LabelDilation3D4WShort​(ChamferWeights3D weights)
    Deprecated.
    Creates a new image processor for dilating labels using chamfer weight stored using shorts.
  • Method Summary

    Modifier and Type Method Description
    ij.ImageStack process​(ij.ImageStack labelImage, double distMax)
    Deprecated.
    Computes dilation of labels within label image by a specified radius.

    Methods inherited from class inra.ijpb.algo.AlgoStub

    addAlgoListener, removeAlgoListener

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LabelDilation3D4WShort

      public LabelDilation3D4WShort​(ChamferWeights3D weights)
      Deprecated.
      Creates a new image processor for dilating labels using chamfer weight stored using shorts.
      Parameters:
      weights - the Chamfer weights to use.
    • LabelDilation3D4WShort

      public LabelDilation3D4WShort​(short[] weights)
      Deprecated.
      Creates a new image processor for dilating labels using chamfer weight stored using shorts.
      Parameters:
      weights - the Chamfer weights to use, as an array of shorts with four elements.
  • Method Details

    • process

      public ij.ImageStack process​(ij.ImageStack labelImage, double distMax)
      Deprecated.
      Computes dilation of labels within label image by a specified radius. Labels can not dilate over existing labels. The function returns a new ImageStack the same size and the same type as the input, with values greater than or equal to zero.
      Parameters:
      labelImage - the original label map
      distMax - the dilation radius, in pixels. In practice, dilation is computed with a radius +0.5.
      Returns:
      a new label image where each label is dilated over background pixels.