IP Library › Granted Patent US 10,582,085
Granted Patent B2
US 10,582,085 · App. 16/183,147 · Granted Mar 3, 2020

Method and device for image processing, and apparatus for image formation

Inventor: Yangxiao Ma (Zhuhai, CN)
Assignee: ZHUHAI SEINE TECHNOLOGY CO., LTD.
H04N1/3878H04N1/00718H04N1/00774H04N1/405
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 10,582,085
App. No.
16/183,147
Granted
Mar 3, 2020
Kind
B2
Abstract

Method, device, and storage medium for image processing, and apparatus for image formation are provided. The method includes obtaining original image data and detecting a tilt angle of an image according to the original image data. The method also includes performing a binarization processing on the original image data to obtain binarized image data. The binarization processing and detecting the tilt angle are performed in parallel. Further, the method includes performing a rotation correction on the binarized image data according to the detected tilt angle.

Claims (62)

1. A method for image processing, comprising:

obtaining original image data, the original image data including a plurality of Band data generated by an image reader, wherein each of the plurality of Band data corresponds to a scanning row;

detecting a tilt angle of an image according to the original image data, wherein detecting the tilt angle of the image includes identifying a boundary of the image according to the original image data and identifying an image area according to the boundary of the image;

performing a binarization processing on the original image data to obtain binarized image data, wherein the binarization processing and detecting the tilt angle are performed in parallel; and

performing a rotation correction on the binarized image data according to the detected tilt angle, so that a rotated binarized image data corresponding to the binarized image data is generated based on the detected tilt angle.

2. The method according to claim 1 , wherein detecting the tilt angle of the image includes:

based on the image area corresponding to the original image data, detecting the tilt angle of the image.

3. The method according to claim 2 , wherein performing the binarization processing includes:

according to the image area corresponding to the original image data, identifying and obtaining an image area corresponding to the binarized image data; and

according to the image area corresponding to the binarized image data, finding out an image area corresponding to the binarized image data after a background removal.

4. The method according to claim 1 , wherein detecting the tilt angle of the image according to the original image data includes:

obtaining coordinates of two data points from a same boundary of the image; and

calculating the tilt angle of the image using the coordinates of the two data points.

5. The method according to claim 1 , wherein performing the binarization processing on the original image data includes:

converting the original image data into the binarized image data using one of a threshold matrix algorithm and an error-diffusion algorithm.

6. The method according to claim 1 , wherein:

the original image data is M-bit data, and the binarized image data is N-bit data, wherein M and N are positive integers, and M is greater than N.

7. The method according to claim 1 , wherein:

the image includes a plurality of data blocks, and

detecting the tilt angle of the image further includes:

calculating an average value of pixel values of pixels in each data block;

calculating a mean square deviation of a pixel value of each pixel and the average value in the each data block;

calculating an average value of a sum of mean square deviations in each data block;

determining whether the average value of the sum of the mean square deviations in each data block is greater than a threshold value; and

assigning a pixel value of one of 0 and 255 to a corresponding data block according to a determination result.

8. A device for image processing, comprising:

a memory, storing program instructions for a method for image processing; and

one or more processors, coupled to the memory and, when executing the program instructions, configured to:

obtain original image data, the original image data including a plurality of Band data generated by an image reader, wherein each of the plurality of Band data corresponds to a scanning row;

detect a tilt angle of an image according to the original image data, wherein detecting the tilt angle of the image includes identifying a boundary of the image according to the original image data and identifying an image area according to the boundary of the image;

perform a binarization processing on the original image data to obtain binarized image data, wherein the binarization processing and detecting the tilt angle are performed in parallel; and

perform a rotation correction on the binarized image data according to the detected tilt angle, so that a rotated binarized image data corresponding to the binarized image data is generated based on the detected tilt angle.

9. The device according to claim 8 , wherein the one or more processors are further configured to:

based on the image area corresponding to the original image data, detect the tilt angle of the image.

10. The device according to claim 9 , wherein the one or more processors are further configured to:

according to the image area corresponding to the original image data, identify and obtain an image area corresponding to the binarized image data; and

according to the image area corresponding to the binarized image data, find out an image area corresponding to the binarized image data after a background removal.

11. The device according to claim 8 , wherein the one or more processors are further configured to:

obtain coordinates of two data points from a same boundary of the image; and

calculate the tilt angle of the image using the coordinates of the two data points.

12. The device according to claim 8 , wherein the one or more processors are further configured to:

convert the original image data into the binarized image data using one of a threshold matrix algorithm and an error-diffusion algorithm.

13. The device according to claim 8 , wherein:

the original image data is M-bit data, and the binarized image data is N-bit data, wherein M and N are positive integers, and M is greater than N.

14. An apparatus for image formation, comprising the device for image processing according to claim 8 .

15. A non-transitory computer readable storage medium containing computer-executable program instructions for, when executed by a processor, performing a method for image processing, the method comprising:

obtaining original image data, the original image data including a plurality of Band data generated by an image reader, wherein each of the plurality of Band data corresponds to a scanning row;

detecting a tilt angle of an image according to the original image data, wherein detecting the tilt angle of the image includes identifying a boundary of the image according to the original image data and identifying an image area according to the boundary of the image;

performing a binarization processing on the original image data to obtain binarized image data, wherein the binarization processing and detecting the tilt angle are performed in parallel; and

performing a rotation correction on the binarized image data according to the detected tilt angle, so that a rotated binarized image data corresponding to the binarized image data is generated based on the detected tilt angle.

16. The storage medium according to claim 15 , wherein detecting the tilt angle of the image includes:

based on the image area corresponding to the original image data, detecting the tilt angle of the image.

17. The storage medium according to claim 16 , wherein performing the binarization processing includes:

according to the image area corresponding to the original image data, identifying and obtaining an image area corresponding to the binarized image data; and

according to the image area corresponding to the binarized image data, finding out an image area corresponding to the binarized image data after a background removal.

18. The storage medium according to claim 15 , wherein detecting the tilt angle of the image according to the original image data includes:

obtaining coordinates of two data points from a same boundary of the image; and

calculating the tilt angle of the image using the coordinates of the two data points.

19. The storage medium according to claim 15 , wherein performing the binarization processing on the original image data includes:

converting the original image data into the binarized image data using one of a threshold matrix algorithm and an error-diffusion algorithm.

20. The storage medium according to claim 15 , wherein:

the original image data is M-bit data, and the binarized image data is N-bit data, wherein M and N are positive integers, and M is greater than N.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 27, 2020
From: ZHUHAI SEINE TECHNOLOGY CO., LTD.
To: ZHUHAI PANTUM ELECTRONICS CO., LTD.
Reel/Frame 054187/0189 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 7, 2018
From: MA, YANGXIAO
To: ZHUHAI SEINE TECHNOLOGY CO., LTD.
Reel/Frame 047438/0410 →
Priority Claims (1)
CN 2016 1 0554481 · Jul 12, 2016 · national
Continuity (2)
Continuation PCTCN2017090604 · Jun 28, 2017
Related Publication 20190075217A1 · Mar 7, 2019