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 decreasing reliability index and failing to detect faces.

Active Publication Date: 2013-03-27
SHANGHAI HEHE INFORMATION TECH DEV
View PDF3 Cites 1 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

[0084] The present invention provides a method for automatically performing rotation correction before the image is saved or browsed. In this method, after the image data is captured by a digital camera or scanned by a scanner, before the image data is saved or displayed for the user to browse, or after the saved image file is opened and the image data is read, the image will be read Before the data is displayed to the user for browsing, the image data is automatically rotated angle detection and automatic rotation correction, so as to ensure that the image that the user sees when browsing the image is rotated and corrected, and the user has to use image browsing tools for manual rotation Correction trouble.

[0085] 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 according to the rotation angle; then save or d...

Embodiment 2

[0121] The difference between this embodiment and the first embodiment is that in this embodiment, the step B includes the following steps:

[0122] B1. Rotate the original image several times;

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

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

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

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

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

[0128] If the converted angle is within the range of (225°, 315°), the required r...

Embodiment 3

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

[0132] Step A: Read the original image data;

[0133] 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 and ends; otherwise, step B is executed;

[0134] Step B. Detect 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 rotation, and record the rotation angle with the highest reliability index as the angle to be rotated;

[0135] Step C: Perform rotation correction on the image according to the detected rotation angle.

[0136] Compared with the first embodiment, this embodiment adds step B'. First, a higher reliability index is set. If the reliability index before rotation reaches the set value, it is consi...

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 Patents(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products