Class Lanczos

java.lang.Object
skyview.geometry.Sampler
skyview.geometry.sampler.Lanczos
All Implemented Interfaces:
Serializable, Cloneable, Component

public class Lanczos extends Sampler
This class implements a nearest neighbor sampling scheme.
See Also:
  • Constructor Details

    • Lanczos

      public Lanczos()
      Create a three lobe lanczos sampler as a default width.
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Component
      Get the name of this component.
    • getDescription

      public String getDescription()
      Description copied from interface: Component
      Get the description of this component.
    • setOrder

      public void setOrder(int n)
      Create a Lanczos sample of specified width sampler The data will be set later.
      Overrides:
      setOrder in class Sampler
    • sample

      public void sample(int pix)
      Sample a single pixel
      Specified by:
      sample in class Sampler
      Parameters:
      pix - The pixel index.