Class LabelDilation3DShort

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

@Deprecated
public class LabelDilation3DShort
extends AlgoStub
Deprecated.
replaced by inra.ijpb.label.filter.ChamferLabelDilation3DShort
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.
Author:
dlegland
See Also:
ChamferWeights3D, LabelDilation2DShort
  • Constructor Summary

    Constructors
    Constructor Description
    LabelDilation3DShort​(ChamferMask3D mask)
    Deprecated.
    Creates a new 3D image for dilating labels using the specified chamfer mask, using 16-bits integer computation.
  • 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

    • LabelDilation3DShort

      public LabelDilation3DShort​(ChamferMask3D mask)
      Deprecated.
      Creates a new 3D image for dilating labels using the specified chamfer mask, using 16-bits integer computation.
      Parameters:
      mask - the Chamfer mask to use.
  • 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.