Giter Club home page Giter Club logo

sar.ai's Introduction

SAR Image Classification with MLPH

Modified Multi-Level Pattern Histograms (MLPH) for SAR image classification.

Some results for different regions in and around New York City area:

Dependencies

Platform tested on: Ubuntu 16.04

Softwares/Packages required:

  • Python >2.6
  • pickle
  • numpy
  • sklearn
  • skimage
  • scipy

Instructions to Run the Application

  • Open the terminal inside the directory “IP_Project_Group23”

  • To run MLPH on training images and train SVM & test on hold-out set:

$ python -m sarclf -run_mlph 1 -train_svm 1

  • To run pretrained SVM on test image pixels:

$ python -m sarclf

  • To run pretrained SVM to classify an image:

$ python -m sarclf -test 0 -clfimg <image_path>

  • For example, for image 2.tif in test_images folder, use:

$ python -m sarclf -test 0 -clfimg ./test_images/2.tif

  • To do any of the above steps with our modified MLPH: Add “-modified 1”

Example:

$ python -m sarclf -test 0 -clfimg ./test_images/2.tif -modified 1

Methodology

Following the research on MLPH, we derive a pattern matrix for each pixel based on a threshold value, use these matrices varying bin lengths to get local pattern sub-histograms, concatenated to give local pattern histogram. With multiple thresholds, the concatenation of local pattern histograms gives MLPH for each pixel.

sar.ai's People

Contributors

madhav-datt avatar avikalp7 avatar

Watchers

James Cloos avatar

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.