public class CellCntrMarkerShapePolygon extends CellCntrMarkerShape
Modifier and Type | Field and Description |
---|---|
protected MTBPolygon2D |
mPolygon
Region object representing the shape of the marker.
|
avgIntensity, mBorder
Modifier | Constructor and Description |
---|---|
private |
CellCntrMarkerShapePolygon()
Default constructor, it's protected to avoid constructing objects
without polygon data.
|
|
CellCntrMarkerShapePolygon(MTBPolygon2D p)
Default constructor with region object.
|
Modifier and Type | Method and Description |
---|---|
double |
getArea()
Get area of the shape.
|
MTBPolygon2D |
getPolygon()
Get polygon representing the shape.
|
getAvgIntensity, getOutline, setAvgIntensity
protected MTBPolygon2D mPolygon
private CellCntrMarkerShapePolygon()
public CellCntrMarkerShapePolygon(MTBPolygon2D p)
p
- Polygon object.public double getArea()
CellCntrMarkerShape
getArea
in class CellCntrMarkerShape
public MTBPolygon2D getPolygon()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.