IP Library › Granted Patent US 12,591,957
Granted Patent B2
US 12,591,957 · App. 18/343,589 · Granted Mar 31, 2026

Method and electronic device for tilt correction of video

Inventors: Debi Prasanna Mohanty (Karnataka, IN); Sukumar Moharana (Karnataka, IN); Siddhant Garg (Karnataka, IN); Kadaru Sai Ravi Teja (Karnataka, IN); Siva Prasad Thota (Karnataka, IN); Vanraj Vala (Karnataka, IN); Dwaraka Bhamidipati Sreevatsa (Karnataka, IN)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
G06T5/80G06T3/60G06T5/50G06T7/70G06T2207/10016G06T2207/20081G06T2207/20132G06T2207/30168
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,591,957
App. No.
18/343,589
Granted
Mar 31, 2026
Kind
B2
Abstract

A method for tilt correction of a video by an electronic device. The method may include receiving a user selection of the video. The method may include identifying a sequence of image frames of the video representing a scene in the video. The method may include determining a degree of tilt in each image frame of the sequence of image frames. The method may include determining whether cause of tilt in the sequence of image frames is un-intentional by analyzing the degree of tilt in each image frame using a trained Artificial Intelligence (AI) model. The method may include performing the tilt correction on the sequence of image frames based on the cause of tilt being un-intentional.

Claims (79)

1 . A method for tilt correction of a video by an electronic device, the method comprising:

receiving a user selection of the video;

identifying a sequence of image frames of the video representing a scene in the video;

determining a degree of tilt in each image frame of the sequence of image frames;

determining whether the degree of tilt in each image frame meets a first threshold condition using a trained Artificial Intelligence (AI) model;

determining that cause of tilt in the sequence of image frames is un-intentional based on the degree of tilt in each image frame meeting the first threshold condition; and

performing the tilt correction on the sequence of image frames based on the cause of tilt being un-intentional.

2 . The method as claimed in claim 1 , wherein performing the tilt correction on the sequence of image frames, comprises:

estimating a tilt angle of each image frame for maximum tilt correction at each image frame;

determining a tilt angle deviation of each image frame, wherein the tilt angle deviation of an image frame of the sequence of image frames is an absolute value of difference between the tilt angle of the image frame and a mean of the tilt angles of the image frame and an adjacent image frame of the sequence of image frames;

estimating a pixel shift and loss in each image frame and a region to crop on each image frame based on the tilt angle deviation and the tilt angle;

determining a target tilt correction required for each image frame based on the pixel shift and loss;

applying the target tilt correction, and at least one of cropping and out-painting on the determined region of each image frame;

stitching each tilt corrected image frame to rebuild the scene; and

generating a video at least by sequentially joining stitched image frames.

3 . The method as claimed in claim 2 , wherein estimating the tilt angle of each image frame for the maximum tilt correction at each image frame, comprises:

predicting a range of possible tilt angles of each image frame using a trained self-attention model; and

determining the tilt angle at least by determining a weighted mean of the predicted tilt angles with a standard deviation of zero or a larger value.

4 . The method as claimed in claim 3 , wherein a self-attention model is trained for tilt angle prediction at least by:

determining a range of possible tilt angles of training image frames based on relative position of objects in the training image frames, relevance of the objects, and relationship between the objects;

generating training data using the range of possible tilt angles;

generating an output vector with distributed probability at least by performing multi-label training on the training data; and

training the self-attention model with the output vector using a sigmoid activation for tilt angle prediction.

5 . The method as claimed in claim 2 , wherein estimating the pixel shift and loss in each image frame and the region to crop on each image frame based on the tilt angle deviation and the tilt angle, comprises:

identifying a minimum tilt angle of the sequence of image frames based on the tilt angle of each image frame;

determining a mean tilt angle deviation of the sequence of image frames based on the tilt angle deviation of each image frame;

determining whether the minimum tilt angle is greater than the mean tilt angle deviation;

performing at least one of:

setting the mean tilt angle deviation to the minimum tilt angle, and estimating an angle to correct tilt of each image frame, based on the minimum tilt angle being greater than the mean tilt angle deviation, and

estimating the angle to correct tilt of each image frame, based on the minimum tilt angle being not greater than the mean tilt angle deviation; and

determining the region to crop on each image frame based on the mean tilt angle deviation, wherein the target tilt correction is with minimum pixel shift and loss.

6 . The method as claimed in claim 5 , wherein estimating the angle to correct tilt of each image frame, comprises:

determining whether the tilt angle of an image frame of the sequence of image frames is one of equal to zero, smaller than or equal to mean tilt angle deviation, and greater than then mean tilt angle deviation; and

performing at least one of:

estimating the angle to correct tilt of the image frame as zero, based on the tilt angle of the image frame being equal to zero,

estimating the angle to correct tilt of the image frame as the tilt angle, based on the tilt angle of the image frame being smaller than or equal to the mean tilt angle deviation, and

estimating the angle to correct tilt of the image frame as the mean tilt angle deviation, based on the tilt angle of the image frame being greater than the mean tilt angle deviation.

7 . The method as claimed in claim 2 , wherein estimating the pixel shift and loss in each image frame and the region to crop on each image frame based on the tilt angle deviation and the tilt angle, comprises:

identifying a maximum tilt angle of the sequence of image frames based on the tilt angle of each image frame;

determining a mean tilt angle deviation of the sequence of image frames based on the tilt angle deviation of each image frame;

determining whether the tilt angle of an image frame of the sequence of image frames is one of equal to zero, and smaller than or equal to the maximum tilt angle;

performing at least one of:

estimating the angle to correct tilt of the image frame as zero, based on the tilt angle of the image frame being equal to zero, and

estimating the angle to correct tilt of the image frame as the tilt angle, based on the tilt angle of the image frame being smaller than or equal to the maximum tilt angle; and

determining the region to crop on each image frame based on the mean tilt angle deviation, wherein the target tilt correction is with maximum pixel shift and loss.

8 . The method as claimed in claim 2 , wherein determining the target tilt correction required for each image frame based on the pixel shift and loss, comprises:

determining whether a maximum tilt angle and a mean tilt angle deviation of the sequence of image frames meet a second threshold condition based on the pixel shift and loss; and

performing at least one of:

the target tilt correction with maximum pixel shift and loss, based on the maximum tilt angle and the mean tilt angle deviation of the sequence of image frames meeting the second threshold condition, and

the target tilt correction with minimum pixel shift and loss, based on the maximum tilt angle and the mean tilt angle deviation of the sequence of image frames do not meeting the second threshold condition.

9 . The method as claimed in claim 2 , wherein applying the target tilt correction and cropping to each image frame on the determined region of each image frame, comprises:

rotating each image frame based on an estimated angle to correct tilt of the image frame; and

cropping the determined region on each image frame based on the mean tilt angle deviation.

10 . The method as claimed in claim 2 , wherein applying at least one of cropping and out-painting on the determined region of each image frame, comprises:

determining whether a region to crop on each image frame meets a third threshold condition; and

performing at least one of:

cropping the sequence of image frames, based on the region to crop on each image not meeting the third threshold condition, and

cropping and out-painting the sequence of image frames, based on the region to crop on each image meeting the third threshold condition.

11 . An electronic device for tilt correction of a video, comprises:

a memory;

at least one processor comprising processor circuitry;

a tilt correction controller comprising processing circuitry, coupled to the memory and the at least one processor, the tilt correction controller configured for:

receiving a user selection of the video,

identifying a sequence of image frames of the video representing a scene in the video,

determining a degree of tilt in each image frame of the sequence of image frames,

determining whether the degree of tilt in each image frame meets a first threshold condition using a trained Artificial Intelligence (AI) model;

determining that cause of tilt in the sequence of image frames is un-intentional based on the degree of tilt in each image frame meeting the first threshold condition; and

performing the tilt correction on the sequence of image frames based on the cause of tilt being un-intentional.

12 . The electronic device as claimed in claim 11 , wherein performing the tilt correction on the sequence of image frames, comprises:

estimating a tilt angle of each image frame for maximum tilt correction at each image frame;

determining a tilt angle deviation of each image frame, wherein the tilt angle deviation of an image frame of the sequence of image frames is an absolute value of difference between the tilt angle of the image frame and a mean of the tilt angles of the image frame and an adjacent image frame of the sequence of image frames;

estimating a pixel shift and loss in each image frame and a region to crop on each image frame based on the tilt angle deviation and the tilt angle;

determining a target tilt correction required for each image frame based on the pixel shift and loss;

applying the target tilt correction, and at least one of cropping and out-painting on the determined region of each image frame;

stitching each tilt corrected image frame to rebuild the scene; and

generating a video at least by sequentially joining stitched image frames.

13 . The electronic device as claimed in claim 12 , wherein estimating the tilt angle of each image frame for the maximum tilt correction at each image frame, comprises:

predicting a range of possible tilt angles of each image frame using a trained self-attention model; and

determining the tilt angle at least by determining a weighted mean of the predicted tilt angles with a standard deviation of zero or a larger value.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 28, 2023
From: MOHANTY, DEBI PRASANNA; MOHARANA, SUKUMAR; GARG, SIDDHANT; TEJA, KADARU SAI RAVI; THOTA, SIVA PRASAD; VALA, VANRAJ; SREEVATSA, DWARAKA BHAMIDIPATI
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 064102/0289 →
Priority Claims (1)
IN 202241030409 · May 27, 2022 · national
Continuity (2)
Continuation PCTKR2023006462 · May 12, 2023
Related Publication 20230385997A1 · Nov 30, 2023
References Cited (39)
US 7305146B2 · Cheatle · 2007 [cited by applicant]
US 7893963B2 · Gallagher · 2011 [cited by examiner]
US 8422788B2 · Demandolx et al. · 2013 [cited by applicant]
US 10147199B2 · Demarty · 2018 [cited by examiner]
US 11341605B1 · Singh · 2022 [cited by examiner]
US 11837023B2 · Toizumi · 2023 [cited by examiner]
US 20030016883A1 · Baron · 2003 [cited by applicant]
US 20070297694A1 · Kurata · 2007 [cited by examiner]
US 20080008378A1 · Andel · 2008 [cited by examiner]
US 20110149094A1 · Chen · 2011 [cited by examiner]
US 20110193978A1 · Wu · 2011 [cited by examiner]
US 20140085493A1 · Petrescu et al. · 2014 [cited by applicant]
US 20140140609A1 · Krishnaswamy · 2014 [cited by examiner]
US 20140212052A1 · Wei · 2014 [cited by applicant]
US 20140355895A1 · Xu et al. · 2014 [cited by applicant]
US 20150358551A1 · Chen et al. · 2015 [cited by applicant]
US 20190325593A1 · Tokimitsu · 2019 [cited by examiner]
US 20200162770A1 · Pavetic · 2020 [cited by examiner]
US 20200302247A1 · Immel · 2020 [cited by examiner]
US 20200335067A1 · Mavridis · 2020 [cited by examiner]
US 20200363815A1 · Mousavian · 2020 [cited by examiner]
US 20210027434A1 · Sheridan · 2021 [cited by examiner]
US 20210063200A1 · Kroepfl · 2021 [cited by examiner]
US 20210195119A1 · Omata et al. · 2021 [cited by applicant]
US 20210407045A1 · Mironica · 2021 [cited by examiner]
US 20220108542A1 · Zhang · 2022 [cited by examiner]
US 20220156885A1 · Jiang · 2022 [cited by examiner]
US 20230386622A1 · Needham · 2023 [cited by examiner]
US 20240040250A1 · Shi · 2024 [cited by examiner]
EP 0649256B1 · 2007 [cited by applicant]
EP 2999210A1 · 2016 [cited by applicant]
JP 2011090437A · 2011 [cited by applicant]
JP 2021100238A · 2021 [cited by applicant]
WO WO2008057841A1 · 2008 [cited by applicant]
International Search Report dated Aug. 17, 2023 for PCT/KR2023/006462. [cited by applicant]
Written Opinion dated Aug. 17, 2023 for PCT/KR2023/006462. [cited by applicant]
Siddhant Garg et al., ‘A Simple Approach to Image Tilt Correction with Self-Attention MobileNet for Smartphones’, arXiv:2111.00398v1, pp. 1-13, Oct. 31, 2021. [cited by applicant]
Extended European Search Report dated Feb. 27, 2025 for EP Application No. 23812044.8. [cited by applicant]
Indian Examination Report dated Jun. 6, 2025 issued in Indian Patent Application No. 202241030409, 8 pp. [cited by applicant]