Package skyview.data

Class WeightedSmoother

    • Constructor Detail

      • WeightedSmoother

        public WeightedSmoother()
    • Method Detail

      • setSmoothSize

        protected void setSmoothSize​(int nx,
                                     int ny)
      • process

        public void process​(Image[] inputs,
                            Image output,
                            int[] selector,
                            Sampler samp,
                            DepthSampler dsamp)
        Use as a postprocessor
        Specified by:
        process in interface Processor
        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.
        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).
      • smooth

        public void smooth()
        Smooth the current image according to the prescribed size of the box. When going over the edges of the box we re-use the edge pixels.