|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.core.datatypes.neurites.MTBNeurite2DProfile
public class MTBNeurite2DProfile
Container class for storing neurite profile data and associated additional information for a single neurite region.
Objects of this type are usually generated by applying methods from class
NeuriteMolProfExtractor2D
to neuron images. An object of this class is
empty per default (apart from the associated neurite region), so all data has
to calculated externally and then be passed to the object using its
set-routines.
Field Summary | |
---|---|
private MTBNeurite2D |
neurite
|
private double[] |
profile
Profile data along longest skeleton path. |
private java.util.Vector<java.util.Vector<java.awt.geom.Point2D.Double>> |
profilePoints
Points of the profile (neurite region) belonging to the longest path. |
private MTBImageRGB |
voronoiImg
Image filled with voronoi tesselation data during profile calculation if non-null. |
Constructor Summary | |
---|---|
MTBNeurite2DProfile()
|
|
MTBNeurite2DProfile(MTBNeurite2D _neurite,
double[] _profile,
java.util.Vector<java.util.Vector<java.awt.geom.Point2D.Double>> _profilePoints,
MTBImageRGB _voronoiImg)
Constructor to create a new MTBNeuriteProfile object from the given MTBRegion2D. |
Method Summary | |
---|---|
MTBNeurite2D |
getNeurite()
|
double[] |
getProfile()
Get profile data of the neurite region. |
java.util.Vector<java.util.Vector<java.awt.geom.Point2D.Double>> |
getProfilePoints()
|
int |
getProfileSize()
|
MTBImageRGB |
getVoronoiImg()
Get voronoi tesselation image. |
void |
setNeurite(MTBNeurite2D neurite)
|
void |
setProfile(double[] profileData)
Pass profile data to the profile. |
void |
setProfilePoints(java.util.Vector<java.util.Vector<java.awt.geom.Point2D.Double>> profPoints)
Set the points of the neurite region where the profiles are calculated from. |
void |
setVoronoiImg(MTBImageRGB voronoiImg)
Specify an image to be filled with voronoi data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private MTBNeurite2D neurite
private double[] profile
private java.util.Vector<java.util.Vector<java.awt.geom.Point2D.Double>> profilePoints
private MTBImageRGB voronoiImg
Note: Memory needs to be allocated externally, please use the
setVoronoiImg()
-routine for passing a
suitable image to the object.
Constructor Detail |
---|
public MTBNeurite2DProfile()
public MTBNeurite2DProfile(MTBNeurite2D _neurite, double[] _profile, java.util.Vector<java.util.Vector<java.awt.geom.Point2D.Double>> _profilePoints, MTBImageRGB _voronoiImg)
region
- Neurite region the profile is calculated for.Method Detail |
---|
public MTBNeurite2D getNeurite()
public double[] getProfile()
Attention: May be null!
public java.util.Vector<java.util.Vector<java.awt.geom.Point2D.Double>> getProfilePoints()
public int getProfileSize()
public MTBImageRGB getVoronoiImg()
Attention: May be null!
public void setNeurite(MTBNeurite2D neurite)
public void setProfile(double[] profileData)
profileData
- Data of the profile as calculated by profile extractor.public void setProfilePoints(java.util.Vector<java.util.Vector<java.awt.geom.Point2D.Double>> profPoints)
profPoints
- points in the neurite region for profile calculatingpublic void setVoronoiImg(MTBImageRGB voronoiImg)
Attention: Correct size is mandatory!
voronoiImg
- Allocated image to be filled with voronoi data.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |