Class AlgorithmNetworkSnake.SnakeNode

java.lang.Object
gov.nih.mipav.model.algorithms.AlgorithmNetworkSnake.SnakeNode
All Implemented Interfaces:
Comparable
Enclosing class:
AlgorithmNetworkSnake

public class AlgorithmNetworkSnake.SnakeNode extends Object implements Comparable
  • Field Details

  • Constructor Details

    • SnakeNode

      public SnakeNode()
  • Method Details

    • getX

      public int getX()
    • setX

      public void setX(int x)
    • getY

      public int getY()
    • setY

      public void setY(int y)
    • getNeighbours

      public ArrayList<AlgorithmNetworkSnake.SnakeNode> getNeighbours()
    • setNeighbours

      public void setNeighbours(ArrayList<AlgorithmNetworkSnake.SnakeNode> neighbours)
    • getNeighbourLink

      public ArrayList<Boolean> getNeighbourLink()
    • setNeighbourLink

      public void setNeighbourLink(ArrayList<Boolean> neighbourLink)
    • compareTo

      public int compareTo(Object obj)
      Specified by:
      compareTo in interface Comparable
    • findAverageDistance

      public float findAverageDistance()
    • iterate

      public boolean iterate(float alpha, float beta, float gamma, float d, byte[] imageBuffer, int bufferWidth, int bufferHeight, int m)
    • findJunctionAppearanceWeight

      protected int findJunctionAppearanceWeight(int x, int y, byte[][] thresholdBuffer, int Rmax, int Rmin)
    • createGOperator

      private double[][] createGOperator(int radius, double sigma1)
    • createDoGOperator

      private double[][] createDoGOperator(int radius, double sigma1, double K, double scale1, double scale2)
    • findThresholdedRegion

      protected byte[][] findThresholdedRegion(int x, int y, byte[] imageBuffer, int bufferWidth, int bufferHeight, int radius, boolean thresholding, int[] offsetX, int[] offsetY)
    • findWall

    • findJunctionNeighbours

      public ArrayList<AlgorithmNetworkSnake.SnakeNode> findJunctionNeighbours()
    • findWall

    • resetNeighbourLink

      public void resetNeighbourLink(boolean value)