CN104601877A - Image processing method, device and system - Google Patents

Image processing method, device and system Download PDF

Info

Publication number
CN104601877A
CN104601877A CN201410192586.6A CN201410192586A CN104601877A CN 104601877 A CN104601877 A CN 104601877A CN 201410192586 A CN201410192586 A CN 201410192586A CN 104601877 A CN104601877 A CN 104601877A
Authority
CN
China
Prior art keywords
image
target
described target
preset condition
angle
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.)
Granted
Application number
CN201410192586.6A
Other languages
Chinese (zh)
Other versions
CN104601877B (en
Inventor
吴嘉
桂天宜
李永韬
吴航
刘赟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Dadi Tongtu Beijing Technology Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410192586.6A priority Critical patent/CN104601877B/en
Publication of CN104601877A publication Critical patent/CN104601877A/en
Application granted granted Critical
Publication of CN104601877B publication Critical patent/CN104601877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides an image processing method; the method comprises the following steps: obtaining a target image, wherein the target image comprises an image of a target reference and an image of a target scene; detecting whether the image of the target scene is in a preset state in the target image, based on the image of the target reference; if the image of the target scene is not in the preset state in the target image, using the image of the target reference as a benchmark for adjusting the image of the target scene into the preset state. Additionally, the invention further provides an image processing device and a system thereof. The provided image processing method, device and system are able to achieve automatic process of the target image, thereby being able to increase the efficiency of image processing.

Description

Image processing method, Apparatus and system
Technical field
The present invention relates to computer technology, particularly relate to a kind of image processing method, Apparatus and system.
Background technology
Existing image processing system cannot adjust the state of the image in the image shot automatically, if want the image in the image making to shoot to be level, just when shooting, camera must be placed on the position of level, if the position of camera is askew, the image in the image so shot i.e. askew.Now, if want to allow the image in image become level, whether that just can only rely on user to pass through to use the image software of specialty manually to adjust it, and also need frequently to rely on human eye to judge the result of adjustment correct in whole adjustment process, easily occurs error.Therefore, there is complex operation and the low problem for the treatment of effeciency in existing image processing techniques.
Summary of the invention
In view of this, the invention provides a kind of image processing method, Apparatus and system, above-mentioned image processing method, Apparatus and system can the automatic business processing of realize target image, thus can improve the efficiency of image procossing.
A kind of image processing method that the embodiment of the present invention provides, comprising: obtain target image, described target image comprises: the image of target object of reference and the image of target scene; According to the image of described target object of reference, whether the image detecting described target scene is preset condition in described target image; When the image of described target scene is not described preset condition in described target image, with the image of described target object of reference for the image of described target scene is adjusted to described preset condition by benchmark.
A kind of image processing apparatus that the embodiment of the present invention provides, comprising: acquisition module, detection module and processing module.Wherein, described acquisition module, for obtaining target image, described target image comprises: the image of target object of reference and the image of target scene; Described detection module, for the image of described target object of reference obtained according to described acquisition module, whether the image detecting described target scene is preset condition in described target image; Described processing module, during for detecting that when described detection module the image of described target scene is not described preset condition in described target image, with the image of described target object of reference for the image of described target scene is adjusted to described preset condition by benchmark.
A kind of image processing system that the embodiment of the present invention provides, comprising: comparable device, filming apparatus, fixture and image processing apparatus; Wherein, described comparable device, for described filming apparatus using described comparable device as the shooting of target object of reference in the target image, so that described image processing apparatus is using the benchmark of the image of described target object of reference as the described target image of process; Described filming apparatus, for taking described target image, and described target image is sent to described image processing apparatus, described target image comprises: the described image of target object of reference and the image of target scene; Described fixture, for fixing described comparable device and described filming apparatus, make filming apparatus preset distance described in described comparable device interval, be fixed in the preset position in the camera lens front of described filming apparatus, and keep constant with the relative position of described filming apparatus; Described image processing apparatus, for obtaining described target image, according to the image of described target object of reference, whether the image detecting described target scene is preset condition in described target image, when the image of described target scene is not described preset condition in described target image, with the image of described target object of reference for the image of described target scene is adjusted to described preset condition by benchmark.
The above-mentioned image processing method that the embodiment of the present invention provides, Apparatus and system, by the image according to the target object of reference in the target image obtained, whether the image detecting the target scene in this target image is preset condition in this target image, and when the image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark, due to can according to the state of the image of the Image detection target scene of the target object of reference in target image, and the image state in the target image of this target scene automatically can be adjusted according to testing result, therefore can the automatic business processing of realize target image, thus the efficiency of image procossing can be improved.
For above and other object of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and coordinate institute's accompanying drawings, be described in detail below.
Accompanying drawing explanation
Fig. 1 shows a kind of structured flowchart of terminal equipment.
The flow chart of the image processing method that Fig. 2 provides for first embodiment of the invention.
The flow chart of the image processing method that Fig. 3 provides for second embodiment of the invention.
First schematic diagram of target image in the image processing method that Fig. 4 provides for second embodiment of the invention.
Second schematic diagram of target image in the image processing method that Fig. 5 provides for second embodiment of the invention.
The structural representation of the image processing apparatus that Fig. 6 provides for third embodiment of the invention.
Fig. 7 is the storage environment schematic diagram of the device of Fig. 6.
The structural representation of the image processing apparatus that Fig. 8 provides for fourth embodiment of the invention.
The structural representation of part of module in the image processing apparatus that Fig. 9 provides for fourth embodiment of the invention.
The structural representation of the image processing system that Figure 10 provides for fifth embodiment of the invention.
Embodiment
For further setting forth the present invention for the technological means that realizes predetermined goal of the invention and take and effect, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure, feature and effect thereof, be described in detail as follows.
The image processing method that the embodiment of the present invention provides can be applicable to realize the process to target image in terminal equipment, terminal equipment can comprise: the smart mobile phone with camera function, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4 (Moving Picture Experts GroupAudio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee, desktop computer computer, vehicle-mounted computer, all-in-one, intelligent TV set, digital camera etc.
Fig. 1 shows a kind of structured flowchart of terminal equipment.As shown in Figure 1, terminal equipment 100 comprises memory 102, storage control 104, one or more (only illustrating one in figure) processor 106, Peripheral Interface 108, radio-frequency module 110, locating module 112, photographing module 114, audio-frequency module 116, screen 118 and key-press module 120.These assemblies are by one or more communication bus/holding wire 122 communication mutually.
Be appreciated that the structure shown in Fig. 1 is only signal, terminal equipment 100 also can comprise than assembly more or less shown in Fig. 1, or has the configuration different from shown in Fig. 1.Each assembly shown in Fig. 1 can adopt hardware, software or its combination to realize.
Memory 102 can be used for storing software program and module, as the image processing method in the embodiment of the present invention, program command/module that Apparatus and system is corresponding, processor 102 is by running the software program and module that are stored in memory 104, thus perform the application of various function and data processing, namely realize above-mentioned image processing method.
Memory 102 can comprise high speed random asccess memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 102 can comprise the memory relative to the long-range setting of processor 106 further, and these remote memories can be connected to terminal equipment 100 by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.Processor 106 and other possible assemblies can carry out the access of memory 102 under the control of storage control 104.
Various softwares in processor 106 run memory 102, instruction are to perform the various function of terminal equipment 100 and to carry out data processing.
Peripheral Interface 108 is for being coupled to CPU and memory 102 by various external equipment.
In certain embodiments, storage control 104, processor 106 and Peripheral Interface 108 can realize in one single chip.In some other example, they can respectively by independently chip realization.
Radio-frequency module 110, for receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and the signal of telecommunication, thus carries out communication with communication network or other equipment.Radio-frequency module 110 can comprise the various existing circuit element for performing these functions, such as, and antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip, subscriber identity module (SIM) card, memory etc.Radio-frequency module 110 can with various network as the Internet, intranet, wireless network carry out communication or carry out communication by wireless network and other equipment.Above-mentioned wireless network can comprise cellular telephone networks, WLAN (wireless local area network) or metropolitan area network.Above-mentioned wireless network can use various communication standard, agreement and technology, include, but are not limited to global system for mobile communications (Global System for MobileCommunication, GSM), enhancement mode mobile communication technology (Enhanced Data GSMEnvironment, EDGE), Wideband CDMA Technology (wideband code division multipleaccess, W-CDMA), CDMA (Code Division Multiple Access) (Code division access, CDMA), tdma (time division multiple access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (as IEEE-USA standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voice overinternet protocol, VoIP), worldwide interoperability for microwave access (Worldwide Interoperability forMicrowave Access, Wi-Max), other are for mail, the agreement of instant messaging and short message, and any other suitable communications protocol, even can comprise those current agreements be developed not yet.
Locating module 112 is for obtaining the current location of terminal equipment 100.The example of locating module 112 includes but not limited to GPS (Global Position System) (GPS), location technology based on WLAN (wireless local area network) or mobile radio communication.
Photographing module 114 is for taking pictures or video.Photo or the video of shooting can be stored in memory 102, and send by radio-frequency module 110.
Audio-frequency module 116 provides audio interface to user, and it can comprise one or more microphone, one or more loud speaker and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 108, voice data is converted to telecommunications breath, and telecommunications breath is transferred to loud speaker.Telecommunications breath is changed the sound wave can heard into people's ear by loud speaker.Voicefrequency circuit also from microphone receive telecommunications breath, convert electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 108 to be further processed.Voice data can obtain from memory 102 or by radio-frequency module 110.In addition, voice data also can be stored in memory 102 or by radio-frequency module 110 and send.In some instances, audio-frequency module 116 also can comprise an earphone and broadcast hole, for providing audio interface to earphone or other equipment.
Screen 118 provides an output interface between terminal equipment 100 and user, and export to user's display video, the content of these video frequency output can comprise word, figure, video and combination in any thereof.Some Output rusults correspond to some user interface object.Understandable, screen 118 can also provide one to export and inputting interface between terminal equipment 100 and user simultaneously.Particularly, except exporting to user's display video, screen 118 also receives the input of user, and the gesture operation such as click, slip of such as user, so that response is made in the input of user interface object to these users.The technology detecting user's input can be based on resistance-type, condenser type or other touch control detection technology possible arbitrarily.The instantiation of screen 118 display unit includes, but are not limited to liquid crystal display or light emitting polymer displays.
Key-press module 120 provides user to carry out the interface inputted to terminal equipment 100 equally, and user can perform different functions by pressing different buttons to make terminal equipment 100.
First embodiment
The flow chart of the image processing method that Fig. 2 provides for first embodiment of the invention.As shown in Figure 2, the image processing method that the present embodiment provides comprises the following steps:
Step S11, obtain target image, this target image comprises: the image of target object of reference and the image of target scene;
Particularly, the image of target object of reference is when carrying out the shooting of target image, is preset at the image of certain object in the camera lens front of the photographing module of terminal equipment.The image of target object of reference can be used as the benchmark of the image state in the target image of adjustment aim scene.
Understandable, photographing module can be certain part (such as: the camera in mobile phone) of terminal equipment, also can be independent camera head (such as: camera or external camera).
When photographing module is certain part of terminal equipment, when photographic subjects image, target object of reference and terminal equipment interval preset distance, being placed in before the camera lens of this terminal equipment can preset position in coverage, and keep fixing with the relative position of this terminal equipment, also namely when terminal equipment occurrence positions moves, target object of reference can together with terminal equipment synchronizing moving.Now, the shooting instruction that terminal equipment can trigger according to user, by built-in photographing module photographic subjects image.
When photographing module is independent camera head, when photographic subjects image, target object of reference and camera head interval preset distance, being placed in before camera head can position in coverage, and keep fixing with the relative position of camera head, also namely when camera head occurrence positions moves, target object of reference can together with camera head synchronizing moving.Now, terminal equipment can receive the target image that camera head sends.Or the acquisition instruction that terminal equipment also can trigger according to user, obtains the target image of camera head shooting from other memory devices.
Step S12, according to the image of this target object of reference, whether the image detecting this target scene is preset condition in this target image;
Particularly, preset condition can comprise: the state of level, plumbness or other any angles.
Step S13, when the image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark.
The image processing method that the embodiment of the present invention provides, by the image according to the target object of reference in the target image obtained, whether the image detecting the target scene in this target image is preset condition in this target image, and when the image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark, due to can according to the state of the image of the Image detection target scene of the target object of reference in target image, and the image state in the target image of this target scene automatically can be adjusted according to testing result, therefore can the automatic business processing of realize target image, thus the efficiency of image procossing can be improved.
Second embodiment
The flow chart of the image processing method that Fig. 3 provides for second embodiment of the invention.As shown in Figure 3, the image processing method that the present embodiment provides comprises the following steps:
Step S21, obtain target image, this target image comprises: the image of linker and the image of target scene;
Linker is that a kind of upper end open is not communicated with, the container that bottom is communicated with, and be marked with liquid in linker, in the immobilising situation of liquid, the liquid level that linker is respectively held should keep equal.Linker in the present embodiment is preferably transparent and the material of hollow, and inside is marked with the U-shaped linker of colored liquid.Understandable, the end of linker is not limited to two.
Particularly, terminal equipment obtains target image by photographing module, and as shown in Figure 4, this target image comprises: the image of linker and the image of target scene.
Step S22, the line between the image obtaining the liquid level of each end of this linker, is defined as line of reference by this line;
Particularly, first terminal equipment determines the image position in the target image of the liquid level of two ends of linker, then according to the image position in the target image of the liquid level of two ends determined, the line between the image of the liquid level of two ends of acquisition linker.Based on when in the linker of liquid at both ends open, liquid surface is in the principle of same level position, and known above-mentioned line is exactly the real standard line in shooting process, therefore this line can be defined as line of reference (as shown in Figure 5).
Step S23, obtains the edge of this target image and the angle of this line of reference or the extended line with this line of reference;
Particularly, as shown in Figure 5, assuming that set up reference axis with the upper left corner of target image, terminal equipment can obtain in four edges of target image perpendicular to the edge of X-axis and this line of reference, or the angle (such as: angle outside the angle that angle is maximum or the minimum angle of angle, edge etc.) meeting prerequisite between this edge and extended line of this line of reference, and this angle and preset angle are compared, to judge whether the image state in the target image of target scene meets preset condition.
Understandable, above-mentioned angle be not limited to be target image four edges in perpendicular to the edge of X-axis and this line of reference, or the angle meeting prerequisite between this edge and extended line of this line of reference, also can be perpendicular to the edge of Y-axis and this line of reference in four edges of target image, or the angle meeting prerequisite between this edge and extended line of this line of reference.
Step S24, when this angle is presetting angle, determines that the image of this target scene is preset condition in this target image, then performs step S27;
Particularly, preset condition can comprise: level, plumbness or other states corresponding with presetting angle.When preset condition is level, presetting angle is 90 degree.Terminal equipment can obtain in four edges of target image perpendicular to be positioned in four angles between the edge of X-axis and the extended line of this line of reference outside this edge and near the angle (as shown in Figure 5) of Y-axis positive direction, and this angle and presetting angle are compared, when this angle is 90 degree, can determine that the image of this target scene is level in this target image.
Step S25, when this angle is not this presetting angle, determines that the image of this target scene is not this preset condition in this target image.
Particularly, when the angle obtained in step S24 is greater than or less than 90 degree, terminal equipment can determine that the image of this target scene is not level in this target image.
Step S26, carries out rotation process according to this angle by this target image, by this angle is adjusted to this presetting angle, makes the image of this target scene be adjusted to this preset condition.
Particularly, when the angle obtained in step S24 is greater than 90 degree, terminal equipment can according to this angle, target image is carried out clockwise rotation process, obtain each pixel in the image of target scene and original coordinates in the target image thereof, according to this angle and this original coordinates, calculating take Y-axis as the coordinates of targets of benchmark this each pixel after turning clockwise, then according to this coordinates of targets, this each pixel is adjusted to the correspondence position in this target image, the image of target scene is made to be adjusted to level in the target image.
When the angle obtained in step S24 is less than 90 degree, terminal equipment can according to this angle, target image is carried out counterclockwise rotation process, the image of target scene is made to be adjusted to level in the target image, be rotated counterclockwise identical with the above-mentioned handling principle turned clockwise, repeat no more herein.
Understandable, it is the explanation that the situation that the image of target scene is adjusted to level is done although above-mentioned, but when the image of target scene being adjusted to plumbness or other states corresponding with presetting angle, terminal equipment also can process based on the principle identical with above-mentioned explanation.
Step S27, eliminates the image of this target object of reference from this target image after adjustment.
Particularly, first, according to the view data of preset target object of reference, the image (image matched with this view data in the target image after also namely adjusting) of the target object of reference in the target image after adjustment can be identified; Secondly, obtain the original pixel value of each pixel in the image of this target object of reference, and the pixel value of the pixel of image around the image of this target object of reference in presetting range; Again, according to the pixel value of the pixel of the image in presetting range around the image of this original pixel value and this target object of reference, the target pixel value of each pixel in the image of this target object of reference is calculated; Then, replace the original pixel value of each pixel in the image of this target object of reference with this target pixel value, the image of this target object of reference is eliminated by from this target image after adjustment.Wherein, the view data of preset target object of reference can comprise the set of the gray value with each pixel in the standard video of this target object of reference of numeric representation.
The image processing method that the embodiment of the present invention provides, by the image according to the target object of reference in the target image obtained, whether the image detecting the target scene in this target image is preset condition in this target image, and when the image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark, due to before shooting without the need to deliberately terminal equipment being adjusted to level, and after shooting completes, can according to the state of the image of the Image detection target scene of the target object of reference in target image, and the image state in the target image of this target scene automatically can be adjusted according to testing result, therefore can the automatic business processing of realize target image, thus the efficiency of image procossing can be improved.
3rd embodiment
The structural representation of the image processing apparatus that Fig. 6 provides for third embodiment of the invention.The image processing apparatus that the present embodiment provides may be used for the image processing method in above-described embodiment.As shown in Figure 6, image processing apparatus 30 comprises: acquisition module 31, detection module 32 and processing module 33.
Wherein, acquisition module 31, for obtaining target image, this target image comprises: the image of target object of reference and the image of target scene;
Detection module 32, for the image of this target object of reference obtained according to acquisition module 31, whether the image detecting this target scene is preset condition in this target image;
Processing module 33, during for detecting that when detection module 32 image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark.
Each module can be by software code realization above, and now, above-mentioned each module can be stored in memory 102, as shown in Figure 7.Each module can be realized by hardware such as integrated circuit (IC) chip equally above.
The present embodiment, to the detailed process of each Implement of Function Module of image processing apparatus 30 function separately, refers to the particular content of above-mentioned Fig. 1 to middle description embodiment illustrated in fig. 5, repeats no more herein.
The image processing apparatus that the embodiment of the present invention provides, by the image according to the target object of reference in the target image obtained, whether the image detecting the target scene in this target image is preset condition in this target image, and when the image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark, due to can according to the state of the image of the Image detection target scene of the target object of reference in target image, and the image state in the target image of this target scene automatically can be adjusted according to testing result, therefore can the automatic business processing of realize target image, thus the efficiency of image procossing can be improved.
4th embodiment
The structural representation of the image processing apparatus that Fig. 8 provides for fourth embodiment of the invention.The image processing apparatus that the present embodiment provides may be used for the image processing method in above-described embodiment.As shown in Figure 8, image processing apparatus 40 comprises: acquisition module 41, detection module 42, processing module 43 and cancellation module 44.
Wherein, acquisition module 41, for obtaining target image, this target image comprises: the image of target object of reference and the image of target scene;
Detection module 42, for the image of this target object of reference obtained according to acquisition module 42, whether the image detecting this target scene is preset condition in this target image;
Processing module 43, during for detecting that when detection module 43 image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark;
Cancellation module 44, for eliminating the image of this target object of reference from this target image after adjustment.
Preferably, the image of this target object of reference comprises: the image of linker.
Preferably, as shown in Figure 9, detection module 42 comprises: line of reference determining unit 421, angle acquiring unit 422 and detecting unit 423.Wherein, line of reference determining unit 421, for obtain the liquid level of each end of this linker image between line, this line is defined as line of reference; Angle acquiring unit 422, the angle of this line of reference that edge and line of reference determining unit 421 for obtaining this target image are determined or the extended line with this line of reference; Detecting unit 423, for when this angle is presetting angle, determines that the image of this target scene is this preset condition in this target image, when this angle is not this presetting angle, determines that the image of this target scene is not this preset condition in this target image.
Preferably, processing module 43 comprises: adjustment unit 431, for this target image being carried out rotation process according to this angle, by this angle is adjusted to this presetting angle, makes the image of this target scene be adjusted to this preset condition.
Preferably, this preset condition comprises level.
The present embodiment, to the detailed process of each Implement of Function Module of image processing apparatus 40 function separately, refers to the particular content of above-mentioned Fig. 1 to middle description embodiment illustrated in fig. 5, repeats no more herein.
The image processing apparatus that the embodiment of the present invention provides, by the image according to the target object of reference in the target image obtained, whether the image detecting the target scene in this target image is preset condition in this target image, and when the image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark, due to before shooting without the need to deliberately terminal equipment being adjusted to level, and after shooting completes, can according to the state of the image of the Image detection target scene of the target object of reference in target image, and the image state in the target image of this target scene automatically can be adjusted according to testing result, therefore can the automatic business processing of realize target image, thus the efficiency of image procossing can be improved.
5th embodiment
The structural representation of the image processing system that Figure 10 provides for fifth embodiment of the invention.As shown in Figure 10, image processing system 50 comprises: comparable device 51, filming apparatus 52, fixture 53 and image processing apparatus 54;
Wherein, comparable device 51, for filming apparatus 52 with reference to device 51 as the shooting of target object of reference in the target image, so that image processing apparatus 54 is using the benchmark of the image of this target object of reference as this target image of process;
Filming apparatus 52, for taking this target image, and this target image is sent to image processing apparatus 54, this target image comprises: the image of this target object of reference and the image of target scene;
Fixture 53, for fixing comparable device 51 and filming apparatus 52, makes comparable device 51 interval shooting device 52 preset distance, is fixed in the preset position in the camera lens front of filming apparatus 52, and keeps constant with the relative position of filming apparatus 52;
Image processing apparatus 54, for obtaining this target image, according to the image of this target object of reference, whether the image detecting this target scene is preset condition in this target image, when the image of this target scene is not this preset condition in this target image, with the image of this target object of reference for the image of this target scene is adjusted to this preset condition by benchmark.
Preferably, comparable device 51 comprises linker.
Preferably, this linker comprises U-shaped linker.
Preferably, this linker is transparent and the material of hollow, and inside is marked with colored liquid.
Preferably, this preset position comprises the position at least making the liquid level of each end of this comparable device be positioned at the coverage of this filming apparatus.
Preferably, fixture 53 comprises: position adjusting type modules (not shown), for the coverage according to this filming apparatus, adjusts the distance between this comparable device and this fixture.
Preferably, comparable device 51 comprises: color controlling module (not shown), for detecting the intensity of light, regulates the color of this colored liquid according to the strength control of this light.
Understandable, above-mentioned image processing apparatus 54 both can as a module integration (camera as shown in Figure 10) in filming apparatus 52, also can be the terminal equipment independent of filming apparatus 52, or image processing apparatus 54 and filming apparatus 52 also can be used as multiple module integration with identical function in same station terminal equipment.
Understandable, each device in the image processing system provided by the invention shown in Figure 10 is only an application examples, in actual application, can be not limited thereto.Such as: fixture 53 can also comprise: be configured with for the The Cloud Terrace of the support of fixing comparable device 51 or by being configured with fixture of forming with the flat board of the draw-in groove of filming apparatus 52 for fixing comparable device 51 etc.
The detailed process of image processing apparatus 54 practical function in the present embodiment in image processing system refers to the method for the corresponding embodiment of Fig. 1 to Fig. 5, and the device of the corresponding embodiment of Fig. 6 figure to Fig. 9, repeats no more herein.
The image processing system that the embodiment of the present invention provides, by arranging comparable device, and be fixed with reference to device and filming apparatus by fixture, make comparable device can remain constant with the relative position of filming apparatus, when filming apparatus shoots target image, image processing apparatus is according to the image of the comparable device as target object of reference in target image, whether the image detecting target scene is preset condition in the target image, and when the image of target scene is not preset condition in the target image, with the image of target object of reference for the image of target scene is adjusted to preset condition by benchmark.Due to using the benchmark of the image of specific comparable device as target image process, therefore before shooting without the need to deliberately filming apparatus being adjusted to level, and after shooting completes, image processing apparatus can according to the state of the image of the Image detection target scene of the comparable device in target image, and the image state in the target image of this target scene automatically can be adjusted according to testing result, therefore can the automatic business processing of realize target image, thus the efficiency of image procossing can be improved.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
Above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to any simple modification that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (19)

1. an image processing method, is characterized in that, comprising:
Obtain target image, described target image comprises: the image of target object of reference and the image of target scene;
According to the image of described target object of reference, whether the image detecting described target scene is preset condition in described target image;
When the image of described target scene is not described preset condition in described target image, with the image of described target object of reference for the image of described target scene is adjusted to described preset condition by benchmark.
2. method according to claim 1, is characterized in that, the image of described target object of reference comprises: the image of linker.
3. method according to claim 2, is characterized in that, the described image according to described target object of reference, and whether the image detecting described target scene is the step of preset condition in described target image, comprising:
Line between the image obtaining the liquid level of each end of described linker, is defined as line of reference by described line;
Obtain the edge of described target image and the angle of described line of reference or the extended line with described line of reference;
When described angle is presetting angle, determine that the image of described target scene is described preset condition in described target image;
When described angle is not described presetting angle, determine that the image of described target scene is not described preset condition in described target image.
4. method according to claim 3, is characterized in that, describedly the image of described target scene is adjusted to the step of described preset condition with the image of described target object of reference for benchmark, comprising:
According to described angle, described target image is carried out rotation process, by described angle is adjusted to described presetting angle, make the image of described target scene be adjusted to described preset condition.
5. method according to claim 1, is characterized in that, described method also comprises:
The image of described target object of reference is eliminated from the described target image after adjustment.
6. method according to claim 1, is characterized in that, described preset condition comprises: level.
7. an image processing apparatus, is characterized in that, comprising:
Acquisition module, for obtaining target image, described target image comprises: the image of target object of reference and the image of target scene;
Detection module, for the image of described target object of reference obtained according to described acquisition module, whether the image detecting described target scene is preset condition in described target image;
Processing module, during for detecting that when described detection module the image of described target scene is not described preset condition in described target image, with the image of described target object of reference for the image of described target scene is adjusted to described preset condition by benchmark.
8. device according to claim 7, is characterized in that, the image of described target object of reference comprises: the image of linker.
9. device according to claim 8, is characterized in that, described detection module comprises:
Line of reference determining unit, for obtain the liquid level of each end of described linker image between line, described line is defined as line of reference;
Angle acquiring unit, the angle of the described line of reference that edge and described line of reference determining unit for obtaining described target image are determined or the extended line with described line of reference;
Detecting unit, for when described angle is presetting angle, determine that the image of described target scene is described preset condition in described target image, when described angle is not described presetting angle, determine that the image of described target scene is not described preset condition in described target image.
10. device according to claim 9, is characterized in that, described processing module comprises:
Adjustment unit, for described target image being carried out rotation process according to described angle, by described angle is adjusted to described presetting angle, makes the image of described target scene be adjusted to described preset condition.
11. devices according to claim 7, is characterized in that, described device also comprises:
Cancellation module, for eliminating the image of described target object of reference from the described target image after adjustment.
12. devices according to claim 7, is characterized in that, described preset condition comprises: level.
13. 1 kinds of image processing systems, is characterized in that, comprising: comparable device, filming apparatus, fixture and the image processing apparatus as described in any one of claim 7 to 12;
Wherein, described comparable device, for described filming apparatus using described comparable device as the shooting of target object of reference in the target image, so that described image processing apparatus is using the benchmark of the image of described target object of reference as the described target image of process;
Described filming apparatus, for taking described target image, and described target image is sent to described image processing apparatus, described target image comprises: the described image of target object of reference and the image of target scene;
Described fixture, for fixing described comparable device and described filming apparatus, make filming apparatus preset distance described in described comparable device interval, be fixed in the preset position in the camera lens front of described filming apparatus, and keep constant with the relative position of described filming apparatus.
14. systems according to claim 13, is characterized in that, described comparable device comprises linker.
15. systems according to claim 14, is characterized in that, described linker comprises U-shaped linker.
16. systems according to claim 14, is characterized in that, described linker is transparent and the material of hollow, and inside is marked with colored liquid.
17. systems according to claim 16, is characterized in that, described preset position comprises the position at least making the liquid level of each end of described comparable device be positioned at the coverage of described filming apparatus.
18. systems according to claim 13, is characterized in that, described fixture comprises:
Position adjusting type modules, for the coverage according to described filming apparatus, adjusts the distance between described comparable device and described fixture.
19. systems according to claim 16, is characterized in that, described comparable device comprises:
Color controlling module, for detecting the intensity of light, regulates the color of described colored liquid according to the strength control of described light.
CN201410192586.6A 2014-05-08 2014-05-08 Image processing method, apparatus and system Active CN104601877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410192586.6A CN104601877B (en) 2014-05-08 2014-05-08 Image processing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410192586.6A CN104601877B (en) 2014-05-08 2014-05-08 Image processing method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104601877A true CN104601877A (en) 2015-05-06
CN104601877B CN104601877B (en) 2017-10-10

Family

ID=53127345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410192586.6A Active CN104601877B (en) 2014-05-08 2014-05-08 Image processing method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104601877B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027364A (en) * 2016-04-28 2016-10-12 北京小米移动软件有限公司 Method and device for feeding back information, and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848332A (en) * 2009-03-25 2010-09-29 鸿富锦精密工业(深圳)有限公司 Camera system and adjusting method thereof
CN102024144A (en) * 2010-11-23 2011-04-20 上海海事大学 Container number identification method
CN102102978A (en) * 2009-12-16 2011-06-22 Tcl集团股份有限公司 Handheld terminal, and method and device for measuring object by using same
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image
CN102932602A (en) * 2012-11-30 2013-02-13 天津三星光电子有限公司 Output control method for pictures photographed by digital camera, and digital camera using same
US20130063538A1 (en) * 2011-09-13 2013-03-14 Verizon Patent And Licensing Inc. Method and apparatus for providing device angle image correction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848332A (en) * 2009-03-25 2010-09-29 鸿富锦精密工业(深圳)有限公司 Camera system and adjusting method thereof
CN102102978A (en) * 2009-12-16 2011-06-22 Tcl集团股份有限公司 Handheld terminal, and method and device for measuring object by using same
CN102024144A (en) * 2010-11-23 2011-04-20 上海海事大学 Container number identification method
US20130063538A1 (en) * 2011-09-13 2013-03-14 Verizon Patent And Licensing Inc. Method and apparatus for providing device angle image correction
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image
CN102932602A (en) * 2012-11-30 2013-02-13 天津三星光电子有限公司 Output control method for pictures photographed by digital camera, and digital camera using same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027364A (en) * 2016-04-28 2016-10-12 北京小米移动软件有限公司 Method and device for feeding back information, and terminal
CN106027364B (en) * 2016-04-28 2019-11-15 北京小米移动软件有限公司 Method, apparatus and terminal for feedback message

Also Published As

Publication number Publication date
CN104601877B (en) 2017-10-10

Similar Documents

Publication Publication Date Title
CN108093134B (en) Anti-interference method of electronic equipment and related product
CN105630167A (en) Self-adaptive screen regulation method, self-adaptive screen regulation device and terminal device
CN105760127A (en) Screen transfer method, screen transfer device and mobile terminal
US11284398B2 (en) Communication link configuration method and device
CN111010693B (en) Method for providing wireless fidelity network access service and electronic equipment
CN109863806B (en) Data transmission method and device
CN108307308B (en) Positioning method, device and storage medium for wireless local area network equipment
WO2019100259A1 (en) Data transmission method, apparatus, and unmanned aerial vehicle
CN107329729A (en) Volume adjusting method, volume adjustment device and terminal
CN112771970A (en) Method and device for determining default beam, user equipment and network equipment
US11178699B2 (en) Random access method and apparatus, user equipment, and computer readable storage medium
US11917562B2 (en) Vehicle-to-everything synchronization method and device
CN107277377A (en) Photographic method and device
US11627615B2 (en) UAV indication method and apparatus
EP3249999B1 (en) Intelligent matching method for filter and terminal
US11540294B2 (en) Method and apparatus for eliminating intermodulation interference, user equipment and base station
KR102537717B1 (en) Application control method and electronic device
US20230180101A1 (en) Communication control method and communication control apparatus
US20200350936A1 (en) Data transmission method and device
US11071137B2 (en) Data transmission method and device, and computer-readable storage medium
CN105812664A (en) Mobile terminal photographing method and mobile terminal
CN104601877A (en) Image processing method, device and system
US11770814B2 (en) Antenna adjustment method and apparatus, gateway, terminal, adjustment system, and storage medium
WO2021159943A1 (en) Photographing control method and apparatus, and terminal device
CN113170474A (en) Resource allocation method, device, terminal equipment, access network equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180503

Address after: 100080 Zhichun Road, Haidian District, Haidian District, Beijing, No. 49, 2 layer 224

Patentee after: Tencent Dadi Road (Beijing) Technology Co., Ltd.

Address before: 518044 East 403 room, Sai Ge science and Technology Park, Futian District Zhenxing Road, Shenzhen, Guangdong, China, 2

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.

TR01 Transfer of patent right