Seam carving technique for content aware image resizing and object deletion