Class AbstractInPlaceStrel

All Implemented Interfaces:
Algo, Strel, InPlaceStrel, InPlaceStrel3D, Strel3D
Direct Known Subclasses:
Cross3x3Strel, DiskStrel, LinearDiagDownStrel, LinearDiagUpStrel, LinearHorizontalStrel, LinearVerticalStrel

public abstract class AbstractInPlaceStrel
extends AbstractStrel
implements InPlaceStrel
Implementation stub for in place Structuring elements. Implements operations methods by calling in-place versions.
Author:
David Legland
  • Nested Class Summary

    Nested classes/interfaces inherited from interface inra.ijpb.morphology.Strel

    Strel.Shape

    Nested classes/interfaces inherited from interface inra.ijpb.morphology.Strel3D

    Strel3D.Shape
  • Field Summary

    Fields inherited from interface inra.ijpb.morphology.Strel

    BACKGROUND, FOREGROUND

    Fields inherited from interface inra.ijpb.morphology.Strel3D

    BACKGROUND, FOREGROUND
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractInPlaceStrel()  
  • Method Summary

    Modifier and Type Method Description
    ij.ImageStack closing​(ij.ImageStack stack)
    Performs a morphological closing on the input stack, by applying first a dilation, then an erosion with the reversed structuring element.
    ij.process.ImageProcessor closing​(ij.process.ImageProcessor image)
    Performs a morphological closing on the input image, by applying first a dilation, then an erosion with the reversed structuring element.
    ij.ImageStack dilation​(ij.ImageStack stack)
    Implements a default algorithm for dilation, that consists in iterating over the neighbors of each pixel to compute the maximum value.
    ij.process.ImageProcessor dilation​(ij.process.ImageProcessor image)
    Implements a default algorithm for dilation, that consists in iterating over the neighbors of each pixel to compute the maximum value.
    ij.ImageStack erosion​(ij.ImageStack stack)
    Implements a default algorithm for erosion, that consists in iterating over the neighbors of each pixel to compute the minimum value.
    ij.process.ImageProcessor erosion​(ij.process.ImageProcessor image)
    Implements a default algorithm for erosion, that consists in iterating over the neighbors of each pixel to compute the minimum value.
    void inPlaceDilation​(ij.ImageStack stack)
    Performs dilation of the stack given as argument, and stores the result in the same image.
    void inPlaceErosion​(ij.ImageStack stack)
    Performs erosion of the image given as argument, and stores the result in the same image.
    ij.ImageStack opening​(ij.ImageStack stack)
    Performs a morphological opening on the input stack, by applying first an erosion, then a dilation with the reversed structuring element.
    ij.process.ImageProcessor opening​(ij.process.ImageProcessor image)
    Performs a morphological opening on the input image, by applying first an erosion, then a dilation with the reversed structuring element.

    Methods inherited from class inra.ijpb.morphology.strel.AbstractStrel

    addBorder, cropBorder, getChannelName, getMask3D, getShifts3D, setChannelName

    Methods inherited from class inra.ijpb.morphology.strel.AbstractStrel3D

    addBorder, cropBorder, showProgress, showProgress

    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

    Methods inherited from interface inra.ijpb.algo.Algo

    addAlgoListener, removeAlgoListener

    Methods inherited from interface inra.ijpb.morphology.strel.InPlaceStrel

    inPlaceDilation, inPlaceErosion, reverse

    Methods inherited from interface inra.ijpb.morphology.Strel

    getChannelName, getMask, getOffset, getShifts, getSize, setChannelName

    Methods inherited from interface inra.ijpb.morphology.Strel3D

    getMask3D, getShifts3D, showProgress, showProgress