Giter VIP home page Giter VIP logo

textureclassification's Introduction

Texture Classification

Implementation of different texture feature extractors and texture classifiers for both Grayscale and RGB images.

The implemented algorithms are tested on Outex-TC databases. Algorithms for grayscale images are tested on Outex_TC_00010-r database, while algorithms for RGB images are tested on Outex_TC_00010-c database.

Algorithms are implemented in either MATLAB or Python.

Grayscale Texture Image Classification

Methods used for Feature Extraction of grayscale texture images are based on:

  1. Gray level co-occurrence matrix (GLCM)
  2. Discrete wavelet packet transform (DWPT)

Inside the folder, there is example of plotting Wavelet energy (DWPTExample) that is used for extracting features for texture classification, using function PlotDWPT.

The classification is done in the Main_program, as well as classifier evaluation.
There is also an implementation of SVM classifier that classifies texture images using Wavelet features.

Inside the folder, there are three .mat files containing extracted GLCM features, Wavelet features and obtained results:

RGB Texture Image Classification

Features of RGB texture images are extracted using:

  1. Discrete wavelet packet transform (DWPT)
  2. Pretrained AlexNet CNN without the last layer

Wavelet based classification of RGB images uses the same feature extraction (Wavelet_image_features) as in the case of grayscale images. In contrast to extracted feature vector of grayscale images, the extracted features of RGB images have three channels for each color channel (R, G, B). The extracted features are given in Wavelet_Features_RGB.

The classification is done in the Main_program_RGB.

Pretrained AlexNet is used to extract 4096 dimensional feature vector. Implementation is given in AlexNet_Feature_Extraction.

The extracted feature vectors are given in two seperate files:

Dimension of the extracted feature vector is reduced using the PCA algorithm, after which an SVM classifier is trained on new features.

textureclassification's People

Contributors

analazovic avatar bjekic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.