TR2007-087

Seam Carving for Content-Aware Image Resizing


    •  Avidan, S., Shamir, A., "Seam Carving for Content-Aware Image Resizing", ACM Transactions on Graphics (TOG), , Vol. 26, No. 3, July 2007.
      BibTeX TR2007-087 PDF
      • @article{Avidan2007jul,
      • author = {Avidan, S. and Shamir, A.},
      • title = {Seam Carving for Content-Aware Image Resizing},
      • journal = {ACM Transactions on Graphics (TOG)},
      • year = 2007,
      • volume = 26,
      • number = 3,
      • month = jul,
      • issn = {0730-0301},
      • url = {https://www.merl.com/publications/TR2007-087}
      • }
  • MERL Contact:
  • Research Area:

    Computer Vision

TR Image
Aspect ratio change of pictures of the Japanese master Utagawa Hiroshige. In both examples the original image is widened by seam insertion.

Effective resizing of images should not only use geometric constraints, but consider the image content as well. We present a simple image operator called seam carving that supports content-aware image resizing for both reduction and expansion. A seam is an optimal 8-connected path of pixels on a single image from top to bottom, or left to right, where optimality is defined by an image energy function. By repeatedly carving out or inserting seams in one direction we can change the aspect ratio of an image. By applying these operators in both directions we can retarget the image to a new size. The selection and order of seams protect the content of the image, as defined by the energy function. Seam carving can also be used for image content enhancement and object removal. We support various visual saliency measures for defining the energy of an image, and can also include user input to guide the process. By storing the order of seams in an image we create multi-size images, that are able to continuously change in real time to fit a given size.

 

  • Related News & Events

    •  NEWS   ACM Transactions on Graphics (TOG): 6 publications by Ashok Veeraraghavan, Jay Thornton, Amit Agrawal, John Barnwell and others
      Date: July 15, 2007
      Where: ACM Transactions on Graphics (TOG)
      MERL Contact: Jay Thornton
      Brief
      • The articles "Prakash: Lighting Aware Motion Capture using Photosensing Markers and Multiplexed Illuminators" by Raskar, R., Nii, H., deDecker, B., Hashimoto, Y., Summet, J., Moore, D., Zhao, Y., Westhues, J., Dietz, P., Barnwell, J., Nayar, S., Inami, M., Bekaert, P., Noland, M., Branzoi, V. and Bruns, E., "Dappled Photography: Mask Enhanced Cameras for Heterodyned Light Fields and Coded Aperture Refocusing" by Veeraraghavan, A., Raskar, R., Agrawal, A., Mohan, A. and Tumblin, J., "Seam Carving for Content-Aware Image Resizing" by Avidan, S. and Shamir, A., "Factored Time-Lapse Video" by Sunkavalli, K., Matusik, W., Pfister, H. and Rusinkiewicz, S., "Post-production Facial Performance Relighting using Reflectance Transfer" by Peers, P., Tamura, N., Matusik, W. and Debevec, P. and "Multi-scale Capture of Facial Geometry and Motion" by Bickel, B., Botsch, M., Angst, R., Matusik, W., Otaduy, M., Pfister, H. and Gross, M. were published in ACM Transactions on Graphics (TOG)
    •