Class ShiftedCross3x3Strel

java.lang.Object
inra.ijpb.morphology.strel.ShiftedCross3x3Strel

public class ShiftedCross3x3Strel
extends java.lang.Object
Structuring element representing a 3x3 cross, that considers the reference pixel together with four neighbors located either on the left or on the right of the reference pixel.
Author:
David Legland
See Also:
DiamondStrel
  • Field Summary

    Fields
    Modifier and Type Field Description
    static InPlaceStrel LEFT
    A cross-shaped structuring element located on the left of the reference pixel.
    static InPlaceStrel RIGHT
    A cross-shaped structuring element located on the right of the reference pixel.
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • LEFT

      public static final InPlaceStrel LEFT
      A cross-shaped structuring element located on the left of the reference pixel.

      The structuring has the following shape (x: neighbor, o: reference pixel, .: irrelevant): s *

      
        . . . . . 
        . . x . . 
        . x x o . 
        . . x . . 
        . . . . .