public class Junction extends Object implements Comparable<Junction>
This class has been inspired by and in parts been copied from the original Ridge Detection plugin by Carsten Steger (and Thorsten Wagner).
Related publication:
For more details take a look at ...
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
cont1
Index of line that is already processed.
|
(package private) int |
cont2
Index of line tnat runs into cont1.
|
(package private) boolean |
isNonTerminal
True if this junction sits on a start/end of at least one line.
|
(package private) Line |
lineCont1
line that is already processed.
|
(package private) Line |
lineCont2
line that runs into idCont1.
|
(package private) int |
pos
Index of the junction point in cont1.
|
(package private) float |
x
x-(row-)coordinate of the junction point.
|
(package private) float |
y
y-(col-)coordinate of the junction point.
|
| Constructor and Description |
|---|
Junction() |
| Modifier and Type | Method and Description |
|---|---|
void |
castJunction(de.biomedical_imaging.ij.steger.Junction junction) |
int |
compareTo(Junction o) |
Line |
getLine1()
Gets the line 1.
|
Line |
getLine2()
Gets the line 2.
|
float |
getX()
Gets the x.
|
float |
getY()
Gets the y.
|
boolean |
isNonTerminal()
Checks if is non terminal.
|
void |
replaceLine(int lineId,
Line newLine) |
void |
setLine1(Line line) |
void |
setLine2(Line line) |
void |
setX(float x) |
void |
setY(float y) |
int cont1
int cont2
int pos
float x
float y
Line lineCont1
Line lineCont2
boolean isNonTerminal
public int compareTo(Junction o)
compareTo in interface Comparable<Junction>public float getX()
public float getY()
public Line getLine1()
public Line getLine2()
public boolean isNonTerminal()
public void castJunction(de.biomedical_imaging.ij.steger.Junction junction)
public void setLine1(Line line)
public void setLine2(Line line)
public void setX(float x)
public void setY(float y)
public void replaceLine(int lineId,
Line newLine)
Copyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.