Conversion of color graph image into gray scale graph image using mathematical morphology operators in hypergraph theory