CN106412321B - A kind of image processing method and mobile terminal - Google Patents

A kind of image processing method and mobile terminal Download PDF

Info

Publication number
CN106412321B
CN106412321B CN201610942907.9A CN201610942907A CN106412321B CN 106412321 B CN106412321 B CN 106412321B CN 201610942907 A CN201610942907 A CN 201610942907A CN 106412321 B CN106412321 B CN 106412321B
Authority
CN
China
Prior art keywords
image
information
inverted
camera
target
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.)
Active
Application number
CN201610942907.9A
Other languages
Chinese (zh)
Other versions
CN106412321A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610942907.9A priority Critical patent/CN106412321B/en
Publication of CN106412321A publication Critical patent/CN106412321A/en
Application granted granted Critical
Publication of CN106412321B publication Critical patent/CN106412321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Abstract

The embodiment of the invention provides a kind of image processing method and mobile terminal, the mobile terminal includes at least two cameras, which comprises the first image of the first camera shooting is obtained, and, the second image of second camera shooting;Identify the inverted image information in second image;The inverted image information is removed from second image, obtains third image;The third image is synthesized with the first image, generates target image;Export the target image.The third image is synthesized with the first image, target image is generated, exports the target image.The preview or displaying for facilitating user, enhance usability and convenience;Two images are shot using two cameras, inverted image information is removed, improves the aesthetics and total tune of image, promote the shooting quality of image, enhance the experience of user.

Description

A kind of image processing method and mobile terminal
Technical field
The present invention relates to the technical fields of mobile terminal, whole more particularly to a kind of image processing method and a kind of movement End.
Background technique
With science and technology continuous development, the type of electronic product is more and more, with shooting function mobile end Hold more more and more universal, user can be taken pictures with it whenever and wherever possible, and resulting image is sent out in the form of multimedia short message etc. Relatives and friends are given, that is, claps and sends out, it is convenient and efficient.
The mobile terminals such as smart phone are no longer simple meanss of communication, but collect the function such as leisure, amusement and communication The craftwork of energy.At the same time, requirement of the user to shooting effect is also higher and higher.Especially there is certain transparent obstructive object to hide Under the scene of lid, it is difficult to shoot the image comprising clearly scenery image, person is in transparent resistance because scenery is not often taken Inverted image on parting is covered.
Summary of the invention
In view of the above problems, the embodiment of the present invention provides a kind of image processing method and mobile terminal, to solve existing skill In art in the case where transparent obstructive object covers, it is difficult to shoot the above problem of the image of clarity.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of image processing methods, are applied to mobile terminal, institute Stating mobile terminal includes at least two cameras, which comprises
The first image of the first camera shooting is obtained, and, the second image of second camera shooting;
Identify the inverted image information in second image;
The inverted image information is removed from second image, obtains third image;
The third image is synthesized with the first image, generates target image;
Export the target image.
The embodiment of the invention also discloses a kind of mobile terminal, the mobile terminal includes at least two cameras, described Terminal includes:
Image collection module, for obtaining the first image of the first camera shooting, and, the of second camera shooting Two images;
Identification module, for identification the inverted image information in second image;
Third image obtains module, for removing the inverted image information from second image, obtains third image;
Target image generation module generates target figure for synthesizing the third image with the first image Picture;
Target image output module, for exporting the target image.
The embodiment of the present invention includes following advantages:
In the embodiment of the present invention, the first image of the first camera shooting is obtained, and, the second of second camera shooting Image removes the inverted image information from second image, obtains third image;By the third image and the first image It is synthesized, generates target image, export the target image.Target image is exported, the preview or displaying of user are facilitated, is increased Strong usability and convenience;Shoot two images using two cameras, remove inverted image information, improve image aesthetics and Total tune promotes the shooting quality of image, enhances the experience of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of step flow chart of image processing method embodiment one of the embodiment of the present invention;
Fig. 2 is a kind of step flow chart of image processing method embodiment two of the embodiment of the present invention;
Fig. 3 is a kind of structural block diagram of mobile terminal of Installation practice three in the embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of mobile terminal of Installation practice four in the embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of mobile terminal of Installation practice five in the embodiment of the present invention.
Specific embodiment
The technical issues of in order to keep the embodiment of the present invention solved, technical solution and beneficial effect are more clearly understood, with The embodiment of the present invention is further described in lower combination accompanying drawings and embodiments.It should be appreciated that specific implementation described herein Example is only used to explain the present invention, is not intended to limit the present invention.
Embodiment of the method one
Referring to Fig.1, a kind of step flow chart of image processing method embodiment one of the embodiment of the present invention is shown, is applied In mobile terminal, the mobile terminal includes at least two cameras, can specifically include following steps:
Step 101, the first image of the first camera shooting is obtained, and, the second image of second camera shooting;
It should be noted that the scene shot in the embodiment of the present invention can be across certain transparent with reflex Barrier shoots image outward, for example, the scenery outside transparent glass is shot before the transparent glass of French window in subscriber station, In, the transparent obstructive object can be transparent material glass or semi-tempered glass, the embodiment of the present invention to this with no restriction.When When shooting scenery outside window before transparent obstructive object, obtained image would generally photographer's inverted image while including shooting, the present invention In embodiment, the first image is shot using the first camera, the second image is shot using second camera, for example, using first Camera shoots the landscape of transparent obstructive beyond the region of objective existence, i.e. the focus of second camera is placed on the landscape of transparent obstructive beyond the region of objective existence, and the The focus of two cameras is placed on photographer's inverted image on transparent obstructive object, using on second camera shooting transparent obstructive object Photographer's inverted image.In the embodiment of the present invention, the first image shot using the first camera, and, it is clapped using second camera The second image taken the photograph, wherein the first image may include main information, and second image may include inverted image information, main Body information may include the portrait, image or scene of transparent obstructive beyond the region of objective existence, and the embodiment of the present invention is not intended to be limited in any this.
Step 102, the inverted image information in second image is identified;
It is applied in the embodiment of the present invention, second image is converted into gray level image, from the gray level image It identifies humanoid profile, or the shape contour of other objects, that is, identifies inverted image information, recognition methods may include a variety of Algorithm, including template recognizer, image local feature point detection algorithm etc. based on gray scale.
Step 103, the inverted image information is removed from second image, obtains third image;
Applied in the embodiment of the present invention, by the inverted image information removing in the second image, acquisition does not include inverted image information Third image identifies " specifically, can convert gray level image for second image according to the gray level image Actor or actress's picture " or " inverted image image ", it can also include image office that knowledge may include the template recognizer based on gray scale otherwise Portion's feature point detection algorithm, the embodiment of the present invention are not intended to be limited in any this;Wherein, the inverted image information may include photographer Photographer's inverted image information, can be carried out removal operation by inverted image information, and acquisition does not include the third of photographer's inverted image information Image, the mode of removal are to be included instead of photographer's inverted image information by the neighbor pixel of photographer's inverted image information Pixel, the mode that can also blur photographer's inverted image information handles, the embodiment of the present invention to this with no restriction.
Step 104, the third image is synthesized with the first image, generates target image;
Specifically, after obtaining third image, by the third image for not including inverted image information and the comprising main information One image is synthesized, and generates target image, the mode of synthesis may include the synthesis based on image characteristic point, can also be base In the synthesis of feature spot size, the embodiment of the present invention, using the third ruler for the third main information for obtaining the third image Very little information obtains the first size information of the first main information of the first image, the third dimension information and the first ruler Very little information is matched, obtain size match information, according to the size match information by the third main information with it is described First main information is synthesized, and the target image is generated, wherein the third main information of third image may include removing Main information after the inverted image information because third image is obtained by the first image, the first image and the second image be with Obtained by the same position at family is shot using two same cameras, therefore the first image in the embodiment of the present invention and third figure The main information of picture is almost the same, using the third dimension information of the third main information, and, the of the first main information One dimension information is synthesized, and target image is obtained.
Step 105, the target image is exported.
In the embodiment of the present invention, after obtaining the target image, storage location of the target image to mobile terminal, example are exported Such as, the picture library application program of mobile terminal or document location in fact, e.g., the specified image file storage position of system, this Invention is specifically to storage location not as any limitation.In the embodiment of the present invention, can also by the target image according to The demand at family is shown in preview pane, or is sent to other users by application program, and the present invention does not make any limit specifically System.
In the embodiment of the present invention, the first image of the first camera shooting is obtained, and, the second of second camera shooting Image;Wherein, the first image includes main information, and second image includes inverted image information;It is moved from second image Except the inverted image information, third image is obtained;The third image is synthesized with the first image, generates target figure Picture;Export the target image.Target image is exported, facilitates the preview or displaying of user, while being also sent to other use Family enhances usability and convenience;Two images are shot using two cameras, inverted image information is removed, improves the beauty of image Sight degree and total tune promote the shooting quality of image, enhance the experience of user.
Embodiment of the method two
Referring to Fig. 2, a kind of step flow chart of image processing method embodiment two of the embodiment of the present invention is shown, is applied In mobile terminal, the mobile terminal includes at least two cameras, can specifically include following steps:
Step 201, the first image that first camera is shot with the first focus information is obtained;
In the embodiment of the present invention, uses first camera to shoot the first image with the first focus information first, need Illustrate, the concrete application scene in the embodiment of the present invention may include across certain transparent glass with reflex to Outer shooting image, for example, when user shoots the scenery outside French window using mobile terminal, the first camera shooting of mobile terminal The first focus information that head is selected with user shoots the first image, the main information that the first image includes be scene outside window and/ Or portrait and/or image;Present invention implementation is not intended to be limited in any this.
Step 202, the second image that the second camera is shot with the second focus information is obtained;
Further, while mobile terminal uses first camera to shoot the first image with the first focus information, It uses the second camera to shoot the second image with the second focus information, when user shoots the scenery outside transparent glass, adopts The second image is shot for the second focus information with the scene on transparent glass with second camera, wherein the second image includes falling Shadow information, meanwhile, the inverted image information may include photographer's inverted image information.
Step 203, the inverted image information in second image is identified;
It is described to go out the inverted image information from second image recognition in a kind of preferred embodiment of the embodiment of the present invention Step includes: to convert gray level image for second image;The inverted image information is identified from the gray level image.
Specifically, second image is converted to gray level image, humanoid profile is identified from the gray level image, Just identify inverted image information, recognition methods may include a variety of algorithm, including the template recognizer based on gray scale, image office Portion's feature point detection algorithm etc..
Step 204, the inverted image information is removed from second image, obtains third image;
It applies in the embodiment of the present invention, after identifying the inverted image information, the inverted image information is removed Operation, the mode of removal are the pixels for replacing the inverted image information to be included the neighbor pixel of the inverted image information, The mode that inverted image information can be blurred is handled.
In another preferred embodiment of the embodiment of the present invention, the method also includes: obtain the of the third image Three main informations.
Further, the third main information for going out third image after the inverted image information by image recognition is removed, by institute Stating third main information equally may include portrait, scene, image, but not include inverted image information.
Step 205, the third image is synthesized with the first image, generates target image;
It is described to carry out the third image and the first image in another preferred embodiment of the embodiment of the present invention The step of synthesis, generation target image includes: the third dimension information for obtaining the third main information of the third image;It obtains The first size information of first main information of the first image;The third dimension information and the progress of first size information Match, obtains size match information;According to the size match information by the third main information and first main information It is synthesized, generates the target image.
In concrete application, because the main information of the first image and third image in the embodiment of the present invention is almost the same, Using the third dimension information of the third main information, and, the first size information of the first main information is synthesized, and is obtained Obtain target image.
Step 206, the target image is exported.
In the embodiment of the present invention, after obtaining the target image, the storage location of output target image to mobile terminal, also The target image can be shown in preview pane according to the demand of user, or be sent to other users.
In the embodiment of the present invention, first camera, second camera are shot with different focus informations the is obtained One image, the second image go out the inverted image information from the second image recognition, remove the inverted image information, obtain third image, obtain The third dimension information of the third main information of the third image is taken, while obtaining the first main information of the first image First size information, third dimension information matched with first size information, size match information is obtained, according to the ruler Very little match information synthesizes the third main information and first main information, generates the target image.This hair In bright embodiment, shoot two different images, identify and remove inverted image information, finally will comprising the first image of main information and The third image for removing inverted image information is synthesized, and is obtained the image of high quality, is guaranteed the consistent of the overall picture style of image Property, further enhance the experience of user.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Installation practice three
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal 300 shown in Fig. 3 is obtained including image Modulus block 301, identification module 302, third image obtain module 303, target image generation module 304 and target image and export mould Block 305.
Image collection module 301, the first image shot for obtaining the first camera, and, second camera shooting The second image;
Identification module 302, for identification the inverted image information in second image;
Third image obtains module 303, for removing the inverted image information from second image, obtains third image;
Target image generation module 304 generates target for synthesizing the third image with the first image Image;
Target image output module 305, for exporting the target image.
Optionally, described image acquisition module 301 includes:
First image acquisition submodule, the first figure shot for obtaining first camera with the first focus information Picture;
Second image acquisition submodule, the second figure shot for obtaining the second camera with the second focus information Picture.
Optionally, the inverted image information includes photographer's inverted image information.
Optionally, the identification module 302 includes:
Gray level image converts submodule, for converting gray level image for second image;
Inverted image information identifies submodule, for identifying the inverted image information from the gray level image.
Optionally, the target image generation module 304 includes:
Third dimension information acquisition submodule, the third size letter of the third main information for obtaining the third image Breath;
First size acquisition of information submodule, the first size letter of the first main information for obtaining the first image Breath;
Size match information obtains submodule, is matched, is obtained with first size information for the third dimension information Obtain size match information;
Target image generates submodule, for according to the size match information by the third main information and described the One main information is synthesized, and the target image is generated.
Installation practice four
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 400 shown in Fig. 4 includes: at least One processor 401, memory 402, at least one network interface 404, other users interface 403 and component 406 of taking pictures.It is mobile Various components in terminal 400 are coupled by bus system 405.It is understood that bus system 405 is for realizing these groups Connection communication between part.Bus system 405 further includes power bus, control bus and state in addition to including data/address bus Signal bus.But for the sake of clear explanation, various buses are all designated as bus system 405 in Fig. 4, component 406 of taking pictures Including the first camera and second camera, wherein the first camera and second camera are for shooting image.
Wherein, user interface 403 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 402 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 402 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 402 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 4021 and application program 4022.
Wherein, operating system 4021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 4022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 4022.
In embodiments of the present invention, by the program or instruction of calling memory 402 to store, specifically, can be application The program or instruction stored in program 4022, processor 401 are used to obtain the first image of the first camera shooting, and, the Second image of two cameras shooting;Identify the inverted image information in second image;It is described from second image removal Shadow information obtains third image;The third image is synthesized with the first image, generates target image;Output institute State target image.
The method that the embodiments of the present invention disclose can be applied in processor 401, or be realized by processor 401. Processor 401 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 401 or the instruction of software form.Above-mentioned processing Device 401 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 402, and processor 401 reads the information in memory 402, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App LicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.
Optionally, processor 401 is also used to: obtaining the first figure that first camera is shot with the first focus information Picture;
Optionally, processor 401 is also used to: obtaining the second figure that the second camera is shot with the second focus information Picture.
Optionally, processor 401 is also used to: converting gray level image for second image;
Optionally, processor 401 is also used to: identifying the inverted image information from the gray level image, wherein the inverted image Information includes photographer's inverted image information.
Optionally, processor 401 is also used to: obtaining the third dimension information of the third main information of the third image;
Optionally, processor 401 is also used to: obtaining the first size information of the first main information of the first image;
Optionally, processor 401 is also used to: the third dimension information is matched with first size information, obtains ruler Very little match information;
Optionally, processor 401 is also used to: according to the size match information by the third main information and described the One main information is synthesized, and the target image is generated.
Mobile terminal 400 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
In the embodiment of the present invention, first camera, second camera are shot with different focus informations the is obtained One image, the second image go out the inverted image information from the second image recognition, remove the inverted image information, obtain third image, obtain The third dimension information of the third main information of the third image is taken, while obtaining the first main information of the first image First size information, third dimension information matched with first size information, size match information is obtained, according to the ruler Very little match information synthesizes the third main information and first main information, generates the target image.This hair In bright embodiment, shoot two different images, identify and remove inverted image information, finally will comprising the first image of main information and The third image for removing inverted image information is synthesized, and is obtained the image of high quality, is guaranteed the consistent of the overall picture style of image Property, further enhance the experience of user.
Installation practice five
Fig. 5 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 5 500 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal 500 in Fig. 5 includes radio frequency (RadioFrequency, RF) circuit 510, memory 520, input list First 530, display unit 540, processor 560, voicefrequency circuit 570, WiFi (WirelessFidelity) module 580, power supply 590 With component 5100 of taking pictures.
Wherein, input unit 530 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 500 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 531.Touch panel 531, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 531 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 531 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 560 is given again, and can be received order that processor 560 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 531.In addition to touch panel 531, input unit 530 can also include other input equipments 532, other input equipments 532 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 540 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal 500.Display unit 540 may include display panel 541, optionally, can use LCD or organic hair The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 541.
It should be noted that touch panel 531 can cover display panel 541, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 560 is sent to determine the type of touch event, is followed by subsequent processing device 560 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Component 5100 of taking pictures includes the first camera and second camera, wherein the first camera and second camera are used In shooting image.
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interfaces and connection whole mobile phone Various pieces, by running or executing the software program and/or module that are stored in first memory 521, and calling storage Data in second memory 522 execute the various functions and processing data of mobile terminal 500, thus to mobile terminal 500 Carry out integral monitoring.Optionally, processor 560 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 521 in software program and/or module and/ Or the data in the second memory 522, processor 560 are used to obtain the first image of the first camera shooting, and, second Second image of camera shooting;Identify the inverted image information in second image;The inverted image is removed from second image Information obtains third image;The third image is synthesized with the first image, generates target image;Described in output Target image.
Optionally, processor 560 is also used to: obtaining the first figure that first camera is shot with the first focus information Picture;
Optionally, processor 560 is also used to: obtaining the second figure that the second camera is shot with the second focus information Picture.
Optionally, processor 560 is also used to: converting gray level image for second image;
Optionally, processor 560 is also used to: identifying the inverted image information from the gray level image, wherein the inverted image Information includes photographer's inverted image information.
Optionally, processor 560 is also used to: obtaining the third dimension information of the third main information of the third image;
Optionally, processor 560 is also used to: obtaining the first size information of the first main information of the first image;
Optionally, processor 560 is also used to: the third dimension information is matched with first size information, obtains ruler Very little match information;
Optionally, processor 560 is also used to: according to the size match information by the third main information and described the One main information is synthesized, and the target image is generated.
As it can be seen that the first image of the first camera shooting is obtained in the embodiment of the present invention, and, second camera shooting The second image;Wherein, the first image includes main information, and second image includes inverted image information;From described second Image removes the inverted image information, obtains third image;The third image is synthesized with the first image, generates mesh Logo image;Export the target image.Target image is exported, facilitates the preview or displaying of user, while being also sent to other User, enhance usability and convenience;Two images are shot using two cameras, remove inverted image information, improve image Aesthetics and total tune, promote the shooting quality of image, enhance the experience of user.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of image processing method is applied to mobile terminal, which is characterized in that the mobile terminal includes at least two camera shootings Head, which comprises
The first image of the first camera shooting is obtained, and, the second image of second camera shooting;
Identify the inverted image information in second image;
The inverted image information is removed from second image, obtains third image;
The third image is synthesized with the first image, generates target image;
Export the target image;
Wherein, it is described obtain the first camera shooting the first image, and, second camera shooting the second image the step of It include: the main information of the first camera shooting transparent obstructive beyond the region of objective existence, the second camera is shot on transparent obstructive object Inverted image information.
2. the method according to claim 1, wherein it is described obtain the first camera shooting the first image, with And second camera shooting the second image the step of include:
Obtain the first image that first camera is shot with the first focus information;
Obtain the second image that the second camera is shot with the second focus information.
3. the method according to claim 1, wherein the step of the inverted image information in identification second image Suddenly include:
Gray level image is converted by second image;
Identify the inverted image information in the gray level image.
4. the method according to claim 1, wherein described carry out the third image and the first image Synthesis, generate target image the step of include:
Obtain the first size information of the first main information of the first image;
Obtain the third dimension information of the third main information of the third image;
The third dimension information is matched with first size information, obtains size match information;
The third main information and first main information are synthesized according to the size match information, described in generation Target image.
5. the method according to claim 1, wherein the inverted image information includes photographer's inverted image information.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes at least two cameras, and the terminal includes:
Image collection module, the first image shot for obtaining the first camera, and, the second figure of second camera shooting Picture;
Identification module, for identification the inverted image information in second image;
Third image obtains module, for removing the inverted image information from second image, obtains third image;
Target image generation module generates target image for synthesizing the third image with the first image;
Target image output module, for exporting the target image;
Wherein, described image obtains module and is also used to: the main information outside first camera shooting transparent obstructive, and described the Two cameras shoot the inverted image information on transparent obstructive object.
7. terminal according to claim 6, which is characterized in that described image obtains module and includes:
First image acquisition submodule, the first image shot for obtaining first camera with the first focus information;
Second image acquisition submodule, the second image shot for obtaining the second camera with the second focus information.
8. terminal according to claim 6, which is characterized in that the identification module includes:
Gray level image converts submodule, for converting gray level image for second image;
Inverted image information identifies submodule, for identifying the inverted image information from the gray level image.
9. terminal according to claim 6, which is characterized in that the target image generation module includes:
Third dimension information acquisition submodule, the third dimension information of the third main information for obtaining the third image;
First size acquisition of information submodule, the first size information of the first main information for obtaining the first image;
Size match information obtains submodule, is matched for the third dimension information with first size information, and ruler is obtained Very little match information;
Target image generates submodule, for according to the size match information that the third main information is main with described first Body information is synthesized, and the target image is generated.
10. terminal according to claim 6, which is characterized in that the inverted image information includes photographer's inverted image information.
CN201610942907.9A 2016-10-31 2016-10-31 A kind of image processing method and mobile terminal Active CN106412321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610942907.9A CN106412321B (en) 2016-10-31 2016-10-31 A kind of image processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610942907.9A CN106412321B (en) 2016-10-31 2016-10-31 A kind of image processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106412321A CN106412321A (en) 2017-02-15
CN106412321B true CN106412321B (en) 2019-07-26

Family

ID=58013665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610942907.9A Active CN106412321B (en) 2016-10-31 2016-10-31 A kind of image processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106412321B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395991B (en) * 2017-08-31 2020-01-10 Oppo广东移动通信有限公司 Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment
CN109448032A (en) * 2018-10-12 2019-03-08 北京双髻鲨科技有限公司 A kind of moving target inverted image recognition methods and device
CN110086990B (en) * 2019-04-28 2021-01-12 深圳回收宝科技有限公司 Terminal photographing method and device, portable terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103503023A (en) * 2011-05-04 2014-01-08 索尼爱立信移动通讯有限公司 Method, graphical user interface, and computer program product for processing of a light field image
US8730356B2 (en) * 2011-03-07 2014-05-20 Sony Corporation System and method for automatic flash removal from images
CN103826065A (en) * 2013-12-12 2014-05-28 小米科技有限责任公司 Image processing method and apparatus
CN105321191A (en) * 2014-06-12 2016-02-10 宏达国际电子股份有限公司 Method and electronic apparatus for processing reflection in image
CN105391949A (en) * 2015-10-29 2016-03-09 深圳市金立通信设备有限公司 Photographing method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8730356B2 (en) * 2011-03-07 2014-05-20 Sony Corporation System and method for automatic flash removal from images
CN103503023A (en) * 2011-05-04 2014-01-08 索尼爱立信移动通讯有限公司 Method, graphical user interface, and computer program product for processing of a light field image
CN103826065A (en) * 2013-12-12 2014-05-28 小米科技有限责任公司 Image processing method and apparatus
CN105321191A (en) * 2014-06-12 2016-02-10 宏达国际电子股份有限公司 Method and electronic apparatus for processing reflection in image
CN105391949A (en) * 2015-10-29 2016-03-09 深圳市金立通信设备有限公司 Photographing method and terminal

Also Published As

Publication number Publication date
CN106412321A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN105847674B (en) A kind of preview image processing method and mobile terminal based on mobile terminal
CN105827965B (en) A kind of image processing method and mobile terminal based on mobile terminal
CN105872148B (en) A kind of generation method and mobile terminal of high dynamic range images
CN107395965B (en) A kind of image processing method and mobile terminal
CN105827754B (en) A kind of generation method and mobile terminal of high dynamic range images
CN107181913B (en) A kind of photographic method and mobile terminal
CN106791400B (en) A kind of image display method and mobile terminal
CN105933538B (en) A kind of the video retrieval method and mobile terminal of mobile terminal
CN107343149B (en) A kind of photographic method and mobile terminal
CN106101545B (en) A kind of image processing method and mobile terminal
CN106126108B (en) A kind of generation method and mobile terminal of thumbnail
CN106791450B (en) A kind of photographic method and mobile terminal
CN106454085B (en) A kind of image processing method and mobile terminal
CN106101544B (en) A kind of image processing method and mobile terminal
CN105959564B (en) A kind of photographic method and mobile terminal
CN107155064B (en) A kind of image pickup method and mobile terminal
CN107172346A (en) A kind of weakening method and mobile terminal
CN106973237B (en) A kind of image pickup method and mobile terminal
CN106454086A (en) Image processing method and mobile terminal
CN105827963B (en) Scene-change detecting method and mobile terminal during one kind is taken pictures
CN106412321B (en) A kind of image processing method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN107302655B (en) It is a kind of to shoot the adjusting method and mobile terminal found a view
CN106097398B (en) A kind of detection method and mobile terminal of Moving Objects
CN106161933B (en) A kind of image processing method and mobile terminal

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