Image as a Graph
Assuming that we have a grayscale image, we can represent it as a graph where each pixel is a node in the graph, and the edges represent the connections between neighboring pixels. Each node holds the intensity value of the corresponding pixel which can prove to be useful for tasks like image segmentation.

Image as a Graph