|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.desy.tine.structUtils.TTaggedStructure de.desy.acop.video.analysis.AImage
public class AImage
AImage
is the object that is transferred across the
system from the video analysis server to the video client.
This object carries with it the raw tine IMAGE and analysis results
and parameters. For details on parameters see the constructor
documentation.
Constructor Summary | |
---|---|
AImage()
Constructs a new AImage, with default values (empty image and 0 value parameters and results). |
|
AImage(AImage image)
Constructs a new AImage from the given AImage. |
|
AImage(de.desy.tine.types.IMAGE image,
int roiX,
int roiY,
int roiW,
int roiH,
int roi2X,
int roi2Y,
int roi2W,
int roi2H,
double threshold,
double[] sideViewX,
double meanX,
double stdX,
double sideAmplitudeX,
double sideConstX,
double meanXFit,
double stdXFit,
double sideAmplitudeXFit,
double sideConstXFit,
double slopeXFit,
double[] sideViewY,
double meanY,
double stdY,
double sideAmplitudeY,
double sideConstY,
double meanYFit,
double stdYFit,
double sideAmplitudeYFit,
double sideConstYFit,
double slopeYFit,
double stdA,
double stdB,
double angle2D,
double amplitude2D,
double const2D,
int thresholdPoints,
boolean calculateThreshold,
boolean performFit,
boolean performSmoothing)
Constructs a new AImage. |
Method Summary | |
---|---|
double |
getAmplitude2D()
Returns the maximum amplitude of pixel value (as returned by ColorDecoder assigned to this AnalyzedImage) across the entire image. |
double |
getAmplitudeXFit()
Returns the fitted amplitude in x axis. |
double |
getAmplitudeYFit()
Returns the fitted amplitude in y axis. |
double |
getAngle2D()
Returns the angle of rotation of the 2-dimensional intensity profile around its center (the angle between x and a and y and b axes). |
double |
getConst2D()
Returns the minimum pixel value (as returned by ColorDecoder
assigned to this AnalyzedImage ) across the entire image. |
double |
getConstXFit()
Returns the fitted constant in x axis. |
double |
getConstYFit()
Returns the fitted constant in y axis. |
de.desy.tine.types.IMAGE |
getImage()
Returns the image which was analyzed. |
int |
getImageH()
The height of the image. |
int |
getImageW()
The width of the image. |
double |
getMeanX()
Returns the mean value of the side view projection of the image on the x axis. |
double |
getMeanXFit()
Returns the fitted mean value in x axis. |
double |
getMeanY()
Returns the mean value of the side view projection of the image on the y axis. |
double |
getMeanYFit()
Returns the fitted mean value in y axis. |
int |
getRoi2H()
The height of the second region of interest. |
int |
getRoi2W()
The width of the second region of interest. |
int |
getRoi2X()
Left coordinate of the second region of interest. |
int |
getRoi2Y()
Upper coordinate of the second region of interest. |
int |
getRoiH()
The height of the region of interest. |
int |
getRoiW()
The width of the region of interest. |
int |
getRoiX()
Left coordinate of the region of interest. |
int |
getRoiY()
Upper coordinate of the region of interest. |
double |
getSideViewAmplitudeX()
Returns the amplitude (maximum minus minimum) value of the side view projection of the image on the x axis. |
double |
getSideViewAmplitudeY()
Returns the amplitude (maximum minus minimum) value of the side view projection of the image on the y axis. |
double |
getSideViewConstX()
Returns the constant (minimum) value of the side view projection of the image on the x axis. |
double |
getSideViewConstY()
Returns the constant (minimum) value of the side view projection of the image on the y axis. |
double[] |
getSideViewX()
Returns the array representing the side projection of the intensity image on the X axis. |
double[] |
getSideViewY()
Returns the array representing the side projection of the intensity image on the Y axis. |
double |
getSlopeXFit()
Returns the slope of the linear function in the fit. |
double |
getSlopeYFit()
Returns the slope of the linear function in the fit. |
double |
getStdA()
Returns the standard deviation of the 2-dimensional intensity image in the direction of the "a" axis of the profile (assuming an elliptical profile). |
double |
getStdB()
Returns the standard deviation of the 2-dimensional intensity image in the direction of the "b" axis of the profile (assuming an elliptical profile). |
double |
getStdX()
Returns the standard deviation of the side view projection of the image on the x axis. |
double |
getStdXFit()
Returns the fitted std value in x axis. |
double |
getStdY()
Returns the standard deviation of the side view projection of the image on the y axis. |
double |
getStdYFit()
Returns the fitted std value in y axis. |
double |
getThreshold()
The threshold value used for analysis of the image. |
int |
getThresholdPoints()
Returns the number of points on which the threshold was calculated. |
boolean |
isCalculateThreshold()
Returns true if the calculation of threshold was automatic or false if threshold was user defined. |
boolean |
isPerformFit()
Returns true if the fitting algorithm was used during analysis. |
boolean |
isPerformSmoothing()
Returns true if the smoothing algorithm was used during analysis. |
Methods inherited from class de.desy.tine.structUtils.TTaggedStructure |
---|
addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, clone, getByteArray, getName, getSizeInBytes, initDone, toByteArray, toString, toStruct |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AImage()
public AImage(AImage image)
image
- the imagepublic AImage(de.desy.tine.types.IMAGE image, int roiX, int roiY, int roiW, int roiH, int roi2X, int roi2Y, int roi2W, int roi2H, double threshold, double[] sideViewX, double meanX, double stdX, double sideAmplitudeX, double sideConstX, double meanXFit, double stdXFit, double sideAmplitudeXFit, double sideConstXFit, double slopeXFit, double[] sideViewY, double meanY, double stdY, double sideAmplitudeY, double sideConstY, double meanYFit, double stdYFit, double sideAmplitudeYFit, double sideConstYFit, double slopeYFit, double stdA, double stdB, double angle2D, double amplitude2D, double const2D, int thresholdPoints, boolean calculateThreshold, boolean performFit, boolean performSmoothing)
image
- the raw image, which was analyzed and all data was obtained fromroiX
- the region of interest right coordinate (image is analyzed inside region of interest)roiY
- the region of interest upper coordinate (image is analyzed inside region of interest)roiW
- the width of region of interest (image is analyzed inside region of interest)roiH
- the height of region of interest (image is analyzed inside region of interest)roi2X
- the region of interest used for automatic threshold calculation right coordinateroi2Y
- the region of interest used for automatic threshold calculation upper coordinateroi2W
- the region of interest used for automatic threshold calculation widthroi2H
- the region of interest used for automatic threshold calculation heightthreshold
- the used threshold value (calculated or user defined)sideViewX
- horizontal side view valuesmeanX
- horizontal statistical mean valuestdX
- horizontal statistical standard deviation valuesideAmplitudeX
- horizontal statistical amplitude valuesideConstX
- horizontal statistical constant valuemeanXFit
- horizontal fitted mean valuestdXFit
- horizontal fitted standard deviation valuesideAmplitudeXFit
- horizontal fitted amplitude valuesideConstXFit
- horizontal fitted constant valueslopeXFit
- the slope of the linear function in the fitsideViewY
- vertical side view valuesmeanY
- vertical statistical mean valuestdY
- vertical statistical standard deviation valuesideAmplitudeY
- vertical statistical amplitude valuesideConstY
- vertical statistical constant valuemeanYFit
- vertical fitted mean valuestdYFit
- vertical fitted standard deviation valuesideAmplitudeYFit
- vertical fitted amplitude valuesideConstYFit
- vertical fitted constant valueslopeYFit
- the slope of the linear function in the fitstdA
- main 2D axis statistical standard deviationstdB
- secondary 2D axis statistical standard deviationangle2D
- the statistical rotation angle of the main axis according to x-y coordinate systemamplitude2D
- the statistical 2D amplitudeconst2D
- the statistical 2D constant (minimum value)thresholdPoints
- the number of points on which the threshold was calculatedcalculateThreshold
- flag indicating if threshold calculation is automaticperformFit
- flag indicating if fitting was performed (if false the 'fit' parameters
are a-priori invalid)performSmoothing
- flag indicating if smoothing should be performedMethod Detail |
---|
public de.desy.tine.types.IMAGE getImage()
public int getImageW()
#getImage()}
public int getImageH()
#getImage()}
public int getRoiX()
public int getRoiY()
public int getRoiW()
public int getRoiH()
public int getRoi2X()
public int getRoi2Y()
public int getRoi2W()
public int getRoi2H()
public double getThreshold()
public double getStdA()
#getImage()}
public double getStdB()
#getImage()}
public double getAmplitude2D()
#getImage()}
public double getAngle2D()
#getImage()}
public double getConst2D()
ColorDecoder
assigned to this AnalyzedImage
) across the entire image. This
value indicates the background level of the image.
#getImage()}
public double[] getSideViewX()
#getImage()}
public double[] getSideViewY()
#getImage()}
public double getStdX()
getSideViewX()
.
public double getStdY()
getSideViewY()
.
public double getMeanX()
getSideViewX()
.
public double getMeanY()
getSideViewY()
.
public double getSideViewAmplitudeX()
getSideViewX()
.
public double getSideViewAmplitudeY()
getSideViewY()
.
public double getSideViewConstX()
getSideViewX()
.
public double getSideViewConstY()
getSideViewY()
.
public boolean isCalculateThreshold()
public boolean isPerformFit()
public boolean isPerformSmoothing()
public double getAmplitudeXFit()
public double getConstXFit()
public double getMeanXFit()
public double getStdXFit()
public double getAmplitudeYFit()
public double getSlopeXFit()
public double getConstYFit()
public double getMeanYFit()
public double getStdYFit()
public double getSlopeYFit()
public int getThresholdPoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |