Class DeinterlaceFilter


public class DeinterlaceFilter extends Filter
This is a Filter that returns only one field of an interlaced video image.
Version:
1.0
Author:
Douglas Brown
  • Constructor Details

    • DeinterlaceFilter

      public DeinterlaceFilter()
      Constructs a default DeinterlaceFilter object.
  • Method Details

    • setOdd

      public void setOdd(boolean odd)
      Sets the field to odd or even.
      Parameters:
      odd - true to extract the odd field
    • isOdd

      public boolean isOdd()
      Gets whether the extracted field is odd.
      Returns:
      true if the odd field is extracted
    • newInspector

      protected Filter.InspectorDlg newInspector()
      Specified by:
      newInspector in class Filter
    • initInspector

      protected Filter.InspectorDlg initInspector()
      Specified by:
      initInspector in class Filter
    • refresh

      public void refresh()
      Refreshes this filter's GUI
      Overrides:
      refresh in class Filter
    • initializeSubclass

      protected void initializeSubclass()
      Creates the input and output images.
      Specified by:
      initializeSubclass in class Filter
      Parameters:
      image - a new input image
    • setOutputPixels

      protected void setOutputPixels()
      Sets the output image pixels to a doubled version of the input field pixels.
      Specified by:
      setOutputPixels in class Filter
    • getLoader

      public static XML.ObjectLoader getLoader()
      Returns an XML.ObjectLoader to save and load filter data.
      Returns:
      the object loader