Graphs in Image Analysis