CN105959543B - It is a kind of to remove reflective filming apparatus and method - Google Patents

It is a kind of to remove reflective filming apparatus and method Download PDF

Info

Publication number
CN105959543B
CN105959543B CN201610338320.7A CN201610338320A CN105959543B CN 105959543 B CN105959543 B CN 105959543B CN 201610338320 A CN201610338320 A CN 201610338320A CN 105959543 B CN105959543 B CN 105959543B
Authority
CN
China
Prior art keywords
color
shooting
image
photo
blocked
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
CN201610338320.7A
Other languages
Chinese (zh)
Other versions
CN105959543A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610338320.7A priority Critical patent/CN105959543B/en
Publication of CN105959543A publication Critical patent/CN105959543A/en
Application granted granted Critical
Publication of CN105959543B publication Critical patent/CN105959543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration

Abstract

Reflective filming apparatus and method are removed the invention discloses a kind of, belongs to field of photographing technology.The reflective filming apparatus of the removal includes: shooting module, for shooting photo;Picture recognition module, the retroreflective regions that two pictures of the mutual dislocation that content is identical in the photo for identification but the light intensity depth is different surround;Image repair module removes retroreflective regions for being repaired the photo by the error image that retroreflective regions influence by repairing nomography.The present invention removes and generates invalid reflective, to intentionally get final photo presentation user really scene under scene of taking pictures, and filters out the scene that user is not intended to, and improves photographic quality.

Description

It is a kind of to remove reflective filming apparatus and method
Technical field
The present invention relates to field of photographing technology more particularly to a kind of remove reflective filming apparatus and method.
Background technique
Mobile phone has become the essential carry-on articles of people, and with the development of mobile phone photographic technology, it is just in addition The characteristic taken, mobile phone almost become the daily primary selection taken pictures of people, can help record life anywhere or anytime in people's life It is living.
But when people are when across the glass shooting subsequent scene of glass and object, often because the reflective of glass is in In now final photograph, and the quality of shooting is made to be deteriorated.Such as, showpiece or commodity in showcase are shot, is sitting in tourism greatly When clapping the landscape outside vehicle window, the scenery in tour tower outside shooting on bar vehicle, often because the reflective mechanism of glass, glass are anti- Penetrated the things of this side of photographer, finally by cameras capture, the photograph of generation other than the subsequent effective reference object of glass, The invalid reference object for having also appeared this side of photographer reflected on glass, leads to the decline of final photographic quality.
Summary of the invention
To solve existing technical problem, the present invention, which provides, a kind of removes reflective filming apparatus and method, removal What is generated under scene of taking pictures is invalid reflective, and the scene for intentionally getting final photo presentation user really filters out user and do not wish It hopes obtained scene, improves photographic quality.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
Reflective filming apparatus is removed the present invention provides a kind of, described device includes: shooting module, image recognition mould Block, image repair module;Wherein,
The shooting module, for shooting photo;
Described image identification module, the mutual mistake that content is identical in the photo for identification but the light intensity depth is different The retroreflective regions that two pictures of position surround;
Described image repair module, for by repair error image that nomography is influenced the photo by retroreflective regions into Row is repaired, and retroreflective regions are removed.
Optionally, described device, further includes:
Judgment module being shot, judging whether shooting front has transparent substance when for finding a view.
Optionally, the shooting judgment module is by judging occur the phase that content is identical but light intensity is different in view-finder Whether two images mutually to misplace have transparent substance in front of shooting to determine.
Optionally, further includes:
Signal receiving module, for receiving selection signal, whether the selection signal is for determining shooting front when finding a view There is transparent substance.
Optionally, what described image repair module used described repairs nomography are as follows: target subject same color region quilt When the image partial occlusion of non-targeted subject, the region by picking up target subject same color is not blocked the face of part Color reparation is blocked the false color of part;The region of target subject same color is all hidden by the image of non-targeted subject When gear, then the colour-difference for being blocked and not being blocked from the same color region being at least partially obscured nearest at this, comparison is identified Not, it identifies the color of barrier bed, the color region all sheltered from is then calculated by color value principle of stacking and subtracts screening Color after barrier color obtains correct target shooting object image.
Reflective image pickup method is removed the present invention also provides a kind of, which comprises
Shoot photo;
It is reflective to identify that two pictures of the mutual dislocation that content is identical in the photo but the light intensity depth is different surround Region;
The photo is repaired by the error image that retroreflective regions influence by repairing nomography, removes retroreflective regions.
Optionally, the reflective image pickup method of the removal comprising steps of
Judge whether shooting front has transparent substance when finding a view.
Optionally, the reflective image pickup method of the removal, further includes:
It is determined by judging two images of the mutual dislocation for occurring that content is identical but light intensity is different in view-finder Whether shooting front has transparent substance.
Optionally, the reflective image pickup method of the removal comprising steps of
Selection signal is received, the selection signal is for determining whether shooting front has transparent substance when finding a view.
Optionally, described in the reflective image pickup method of the removal repairs nomography are as follows: target subject same color area Domain by non-targeted subject image partial occlusion when, the region by picking up target subject same color is not blocked part Color reparation be blocked the false color of part;The region of target subject same color is complete by the image of non-targeted subject When portion is blocked, then the face for being blocked and not being blocked from the same color region being at least partially obscured nearest at this, comparison is identified Color difference is other, identifies the color of barrier bed, then calculates the color region all sheltered from by color value principle of stacking and subtracts Color after going barrier bed color obtains correct target shooting object image.
Compared with prior art, the present invention the invention has the following advantages that
It is provided by the invention it is a kind of remove reflective filming apparatus and method, removal take pictures generate under scene it is invalid anti- Light, the scene for intentionally getting final photo presentation user really filter out the scene that user is not intended to, and improve photo matter Amount.
Detailed description of the invention
The hardware structural diagram of Fig. 1 optional mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the electrical structure block diagram of camera as shown in figure 1;
Fig. 3 is the structural block diagram of the reflective filming apparatus of removal provided in the embodiment of the present invention one;
Fig. 4 a, Fig. 4 b, Fig. 4 c are to remove reflective shooting process figure in the embodiment of the present invention one;
Fig. 5 is the structural block diagram of the reflective filming apparatus of removal provided in the embodiment of the present invention two;
Fig. 6 is to remove reflective image pickup method flow chart in the embodiment of the present invention three;
Fig. 7 is to remove reflective image pickup method flow chart in the embodiment of the present invention four.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include that wireless communication unit 110, A/V (audio/video) input unit 120, user are defeated Enter unit 130, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 etc..Fig. 1 shows The mobile terminal with various assemblies is gone out, it should be understood that being not required for implementing all components shown.It can substitute Implement more or fewer components in ground.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121 Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110 It send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (audio data) is received via microphone in record mode, speech recognition mode etc. operational mode, and can will in this way Acoustic processing be audio data.Audio that treated (voice) data can be converted in the case where telephone calling model can The format output of mobile communication base station is sent to via mobile communication module 112.Various types of make an uproar can be implemented in microphone 122 Sound eliminates (or inhibition) algorithm to eliminate the noise or do that (or inhibition) generates during sending and receiving audio signal It disturbs.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come From the input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements or can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia are literary Part downloading etc.) user interface (UI) or graphic user interface (GUI).When mobile terminal 100 be in video calling mode or When person's image capture mode, display unit 151 can show captured image and/or received image, show video or image And UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch Input pressure and touch input position and touch input area.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.Controller 180 can be with execution pattern identifying processing, will be in touch screen The handwriting input of upper execution or picture draw input and are identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
It is the electrical structure block diagram of camera in Fig. 1 referring to Fig. 2, Fig. 2.
Phtographic lens 1211 is made of the multiple optical lens for being used to form shot object image, is single-focus lens or varifocal mirror Head.Phtographic lens 1211 can move in the direction of the optical axis under the control of lens driver 1221, and lens driver 1221 According to the control signal from lens driving control circuit 1222, the focal position of phtographic lens 1211 is controlled, in zoom lens In the case of, it also can control focal length.Lens driving control circuit 1222 is according to the control command from microcomputer 1217 Carry out the drive control of lens driver 1221.
It is configured with and takes the photograph near the position of the shot object image formed on the optical axis of phtographic lens 1211, by phtographic lens 1211 Element 1212.Photographing element 1212 is for imaging shot object image and obtaining image data.On photographing element 1212 Two dimension and be arranged in a matrix the photodiode for constituting each pixel.Each photodiode generates photoelectricity corresponding with light income Switching current, the photoelectric conversion electric current carry out charge accumulation by the capacitor connecting with each photodiode.The preceding table of each pixel Face is configured with the RGB colour filter of bayer arrangement.
Photographing element 1212 is connect with imaging circuit 1213, which carries out electricity in photographing element 1212 Lotus accumulation control and picture signal read control, and it is laggard to reduce resetting noise to the picture signal (analog picture signal) of the reading Row waveform shaping, and then gain raising etc. is carried out to become signal level appropriate.
Imaging circuit 1213 is connect with A/D converter 1214, which carries out modulus to analog picture signal Conversion, to 1227 output digital image signal (hereinafter referred to as image data) of bus.
Bus 1227 is the transmitting path for being transmitted in the various data that the inside of camera reads or generates.In bus 1227 are connected to above-mentioned A/D converter 1214, are additionally connected to image processor 1215, jpeg processor 1216, microcomputer Calculation machine 1217, SDRAM (Synchronous Dynamic random access memory, Synchronous Dynamic Random Access Memory) 1218, memory interface (hereinafter referred to as memory I/F) 1219, LCD (Liquid Crystal Display, liquid crystal display Device) driver 1220.
Image processor 1215 carries out OB to the image data of the output based on photographing element 1212 and subtracts each other processing, white balance Adjustment, gamma conversion, colour difference signal processing, noise removal process, changes processing, edge processing etc. respectively at color matrix operation simultaneously Kind image procossing.Jpeg processor 1216 is when by Imagery Data Recording in recording medium 1225, according to JPEG compression mode pressure Contract the image data read from SDRAM1218.In addition, jpeg processor 1216 shows to carry out image reproducing and carries out JPEG The decompression of image data.When unziping it, the file being recorded in recording medium 1225 is read, in JPEG processor After implementing decompression in 1216, the image data of decompression is temporarily stored in DRAM1218 and on LCD1226 It is shown.In addition, in the present embodiment, as compression of images decompression mode using JPEG mode, however compressing Decompression mode is without being limited thereto, it is of course possible to using MPEG, TIFF, other compressed and decompressed modes such as H.264.
Microcomputer 1217 plays the function of the control unit as camera entirety, is uniformly controlled the various processing of camera Sequence.Microcomputer 1217 is connected to operating unit 1223 and flash memory 1224.
Operating unit 1223 includes but is not limited to physical button or virtual key, and the entity or virtual key can be electricity Source button, camera button, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button, The operational controls such as the various input buttons such as large buttons and various enter keys, detect the mode of operation of these operational controls.
It will test result to export to microcomputer 1217.In addition, the front surface in the LCD1226 as display is equipped with Touch panel detects the touch location of user, which is exported to microcomputer 1217.Microcomputer 1217 According to the testing result of the operating position from operating unit 1223, various processing sequences corresponding with the operation of user are executed.
Flash memory 1224 stores the program for executing the various processing sequences of microcomputer 1217.Microcomputer 1217 The control of camera entirety is carried out according to the program.In addition, flash memory 1224 stores the various adjusted values of camera, microcomputer 1217 Adjusted value is read, the control of camera is carried out according to the adjusted value.
SDRAM1218 be for image data etc. temporarily stored can electricity rewrite volatile memory.It should SDRAM1218 temporarily stores the image data exported from A/D converter 1214 and in image processor 1215, jpeg processor 1216 it is equal in the image data that carried out that treated.
Memory interface 1219 is connect with recording medium 1225, is carried out image data and the text being attached in image data First-class control data write-in recording medium 1225 and read from recording medium 1225 of part.Recording medium 1225 is, for example, can The recording mediums such as memory card of disassembled and assembled freely on camera main-body, however it is without being limited thereto, it is also possible to be built in camera main-body In hard disk etc..
LCD driver 1210 is connect with LCD1226, will treated that image data is stored in by image processor 1215 SDRAM1218 when needing to show, reads the image data of SDRAM1218 storage and shows on LCD1226, alternatively, at JPEG The compressed image data of reason device 1216 is stored in SDRAM1218, and when needing to show, jpeg processor 1216 is read
The compressed image data of SDRAM1218, then unzip it, the image data after decompression is passed through LCD1226 is shown.
LCD1226 configuration performs image display at the back side of camera main-body.The LCD1226LCD), however it is without being limited thereto, The various display panels (LCD1226) such as organic EL can be used, however it is without being limited thereto, it can also be using various displays such as organic EL Panel.
Electrical structure schematic diagram based on above-mentioned mobile terminal hardware configuration and camera proposes that photographic method of the present invention is each A embodiment.
Embodiment one
Reflective filming apparatus is removed the embodiment of the invention provides a kind of.It illustrates one embodiment of the invention by Fig. 3 The structural block diagram of the reflective filming apparatus of the removal of offer.The present embodiment is applied to movement with the reflective filming apparatus of the removal It is illustrated in terminal.The reflective filming apparatus of the removal can be become by being implemented in combination with for software, hardware or both The all or part of terminal, this shines device, comprising:
Shooting module 31, for shooting photo;
Picture recognition module 32, the mutual dislocation that content is identical in the photo for identification but the light intensity depth is different The retroreflective regions that surround of two pictures;
Image repair module 33, for being carried out by repairing the error image that nomography is influenced the photo by retroreflective regions It repairs, removes retroreflective regions.
Fig. 4 a, Fig. 4 b, Fig. 4 c are that the embodiment one shooting photo removes reflective process.
Positional relationship when Fig. 4 a is shooting between mobile phone, target subject " AAA ", non-targeted subject " B " and glass.
Fig. 4 b is that object " AAA " is captured through glass by mobile phone camera camera lens, is presented in shooting view-finder;In photographer Ipsilateral non-targeted subject " B " passes through the reflection in two faces of glass, and the reflection image that two positions mutually stagger is by camera lens Capture is presented in shooting view-finder.The reflection of one of them non-targeted subject generated for glass close to the one side of photographer Picture is illustrated as " B " of green in Fig. 4 b, the reflection of another non-targeted subject generated for glass far from the one side of photographer Picture is illustrated as red " B " in Fig. 4 b.When due to generating " B " red in Fig. 4 b, face of the light by glass far from photographer is anti- Penetrate rear transmitted on one side once, in addition absorption of the glass to light, the light of red " B " close to photographer by glass again Line intensity can be that content is identical but light intensity lower than green " B ", the reflection image that non-targeted subject generates on glass The picture of two different dislocation.
Fig. 4 c is the effect that " B " of the reflection image red and green that identify and remove non-targeted subject reaches.
The present embodiment through the above scheme, solves the inefficient reflections generated under taking pictures scene by removal retroreflective regions and asks Topic, the scene for intentionally getting final photo presentation user really filter out the scene that user is not intended to, and improve photo matter Amount and user satisfaction.
Embodiment two
In example 1, the device is by increasing shooting judgment module, signal receiving module come shooting when judging to find a view Whether front has glass.Referring to FIG. 5, it illustrates the reflective filming apparatus of the removal that another embodiment of the present invention provides Structural block diagram.The present embodiment is applied to illustrate in mobile terminal with the reflective filming apparatus of the removal.The removal is anti- The filming apparatus of light can pass through all or part of software, hardware or both being implemented in combination with as terminal, the photograph Device, comprising:
Shooting module 31, for shooting photo;
Picture recognition module 32, the mutual dislocation that content is identical in the photo for identification but the light intensity depth is different The retroreflective regions that surround of two pictures;
Image repair module 33, for being carried out by repairing the error image that nomography is influenced the photo by retroreflective regions It repairs, removes retroreflective regions.
Judgment module 34 being shot, judging whether shooting front has transparent substance when for finding a view.Shooting judgment module passes through Two images of the mutual dislocation for occurring that content is identical but light intensity is different in view-finder are judged whether to determine shooting front There is glass.
Signal receiving module 35 determines whether shooting front has glass when finding a view for receiving selection signal.
After equipment enters working condition of finding a view, before taking pictures in 5 seconds, view finder all occurs in appearance when finding a view every time Hold identical, two pictures of the different mutual dislocation of light intensity, then equipment is determined as that there is glass in front.The step is in order to avoid not having There is the problem of same object of two overlappings of shooting when glass is misread as the reflection of glass by equipment, increases precision.Do not press The above method detects that there is glass in front, then enters normal photographing process.
If shooting front can be connect there are glass, but when shooting judgment module and not judging correctly by signal Receiving module manual setting shooting front, there are glass.
The reflective filming apparatus of removal provided in this embodiment, by judging automatically whether shooting front glass or manually sets It sets whether shooting front has glass, the same object of two overlappings of shooting when no glass is avoided to misread as the anti-of glass by equipment The problem of penetrating improves shooting precision.
Embodiment three
Referring to FIG. 6, it illustrates the flow charts of the reflective image pickup method of removal provided by one embodiment of the present invention.It should Method, comprising:
Step s60 shoots photo using mobile terminal;
When mobile terminal shoots photo, the image of generation includes target subject " AAA ", by the non-mesh of glass reflecting generation It marks subject " B ", image as shown in Figure 4 b.
Step s61, identify two of content is identical but the light intensity depth is different mutual dislocation in photo as surrounding Retroreflective regions;
Pass through the reflection in two faces of glass in the ipsilateral non-targeted subject " B " of photographer, what two positions mutually staggered Reflection image is presented in shooting view-finder by camera lens capture.One of them generates for glass close to the one side of photographer non- The reflection image of target subject is illustrated as " B " of green in Fig. 4 b, another generates for glass far from the one side of photographer non- The reflection image of target subject is illustrated as red " B " in Fig. 4 b.When due to generating " B " red in Fig. 4 b, light is by glass It is again primary close to transmitting on one side for photographer by glass after face reflection far from photographer, in addition glass makees the absorption of light With the light intensity of red " B " can be lower than green " B ", and the reflection image that non-targeted subject generates on glass is interior Hold the picture of two identical but different light intensity dislocation.
Step s62 is repaired photo by the error image that retroreflective regions influence by repairing nomography, removes reflective areas Domain;
Algorithm is as follows:
If the region of target subject same color, hidden in the photo of generation by the picture part of non-targeted subject Gear is then blocked part by equipment by picking up the be not blocked color reparation of part of the region of target subject same color False color;
If the region of target subject same color, all hidden in the photo of generation by the picture of non-targeted subject Gear, then equipment is identified from the same color region being at least partially obscured nearest at this, is blocked by comparing and is not blocked Color distinction identifies the color of barrier bed.The color region all sheltered from is calculated by color value principle of stacking to subtract Color after barrier bed color, as correct target shoot object image.
In conclusion the image pickup method that removal provided in this embodiment is reflective, solves by removal retroreflective regions and takes pictures The inefficient reflections problem generated under scene, the scene for intentionally getting final photo presentation user really, filters out user and does not wish It hopes obtained scene, improves photographic quality and user satisfaction.
Example IV
Referring to FIG. 7, it illustrates the flow charts of the reflective image pickup method of removal provided by one embodiment of the present invention.It should Method, comprising:
Step s70, judges whether shooting front has glass when finding a view.
After equipment enters working condition of finding a view, before taking pictures in 5 seconds, view finder all occurs in appearance when finding a view every time Hold identical, two pictures of the different mutual dislocation of light intensity, then equipment is determined as that there is glass in front, into the reflective shooting of removal Process.Detect that front without glass, then enters normal photographing process according to the above method.
Step s71, if whether having glass in front of manual setting without correctly judging.Photographer is according to floor Determine whether front has glass, if whether having the result and equipment of glass in front of the shooting that photographer judges according to floor Whether there is the result of glass different in front of the shooting judged automatically, then can shoot whether front has glass with manual setting.
Step s72 shoots photo using mobile terminal;
When mobile terminal shoots photo, the image of generation includes target subject " AAA ", by the non-mesh of glass reflecting generation It marks subject " B ", image as shown in Figure 4 b.
Step s73, identify two of content is identical but the light intensity depth is different mutual dislocation in photo as surrounding Retroreflective regions;
Pass through the reflection in two faces of glass in the ipsilateral non-targeted subject " B " of photographer, what two positions mutually staggered Reflection image is presented in shooting view-finder by camera lens capture.One of them generates for glass close to the one side of photographer non- The reflection image of target subject is illustrated as " B " of green in Fig. 4 b, another generates for glass far from the one side of photographer non- The reflection image of target subject is illustrated as red " B " in Fig. 4 b.When due to generating " B " red in Fig. 4 b, light is by glass It is again primary close to transmitting on one side for photographer by glass after face reflection far from photographer, in addition glass makees the absorption of light With the light intensity of red " B " can be lower than green " B ", and the reflection image that non-targeted subject generates on glass is interior Hold the picture of two identical but different light intensity dislocation.
Step s74 is repaired photo by the error image that retroreflective regions influence by repairing nomography, removes reflective areas Domain;
Algorithm is as follows:
If the region of target subject same color, hidden in the photo of generation by the picture part of non-targeted subject Gear is then blocked part by equipment by picking up the be not blocked color reparation of part of the region of target subject same color False color;
If the region of target subject same color, all hidden in the photo of generation by the picture of non-targeted subject Gear, then equipment is identified from the same color region being at least partially obscured nearest at this, is blocked by comparing and is not blocked Color distinction identifies the color of barrier bed.The color region all sheltered from is calculated by color value principle of stacking to subtract Color after barrier bed color, as correct target shoot object image.
The reflective image pickup method of removal provided in this embodiment, by judging automatically whether shooting front glass or manually sets It sets whether shooting front has glass, the same object of two overlappings of shooting when no glass is avoided to misread as the anti-of glass by equipment The problem of penetrating improves shooting precision.
The mobile terminal of disclosed embodiment is not limited to the application of its construction and method, but embodiment party according to the present invention The whole or part of formula can be selectively combined to be configured to various modifications.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (6)

1. a kind of remove reflective filming apparatus, which is characterized in that described device includes:
Shooting module, for shooting photo;
Picture recognition module, two of the mutual dislocation that content is identical in the photo for identification but the light intensity depth is different As the retroreflective regions surrounded;
Image repair module, for the photo to be repaired by the error image that retroreflective regions influence by repairing nomography, What described image repair module used described repairs nomography are as follows: target subject same color region is by the shadow of non-targeted subject When as partial occlusion, the be not blocked color reparation of part of the region by picking up target subject same color is blocked part False color;When the region of target subject same color is all blocked by the image of non-targeted subject, then identify from this The nearest same color region being at least partially obscured in place, the color distinction that comparison is blocked and is not blocked identify barrier bed Color, the color after the color region all sheltered from subtracts barrier bed color is then calculated by color value principle of stacking Correct target shooting object image is obtained, retroreflective regions are removed;
Described device, further includes:
Judgment module being shot, judging whether shooting front has transparent substance when for finding a view.
2. the apparatus according to claim 1, which is characterized in that the shooting judgment module is by judging occur in view-finder Whether two images of the mutual dislocation that content is identical but light intensity is different have transparent substance in front of shooting to determine.
3. the apparatus according to claim 1, which is characterized in that described device, further includes:
Signal receiving module, for receiving selection signal, the selection signal is for determining whether shooting front has when finding a view Bright object.
4. a kind of remove reflective image pickup method, which is characterized in that the described method includes:
Shoot photo;
Identify the retroreflective regions that two pictures of the mutual dislocation that content is identical in the photo but the light intensity depth is different surround;
The photo is repaired by the error image that retroreflective regions influence by repairing nomography, it is described to repair nomography are as follows: mesh When marking image partial occlusion of the subject same color region by non-targeted subject, by picking up target subject same color The be not blocked color reparation of part of region be blocked the false color of part;The region of target subject same color is non- When the image of target subject all blocks, then identifies from the same color region being at least partially obscured nearest at this, compare quilt The color distinction blocked and be not blocked identifies the color of barrier bed, is then calculated by color value principle of stacking by whole The color region sheltered from subtracts the color after barrier bed color and obtains correct target shooting object image, removes retroreflective regions;
The reflective image pickup method of the removal comprising steps of
Judge whether shooting front has transparent substance when finding a view.
5. according to the method described in claim 4, it is characterized in that, described remove reflective image pickup method, further includes:
Shooting is determined by judging two images of the mutual dislocation for occurring that content is identical but light intensity is different in view-finder Whether front has transparent substance.
6. according to the method described in claim 4, it is characterized in that, the reflective image pickup method of the removal comprising steps of
Selection signal is received, the selection signal is for determining whether shooting front has transparent substance when finding a view.
CN201610338320.7A 2016-05-19 2016-05-19 It is a kind of to remove reflective filming apparatus and method Active CN105959543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610338320.7A CN105959543B (en) 2016-05-19 2016-05-19 It is a kind of to remove reflective filming apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610338320.7A CN105959543B (en) 2016-05-19 2016-05-19 It is a kind of to remove reflective filming apparatus and method

Publications (2)

Publication Number Publication Date
CN105959543A CN105959543A (en) 2016-09-21
CN105959543B true CN105959543B (en) 2019-04-30

Family

ID=56909228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610338320.7A Active CN105959543B (en) 2016-05-19 2016-05-19 It is a kind of to remove reflective filming apparatus and method

Country Status (1)

Country Link
CN (1) CN105959543B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791433B (en) * 2017-01-18 2018-10-19 维沃移动通信有限公司 A kind of image processing method and electronic equipment
CN106911896B (en) * 2017-02-28 2020-09-01 努比亚技术有限公司 Image processing device and method
CN108564540B (en) * 2018-03-05 2020-07-17 Oppo广东移动通信有限公司 Image processing method and device for removing lens reflection in image and terminal equipment
CN108551552B (en) * 2018-05-14 2020-09-01 Oppo广东移动通信有限公司 Image processing method, device, storage medium and mobile terminal
CN108566516B (en) * 2018-05-14 2020-07-31 Oppo广东移动通信有限公司 Image processing method, device, storage medium and mobile terminal
CN110166684B (en) 2018-06-29 2021-09-17 腾讯科技(深圳)有限公司 Image processing method, image processing device, computer readable medium and electronic equipment
CN110086990B (en) * 2019-04-28 2021-01-12 深圳回收宝科技有限公司 Terminal photographing method and device, portable terminal and storage medium
CN110930323B (en) * 2019-11-07 2023-09-12 华为技术有限公司 Method and device for removing reflection of image
CN111062857B (en) * 2019-11-25 2024-03-19 上海芯歌智能科技有限公司 System and method for eliminating reflected light of 3D contour camera
CN110855897B (en) * 2019-12-20 2021-10-15 维沃移动通信有限公司 Image shooting method and device, electronic equipment and storage medium
CN113691791B (en) * 2021-09-17 2023-10-03 青岛海信激光显示股份有限公司 Laser projection device and display method of projection image thereof
CN115793225B (en) * 2023-01-10 2023-05-30 南京木木西里科技有限公司 Image acquisition reflection elimination adjusting device and system thereof

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6859565B2 (en) * 2001-04-11 2005-02-22 Hewlett-Packard Development Company, L.P. Method and apparatus for the removal of flash artifacts
CN102324102B (en) * 2011-10-08 2014-04-16 北京航空航天大学 Method for automatically filling structure information and texture information of hole area of image scene
CN103247036B (en) * 2012-02-10 2016-05-18 株式会社理光 Many exposure images fusion method and device
CN103826065B (en) * 2013-12-12 2017-07-21 小米科技有限责任公司 A kind of image processing method and device
CN104134195B (en) * 2014-08-01 2017-02-15 西安电子科技大学 Image restoration method based on geometric sparsity of blocks
CN104537633B (en) * 2014-12-18 2017-07-11 河南师范大学 A kind of method that utilization image fusion technology eliminates the anti-shadow of image
CN104599251B (en) * 2015-01-28 2017-07-28 武汉大学 A kind of absolute occlusion area method for repairing and mending of true orthophoto and system
CN205080348U (en) * 2015-10-31 2016-03-09 王亚迪 Camera lens shading ring
CN105574830B (en) * 2016-02-04 2020-02-21 沈阳工业大学 Low-quality image enhancement method under extreme weather condition

Also Published As

Publication number Publication date
CN105959543A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN105959543B (en) It is a kind of to remove reflective filming apparatus and method
CN105430295B (en) Image processing apparatus and method
CN102783136B (en) For taking the imaging device of self-portrait images
CN105959554B (en) Video capture device and method
CN105791701B (en) Image capturing device and method
CN105430263A (en) Long-exposure panoramic image photographing device and method
CN104660903B (en) Image pickup method and filming apparatus
CN104811554B (en) The switching method and terminal of camera mode
CN106027905B (en) A kind of method and mobile terminal for sky focusing
CN105472246B (en) Camera arrangement and method
CN105611181A (en) Multi-frame photographed image synthesizer and method
CN105513021B (en) Image denoising device and method
CN105704369B (en) A kind of information processing method and device, electronic equipment
CN105335458B (en) Preview picture method and device
CN105407295B (en) Mobile terminal filming apparatus and method
CN105357444B (en) focusing method and device
CN105744170A (en) Picture photographing device and method
CN105469357B (en) Image processing method, device and terminal
CN106385579A (en) Camera detection device, method and multi-camera terminal
CN105763810B (en) Camera arrangement and method based on human eye
CN104796625A (en) Picture synthesizing method and device
CN105407275B (en) Photo synthesizer and method
CN107071169A (en) The processing unit and method of screen wallpaper
CN104751488B (en) Photographing method for moving track of moving object and terminal equipment
CN107071277B (en) Optical drawing shooting device and 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