Class Lanczos

All Implemented Interfaces:, java.lang.Cloneable, Component

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

    • Lanczos

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

    • getName

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

      public java.lang.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.
      setOrder in class Sampler
    • sample

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