render
Class ImagePyramid
java.lang.Object
|
+--render.ImagePyramid
- public class ImagePyramid
- extends java.lang.Object
Multi Image Pyramid (MIP) processing
|
Method Summary |
int |
get(double u,
double v,
double s)
Returns a sample at a particular fractional location and size |
int |
get(int level,
int x,
int y)
returns a pixel of an image at the given location in the specified level |
int |
getHeight(int level)
returns the height of an image at the given level |
int |
getWidth(int level)
returns the width of an image at the given level |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImagePyramid
public ImagePyramid(ImageBuffer base)
- Creates a multi-image maps from an image buffer
- Parameters:
base - the original image- See Also:
ImageBuffer
get
public int get(double u,
double v,
double s)
- Returns a sample at a particular fractional location and size
- Parameters:
u - the horizontal componentv - the vertical components - the size of the pixel
getWidth
public int getWidth(int level)
- returns the width of an image at the given level
- Parameters:
level - the level within the pyramid
getHeight
public int getHeight(int level)
- returns the height of an image at the given level
- Parameters:
level - the level within the pyramid
get
public int get(int level,
int x,
int y)
- returns a pixel of an image at the given location in the specified level
- Parameters:
level - the level within the pyramidx, - y location