|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.apps.datatypes.cellImages.SegResult_Particles
@ALDParametrizedClass @ALDMetaInfo(export=ALLOWED) public class SegResult_Particles
Particle detection result for a single channel of an image.
Particles are defined as sub-cellular structures inside cells which are fluorescently labeled. The result of a particle detection comprises data like number and average size of particles, or the set of corresponding regions. In addition, binary masks of the particles are provided.
Field Summary | |
---|---|
protected double |
avgsize_particles
Average size of particles. |
protected MTBImageByte |
binMask
Binary segmentation mask. |
protected int |
image_channel
Channel of the image that was processed. |
protected String |
image_name
Name of the analyzed image. |
protected int |
number_particles
Count of detected particles. |
protected MTBRegion2DSet |
particleRegions
List of detected regions. |
protected HashMap<Integer,Double> |
perCellAvgSize
Average particle size per cell (optional). |
protected HashMap<Integer,Integer> |
perCellCount
Particle counts per cell (optional). |
protected SegResultEnums.MeasureUnit |
units
Unit in which measurements are provided. |
Constructor Summary | |
---|---|
SegResult_Particles(String imgName,
int ch,
MTBRegion2DSet regions,
MTBImageByte mask,
int count,
double avgsize)
Default constructor. |
Method Summary | |
---|---|
String |
getImageName()
Note: Returned string might be null if the result is associated with a single cell rather than a complete image! |
MTBImageByte |
getMask()
Returns binary mask with segmentation result. |
SegResultEnums.MeasureUnit |
getMeasurementUnit()
Returns the unit of measurements. |
double |
getParticleAvgSize()
Returns average size of detected particles. |
int |
getParticleCount()
Returns number of detected particles. |
HashMap<Integer,Double> |
getPerCellAvgSize()
Returns detected particle average size per cell. |
HashMap<Integer,Integer> |
getPerCellCount()
Returns detected particles per cell. |
int |
getProcessedChannel()
Get the processed channel. |
void |
setPerCellAvgSize(HashMap<Integer,Double> map)
Sets particle average sizes per cell. |
void |
setPerCellCount(HashMap<Integer,Integer> map)
Sets particle counts per cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@ALDClassParameter(label="Processed image", dataIOOrder=-10) protected String image_name
@ALDClassParameter(label="Analyzed channel", dataIOOrder=-9) protected int image_channel
@ALDClassParameter(label="Binary mask") protected MTBImageByte binMask
@ALDClassParameter(label="Set of regions", dataIOOrder=-8) protected MTBRegion2DSet particleRegions
@ALDClassParameter(label="Number of particles", dataIOOrder=-7) protected int number_particles
@ALDClassParameter(label="Average size", dataIOOrder=-6) protected double avgsize_particles
@ALDClassParameter(label="Measurement unit", dataIOOrder=-5) protected SegResultEnums.MeasureUnit units
@ALDClassParameter(label="Particle counts per cell", dataIOOrder=-4) protected HashMap<Integer,Integer> perCellCount
@ALDClassParameter(label="Average particle size per cell", dataIOOrder=-3) protected HashMap<Integer,Double> perCellAvgSize
Constructor Detail |
---|
public SegResult_Particles(String imgName, int ch, MTBRegion2DSet regions, MTBImageByte mask, int count, double avgsize)
imgName
- Name of analyzed image.ch
- Processed channel.regions
- Set of detected regions.mask
- Binary mask with segmentation result.count
- Number of detected particles.avgsize
- Average size of nuclei.Method Detail |
---|
public String getImageName()
getImageName
in interface SegResult_Interface
public int getProcessedChannel()
public MTBImageByte getMask()
Note: Returned image might be null if the result is associated with a single cell rather than a complete image!
public int getParticleCount()
public double getParticleAvgSize()
public void setPerCellCount(HashMap<Integer,Integer> map)
map
- Map with index-count pairs.public HashMap<Integer,Integer> getPerCellCount()
public void setPerCellAvgSize(HashMap<Integer,Double> map)
map
- Map with index-size pairs.public HashMap<Integer,Double> getPerCellAvgSize()
public SegResultEnums.MeasureUnit getMeasurementUnit()
SegResult_Interface
getMeasurementUnit
in interface SegResult_Interface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |