Texture Classifier

The purpose of this assignment is to train a classifier to predict if a given image contains a manmade pattern or a natural pattern. As a feature I used wedge energies which are collected from 12 wedges in the fourier transform of the given image. As a classifier I chose to use a Support Vector Machine (SVM). My training images are in my GitHub.

OpenCV Code

Example Image
*Notice the difference in the Fourier Transform wedges (i.e., between 0 degree and 30 degree).