|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Integral_Image
Generic interface for a class that converts an image to its integral version.
Method Summary | |
---|---|
float |
getIntegralSquare(int xA,
int yA,
int xD,
int yD)
The method needs only A and D, i.e. the upper left and bottom right vertex coordinates. |
float |
getIntegralValue(int x,
int y)
Given the coordinates of a point of the image, returns its integral value, ie the intensity of the rectangle whose vertices are the origin and (x, y). |
Method Detail |
---|
float getIntegralValue(int x, int y)
x
- x-coordinatey
- y-coordinate
float getIntegralSquare(int xA, int yA, int xD, int yD)
xA
- x-coordinate of vertex A.yA
- y-coordinate of vertex A.xD
- x-coordinate of vertex D.yD
- y-coordinate of vertex D.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |