Class SubsamplingFilter

All Implemented Interfaces:
ImageConsumer, Cloneable

public class SubsamplingFilter extends ReplicateScaleFilter
An ImageFilter class for subsampling images.

It is meant to be used in conjunction with a FilteredImageSource object to produce subsampled versions of existing images.

Version:
$Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/image/SubsamplingFilter.java#1 $
See Also:
  • Field Details

    • xSub

      private int xSub
    • ySub

      private int ySub
  • Constructor Details

    • SubsamplingFilter

      public SubsamplingFilter(int pXSub, int pYSub)
      Creates a SubsamplingFilter.
      Parameters:
      pXSub -
      pYSub -
      Throws:
      IllegalArgumentException - if pXSub or pYSub is less than 1.
  • Method Details