A NOVEL IMAGE SEGMENTATION AND CONTOUR DETECTION METHOD USING SUPER PIXEL AND MODULARITY