|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.first.wpilibj.image.ParticleAnalysisReport
public class ParticleAnalysisReport
Class to store commonly used information about a particle.
Field Summary | |
---|---|
int |
boundingRectHeight
Bounding Rectangle |
int |
boundingRectLeft
Bounding Rectangle |
int |
boundingRectTop
Bounding Rectangle |
int |
boundingRectWidth
Bounding Rectangle |
int |
center_mass_x
X-coordinate of the point representing the average position of the total particle mass, assuming every point in the particle has a constant density |
double |
center_mass_x_normalized
Center of mass x value normalized to -1.0 to +1.0 range. |
int |
center_mass_y
Y-coordinate of the point representing the average position of the total particle mass, assuming every point in the particle has a constant density |
double |
center_mass_y_normalized
Center of mass y value normalized to -1.0 to +1.0 range. |
int |
imageHeight
The height of the image in pixels. |
int |
imageWidth
The width of the image in pixels. |
double |
particleArea
Area of the particle |
double |
particleQuality
Percentage of the particle Area in relation to its Particle and Holes Area |
double |
particleToImagePercent
Percentage of the particle Area covering the Image Area. |
Method Summary | |
---|---|
String |
toString()
Get string representation of the particle analysis report. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final int imageHeight
public final int imageWidth
public final int center_mass_x
public final int center_mass_y
public final double center_mass_x_normalized
public final double center_mass_y_normalized
public final double particleArea
public final int boundingRectLeft
public final int boundingRectTop
public final int boundingRectWidth
public final int boundingRectHeight
public final double particleToImagePercent
public final double particleQuality
Method Detail |
---|
public String toString()
toString
in class Object
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |