|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectskyview.data.BoxSmoother
public class BoxSmoother
Do a box car smoothing of an image
| Constructor Summary | |
|---|---|
BoxSmoother()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Get the description of this component. |
java.lang.String |
getName()
Get the name of this component. |
void |
process(Image[] inputs,
Image output,
int[] selector,
Sampler samp,
DepthSampler dsamp)
Use as a postprocessor |
void |
smooth()
Smooth the current image according to the prescribed size of the box. |
static void |
smooth(double[] data,
int imageWidth,
int imageHeight,
int imageDepth,
int boxWidth,
int boxHeight)
|
static void |
smooth(Image img,
int boxWidth,
int boxHeight)
Smooth an image directly |
void |
updateHeader(Header h)
Add information about the smoothing to the FITS header |
void |
updateSettings()
Update the settings associated with this smoother |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoxSmoother()
| Method Detail |
|---|
public java.lang.String getName()
Component
getName in interface Componentpublic java.lang.String getDescription()
Component
getDescription in interface Componentpublic void updateSettings()
updateSettings in interface SettingsUpdater
public void process(Image[] inputs,
Image output,
int[] selector,
Sampler samp,
DepthSampler dsamp)
process in interface Processorinputs - The array of input survey images.output - The output user image. A null output may signal
that an error has taken place. If this processor wishes
to do something in response to the error, it may look at the ErrorMsg setting.selector - An array giving the source image for each output pixel.samp - The sampler object used to do spatial sampling of the input images.dsamp - The sampler in the energy dimension (often null).
public static void smooth(Image img,
int boxWidth,
int boxHeight)
public static void smooth(double[] data,
int imageWidth,
int imageHeight,
int imageDepth,
int boxWidth,
int boxHeight)
public void smooth()
public void updateHeader(Header h)
updateHeader in interface Processor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||