Image Graphs

Functions to create and visualize graphs based on image pixel neighbor relationships
6.6K Downloads
Updated 16 Nov 2015

View License

Image Graphs is a collection of several functions to make and visualize graphs based on pixel neighbor relationships in an image. The functions imageGraph and imageGraph3 make graphs containing one node for every pixel in an image. The functions binaryImageGraph and binaryImageGraph3 make graphs containing one node for every foreground pixel in a binary image. The function adjacentRegionGraphs produces a graph from a label matrix. Edges in the graph represent adjacent labeled regions. The function plotImageGraph visualizes graphs produced by imageGraph and binaryImageGraph.
Image Graphs uses the graph functionality introduced in MATLAB R2015b.

Cite As

Steve Eddins (2024). Image Graphs (https://www.mathworks.com/matlabcentral/fileexchange/53614-image-graphs), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0