Package skyview.ij
Class IJProcessor
- java.lang.Object
-
- skyview.process.Processor
-
- skyview.ij.IJProcessor
-
- All Implemented Interfaces:
java.io.Serializable,Component
public class IJProcessor extends Processor
This class uses ImageJ to create non-FITS image products. The following keyword settings are supported:- Quicklook: Specifies the format to be used for a quicklook image. Supported formats are: JPEG, GIF, TIFF, BMP and PNG.
- Scaling:
Specifies how the brigtness of the image is to be scaled.
Supported values include:
- Log: Logarithmic scaling.
- Sqrt: Scaling as the square root of the pixel value.
- Linear: Linear scaling.
- HistEq: Histogram equalization scaling.
- LogLog: Double log scaling.
- Inverse: Invert the color table.
- Lut: Load a look-up table.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IJProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerateRGB()java.lang.StringgetDescription()Get the description of this component.java.lang.StringgetName()Get the name of this component.static java.util.ArrayList<ij.ImagePlus>getSavedImages()voidprocess(Image[] inputs, Image output, int[] source, Sampler samp, DepthSampler dsamp)Perform the processing task associated with this object.voidupdateHeader(nom.tam.fits.Header header)Update the FITS header to indicate what processing was done.booleanupdatesOutput()Does this processor actually modify the output array?
-
-
-
Method Detail
-
updatesOutput
public boolean updatesOutput()
Description copied from class:ProcessorDoes this processor actually modify the output array?- Specified by:
updatesOutputin classProcessor
-
getName
public java.lang.String getName()
Description copied from interface:ComponentGet the name of this component.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ComponentGet the description of this component.
-
generateRGB
public void generateRGB()
-
process
public void process(Image[] inputs, Image output, int[] source, Sampler samp, DepthSampler dsamp)
Description copied from class:ProcessorPerform the processing task associated with this object.- Specified by:
processin classProcessor- Parameters:
inputs- 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.source- 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).
-
updateHeader
public void updateHeader(nom.tam.fits.Header header)
Description copied from class:ProcessorUpdate the FITS header to indicate what processing was done.- Specified by:
updateHeaderin classProcessor
-
getSavedImages
public static java.util.ArrayList<ij.ImagePlus> getSavedImages()
-
-