Text this: Image Partitioning Methods in Spatial and Frequency Domain