public class MorphologyAnalyzer2DInProData.InProContourSegment extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
apicalLength
Apical length of the segment, from equator to top.
|
protected double |
basalLength
Basal length of the segment, from baseline to equator.
|
protected double |
baselineLength
Length of segment baseline.
|
(package private) int |
endPosOnContour
Index of segment end pixel on contour.
|
(package private) double |
equatorLength
Length of the equator in pixels.
|
LinkedList<Point2D.Double> |
initialSegmentPoints
Initial border points of the segment (before any shift takes place).
|
(package private) Point2D.Double |
leftBorderPoint
Left boundary point of segment after potential shifts.
|
(package private) int |
leftBorderPointPosOnContour
Index of left boundary point of segment after potential shifts.
|
(package private) Point2D.Double |
midPoint
Median point of contour.
|
(package private) int |
midPointPosOnContour
Index of median segment pixel on contour.
|
protected MorphologyAnalyzer2DInProData.InProContourSegment |
nextSegment
Reference to the subsequent segment along the contour.
|
protected MorphologyAnalyzer2DInProData.InProContourSegment |
prevSegment
Reference to the preceeding segment along the contour.
|
(package private) Point2D.Double |
rightBorderPoint
Right boundary point of segment after potential shifts.
|
(package private) int |
rightBorderPointPosOnContour
Index of right boundary point of segment after potential shifts.
|
(package private) int |
segLength
Length of segment measured as number of pixels.
|
(package private) int |
startPosOnContour
Index of segment start pixel on contour.
|
protected double |
totalLength
Total length of indentation or protrusion, i.e., equals the sum of
basalLength and apicalLength . |
(package private) MorphologyAnalyzer2DInProData.SegmentType |
type
Type of segment.
|
Constructor and Description |
---|
InProContourSegment() |
Modifier and Type | Method and Description |
---|---|
double |
getApicalLength()
Get apical length.
|
double |
getBasalLength()
Get basal length.
|
double |
getBaselineLength()
Get baseline length.
|
double |
getEquatorLength()
Get equator length.
|
MorphologyAnalyzer2DInProData.InProContourSegment |
getPrecursorSegment()
Get preceeding segment along contour.
|
MorphologyAnalyzer2DInProData.InProContourSegment |
getSuccessorSegment()
Get subsequent segment along contour.
|
double |
getTotalLength()
Get total length.
|
MorphologyAnalyzer2DInProData.SegmentType type
Intrusions refer to convexities along the contour, protrusions refer to concavities.
protected MorphologyAnalyzer2DInProData.InProContourSegment prevSegment
protected MorphologyAnalyzer2DInProData.InProContourSegment nextSegment
public LinkedList<Point2D.Double> initialSegmentPoints
int segLength
int startPosOnContour
int endPosOnContour
Point2D.Double midPoint
int midPointPosOnContour
double equatorLength
If length is smaller than 0 there are no inflection points along segment.
Point2D.Double leftBorderPoint
int leftBorderPointPosOnContour
Point2D.Double rightBorderPoint
int rightBorderPointPosOnContour
protected double baselineLength
protected double apicalLength
protected double basalLength
protected double totalLength
basalLength
and apicalLength
.public MorphologyAnalyzer2DInProData.InProContourSegment getPrecursorSegment()
Note that the preceeding segment is always of complementary type
(see MorphologyAnalyzer2DInProData.SegmentType
).
public MorphologyAnalyzer2DInProData.InProContourSegment getSuccessorSegment()
Note that the subsequent segment is always of complementary type
(see MorphologyAnalyzer2DInProData.SegmentType
).
public double getEquatorLength()
public double getBaselineLength()
public double getApicalLength()
public double getBasalLength()
public double getTotalLength()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.