Skip to content

Latest commit

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Leaf Morphometric Image Processing (MATLAB)

This repository contains a MATLAB-based image processing project focused on leaf segmentation and morphometric analysis. The work was completed as part of the MOD002643 – Image Processing module at Anglia Ruskin University and is shared here for portfolio and educational demonstration purposes.


Project Overview

The project implements a complete image processing pipeline to analyse leaf images captured under natural lighting conditions. A reference coin is used for scale calibration, enabling real-world morphometric measurements.

Key objectives include:

  • Accurate segmentation of leaf and coin objects
  • Noise removal using morphological operations
  • Feature extraction and quantitative analysis
  • Visual annotation of results
  • Extension to multi-leaf image analysis

Methods & Techniques

The following techniques were used throughout the project:

  • Colour-based segmentation (HSV colour space)
  • Morphological operations (opening, closing, hole filling, area filtering)
  • Binary mask refinement
  • Boundary extraction and visual overlays
  • RGB histogram analysis
  • Centroid and Green Leaf Index (GLI) calculation
  • Morphometric measurements (area, perimeter, major/minor axes in mm)
  • Multi-leaf analysis with object labelling and ranking

Tasks Implemented

TaskDescription
Task CHSV thresholding to isolate leaf and coin
Task DMorphological cleaning of binary masks
Task ENormalised RGB histogram analysis
Task FBoundary detection and annotation
Task GCentroid, medoid, and GLI calculation
Task HMorphometric measurements using scale calibration
Task IMulti-leaf detection, labelling, and ranking

Repository Structure

├── code/ # MATLAB scripts (.m / .mat)
├── input-images/ # Original captured images
├── output-images/ # Results for each task (C–I)
├── figures/ # Annotated visual outputs
├── README.md
└── LICENSE

Usage & License Notice

This project was completed as part of academic coursework for
MOD002643 – Image Processing at Anglia Ruskin University.

The contents of this repository (including source code, images, and outputs) are provided for educational and portfolio demonstration purposes only.

❌ Copying, reusing, modifying, or submitting this code (in part or in full) for academic assessment, coursework, commercial use, or redistribution is strictly prohibited without explicit written permission from the author.

© 2025 Alif Sathar. All rights reserved.

About

MATLAB-based image processing project for leaf segmentation, morphometric analysis, and multi-leaf feature extraction using HSV thresholding and morphological operations.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages