https://github.com/adamouization/binary-image-classifier
:black_large_square: :white_large_square: Binary Image Classifier using Gaussian Mixture Models written in MatLab (2017)
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Keywords
Repository
:black_large_square: :white_large_square: Binary Image Classifier using Gaussian Mixture Models written in MatLab (2017)
Basic Info
Statistics
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Binary Image Classifier
This program is a classifier that is trained to classify labeled binary images (image bits can only have two values: 0 and 1 for black and white), also known as supervised training.
The classifier is trained by fitting a GMM (Gaussian Mixture Model) based on each image's feature vector from the training set, which will allow us to classify new binary images (different from the training set) using a Maximum a Posteriori classification technique by comparing each of the new images' feature vector to the ones stored in the GMM.
The results can be viewed in a confusion matrix, which is a table that is incremented after each new image has been classified. It allows us to visualize how many images have been correctly classified over the total set.
After optimization by calculating the ideal feature vector length (8 was the chosen length), a classifying precision of 83% was achieved.
You can read a more detailed explanation of how the classifier was built, optimized and the mathematics used here: report.
Screenshots
Confusion matrix screenshot - assessing the classifier's quality

Gaussian Mixture Model screenshot - the results of the classifier's training used to classify new images

Usage
Clone this repository and open the project in MatLab:
git clone https://github.com/Adamouization/Binary-Image-Classifier
MatLab application usage
Once you have the project opened in MatLab, move to the src directory and open the script.m. Run the script.m file directly from within MatLab
Command line usage
Once you have cloned the repository, cd into Binary-Image-Classifier/src directory:
cd Binary-Image-Classifier/src
Then run the following command:
"C:\<your_local_matlab_path>\matlab.exe" -nodisplay -nosplash -nodesktop -r "run('script.m');"
where C:\<your_local_matlab_path>\matlab.exe is the path to your MatLab executable.
License
- see LICENSE file
Contact
- email: adam@jaamour.com
- website: www.adam.jaamour.com
- twitter: @Adamouization
Owner
- Name: Adam Jaamour
- Login: Adamouization
- Kind: user
- Location: United Kingdom
- Company: @NewDayTechnology
- Website: www.adam.jaamour.com
- Twitter: Adamouization
- Repositories: 43
- Profile: https://github.com/Adamouization
💻 Data Scientist @NewDayTechnology 🧠 MSc AI @ Uni of St Andrews 📓 BSc Computer Science @ Uni of Bath 💼 Former SWE @ Scuderia Alpha Tauri F1 Team
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0