CN108401115A - A kind of automatic amendment harvester and method of portable Image Acquisition terminal - Google Patents
A kind of automatic amendment harvester and method of portable Image Acquisition terminal Download PDFInfo
- Publication number
- CN108401115A CN108401115A CN201810397622.0A CN201810397622A CN108401115A CN 108401115 A CN108401115 A CN 108401115A CN 201810397622 A CN201810397622 A CN 201810397622A CN 108401115 A CN108401115 A CN 108401115A
- Authority
- CN
- China
- Prior art keywords
- angle
- image acquisition
- module
- detection
- described image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Abstract
The invention discloses a kind of automatic amendment harvester of portable Image Acquisition terminal and methods, the device includes image capture module and attitude detection module, attitude detection module includes angle detection module and judgment module, whether judgment module detection image acquisition module opens zero offset capability, image capture module acquires the image information of user's needs in real time, the angle offset of result and angle the detection module detection returned according to judgment module carries out rotation amendment to acquired image, the angle offset for result and angle the detection module detection that this method is returned according to judgment module carries out rotation amendment to acquired image.The present invention allows digit collecting equipment to correct shooting angle automatically when acquiring image, even if ensure digit collecting equipment when acquiring image with certain angle, remain able to ensure the requirement that the image collected and video are in a kind of horizontal view angle or vertical angle of view always;Have many advantages, such as that realization method is simple, user experience is good.
Description
Technical field
The present invention relates to a kind of image collecting device and automatic correcting methods, and in particular to a kind of portable Image Acquisition terminal
Automatic amendment harvester and method, belong to portable mobile termianl Image Acquisition and processing technology field.
Background technology
With the development of mobile electron technology, various small-sized portable digital photographing devices are more and more, due to many
Digit collecting equipment without display screen is frequently not to be taken pictures by user is hand-held, but hang over movement when taking pictures
Object edge moves side shooting, since the variation of moving object position causes digit collecting equipment when acquiring image with certain
Angle is brought very in this way it is difficult to ensure that taking the requirement that the photo angle come meets user to the browsing of photo, post-production
More puzzlements, especially when number of pictures is huger when the later stage, this puzzlement is especially prominent, causes extremely
Undesirable user experience.
Therefore, a kind of permission digit collecting equipment of development corrects shooting angle automatically when acquiring image, ensures to collect
Image and video be in the device and method of horizontal view angle or vertical angle of view a kind of always and be not only very important, also have
Important application prospect.
Invention content
The present invention has made improvements in view of the above-mentioned problems of the prior art, i.e., first purpose of the invention is disclosure
A kind of automatic amendment harvester of portable Image Acquisition terminal;Second object of the present invention is open a kind of based on portable
The Image Acquisition automatic correcting method of Image Acquisition terminal;A kind of permission digit collecting equipment is provided to repair automatically when acquiring image
Positive shooting angle ensures that the image collected and video are in device and the side of a kind of horizontal view angle or vertical angle of view always
Method.
In order to realize that above-mentioned target, the technical solution adopted in the present invention be:
A kind of automatic amendment harvester of portable Image Acquisition terminal, including image capture module (1) and attitude detection
Module (2), the attitude detection module (2) include angle detection module (21) and judgment module (22), the judgment module
(22) whether detection described image acquisition module (1) opens zero offset capability,
Described image acquisition module (1) image information that acquisition user needs in real time, is returned according to the judgment module (22)
The angle offset for result and the angle detection module (21) detection returned carries out rotation amendment to acquired image.
The automatic amendment harvester of portable Image Acquisition terminal above-mentioned, described image acquisition module (1) includes banner
Two kinds of exposal models of pattern and vertical scroll of painting or calligraphy pattern, banner pattern and vertical scroll of painting or calligraphy pattern can automatically switch.
The automatic amendment harvester of portable Image Acquisition terminal above-mentioned, the angle detection module (21) are three axis weights
Power acceleration transducer.
A kind of automatic Image Acquisition for correcting harvester based on the portable Image Acquisition terminal above-mentioned side of amendment automatically
Method includes the following steps:
Whether S1, the judgment module (22) detection described image acquisition module (1) open zero offset capability, if institute
It states image capture module (1) and opens zero offset capability, execute step S2, it is no to then follow the steps S7;
S2, with described image acquisition module (1) be origin, with by origin and with the angle detection module (21) detect
Acceleration of gravity direction be projected as Y-axis, using by origin and with Y-axis vertical direction as X-axis, with by origin and with X-axis,
Y-axis direction vertical simultaneously is that Z axis establishes coordinate system, executes step S3;
Long side direction and the angle detection module (21) detection of S3, detection described image acquisition module (1)
Whether acceleration of gravity direction is vertical, if described image acquisition module (1) long side direction and the angle detection module
(21) the acceleration of gravity direction detected is vertical, executes step S7, no to then follow the steps S4;
S4, detection described image acquisition module (1) short side where direction and the angle detection module (21) detect
Acceleration of gravity direction it is whether vertical, if described image acquisition module (1) short side direction and the angle detection module
(21) the acceleration of gravity direction detected is vertical, executes step S7, no to then follow the steps S5;
S5, by the change in location of described image acquisition module (1) be generalized into in the plane that X-axis and Y-axis form with Z axis
For the rotation in axle center, the direction after rotation where described image acquisition module (1) long side forms angle β, the angle inspection with X-axis
It surveys module (21) and angle β is fed back into described image acquisition module (1), execute step S6;
S6, described image acquisition module (1) are automatically corrected the image of acquisition;
S7, described image acquisition module (1) do not do automatic amendment to the image of acquisition.
Image Acquisition automatic correcting method above-mentioned, in the step S5, described image acquisition module when angle β is more than zero
(1) it is to rotate clockwise, described image acquisition module (1) is to rotate counterclockwise when angle β is less than zero.
Image Acquisition automatic correcting method above-mentioned, in the step S6, angle β is less than described image acquisition module (1)
When angle theta between diagonal line and long side, described image acquisition module (1) carries out banner cutting to image, and angle β is more than described
When angle theta of the image capture module (1) between diagonal line and long side, described image acquisition module (1) carries out vertical scroll of painting or calligraphy sanction to image
It cuts.
Compared with prior art, the invention has the beneficial effects that:
(1) digit collecting equipment is allowed to correct shooting angle automatically when acquiring image, it is ensured that even if digit collecting equipment
When acquiring image with certain angle, remain able to ensure that the image collected and video are in a kind of water always
Look squarely the requirement of angle or vertical angle of view;
(2) have many advantages, such as that realization method is simple, user experience is good.
Description of the drawings
Fig. 1 is the automatic Image Acquisition automatic correcting method for correcting harvester of the portable Image Acquisition terminal of the present invention
A specific embodiment work flow diagram;
Fig. 2 is the automatic Image Acquisition automatic correcting method for correcting harvester of the portable Image Acquisition terminal of the present invention
A specific embodiment coordinate system schematic diagram;
Fig. 3 is the automatic Image Acquisition automatic correcting method for correcting harvester of the portable Image Acquisition terminal of the present invention
A specific embodiment using Z axis as the rotation schematic diagram in axle center;
Fig. 4 is the automatic Image Acquisition automatic correcting method for correcting harvester of the portable Image Acquisition terminal of the present invention
A specific embodiment banner cut pattern diagram;
Fig. 5 is the automatic Image Acquisition automatic correcting method for correcting harvester of the portable Image Acquisition terminal of the present invention
A specific embodiment the vertical scroll of painting or calligraphy cut pattern diagram.
Specific implementation mode
Specific introduce is made to the present invention below in conjunction with the drawings and specific embodiments.
The automatic amendment harvester of the portable Image Acquisition terminal of the present invention, including image capture module 1 and posture inspection
Module 2 is surveyed, attitude detection module 2 includes angle detection module 21 and judgment module 22, and 22 detection image of judgment module acquires mould
Whether block 1 opens zero offset capability,
The image information that acquisition user needs in real time of image capture module 1, the result returned according to judgment module 22 and angle
The angle offset that degree detection module 21 detects carries out rotation amendment to acquired image.
As a preferred solution, image capture module 1 includes two kinds of exposal models of banner pattern and vertical scroll of painting or calligraphy pattern, horizontal
Width pattern and vertical scroll of painting or calligraphy pattern can automatically switch.
As a preferred solution, angle detection module 21 is three axle Gravity accelerometers.
Referring to Fig.1, a kind of automatic Image Acquisition for correcting harvester based on portable Image Acquisition terminal is corrected automatically
Method includes the following steps:
Whether S1,22 detection image acquisition module 1 of judgment module open zero offset capability, if image capture module 1
It opens zero offset capability, executes step S2, it is no to then follow the steps S7;
With image capture module 1 it is S2, origin with reference to Fig. 2, to pass through origin and the weight that is detected with angle detection module 21
Power acceleration direction is projected as Y-axis, using by origin and with Y-axis vertical direction as X-axis, with by origin and with X-axis, Y-axis
Direction vertical simultaneously is that Z axis establishes coordinate system, executes step S3;
The acceleration of gravity side of the long side direction and the detection of angle detection module 21 of S3, detection image acquisition module 1
To whether vertically, if the acceleration of gravity direction that 1 long side direction of image capture module is detected with angle detection module 21
Vertically, then the variation that can be understood as 1 pitch angle of detection image acquisition module is not required to correct, and executes step S7, otherwise executes
Step S4;
S4, detection image acquisition module 1 short side where the acceleration of gravity that detects of direction and angle detection module 21
Whether direction is parallel, if 1 short side direction of image capture module and the acceleration of gravity direction that angle detection module 21 detects are flat
Row then can be understood as video acquisition terminal to the left or the variation to LOOK RIGHT, be not required to correct, and executes step S7, otherwise holds
Row step S5;
With reference to Fig. 3, S5, by the change in location of image capture module 1 be generalized into in the plane that X-axis and Y-axis form with Z
Axis is the rotation in axle center, and the direction after rotation where 1 long side of image capture module forms angle β, angle detection module 21 with X-axis
Angle β is fed back into image capture module 1, the variation of this angle can bring the inclination of image, influence the visual experience of people,
It needs to be modified processing, executes step S6;
S6, image capture module 1 are automatically corrected the image of acquisition;
S7, image capture module 1 do not do automatic amendment to the image of acquisition.
As a preferred solution, in step S5, image capture module 1 is to rotate clockwise when angle β is more than zero, is pressed from both sides
Image capture module 1 is to rotate counterclockwise when angle beta is less than zero.
With reference to Fig. 4 and Fig. 5, as a preferred solution, in step S6, angle β is less than 1 diagonal line of image capture module
When angle theta between long side, image capture module 1 carries out banner cutting to image, and it is right that angle β is more than image capture module 1
When angle theta between linea angulata and long side, image capture module 1 carries out vertical scroll of painting or calligraphy cutting to image, with picture or video when cutting
Geometric center is origin, first carries out negative direction rotation β angle to image or video, is then cut in the following way, is protected
The be cropped to image area of card is maximum:
It is assumed that the pixel value of image display screen long side is M, the pixel value of short side is N, maximum in order to obtain after rotation
Show area, the pixel long side after interception is m, short side n.
In order to ensure that length-width ratio is constant, then M/N=m/n.
Angle between image display screen diagonal line and long side is θ, tag θ=N/M, so when image display screen
After size Pixels value is fixed, θ values are a fixed values.
In order to ensure, truncated picture area is maximum, so working as β<It when θ, is cut using banner, works as β>When θ
It is cut using the vertical scroll of painting or calligraphy.
With reference to Fig. 4, can be calculated under banner cutting pattern:
M=N*cos θ/sin (θ+β)
N=N*sin θ/sin (θ+β)
With reference to Fig. 5, can be calculated under vertical scroll of painting or calligraphy cutting pattern:
M=N*sin θ/cos (θ-β)
N=N*cos θ/cos (θ-β)
It should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is not intended to limit the invention, it is all at this
Within the spirit and principle of invention, any modification, equivalent replacement, improvement and so on should be included in the protection model of the present invention
Within enclosing.
Claims (6)
1. a kind of automatic amendment harvester of portable Image Acquisition terminal, which is characterized in that including image capture module (1) and
Attitude detection module (2), the attitude detection module (2) include angle detection module (21) and judgment module (22), described to sentence
Whether disconnected module (22) detection described image acquisition module (1) opens zero offset capability,
Described image acquisition module (1) image information that acquisition user needs in real time, returns according to the judgment module (22)
As a result the angle offset with the angle detection module (21) detection carries out rotation amendment to acquired image.
2. the automatic amendment harvester of portable Image Acquisition terminal according to claim 1, which is characterized in that the figure
Picture acquisition module (1) includes two kinds of exposal models of banner pattern and vertical scroll of painting or calligraphy pattern, and banner pattern and vertical scroll of painting or calligraphy pattern can automatically switch.
3. the automatic amendment harvester of portable Image Acquisition terminal according to claim 1, which is characterized in that the angle
It is three axle Gravity accelerometers to spend detection module (21).
4. a kind of automatic image for correcting harvester based on the portable Image Acquisition terminal of claim 1-3 any one of them
Acquire automatic correcting method, which is characterized in that include the following steps:
Whether S1, the judgment module (22) detection described image acquisition module (1) open zero offset capability, if the figure
As acquisition module (1) opens zero offset capability, step S2 is executed, it is no to then follow the steps S7;
S2, with described image acquisition module (1) be origin, with by origin and with the angle detection module (21) detection weight
Power acceleration direction is projected as Y-axis, using by origin and with Y-axis vertical direction as X-axis, with by origin and with X-axis, Y-axis
Direction vertical simultaneously is that Z axis establishes coordinate system, executes step S3;
The gravity of the long side direction and the angle detection module (21) detection of S3, detection described image acquisition module (1)
Whether acceleration direction is vertical, if described image acquisition module (1) long side direction and the angle detection module (21)
The acceleration of gravity direction of detection is vertical, executes step S7, no to then follow the steps S4;
S4, detection described image acquisition module (1) short side where the detection of direction and the angle detection module (21) weight
Whether power acceleration direction is vertical, if described image acquisition module (1) short side direction is examined with the angle detection module (21)
The acceleration of gravity direction of survey is vertical, executes step S7, no to then follow the steps S5;
S5, by the change in location of described image acquisition module (1) be generalized into using in the plane that X-axis and Y-axis form using Z axis as axis
The rotation of the heart, the direction after rotation where described image acquisition module (1) long side form angle β with X-axis, and the angle detects mould
Angle β is fed back to described image acquisition module (1) by block (21), executes step S6;
S6, described image acquisition module (1) are automatically corrected the image of acquisition;
S7, described image acquisition module (1) do not do automatic amendment to the image of acquisition.
5. Image Acquisition automatic correcting method according to claim 4, which is characterized in that in the step S5, angle β is big
Described image acquisition module (1) is to rotate clockwise when zero, and described image acquisition module (1) is the inverse time when angle β is less than zero
Needle rotates.
6. Image Acquisition automatic correcting method according to claim 4, which is characterized in that in the step S6, angle β is small
When angle theta of the described image acquisition module (1) between diagonal line and long side, described image acquisition module (1) carries out image
Banner is cut, and when angle β is more than angle theta of the described image acquisition module (1) between diagonal line and long side, described image acquires mould
Block (1) carries out vertical scroll of painting or calligraphy cutting to image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810397622.0A CN108401115A (en) | 2018-04-28 | 2018-04-28 | A kind of automatic amendment harvester and method of portable Image Acquisition terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810397622.0A CN108401115A (en) | 2018-04-28 | 2018-04-28 | A kind of automatic amendment harvester and method of portable Image Acquisition terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108401115A true CN108401115A (en) | 2018-08-14 |
Family
ID=63099517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810397622.0A Pending CN108401115A (en) | 2018-04-28 | 2018-04-28 | A kind of automatic amendment harvester and method of portable Image Acquisition terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108401115A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685069A (en) * | 2018-12-27 | 2019-04-26 | 乐山师范学院 | Image detecting method, device and computer readable storage medium |
CN111464744A (en) * | 2020-04-10 | 2020-07-28 | 国网浙江杭州市富阳区供电有限公司 | Electric meter image auxiliary acquisition method based on gyroscope sensor |
CN111787230A (en) * | 2020-07-31 | 2020-10-16 | 维沃移动通信(杭州)有限公司 | Image display method and device and electronic equipment |
WO2022040951A1 (en) * | 2020-08-26 | 2022-03-03 | 深圳市大疆创新科技有限公司 | Image correction method and device, image collecting device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010041586A1 (en) * | 1997-03-03 | 2001-11-15 | Kabushiki Kaisha Toshiba | Communication terminal apparatus |
CN104012096A (en) * | 2011-12-22 | 2014-08-27 | 高通股份有限公司 | Performing motion vector prediction for video coding |
CN104166500A (en) * | 2014-08-12 | 2014-11-26 | Tcl通讯(宁波)有限公司 | Method, system and terminal for providing reference coordinate systems in lens image |
CN104469119A (en) * | 2013-09-12 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105872309A (en) * | 2015-12-31 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Method and device for video image processing used for eliminating image dithering and mobile terminal |
CN106257911A (en) * | 2016-05-20 | 2016-12-28 | 上海九鹰电子科技有限公司 | Image stability method and device for video image |
CN107466385A (en) * | 2016-08-03 | 2017-12-12 | 深圳市大疆灵眸科技有限公司 | A kind of cloud platform control method and system |
-
2018
- 2018-04-28 CN CN201810397622.0A patent/CN108401115A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010041586A1 (en) * | 1997-03-03 | 2001-11-15 | Kabushiki Kaisha Toshiba | Communication terminal apparatus |
CN104012096A (en) * | 2011-12-22 | 2014-08-27 | 高通股份有限公司 | Performing motion vector prediction for video coding |
CN104469119A (en) * | 2013-09-12 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104166500A (en) * | 2014-08-12 | 2014-11-26 | Tcl通讯(宁波)有限公司 | Method, system and terminal for providing reference coordinate systems in lens image |
CN105872309A (en) * | 2015-12-31 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Method and device for video image processing used for eliminating image dithering and mobile terminal |
CN106257911A (en) * | 2016-05-20 | 2016-12-28 | 上海九鹰电子科技有限公司 | Image stability method and device for video image |
CN107466385A (en) * | 2016-08-03 | 2017-12-12 | 深圳市大疆灵眸科技有限公司 | A kind of cloud platform control method and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685069A (en) * | 2018-12-27 | 2019-04-26 | 乐山师范学院 | Image detecting method, device and computer readable storage medium |
CN109685069B (en) * | 2018-12-27 | 2020-03-13 | 乐山师范学院 | Image detection method, device and computer readable storage medium |
CN111464744A (en) * | 2020-04-10 | 2020-07-28 | 国网浙江杭州市富阳区供电有限公司 | Electric meter image auxiliary acquisition method based on gyroscope sensor |
CN111464744B (en) * | 2020-04-10 | 2021-11-30 | 国网浙江杭州市富阳区供电有限公司 | Electric meter image auxiliary acquisition method based on gyroscope sensor |
CN111787230A (en) * | 2020-07-31 | 2020-10-16 | 维沃移动通信(杭州)有限公司 | Image display method and device and electronic equipment |
WO2022040951A1 (en) * | 2020-08-26 | 2022-03-03 | 深圳市大疆创新科技有限公司 | Image correction method and device, image collecting device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108401115A (en) | A kind of automatic amendment harvester and method of portable Image Acquisition terminal | |
CN101639933B (en) | Image rotation correction method and system and electronic device | |
CN103517041B (en) | Based on real time panoramic method for supervising and the device of polyphaser rotation sweep | |
Rengarajan et al. | From bows to arrows: Rolling shutter rectification of urban scenes | |
CN102353351A (en) | Lateral shooting angle detecting method, inclined shooting angle detecting method and mobile phone | |
EP4068763A1 (en) | Monitoring method, apparatus, and system, electronic device, and storage medium | |
CN101499166A (en) | Image splicing method and apparatus | |
US20160042515A1 (en) | Method and device for camera calibration | |
CN106767720A (en) | Single-lens oblique photograph measuring method, device and system based on unmanned plane | |
CN112686877B (en) | Binocular camera-based three-dimensional house damage model construction and measurement method and system | |
US20160127657A1 (en) | Imaging system | |
CN104867113B (en) | The method and system of perspective image distortion correction | |
US20200257917A1 (en) | System and method for extracting information from a non-planar surface | |
CN103795935B (en) | A kind of camera shooting type multi-target orientation method and device based on image rectification | |
CN108637469A (en) | One kind patrolling edge system and its image processing method for being cut by laser vision | |
CN111627073B (en) | Calibration method, calibration device and storage medium based on man-machine interaction | |
CN103780747A (en) | Information processing method and electronic equipment | |
CN110650284B (en) | Image shooting control method, device, equipment and storage medium | |
CN106846385A (en) | Many sensing Remote Sensing Images Matching Methods, device and system based on unmanned plane | |
CN106469435A (en) | Image processing method, device and equipment | |
WO2018167971A1 (en) | Image processing device, control method, and control program | |
KR102078877B1 (en) | Photovoltaic module thermal imaging system with trio imaging device | |
CN116203976A (en) | Indoor inspection method and device for transformer substation, unmanned aerial vehicle and storage medium | |
US9083871B2 (en) | Plant image capture device and image capture method thereof | |
CN112101134B (en) | Object detection method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20210101 |
|
AD01 | Patent right deemed abandoned |