Giter Site home page Giter Site logo

sarnold / adaptive-median Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 15.0 3.19 MB

Adaptive-median image filter in pure python - use with

Home Page: https://github.com/sarnold/medians-1D

License: GNU General Public License v3.0

Python 1.34% Jupyter Notebook 98.66%

adaptive-median's Introduction

adaptive-median

Adaptive-median image filter

This is just a python implementation of an adaptive median image filter, which is essentially a despeckling filter for grayscale images. The other piece (which you can disable by commenting out the import line for medians_1D) is a set of example C median filters and swig wrappers (see the medians-1D repo for that part). This part is not fully working yet in terms of passing python arrays to C (contributions welcome).

Steve Arnold <stephen.arnold42 at gmail.com>

Changes - Author (Qasim Wani)

Implements Adaptive Median Filter by preserving image and incrementing S_xy (kernel size) as mentioned in the algorithm for AMF.

See Details below for more information

adaptive-median's People

Contributors

qasimwani avatar sarnold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

adaptive-median's Issues

Is here a bug?

In adaptive_median.py 140th line
args, filenames = getopt.getopt(argv[1:], 'hvwt', ['help', 'verbose', 'window=', 'threshold='])
should be
args, filenames = getopt.getopt(argv[1:], 'hvw:t:', ['help', 'verbose', 'window=', 'threshold='])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.