Context-Sensitive Image-Resizing using seam-carving, energy function