|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object skyview.geometry.Sampler skyview.geometry.sampler.LanczosSampler
public class LanczosSampler
This class implements a nearest neighbor sampling scheme.
Field Summary |
---|
Fields inherited from class skyview.geometry.Sampler |
---|
bounds, inDepth, inHeight, inImage, inWidth, outDepth, outHeight, outImage, outWidth, trans |
Constructor Summary | |
---|---|
LanczosSampler()
Create a three lobe lanczos sampler as a default width. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get the description of this component. |
java.lang.String |
getName()
Get the name of this component. |
void |
sample(int pix)
Sample a single pixel |
void |
setOrder(int n)
Create a Lanczos sample of specified width sampler The data will be set later. |
Methods inherited from class skyview.geometry.Sampler |
---|
factory, setBounds, setInput, setOutput, setTransform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LanczosSampler()
Method Detail |
---|
public java.lang.String getName()
Component
public java.lang.String getDescription()
Component
public void setOrder(int n)
setOrder
in class Sampler
public void sample(int pix)
sample
in class Sampler
coords
- The x,y coordinates of the center of the pixel.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |