A Computational Geometric And Graph Theoretic Approach To Reducing Dimensionality On Raster Data Problems