|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object skyview.geometry.Sampler
public abstract class Sampler
Field Summary | |
---|---|
protected int[] |
bounds
This gives the minX,maxX, minY,maxY pixel values for the current output image. |
protected int |
inDepth
|
protected int |
inHeight
|
protected Image |
inImage
The input image. |
protected int |
inWidth
|
protected int |
outDepth
|
protected int |
outHeight
|
protected Image |
outImage
The output image. |
protected int |
outWidth
|
protected Transformer |
trans
The transformation from the output image to the input image. |
Constructor Summary | |
---|---|
Sampler()
|
Method Summary | |
---|---|
static Sampler |
factory(java.lang.String type)
Factory for creating samplers |
abstract void |
sample(int index)
Find the value in the input data to put in the output data. |
void |
setBounds(int[] bounds)
Set the bounds of the output image that may be asked for. |
void |
setInput(Image inImage)
Set the input image for the sampling |
void |
setOrder(int order)
Set the order of the classifier. |
void |
setOutput(Image outImage)
Set the output image for the sampling |
void |
setTransform(Transformer transform)
Set the transformation information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface skyview.Component |
---|
getDescription, getName |
Field Detail |
---|
protected Image inImage
protected int inHeight
protected int inWidth
protected int inDepth
protected int[] bounds
protected Image outImage
protected int outHeight
protected int outWidth
protected int outDepth
protected Transformer trans
Constructor Detail |
---|
public Sampler()
Method Detail |
---|
public abstract void sample(int index)
index
- The index into the output array.public void setInput(Image inImage)
public void setBounds(int[] bounds)
public void setOutput(Image outImage)
public void setTransform(Transformer transform)
transform
- The transformer object.pixels
- The pixel array of the data.public static Sampler factory(java.lang.String type)
public void setOrder(int order)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |