Rescaling an image to a different aspect ratio is often achieved via letter boxing, cropping or stretching, but none of these approaches are perfect. For large changes in aspect ratios, letter boxing looks inelegant, stretching distorts image contents and cropping causes outright loss of information. Avidan and Shamir’s paper titled, “Seam carving for content-aware image …
Continue reading “Implementing seam carving (liquid rescaling) in OpenCL”