Abstract
To reduce the consumption of power and making the handling of display devices easy the manufacturers are reducing the size of the screen. To fit the visual contents into the small screen of display devices without any image deformation development of an efficient image retargeting technique is required. The traditional seam carving technique is widely used to change the aspect ratio of the image. This technique produces the distortions on the prominent line segments when the successive optimal seam starts intersecting at the same location on their structure. In this paper, an improved seam carving technique is proposed which overcomes the limitation of the traditional seam carving technique. The novelty of the proposed technique is to restrict the occurrence of intersection by the optimal seams at the same location on the line structures and bypass them at the nearby locations. To meet this objective the proposed technique performs the energy enhancement operation at the intersection point. To justify the effectiveness of the proposed technique, the obtained results are compared and analyzed using subjective and objective image quality assessment (IQA) methods. In the subjective analysis, the observers provide their opinions about deformations on three quality parameters namely luminance (l), color (c), and structure (s). In the objective assessment, the structural similarity index measure (SSIM) generated various SSIM index values based on these parameters. After the IQA assessment, it is found that the average percentage similarly obtained from the traditional seam carving technique is 64.03% while in the case of the proposed technique it is 70.87%. The high percentage of similarity among all state of art justify the efficiency of the proposed technique.

























Similar content being viewed by others
References
Afshar F, Mansouri A, Zandi M (2017) Image retargeting quality assessment using structural similarity and information preservation rate. In: 2017 10th Iranian conference on machine vision and image processing (MVIP). IEEE, pp 58–63
Andreadis I, Amanatiadis A (2005) Digital image scaling. In: 2005 IEEE instrumentation and measurement technology conference proceedings, vol 3. IEEE, pp 2028–2032
Avidan S, Shamir A (2007) Seam carving for content-aware image resizing. In: ACM SIGGRAPH 2007 papers, pp 10–es
Bansal M, Kumar M, Kumar M, Kumar K (2021) An efficient technique for object recognition using Shi-Tomasi corner detection algorithm. Soft Comput 25(6):4423–4432
Chang CH, Chuang YY (2012, June) A line-structure-preserving approach to image resizing. In: 2012 IEEE conference on computer vision and pattern recognition. IEEE, pp 1075–1082
Chen J, Bai G, Liang S, Li Z (2016) Automatic image cropping: a computational complexity study. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 507–515
Chhabra P, Garg NK, Kumar M (2020) Content-based image retrieval system using ORB and SIFT features. Neural Comput & Applic 32(7):2725–2733
Choi J, Kim C (2016) Sparse seam-carving for structure preserving image retargeting. Journal of Signal Processing Systems 85(2):275–283
Cui J, Cai Q, Lu H, Jia Z, Tang M (2020) Distortion-aware image retargeting based on continuous seam carving model. Signal Process 166:107242
Dong W, Zhou N, Paul JC, Zhang X (2009) Optimized image resizing using seam carving and scaling. ACM Transactions on Graphics (TOG) 28(5):1–10
Dong WM, Bao GB, Zhang XP, Paul JC (2012) Fast multi-operator image resizing and evaluation. J Comput Sci Technol 27(1):121–134
Fan P, Zhou RG, Hu WW, Jing N (2019) Quantum image edge extraction based on Laplacian operator and zero-cross method. Quantum Inf Process 18(1):1–23
Fang Y, Fang Z, Yuan F, Yang Y, Yang S, Xiong NN (2016) Optimized multioperator image retargeting based on perceptual similarity measure. IEEE Transactions on Systems, Man, and Cybernetics: Systems 47(11):2956–2966
Fang Y, Yan J, Liu J, Wang S, Li Q, Guo Z (2017) Objective quality assessment of screen content images by uncertainty weighting. IEEE Trans Image Process 26(4):2016–2027
Gal, R., Sorkine, O., & Cohen-Or, D. (2006). Feature-aware texturing Rendering techniques, 2006 (17th), 2.
Garg A, Negi A (2020) A survey on content aware image resizing methods. KSII Transactions on Internet and Information Systems (TIIS) 14(7):2997–3017
Garg A, Negi A (2020) Structure preservation in content-aware image retargeting using multi-operator. IET Image Process 14(13):2965–2975
Garg D, Garg NK, Kumar M (2018) Underwater image enhancement using blending of CLAHE and percentile methodologies. Multimed Tools Appl 77(20):26545–26561
Garg A, Negi A, Jindal P (2021) Structure preservation of image using an efficient content-aware image retargeting technique. Signal, Image and Video Processing 15(1):185–193
Guo Y, Hao Y, Yu M (2018) Image retargeting quality assessment based on content deformation measurement. Signal processing: image communication 67:171–181
Han D (2005) Real-time digital image warping for display distortion correction. In: International conference image analysis and recognition. Springer, Berlin, Heidelberg, pp 1258–1265
Hashemzadeh M, Asheghi B, Farajzadeh N (2019) Content-aware image resizing: an improved and shadow-preserving seam carving method. Signal Process 155:233–246
Hore A, Ziou D (2010) Image quality metrics: PSNR vs. SSIM. In: 2010 20th international conference on pattern recognition. IEEE, pp 2366–2369
Hu W, Luo Z, Fan X (2014) Image retargeting via adaptive scaling with geometry preservation. IEEE Journal on Emerging and Selected Topics in Circuits and Systems 4(1):70–81
Huo L, Jiao L, Wang S, Yang S (2016) Object-level saliency detection with color attributes. Pattern Recogn 49:162–173
Israni S, Jain S (2016) Edge detection of license plate using Sobel operator. In: 2016 international conference on electrical, electronics, and optimization techniques (ICEEOT). IEEE, pp 3561–3563
Jiang W, Xu H, Chen G, Zhao W, Xu W (2009) An improved edge-adaptive image scaling algorithm. In: 2009 IEEE 8th international conference on ASIC. IEEE, pp 895–897
Kiess J, Kopf S, Guthier B, Effelsberg W (2010) Seam carving with improved edge preservation. In: Multimedia on Mobile devices 2010, vol 7542. International Society for Optics and Photonics, p 75420G
Kiess J, Guthier B, Kopf S, Effelsberg W (2012) SeamCrop for image retargeting. In: Multimedia on Mobile devices 2012; and multimedia content access: algorithms and systems VI, vol 8304. International Society for Optics and Photonics, p 83040K
Kiess J, Kopf S, Guthier B, Effelsberg W (2018) A survey on content-aware image and video retargeting. ACM Transactions on Multimedia Computing, Communications, and Applications (TOMM) 14(3):1–28
Kim CH, Seong SM, Lee JA, Kim LS (2003) Winscale: an image-scaling algorithm using an area pixel model. IEEE Transactions on circuits and systems for video technology 13(6):549–553
Kopf S, Guthier B, Lemelson H, Effelsberg W (2009) Adaptation of web pages and images for Mobile applications. In: Multimedia on mobile devices 2009, vol 7256. International Society for Optics and Photonics, p 72560C
Krähenbühl P, Lang M, Hornung A, Gross M (2009) A system for retargeting of streaming video. In: ACM SIGGRAPH Asia 2009 papers, pp 1–10
Kumar M, Chhabra P, Garg NK (2018) An efficient content based image retrieval system using BayesNet and K-NN. Multimed Tools Appl 77(16):21557–21570
Kumar A, Kumar M, Kaur A (2021) Face detection in still images under occlusion and non-uniform illumination. Multimed Tools Appl 80(10):14565–14590
Liang Y, Liu YJ, Luo XN, Xie L, Fu X (2012a) Optimal-scaling-factor assignment for patch-wise image retargeting. IEEE Comput Graph Appl 33(5):68–78
Liang Y, Su Z, Luo X (2012b) Patchwise scaling method for content-aware image resizing. Signal Process 92(5):1243–1257
Liang Y, Liu YJ, Gutierrez D (2016) Objective quality prediction of image retargeting algorithms. IEEE Trans Vis Comput Graph 23(2):1099–1110
Liu F, Gleicher M (2005) Automatic image retargeting with fisheye-view warping. In: Proceedings of the 18th annual ACM symposium on user interface software and technology, pp 153–162
Liu Z, Yan H, Shen L, Ngan KN, Zhang Z (2010) Adaptive image retargeting using saliency-based continuous seam carving. Opt Eng 49(1):017002
Mohammadi, P., Ebrahimi-Moghadam, A., & Shirani, S. (2014). Subjective and objective quality assessment of image: a survey . arXiv preprint arXiv:1406.7799.
Muñoz A, Blu T, Unser M (2001) Least-squares image resizing using finite differences. IEEE Trans Image Process 10(9):1365–1378
Othman Z, Abdullah A (2017) An adaptive threshold based on multiple resolution levels for canny edge detection. In: International conference of reliable information and communication technology. Springer, Cham, pp 316–323
Palubinskas G (2017) Image similarity/distance measures: what is really behind MSE and SSIM? Int J Image Data Fusion 8(1):32–53
Panozzo, D., Weber, O., & Sorkine, O. (2012). Robust image retargeting via axis-aligned deformation. In Computer Graphics Forum (Vol. 31, No. 2pt1, pp. 229–236). Oxford, UK: Blackwell Publishing Ltd.
Patel D, Raman S (2018) Object proposals-based significance map for image retargeting. In: Proceedings of 2nd international conference on Computer Vision & Image Processing. Springer, Singapore, pp 89–101
Patel D, Raman S (2019) Accelerated seam carving for image retargeting. IET Image Process 13(6):885–895
Pritch Y, Kav-Venaki E, Peleg S (2009) Shift-map image editing. In: 2009 IEEE 12th international conference on computer vision. IEEE, pp 151–158
Qi S, Chi YTJ, Peter AM, Ho J (2016) CASAIR: content and shape-aware image retargeting and its applications. IEEE Trans Image Process 25(5):2222–2232
Rubinstein M, Shamir A, Avidan S (2009) Multi-operator media retargeting. ACM Transactions on Graphics (TOG) 28(3):1–11
Rubinstein M, Gutierrez D, Sorkine O, Shamir A (2010) A comparative study of image retargeting. In: ACM SIGGRAPH Asia 2010 papers, pp 1–10
Sara U, Akter M, Uddin MS (2019) Image quality assessment through FSIM, SSIM, MSE and PSNR—a comparative study. Journal of Computer and Communications 7(3):8–18
Senturk ZK, Akgun D (2019) Seam carving based image retargeting: a survey. In: 2019 1st international informatics and software engineering conference (UBMYK). IEEE, pp 1–6
Setlur V, Takagi S, Raskar R, Gleicher M, Gooch B (2005) Automatic image retargeting. In: Proceedings of the 4th international conference on Mobile and ubiquitous multimedia, pp 59–68
Shafieyan F, Karimi N, Mirmahboub B, Samavi S, Shirani S (2017) Image retargeting using depth assisted saliency map. Signal Process Image Commun 50:34–43
Shamir A, Avidan S (2009) Seam carving for media retargeting. Commun ACM 52(1):77–85
Shi Z, Yao S, Zhao Y (2008) A novel video image scaling algorithm based on morphological edge interpolation. In: 2008 international conference on neural networks and signal processing. IEEE, pp 388–391
Suh B, Ling H, Bederson BB, Jacobs DW (2003) Automatic thumbnail cropping and its effectiveness. In: Proceedings of the 16th annual ACM symposium on user interface software and technology, pp 95–104
Tomaszewska AL (2016) Scene reduction for subjective image quality assessment. Journal of Electronic Imaging 25(1):013015
Tsai YJ, Lin HJ, Li YS (2013) A straight line preserving seam carving technique. In: Applied mechanics and materials (Vol. 385, pp. 1453-1456). Trans Tech Publications Ltd
Vaquero D, Turk M, Pulli K, Tico M, Gelfand N (2010) A survey of image retargeting techniques. In: Applications of digital image processing XXXIII (Vol. 7798, p. 779814). International Society for Optics and Photonics
Wang YS, Tai CL, Sorkine O, Lee TY (2008) Optimized scale-and-stretch for image resizing. In: ACM SIGGRAPH Asia 2008 papers, pp 1–8
Wu L, Cao L, Xu M, Wang J (2014) A hybrid image retargeting approach via combining seam carving and grid warping. J Multimed 9(4):483
Xuan L, Hong Z (2017) An improved canny edge detection algorithm. In: 2017 8th IEEE international conference on software engineering and service science (ICSESS). IEEE, pp 275–278
Yan B, Li K, Yang X, Hu T (2014) Seam searching-based pixel fusion for image retargeting. IEEE Transactions on Circuits and Systems for Video Technology 25(1):15–23
Yang, L., Liu, S., & Salvi, M. (2020). A survey of temporal antialiasing techniques. In Computer graphics forum (Vol. 39, no. 2, pp. 607-621).
Zeng H, Li L, Cao Z, Zhang L (2019) Reliable and efficient image cropping: a grid anchor based approach. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp 5949–5957
Zhai G, Min X (2020) Perceptual image quality assessment: a survey. SCIENCE CHINA Inf Sci 63(11):211301
Zhang L, Li K, Ou Z, Wang F (2017a) Seam warping: a new approach for image retargeting for small displays. Soft Comput 21(2):447–457
Zhang Y, Sun Z, Jiang P, Huang Y, Peng J (2017b) Hybrid image retargeting using optimized seam carving and scaling. Multimed Tools Appl 76(6):8067–8085
Zhou B, Wang X, Cao S, Xiang K, Zhao S (2016) Optimal bi-directional seam carving for compressibility-aware image retargeting. J Vis Commun Image Represent 41:21–30
Zhou RG, Yu H, Cheng Y, Li FX (2019) Quantum image edge extraction based on improved Prewitt operator. Quantum Inf Process 18(9):1–24
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Garg, A., Nayyar, A. & Singh, A.K. Improved seam carving for structure preservation using efficient energy function. Multimed Tools Appl 81, 12883–12924 (2022). https://doi.org/10.1007/s11042-022-12003-1
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-022-12003-1