|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectO2Plib.image.PixFunctions
public class PixFunctions
| Constructor Summary | |
|---|---|
PixFunctions()
PixFunctions() - constructor |
|
| Method Summary | |
|---|---|
int[] |
calcHistogram(DbSample dbS,
int x1,
int y1,
int x2,
int y2)
calcHistogram() - compute grayscale histogram from image pixel data for sample dbS. |
int[] |
calcHistogram(DbSample dbS,
Roi roi)
calcHistogram() - compute grayscale histogram from image pixel data for sample dbS. |
static DbSpot |
calcMeanGrayValue(DbSample dbS,
int xC,
int yC,
int size,
DbSpot bkgrdSpot)
calcMeanGrayValue() - compute mean gray value of spot and return the values in a DbSpot instance for sample dbS with (sp.area, sp.density, sp.xMom, sp.yMom, sp.density, sp.mnDensity, sp.dMax, sp.dMin, sp.sxy) Note: the std-deviation of sp.density is saved in sp.sxy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PixFunctions()
| Method Detail |
|---|
public static DbSpot calcMeanGrayValue(DbSample dbS,
int xC,
int yC,
int size,
DbSpot bkgrdSpot)
dbS - is sample to measure with image in char pix[].xC - current x coordinateyC - current y coordinatesize - of a side of the square measurement areabkgrdSpot - is optional background spot with mnDensity
public int[] calcHistogram(DbSample dbS,
Roi roi)
dbS - is the image sample to useroi - is region of interest to compute the histogram
public int[] calcHistogram(DbSample dbS,
int x1,
int y1,
int x2,
int y2)
dbS - is the image sample to usex1 - is X ULHC region, full image if < 0y1 - is Y ULHC region, full image if < 0x2 - is X LRHC region, full image if < 0y2 - is Y LRHC region, full image if < 0
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||