Image Graphs

Functions to create and visualize graphs based on image pixel neighbor relationships

You are now following this Submission

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 (2026). Image Graphs (https://in.mathworks.com/matlabcentral/fileexchange/53614-image-graphs), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0