com.aspose.ocr

## Class MedianFilter

- java.lang.Object
- - com.aspose.ocr.Filter
  - - com.aspose.ocr.MedianFilter

-     public class MedianFilter
      extends Filter

  Represents median filtration.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MedianFilter()` Initializes a new instance of the MedianFilter class.
    `MedianFilter(int size)` Initializes a new instance of the MedianFilter class.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getSize()` Gets size of a filter.
    `void` | `setSize(int value)` Sets size of a filter.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MedianFilter

          public MedianFilter()

      Initializes a new instance of the MedianFilter class.

    - #### MedianFilter

          public MedianFilter(int size)

      Initializes a new instance of the MedianFilter class.

      Parameters:
        `size` - Window size.

  - ### Method Detail

    - #### getSize

          public int getSize()

      Gets size of a filter.

      Returns:
        Size of a filter.

    - #### setSize

          public void setSize(int value)

      Sets size of a filter.

      Parameters:
        `value` - Size of a filter.

Copyright © 2014. All rights reserved.