Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image rotation correction method and system and electronic device

A technology of image rotation and correction method, which is applied in the field of image processing and can solve the problems of declining reliability index and failing to detect faces.

Active Publication Date: 2010-02-03
SHANGHAI HEHE INFORMATION TECH DEV
View PDF1 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For such a face detection algorithm, with a rotation angle of 90 degrees, 180 degrees, or 270 degrees such as Figure 2-2 to Figure 2-4 In the photos of people shown, no face can be detected, or the reliability index of detection will be greatly reduced

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image rotation correction method and system and electronic device
  • Image rotation correction method and system and electronic device
  • Image rotation correction method and system and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0082] The present invention proposes a method for automatically performing rotation correction before image saving or viewing. In this method, after the image data is obtained by shooting with a digital camera or scanned by a scanner, before saving the image data or displaying the image data for the user to browse, or after opening the saved image file and reading the image data, the read image Before the data is displayed to the user for browsing, automatic rotation angle detection and automatic rotation correction are performed on the image data, so as to ensure that the image that the user sees when browsing the image has been rotated and corrected, reducing the need for the user to manually rotate with the image browsing tool Calibration hassle.

[0083] see image 3 The image rotation correction method disclosed in the present invention can detect the rotation angle of the image data before saving or browsing the image, and perform rotation correction on the image data ...

Embodiment 2

[0119] The difference between this embodiment and Embodiment 1 is that in this embodiment, the step B includes the following steps:

[0120] B1. Rotate the original image several times respectively;

[0121] B2. Calculate the reliability index of the image before rotation and each image after rotation in step B1;

[0122] B3. After the rotation angle with the highest reliability index is converted into an angle of [0°, 360°]:

[0123] If the converted angle is within the range of [0°, 45°] or [315°, 360°], the rotation angle needs to be set to 0°;

[0124] If the converted angle is within the range of (45°, 135°), the required rotation angle is set to 90°, and the required rotation direction is the rotation direction of step B1;

[0125] If the converted angle is within the range of [135°, 225°], the required rotation angle is set to 180°, and the required rotation direction is the rotation direction of step B1;

[0126] If the converted angle is within the range of (225°, ...

Embodiment 3

[0129] The difference between this embodiment and Embodiment 1 is that in this embodiment, the image rotation correction method includes the following steps:

[0130] Step A, read the original image data;

[0131] Step B', calculate the reliability index before rotation, if the reliability index reaches the set value, it is considered that the image does not need to be rotated, end; otherwise, execute step B;

[0132] Step B, detecting the rotation angle of the image data: rotate the image multiple times, calculate the reliability index of the image before rotation and the image after each rotation, and record the rotation angle with the highest reliability index as the angle to be rotated;

[0133] Step C, perform rotation correction on the image according to the detected rotation angle.

[0134] Compared with Embodiment 1, this embodiment adds step B', first setting a higher value of the reliability index, if the reliability index before rotation reaches the set value, it is ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an image rotation correction method and a system and an electronic device. The image rotation correction method carries out the following steps before storing or browsing images: A: reading original image data; B. detecting the rotation angle of the image data: rotating images several times, calculating the reliability indices of the image before rotation and the images after each rotation, and marking the rotation angle whose reliability index is highest as the needed rotation angle, wherein, the rotation angle is the relative angle of the original image and image during normal checking; and C. according to detected rotation angle, carrying out rotation correction on the image. The invention utilizes the technologies in the fields of image processing, mode identification and the like to automatically detect the rotation angle and correct the rotation of the image data before storing or displaying the image data to a user to browse, thus ensuring that the user can see the image which is treated by rotation correction when browsing images and reduces the trouble for users to manually correct with an image browsing tool.

Description

technical field [0001] The present invention belongs to the technical field of image processing, and relates to an image processing method, in particular to an image rotation correction method; at the same time, the present invention also relates to an image rotation correction system; in addition, the present invention also relates to an image rotation correction system including the above-mentioned system electronics. Background technique [0002] In recent years, the application of digital imaging devices such as digital cameras and scanners has become more and more extensive. At present, the built-in digital cameras have become the standard configuration of mobile devices such as mobile phones. These digital imaging devices are often used to scan or take various pictures including text images, people images, and landscape photos. Due to different scanning or shooting habits, shooting angles, viewing requirements, etc., the digital image obtained by scanning or shooting ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T3/60H04N1/387
Inventor 朱林
Owner SHANGHAI HEHE INFORMATION TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products