from .lpi_filter import inverse, wiener, LPIFilter2D
from .ctmf import median_filter
from ._canny import canny
from .edges import (sobel, hsobel, vsobel, scharr, hscharr, vscharr, prewitt,
                    hprewitt, vprewitt, roberts , roberts_positive_diagonal,
                    roberts_negative_diagonal)
from ._denoise import denoise_tv_chambolle, tv_denoise
from ._denoise_cy import denoise_bilateral, denoise_tv_bregman
from ._rank_order import rank_order
from ._gabor import gabor_kernel, gabor_filter
from .thresholding import threshold_otsu, threshold_adaptive


__all__ = ['inverse',
           'wiener',
           'LPIFilter2D',
           'median_filter',
           'canny',
           'sobel',
           'hsobel',
           'vsobel',
           'scharr',
           'hscharr',
           'vscharr',
           'prewitt',
           'hprewitt',
           'vprewitt',
           'roberts',
           'roberts_positive_diagonal',
           'roberts_negative_diagonal',
           'denoise_tv_chambolle',
           'tv_denoise',
           'denoise_bilateral',
           'denoise_tv_bregman',
           'rank_order',
           'gabor_kernel',
           'gabor_filter',
           'threshold_otsu',
           'threshold_adaptive']

from .lpi_filter import inverse, wiener, LPIFilter2D
from .ctmf import median_filter
from ._canny import canny
from .edges import (sobel, hsobel, vsobel, scharr, hscharr, vscharr, prewitt,
                    hprewitt, vprewitt, roberts , roberts_positive_diagonal,
                    roberts_negative_diagonal)
from ._denoise import denoise_tv_chambolle, tv_denoise
from ._denoise_cy import denoise_bilateral, denoise_tv_bregman
from ._rank_order import rank_order
from ._gabor import gabor_kernel, gabor_filter
from .thresholding import threshold_otsu, threshold_adaptive
from . import rank


__all__ = ['inverse',
           'wiener',
           'LPIFilter2D',
           'median_filter',
           'canny',
           'sobel',
           'hsobel',
           'vsobel',
           'scharr',
           'hscharr',
           'vscharr',
           'prewitt',
           'hprewitt',
           'vprewitt',
           'roberts',
           'roberts_positive_diagonal',
           'roberts_negative_diagonal',
           'denoise_tv_chambolle',
           'tv_denoise',
           'denoise_bilateral',
           'denoise_tv_bregman',
           'rank_order',
           'gabor_kernel',
           'gabor_filter',
           'threshold_otsu',
           'threshold_adaptive',
           'rank']

Add filter.rank to __all__ of filter package
Add filter.rank to __all__ of filter package

  from .lpi_filter import inverse, wiener, LPIFilter2D
  from .ctmf import median_filter
  from ._canny import canny
  from .edges import (sobel, hsobel, vsobel, scharr, hscharr, vscharr, prewitt,
                      hprewitt, vprewitt, roberts , roberts_positive_diagonal,
                      roberts_negative_diagonal)
  from ._denoise import denoise_tv_chambolle, tv_denoise
  from ._denoise_cy import denoise_bilateral, denoise_tv_bregman
  from ._rank_order import rank_order
  from ._gabor import gabor_kernel, gabor_filter
  from .thresholding import threshold_otsu, threshold_adaptive
+ from . import rank
  
  
  __all__ = ['inverse',
             'wiener',
             'LPIFilter2D',
             'median_filter',
             'canny',
             'sobel',
             'hsobel',
             'vsobel',
             'scharr',
             'hscharr',
             'vscharr',
             'prewitt',
             'hprewitt',
             'vprewitt',
             'roberts',
             'roberts_positive_diagonal',
             'roberts_negative_diagonal',
             'denoise_tv_chambolle',
             'tv_denoise',
             'denoise_bilateral',
             'denoise_tv_bregman',
             'rank_order',
             'gabor_kernel',
             'gabor_filter',
             'threshold_otsu',
-            'threshold_adaptive']
+            'threshold_adaptive',
+            'rank']
  
Add filter.rank to __all__ of filter package
## Code Before:
from .lpi_filter import inverse, wiener, LPIFilter2D
from .ctmf import median_filter
from ._canny import canny
from .edges import (sobel, hsobel, vsobel, scharr, hscharr, vscharr, prewitt,
                    hprewitt, vprewitt, roberts , roberts_positive_diagonal,
                    roberts_negative_diagonal)
from ._denoise import denoise_tv_chambolle, tv_denoise
from ._denoise_cy import denoise_bilateral, denoise_tv_bregman
from ._rank_order import rank_order
from ._gabor import gabor_kernel, gabor_filter
from .thresholding import threshold_otsu, threshold_adaptive


__all__ = ['inverse',
           'wiener',
           'LPIFilter2D',
           'median_filter',
           'canny',
           'sobel',
           'hsobel',
           'vsobel',
           'scharr',
           'hscharr',
           'vscharr',
           'prewitt',
           'hprewitt',
           'vprewitt',
           'roberts',
           'roberts_positive_diagonal',
           'roberts_negative_diagonal',
           'denoise_tv_chambolle',
           'tv_denoise',
           'denoise_bilateral',
           'denoise_tv_bregman',
           'rank_order',
           'gabor_kernel',
           'gabor_filter',
           'threshold_otsu',
           'threshold_adaptive']

## Instruction:
Add filter.rank to __all__ of filter package
## Code After:
from .lpi_filter import inverse, wiener, LPIFilter2D
from .ctmf import median_filter
from ._canny import canny
from .edges import (sobel, hsobel, vsobel, scharr, hscharr, vscharr, prewitt,
                    hprewitt, vprewitt, roberts , roberts_positive_diagonal,
                    roberts_negative_diagonal)
from ._denoise import denoise_tv_chambolle, tv_denoise
from ._denoise_cy import denoise_bilateral, denoise_tv_bregman
from ._rank_order import rank_order
from ._gabor import gabor_kernel, gabor_filter
from .thresholding import threshold_otsu, threshold_adaptive
from . import rank


__all__ = ['inverse',
           'wiener',
           'LPIFilter2D',
           'median_filter',
           'canny',
           'sobel',
           'hsobel',
           'vsobel',
           'scharr',
           'hscharr',
           'vscharr',
           'prewitt',
           'hprewitt',
           'vprewitt',
           'roberts',
           'roberts_positive_diagonal',
           'roberts_negative_diagonal',
           'denoise_tv_chambolle',
           'tv_denoise',
           'denoise_bilateral',
           'denoise_tv_bregman',
           'rank_order',
           'gabor_kernel',
           'gabor_filter',
           'threshold_otsu',
           'threshold_adaptive',
           'rank']
