WO2016169488A1 - Image processing method and apparatus, computer storage medium and terminal - Google Patents

Image processing method and apparatus, computer storage medium and terminal Download PDF

Info

Publication number
WO2016169488A1
WO2016169488A1 PCT/CN2016/079840 CN2016079840W WO2016169488A1 WO 2016169488 A1 WO2016169488 A1 WO 2016169488A1 CN 2016079840 W CN2016079840 W CN 2016079840W WO 2016169488 A1 WO2016169488 A1 WO 2016169488A1
Authority
WO
WIPO (PCT)
Prior art keywords
photosensitive
image
time
photosensitive device
devices
Prior art date
Application number
PCT/CN2016/079840
Other languages
French (fr)
Chinese (zh)
Inventor
裴珺
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2016169488A1 publication Critical patent/WO2016169488A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Definitions

  • the present invention relates to the field of information technology, and in particular, to a method and apparatus for processing a captured image, a computer storage medium, and a terminal.
  • Embodiments of the present invention are directed to provide an image processing method, apparatus, computer storage medium, and terminal that at least partially solve the problem of poor motion photographic shooting.
  • the embodiment of the invention provides a method for processing a beat image, comprising:
  • the number of the photosensitive devices being two or more;
  • the images acquired by the plurality of photosensitive devices are synthesized.
  • the alternate exposure time of the preset photosensitive device includes:
  • the plurality of photosensitive device alternate exposure times S are set according to the photosensitive time s and the reading time t of the photosensitive device.
  • the plurality of photosensitive devices are switched according to the preset exposure time, and each of the photosensitive devices sequentially performs image collection according to the alternating exposure time, and further includes:
  • the plurality of photosensitive devices are alternately exposed by rotating the plane mirror in the image pickup element by a mechanical rotating shaft.
  • the synthesizing the images collected by the plurality of photosensitive devices comprises:
  • the images collected by the plurality of photosensitive devices are image-combined according to the brightness information thereof to generate a composite image
  • the images acquired by the plurality of photosensitive devices are continuously read, real-time image synthesis is performed according to the brightness information thereof, and the synthesized images are displayed in real time.
  • the alternate exposure time S of the plurality of photosensitive devices is set according to the photosensitive time s and the reading time t of the photosensitive device, including:
  • the time for alternately exposing the two photosensitive devices is S, then t ⁇ S ⁇ s;
  • the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, the reading time is t2, and the two are preset.
  • the time when the photosensitive device is alternately exposed is S; when s1 ⁇ s2, t1 ⁇ t2, then t2 ⁇ S ⁇ s1; when s1 ⁇ s2, t1 > t2, then t1 ⁇ S ⁇ s1;
  • the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1 ⁇ s2
  • the time during which the two photosensitive devices are alternately exposed is different.
  • the exposure time of the first photosensitive device is S1, then t2 ⁇ S1 ⁇ s1; the exposure time of the second photosensitive device is S2, then t2 ⁇ S2 ⁇ s2.
  • the photosensitive device comprises a first photosensitive device and a second photosensitive device
  • the rotating the mirror in the image pickup device by the mechanical rotating shaft to alternately expose the plurality of photosensitive devices including:
  • the first photosensitive device When the first photosensitive device performs image acquisition, rotating the plane mirror to reflect light onto the first photosensitive device, the first photosensitive device starts to expose the captured image information, and the second photosensitive device is in an inoperative state;
  • the plane mirror is rotated to reflect light onto the second photosensitive device, and the second photosensitive device starts to expose image information, and the first photosensitive device is not working. status.
  • the synthesizing the images collected by the plurality of photosensitive devices comprises:
  • the N-1th image is combined with the currently acquired image as the Nth image; wherein N is an integer not less than 2.
  • the synthesizing the images collected by the plurality of photosensitive devices comprises:
  • Determining an initial base image wherein the initial base image may be a terminal loaded image or a first captured image.
  • An embodiment of the present invention further provides an image processing apparatus including an image pickup element, a plane mirror, a microcomputer, an image processor, and a mechanical rotating shaft, wherein:
  • the imaging element includes a plurality of photosensitive devices configured to receive light for photoelectric conversion
  • a microcomputer configured to preset an alternate exposure time of the plurality of photosensitive devices
  • a plane mirror configured to reflect light to the imaging element
  • a mechanical shaft configured to rotate the plane mirror
  • the image processor is further configured to synthesize images acquired by the plurality of photosensitive devices.
  • the microcomputer is further configured to preset alternate exposure times of the photosensitive device, including:
  • the plurality of photosensitive device alternate exposure times S are set according to the photosensitive time s and the reading time t of the photosensitive device.
  • the mechanical rotating shaft is configured as the rotating plane mirror, and includes:
  • the plane mirror is rotated according to the preset exposure time of the microcomputer, so that the direction of the light is changed and reflected onto the image pickup element, so that the plurality of photosensitive devices are alternately exposed.
  • the image sensing device is further configured to synthesize images collected by the plurality of photosensitive devices, including:
  • images collected by the plurality of photosensitive devices are image-combined according to the brightness information thereof to generate a composite image
  • the images acquired by the plurality of photosensitive devices are continuously read, real-time image synthesis is performed according to the brightness information thereof, and the synthesized images are displayed in real time.
  • microcomputer is configured to perform at least one of the following:
  • the time for alternately exposing the two photosensitive devices is S, then t ⁇ S ⁇ s;
  • the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, the reading time is t2, and the two are preset.
  • the time when the photosensitive device is alternately exposed is S; when s1 ⁇ s2, t1 ⁇ t2, then t2 ⁇ S ⁇ s1; when s1 ⁇ s2, t1 > t2, then t1 ⁇ S ⁇ s1;
  • the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1 ⁇ s2
  • the time during which the two photosensitive devices are alternately exposed is different.
  • the exposure time of the first photosensitive device is S1, then t2 ⁇ S1 ⁇ s1; the exposure time of the second photosensitive device is S2, then t2 ⁇ S2 ⁇ s2.
  • the photosensitive device comprises a first photosensitive device and a second photosensitive device
  • the mechanical rotating shaft is configured to rotate the plane mirror to reflect light onto the first photosensitive device when the first photosensitive device performs image acquisition, the first photosensitive device starts to expose image information, and the second photosensitive device In an inoperative state; when the exposure time of the first photosensitive device is about to end, rotating the plane mirror to reflect light onto the second photosensitive device, the second photosensitive device starts to expose image information, the first The sensor is not working.
  • the image processor is configured to combine the N-1th image as a base image and the currently acquired image into an Nth image; wherein the N is an integer not less than 2.
  • the image processor is configured to determine an initial base image; wherein the initial base image may be a terminal loaded image or a first captured image.
  • a third aspect of the embodiments of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform the foregoing image processing.
  • the computer storage medium comprises a non-transitory storage medium.
  • the embodiment of the invention further provides a terminal, comprising: the image processing device according to any of the above items.
  • the terminal is a mobile terminal.
  • An image processing method and device, a computer storage medium and a terminal provided by an embodiment of the present invention by setting a plurality of photosensitive devices to work in a time-sharing manner, a plurality of photosensitive devices are alternately exposed, and no omission of optical information occurs, thereby realizing information not Intermittent acquisition can effectively eliminate the gap between the motion trajectories.
  • multiple photosensitive devices work in a time-sharing manner, effectively reducing the thermal noise of the photosensitive device, improving the picture quality and improving the user experience.
  • FIG. 1 is a schematic block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 2 is a schematic block diagram of a first embodiment of an image capturing apparatus according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing alternating exposure of the photosensitive device according to the first embodiment of the image capturing apparatus of the embodiment of the present invention
  • FIG. 4 is a schematic view showing the working state of the first embodiment of the photographing apparatus according to the embodiment of the present invention.
  • FIG. 5 is a flowchart of a first embodiment of an image processing method according to an embodiment of the present invention.
  • a schematic block diagram of a physical structure of a terminal 1100 is provided in the embodiment of the present invention. As shown in FIG. 1 , the terminal 1100 includes:
  • Photographic lens The 101 is composed of a plurality of optical lenses for forming a subject image, and is a single focus lens or a zoom lens.
  • the photographic lens 101 can be moved in the optical axis direction by the lens driving unit 111, and controls the focus position of the taking lens 101 based on the control signal from the lens driving control unit 112, and also controls the focus distance in the case of the zoom lens.
  • the lens drive control circuit 112 performs drive control of the lens drive unit 111 in accordance with a control command from the microcomputer 107.
  • An imaging element 102 is disposed in the vicinity of a position where the subject image is formed by the photographing lens 101 on the optical axis of the photographing lens 101.
  • the imaging element 102 functions as an imaging unit that captures a subject image and acquires captured image data.
  • Photodiodes constituting each pixel are two-dimensionally arranged in a matrix on the imaging element 102. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, and the photoelectric conversion current is charged by a capacitor connected to each photodiode.
  • the front surface of each pixel is provided with a Bayer array of RGB color filters.
  • the imaging element 102 is connected to an imaging circuit 103 that performs charge accumulation control and image signal readout control in the imaging element 102, and performs waveform shaping after reducing the reset noise of the read image signal (analog image signal). Further, gain improvement or the like is performed to obtain an appropriate signal level.
  • the imaging circuit 103 is connected to the A/D conversion unit 104, which performs analog-to-digital conversion on the analog image signal, and outputs a digital image signal (hereinafter referred to as image data) to the bus 199.
  • the bus 199 is a transmission path for transmitting various data read or generated inside the camera.
  • the A/D conversion unit 104 is connected to the bus 199, and an image processor 105, a JPEG processor 106, a microcomputer 107, a SDRAM (Synchronous DRAM) 108, and a memory interface (hereinafter referred to as a memory I/F) are connected. 109. LCD (Liquid Crystal Display) driver 110.
  • the image processor 105 performs various kinds of images such as OB subtraction processing, white balance adjustment, color matrix calculation, gamma conversion, color difference signal processing, noise removal processing, simultaneous processing, edge processing, and the like on the image data based on the output of the imaging element 102. deal with.
  • the JPEG processor 106 compresses the image data read out from the SDRAM 108 in accordance with the JPEG compression method. Further, the JPEG processor 106 performs decompression of JPEG image data for image reproduction display.
  • the file recorded in the recording medium 115 is read, and after the compression processing is performed in the JPEG processor 106, the decompressed image data is temporarily stored in the SDRAM 108 and displayed on the LCD 116.
  • the JPEG method is adopted as the image compression/decompression method.
  • the compression/decompression method is not limited thereto, and other compression/decompression methods such as MPEG, TIFF, and H.264 may be used.
  • the microcomputer 107 functions as a control unit of the entire camera, and collectively controls various processing sequences of the camera.
  • the microcomputer 107 is connected to the operation unit 113 and the flash memory 114.
  • the operation unit 113 includes but is not limited to a physical button or a virtual button, and the entity or virtual button may be a power button, a camera button, an edit button, a dynamic image button, a reproduction button, a menu button, a cross button, an OK button, a delete button, and an enlarge button.
  • the operation members such as various input buttons and various input keys are detected, and the operation states of these operation members are detected.
  • the detection result is output to the microcomputer 107.
  • a touch panel is provided on the front surface of the LCD 116 as a display portion, and the touch position of the user is detected, and the touch position is output to the microcomputer 107.
  • the microcomputer 107 executes various processing sequences corresponding to the operation of the user based on the detection result of the operation member from the operation unit 113. (Similarly, this place can be changed to the computer 107 to execute various processing sequences corresponding to the user's operation based on the detection result of the touch panel on the front of the LCD 116.)
  • the flash memory 114 stores programs for executing various processing sequences of the microcomputer 107.
  • the microcomputer 107 performs overall control of the camera in accordance with the program. Further, the flash memory 114 stores various adjustment values of the camera, and the microcomputer 107 reads out the adjustment value, and performs control of the camera in accordance with the adjustment value.
  • the SDRAM 108 is an electrically rewritable volatile memory for temporarily storing image data or the like.
  • the SDRAM 108 temporarily stores image data output from the A/D conversion unit 104 and image data processed in the image processor 105, the JPEG processor 106, and the like.
  • the memory interface 109 is connected to the recording medium 115, and performs control for writing image data and a file header attached to the image data to the recording medium 115 and reading from the recording medium 115.
  • the recording medium 115 is, for example, a recording medium such as a memory card that can be detachably attached to the camera body, but is not limited thereto. It is a hard disk built in the main body of the camera.
  • the LCD driver 110 is connected to the LCD 116, and stores image data processed by the image processor 105 in the SDRAM.
  • the image data stored in the SDRAM is read and displayed on the LCD 116, or the image data stored in the JPEG processor 106 is compressed.
  • the JPEG processor 106 reads the compressed image data of the SDRAM, decompresses it, and displays the decompressed image data on the LCD 116.
  • the LCD 116 is disposed on the back surface of the camera body or the like to perform image display.
  • the LCD 116 is provided with a touch panel that detects a user's touch operation.
  • the liquid crystal display panel (LCD 116) is disposed as the display portion.
  • the present invention is not limited thereto, and various display panels such as an organic EL may be employed.
  • a second embodiment of the photographing apparatus of the present invention modifies the image pickup element 102' based on the first embodiment, and the plane mirror 117 and the mechanical rotary shaft 118 are added.
  • the image pickup element 102' is configured to receive light in a time division for photoelectric conversion, and the image pickup element includes two or more light sensing devices.
  • the imaging element may be a CMOS (Complementary Metal Oxide Semiconductor), a CCD (Charge Coupled Device), or the like.
  • CMOS Complementary Metal Oxide Semiconductor
  • CCD Charge Coupled Device
  • CMOS complementary metal-oxide-semiconductor
  • the diode first converts the optical signal into an electrical signal, and then the original image data can be obtained by reading the voltage value, sampling, encoding, and converting the electrical signal into a digital signal.
  • CMOS needs to repeat the process of resetting, sensitizing and reading electrical signals.
  • CMOS can no longer receive light, which causes continuous synthesis when shooting motion pictures. Continuous, especially when shooting motion tracks such as the star track, there is a problem of disconnection.
  • the CCD device also has this problem in capturing synthetic motion trajectories.
  • microcomputer 107 is further configured to preset alternate exposure times of the plurality of photosensitive devices.
  • two photosensitive devices are used to receive light in a time-sharing manner, that is, time-division exposure.
  • Adoption A photosensitive device and a second photosensitive device perform time-division exposure.
  • Different photosensitive devices have different photographic properties due to their different processes, so the maximum sensitization time supported may be different.
  • different cameras have different times for reading sensitized data due to different processes. Assuming that the photosensitive device performs photoelectric conversion, the maximum time for sensitization is s; the time for reading the charge is t; and for the time-sensitive sensitization, the exposure time of a single photosensitive device is S, then t ⁇ S ⁇ s.
  • the time for alternately exposing the two photosensitive devices is S, then t ⁇ S ⁇ s;
  • the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2, and the preset time is The time when the two photosensitive devices are alternately exposed is S; when s1 ⁇ s2, t1 ⁇ t2, then t2 ⁇ S ⁇ s1; when s1 ⁇ s2, t1 > t2, then t1 ⁇ S ⁇ s1;
  • the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1 ⁇ s2, pre-exposure time of the two photosensitive devices is different, the exposure time of the first photosensitive device is S1, then t2 ⁇ S1 ⁇ s1; the exposure time of the second photosensitive device is S2, then t2 ⁇ S2 ⁇ S2.
  • the plane mirror 117 is configured to reflect the light received by the photographic lens 101 to a plurality of photosensitive devices.
  • the mechanical rotating shaft 118 is configured to rotate the plane mirror 117 according to the exposure time preset by the microcomputer 107, so that the direction of the light is changed and reflected onto the image pickup element, so that the plurality of photosensitive members are alternately exposed.
  • the plane mirror 117 is rotated to the position shown in FIG. The light is reflected onto the first photosensitive device, and the first photosensitive device starts to be exposed to acquire image information.
  • the second photosensitive device is in an inoperative state.
  • the second photosensitive device When the exposure time of the first photosensitive device is about to end, the second photosensitive device is turned on.
  • the mirror When the first photosensitive device exposure time is over, the mirror is immediately rotated to the position shown in FIG. The second photosensitive device starts image acquisition. At the same time, the image processor 105 holds the acquired image of the first photosensitive device, and the microcomputer 107 turns off the first photosensitive device.
  • the first photosensitive device When the exposure time of the second photosensitive device is about to end, the first photosensitive device is turned on.
  • the plane mirror 117 is immediately rotated to the position shown in FIG.
  • the first photosensitive device starts image acquisition.
  • the image processor 105 holds the acquired image of the second photosensitive device, and the microcomputer 107 turns off the second photosensitive device.
  • the process of alternately exposing the above first photosensitive device and second photosensitive device is repeated until the operation unit 113 receives the termination shooting instruction.
  • the image processor 105 is further configured to synthesize images collected by the plurality of photosensitive devices.
  • the A/D converter 104 takes an image acquired by a plurality of photosensitive devices and performs image synthesis.
  • the image is synthesized by determining whether the brightness of the pixel in the current image at the same position is greater than the brightness of the pixel in the past image; if so, replacing the pixel in the image past the same position with The pixels in the current image are used for image synthesis.
  • the image is synthesized in such a manner that pixels from the plurality of photosensitive devices are selected, pixels that satisfy the preset condition are selected, and addition is performed on the pixels at the same position.
  • the image may be synthesized in RAW format, or the RAW format may be converted to the YUA format and then synthesized.
  • the specific format of image synthesis is not limited here.
  • the images collected by the plurality of light-sensing devices are image-combined according to the brightness information to generate a composite image.
  • the images collected by the plurality of photosensitive devices are separately synthesized, and the synthesis manner is the replacement of the pixel brightness values at the same position or the addition of the brightness values of the pixels at the same position.
  • the image data synthesized by each of the plurality of photosensitive devices is further synthesized by synthesizing the image brightness data of the same position of the image data synthesized by the plurality of photosensitive devices, and then dividing by 2, when the composite image is synthesized When a pixel brightness value is greater than 255, the pixel brightness value is set. Is 255.
  • the A/D converter 104 continuously reads the images collected by the plurality of photosensitive devices, performs real-time image synthesis according to the brightness information thereof, and displays the synthesized images in real time.
  • the mobile terminal may load a picture as an initial base image, or the first image acquired may be used as an initial base image.
  • the first image is generated at the beginning of the shooting, no base image is synthesized with the currently acquired image.
  • the second image is generated, the first image is used as the initial base image, and the currently acquired image is synthesized to generate the second image, and so on, with the N-1th image as the base image and the current image.
  • the acquired images are combined into an Nth image.
  • each image synthesized in real time is displayed on the screen, and the user can view his own shooting effect in real time.
  • the user Before the start of shooting or during shooting, the user can load a picture as a base image at any time for image synthesis. For example, before the start of shooting, the user loads a background image from the local storage as the initial base image. After starting the shooting, the camera will capture the currently acquired image with the current base image (the initial base image, ie loaded) The picture is synthesized into the first composite image, and the composite image is used as a base image for synthesizing the second composite image and displayed in real time.
  • the image sensing device may combine images acquired by a plurality of photosensitive devices into one photo, may also synthesize video, and may be used for other image processing.
  • the specific use of images acquired by a plurality of photosensitive devices is not limited herein.
  • the apparatus for photographing of the embodiment by setting a plurality of photosensitive devices to work in a time-sharing manner, a plurality of photosensitive devices are alternately exposed, and no omission of optical information occurs, thereby realizing uninterrupted collection of information, and effectively eliminating gaps between motion traces. .
  • multiple photosensitive devices work in a time-sharing manner, effectively reducing the thermal noise of the photosensitive device, improving the picture quality and improving the user experience.
  • the recording medium 115 is used to store images captured by the imaging element 102, and further, to store images synthesized by the image processor 105.
  • the photographing apparatus provided in the above embodiment only uses the above functions when performing photographing.
  • the division of the modules is exemplified.
  • the above function assignments can be completed by different functional modules as needed.
  • S10 preset exposure time of the photosensitive device, the photosensitive device is two, respectively a first photosensitive device and a second photosensitive device;
  • the photosensitive device may be a CMOS (Complementary Metal Oxide Semiconductor), a CCD (Charge Coupled Device), or the like.
  • CMOS Complementary Metal Oxide Semiconductor
  • CCD Charge Coupled Device
  • CMOS complementary metal-oxide-semiconductor
  • the diode first converts the optical signal into an electrical signal, and then the original image data can be obtained by reading the voltage value, sampling, encoding, and converting the electrical signal into a digital signal.
  • CMOS needs to repeat the process of resetting, sensitizing and reading electrical signals.
  • CMOS can no longer receive light, which causes continuous synthesis when shooting motion pictures. Continuous, especially when shooting motion tracks such as the star track, there is a problem of disconnection.
  • the CCD device also has this problem in capturing synthetic motion trajectories.
  • imaging element including two photosensitive devices as an example:
  • two photosensitive devices are used to receive light in a time-sharing manner, that is, time-division exposure.
  • the first photosensitive device and the second photosensitive device are used for time-division exposure.
  • Different photosensitive devices have different photographic properties due to their different processes, so the maximum sensitization time supported may be different.
  • different cameras have different times for reading sensitized data due to different processes. Assuming that the photosensitive device performs photoelectric conversion, the maximum time for sensitization is s; the time for reading the charge is t; and for the time-sensitive sensitization, the exposure time of a single photosensitive device is S, then t ⁇ S ⁇ s.
  • the time for alternately exposing the two photosensitive devices is S, then t ⁇ S ⁇ s;
  • the photosensitive time of the first photosensitive device is s1
  • the reading time is t1
  • the photosensitive time of the second photosensitive device is s2
  • the reading time is t2
  • the time for alternately exposing the two photosensitive devices is S; when s1 ⁇ s2, t1 ⁇ t2, then t2 ⁇ S ⁇ s1; when s1 ⁇ s2, t1>t2, then t1 ⁇ S ⁇ s1;
  • the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1 ⁇ s2, pre-exposure time of the two photosensitive devices is different, the exposure time of the first photosensitive device is S1, then t2 ⁇ S1 ⁇ s1; the exposure time of the second photosensitive device is S2, then t2 ⁇ S2 ⁇ S2.
  • S20 switching the first photosensitive device and the second photosensitive device to perform image acquisition according to the preset exposure time
  • the first photosensitive device and the second photosensitive device are alternately exposed by rotating the plane mirror in the image pickup element by a mechanical rotation axis according to a preset exposure time.
  • the plane mirror When the first photosensitive device performs image acquisition, the plane mirror is rotated to the position shown in FIG. The light is reflected onto the first photosensitive device, and the first photosensitive device starts to be exposed to acquire image information.
  • the second photosensitive device is in an inoperative state.
  • the second photosensitive device When the exposure time of the first photosensitive device is about to end, the second photosensitive device is turned on.
  • the mirror When the first photosensitive device exposure time is over, the mirror is immediately rotated to the position shown in the figure.
  • the second photosensitive device starts image acquisition.
  • the processor saves the acquired image of the first photosensitive device and turns off the first photosensitive device.
  • the first photosensitive device When the exposure time of the second photosensitive device is about to end, the first photosensitive device is turned on.
  • the mirror When the second photosensitive device exposure time is over, the mirror is immediately rotated to the position shown in FIG. The first photosensitive device starts image acquisition. At the same time, the processor saves the photo of the second photosensitive device and turns off the second photosensitive device.
  • the process of alternately exposing the above first photosensitive device and second photosensitive device is repeated until a termination shooting instruction is received.
  • S30 synthesizing images acquired by the first photosensitive device and the second photosensitive device.
  • the A/D converter 104 reads an image acquired by a plurality of photosensitive devices, and performs image synthesis in the image processor 105.
  • the image is synthesized by determining whether the brightness of the pixel in the current image at the same position is greater than the brightness of the pixel in the past image; if so, replacing the pixel in the image past the same position with The pixels in the current image are used for image synthesis.
  • the image is synthesized in such a manner that pixels from the plurality of photosensitive devices are selected, pixels that satisfy the preset condition are selected, and addition is performed on the pixels at the same position.
  • the image may be synthesized in RAW format, or the RAW format may be converted to the YUA format and then synthesized.
  • the specific format of image synthesis is not limited here.
  • the images collected by the plurality of light-sensing devices are image-combined according to the brightness information to generate a composite image.
  • the images collected by the plurality of photosensitive devices are separately synthesized, and the synthesis manner is the replacement of the pixel brightness values at the same position or the addition of the brightness values of the pixels at the same position.
  • the image data synthesized by each of the plurality of photosensitive devices is further synthesized by synthesizing the image brightness data of the same position of the image data synthesized by the plurality of photosensitive devices, and then dividing by 2, when the composite image is synthesized When a pixel brightness value is greater than 255, the pixel brightness value is set to 255.
  • the A/D converter 104 continuously reads the images collected by the plurality of photosensitive devices, performs real-time image synthesis according to the brightness information thereof, and displays the synthesized images in real time.
  • the mobile terminal may load a picture as an initial base image, or the first image acquired may be used as an initial base image.
  • the first image is generated at the beginning of the shooting, no base image is synthesized with the currently acquired image.
  • the second image is generated, the first image is taken as the initial base image, and The currently acquired image is synthesized to generate the second image, and so on, and the N-1th image is used as the base image and the currently acquired image is combined into the Nth image.
  • each image synthesized in real time is displayed on the screen, and the user can view his own shooting effect in real time.
  • the user Before the start of shooting or during shooting, the user can load a picture as a base image at any time for image synthesis. For example, before the start of shooting, the user loads a background image from the local storage as the initial base image. After starting the shooting, the camera will capture the currently acquired image with the current base image (the initial base image, ie loaded) The picture is synthesized into the first composite image, and the composite image is used as a base image for synthesizing the second composite image and displayed in real time.
  • the image sensing device may combine images acquired by a plurality of photosensitive devices into one photo, may also synthesize video, and may be used for other image processing.
  • the specific use of images acquired by a plurality of photosensitive devices is not limited herein.
  • the photographing method of the embodiment by setting a plurality of photosensitive devices to work in a time-sharing manner, a plurality of photosensitive devices are alternately exposed, and no omission of optical information occurs, thereby realizing uninterrupted collection of information, which can effectively eliminate motion between tracks. Void.
  • multiple photosensitive devices work in a time-sharing manner, effectively reducing the thermal noise of the photosensitive device, improving the picture quality and improving the user experience.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in the image processing method provided by any one of the foregoing embodiments, for example, as shown in FIG. 5 The method shown.
  • the computer storage medium may be a storage medium such as an optical disk, a magnetic tape, a mobile hard disk, or the like, and may be a non-transitory storage medium.
  • An embodiment of the present invention further provides a terminal, which may include the image processing apparatus provided by the foregoing claims.
  • the terminal in this embodiment may be a mobile terminal, for example, a mobile terminal, a tablet computer or a camera, and the like.
  • embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention may be packaged in one or more of them Computers containing computer usable program code may be in the form of a computer program product embodied on a storage medium, including but not limited to disk storage, CD-ROM, optical storage, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

An image processing method and apparatus, a computer storage medium and a terminal. The method comprises: presetting an alternate exposure time for photosensitive devices, wherein there are at least two or more photosensitive devices; switching the plurality of photosensitive devices according to the preset alternate exposure time, and each photosensitive device collecting images in sequence according to the alternate exposure time; and synthesizing the images collected by the plurality of photosensitive devices.

Description

图像处理方法、装置、计算机存储介质和终端Image processing method, device, computer storage medium and terminal 技术领域Technical field
本发明涉及信息技术领域,尤其是涉及一种拍图像处理方法、装置、计算机存储介质和终端。The present invention relates to the field of information technology, and in particular, to a method and apparatus for processing a captured image, a computer storage medium, and a terminal.
背景技术Background technique
使用多张合成技术拍摄长时间运动轨迹时,要拍摄一组几十、上百,甚至上千张的照片,然后经过后期的软件处理,照片叠加,生成完整的运动轨迹图,比如星轨等。在实际拍摄的过程中,多张拍摄时,两张照片之间会产生比较长的时间间隔,在后期合成的过程中,会出现运动轨迹不连续的问题。时间间隔越长,轨迹不连续问题越严重。同时,由于长时间拍摄运动轨迹,导致感光器件长时间工作,器件温度上升,导致热噪点增多,影响图片质量。When using multiple compositing techniques to shoot long-term motion trajectories, you need to take a group of tens, hundreds, or even thousands of photos, and then post-software processing, photo overlay, and generate complete motion trajectory maps, such as star tracks. In the actual shooting process, when shooting multiple images, a long time interval will occur between the two photos. In the process of post-synthesis, there will be a problem that the motion trajectory is discontinuous. The longer the time interval, the more serious the trajectory discontinuity problem. At the same time, due to the long-time shooting motion trajectory, the photosensitive device works for a long time, and the temperature of the device rises, which leads to an increase in thermal noise and affects the picture quality.
发明内容Summary of the invention
本发明实施例期望提供一种图像处理方法、装置、计算机存储介质和终端,至少部分解决运动轨迹拍摄效果差的问题。Embodiments of the present invention are directed to provide an image processing method, apparatus, computer storage medium, and terminal that at least partially solve the problem of poor motion photographic shooting.
本发明实施例提出一种拍图像处理方法,包括:The embodiment of the invention provides a method for processing a beat image, comprising:
预置感光器件的交替曝光时间,所述感光器件数量为两个及以上;Presetting the exposure time of the photosensitive device, the number of the photosensitive devices being two or more;
根据所述预置交替曝光时间,对所述多个感光器件进行切换,以及每一个感光器件按照所述交替曝光时间依次进行图像采集;And switching the plurality of photosensitive devices according to the preset alternate exposure time, and each of the photosensitive devices sequentially performs image acquisition according to the alternating exposure time;
合成所述多个感光器件所采集的图像。The images acquired by the plurality of photosensitive devices are synthesized.
可选地,所述预置感光器件的交替曝光时间,包括:Optionally, the alternate exposure time of the preset photosensitive device includes:
根据所述感光器件的感光时间s和读取时间t,设置所述多个感光器件交替曝光时间S。 The plurality of photosensitive device alternate exposure times S are set according to the photosensitive time s and the reading time t of the photosensitive device.
可选地,所述根据所述预置曝光时间,对所述多个感光器件进行切换,以及每一个感光器件按照所述交替曝光时间依次进行图像采集,还包括:Optionally, the plurality of photosensitive devices are switched according to the preset exposure time, and each of the photosensitive devices sequentially performs image collection according to the alternating exposure time, and further includes:
通过机械转轴转动摄像元件中的平面镜,使所述多个感光器件进行交替曝光。The plurality of photosensitive devices are alternately exposed by rotating the plane mirror in the image pickup element by a mechanical rotating shaft.
可选地,所述合成所述多个感光器件所采集的图像,包括:Optionally, the synthesizing the images collected by the plurality of photosensitive devices comprises:
在完成拍摄后,将所述多个感光器件所采集的图像,按照其亮度信息进行图像合成,生成合成图像;After the shooting is completed, the images collected by the plurality of photosensitive devices are image-combined according to the brightness information thereof to generate a composite image;
或者,持续读取所述多个感光器件采集到的图像,按照其亮度信息进行实时的图像合成,并将合成的图像进行实时显示。Alternatively, the images acquired by the plurality of photosensitive devices are continuously read, real-time image synthesis is performed according to the brightness information thereof, and the synthesized images are displayed in real time.
可选地,当所述多个感光器件的数量为两个时,则所述根据所述感光器件的感光时间s和读取时间t,设置所述多个感光器件交替曝光时间S,包括:Optionally, when the number of the plurality of photosensitive devices is two, the alternate exposure time S of the plurality of photosensitive devices is set according to the photosensitive time s and the reading time t of the photosensitive device, including:
当所述两个感光器件为完全相同的感光器件,预置所述两个感光器件交替曝光的时间为S,则t<S<s;When the two photosensitive devices are identical photosensitive devices, the time for alternately exposing the two photosensitive devices is S, then t<S<s;
当所述两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2,预置所述两个感光器件交替曝光的时间为S;当s1<s2,t1<t2时,则t2<S<s1;当s1<s2,t1>t2时,则t1<S<s1;When the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, the reading time is t2, and the two are preset. The time when the photosensitive device is alternately exposed is S; when s1 < s2, t1 < t2, then t2 < S < s1; when s1 < s2, t1 > t2, then t1 < S < s1;
当所述两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2;其中,s1<s2,预所述两个感光器件交替曝光的时间不同,所述第一感光器件曝光的时间为S1,则t2<S1<s1;第二感光器件曝光的时间为S2,则t2<S2<s2。When the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1<s2 The time during which the two photosensitive devices are alternately exposed is different. The exposure time of the first photosensitive device is S1, then t2<S1<s1; the exposure time of the second photosensitive device is S2, then t2<S2<s2.
可选地,所述感光器件包括第一感光器件和第二感光器件;Optionally, the photosensitive device comprises a first photosensitive device and a second photosensitive device;
所述通过机械转轴转动摄像元件中的平面镜,使所述多个感光器件进行交替曝光,包括: The rotating the mirror in the image pickup device by the mechanical rotating shaft to alternately expose the plurality of photosensitive devices, including:
当第一感光器件进行图像采集时,转动平面镜使光线反射到所述第一感光器件上,所述第一感光器件开始曝光采集图像信息,且所述第二感光器件处于不工作状态;When the first photosensitive device performs image acquisition, rotating the plane mirror to reflect light onto the first photosensitive device, the first photosensitive device starts to expose the captured image information, and the second photosensitive device is in an inoperative state;
当所述第一感光器件曝光时间将要结束时,转动所述平面镜使光线反射到所述第二感光器件上,所述第二感光器件开始曝光采集图像信息,所述第一感光器件处于不工作状态。When the exposure time of the first photosensitive device is about to end, the plane mirror is rotated to reflect light onto the second photosensitive device, and the second photosensitive device starts to expose image information, and the first photosensitive device is not working. status.
可选地,所述合成所述多个感光器件所采集的图像,包括:Optionally, the synthesizing the images collected by the plurality of photosensitive devices comprises:
以第N-1张图像作为基础图像与当前采集到的图像合并成为第N张图像;其中,所述N为不小于2的整数。The N-1th image is combined with the currently acquired image as the Nth image; wherein N is an integer not less than 2.
可选地,所述合成所述多个感光器件所采集的图像,包括:Optionally, the synthesizing the images collected by the plurality of photosensitive devices comprises:
确定初始的基础图像;其中,所述初始的基础图像可为终端加载的图像或采集到的第一张图像。Determining an initial base image; wherein the initial base image may be a terminal loaded image or a first captured image.
本发明实施例还提出一种图像处理装置包括摄像元件、平面镜、微型计算机、图像处理器和机械转轴,其中:An embodiment of the present invention further provides an image processing apparatus including an image pickup element, a plane mirror, a microcomputer, an image processor, and a mechanical rotating shaft, wherein:
摄像元件,包括多个感光器件,配置为接收光线进行光电转换;The imaging element includes a plurality of photosensitive devices configured to receive light for photoelectric conversion;
微型计算机,还配置为于预置所述多个感光器件的交替曝光时间;a microcomputer, configured to preset an alternate exposure time of the plurality of photosensitive devices;
平面镜,配置为反射光线到所述摄像元件;a plane mirror configured to reflect light to the imaging element;
机械转轴,配置为转动所述平面镜;a mechanical shaft configured to rotate the plane mirror;
图像处理器,还用于合成所述多个感光器件所采集的图像。The image processor is further configured to synthesize images acquired by the plurality of photosensitive devices.
可选地,所述微型计算机,还配置为预置感光器件的交替曝光时间,包括:Optionally, the microcomputer is further configured to preset alternate exposure times of the photosensitive device, including:
根据所述感光器件的感光时间s和读取时间t,设置所述多个感光器件交替曝光时间S。The plurality of photosensitive device alternate exposure times S are set according to the photosensitive time s and the reading time t of the photosensitive device.
可选地,所述机械转轴,配置为所述转动平面镜,包括:Optionally, the mechanical rotating shaft is configured as the rotating plane mirror, and includes:
根据所述微型计算机预置的曝光时间,转动所述平面镜,使光线的方向发生改变,反射到所述摄像元件上,从而所述多个感光器件得以交替曝光。 The plane mirror is rotated according to the preset exposure time of the microcomputer, so that the direction of the light is changed and reflected onto the image pickup element, so that the plurality of photosensitive devices are alternately exposed.
可选地,所述图像感光器件,还配置为合成所述多个感光器件所采集的图像,包括:Optionally, the image sensing device is further configured to synthesize images collected by the plurality of photosensitive devices, including:
在完成拍摄后,将多个感光器件所采集的图像,根据其亮度信息进行图像合成,生成合成图像;After the shooting is completed, images collected by the plurality of photosensitive devices are image-combined according to the brightness information thereof to generate a composite image;
或者,持续读取所述多个感光器件采集到的图像,按照其亮度信息进行实时的图像合成,并将合成的图像进行实时显示。Alternatively, the images acquired by the plurality of photosensitive devices are continuously read, real-time image synthesis is performed according to the brightness information thereof, and the synthesized images are displayed in real time.
可选地,所述微型计算机,配置为执行以下至少其中之一:Optionally, the microcomputer is configured to perform at least one of the following:
当所述两个感光器件为完全相同的感光器件,预置所述两个感光器件交替曝光的时间为S,则t<S<s;When the two photosensitive devices are identical photosensitive devices, the time for alternately exposing the two photosensitive devices is S, then t<S<s;
当所述两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2,预置所述两个感光器件交替曝光的时间为S;当s1<s2,t1<t2时,则t2<S<s1;当s1<s2,t1>t2时,则t1<S<s1;When the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, the reading time is t2, and the two are preset. The time when the photosensitive device is alternately exposed is S; when s1 < s2, t1 < t2, then t2 < S < s1; when s1 < s2, t1 > t2, then t1 < S < s1;
当所述两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2;其中,s1<s2,预所述两个感光器件交替曝光的时间不同,所述第一感光器件曝光的时间为S1,则t2<S1<s1;第二感光器件曝光的时间为S2,则t2<S2<s2。When the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1<s2 The time during which the two photosensitive devices are alternately exposed is different. The exposure time of the first photosensitive device is S1, then t2<S1<s1; the exposure time of the second photosensitive device is S2, then t2<S2<s2.
可选地,所述感光器件包括第一感光器件和第二感光器件;Optionally, the photosensitive device comprises a first photosensitive device and a second photosensitive device;
所述机械转轴,配置为当第一感光器件进行图像采集时,转动平面镜使光线反射到所述第一感光器件上,所述第一感光器件开始曝光采集图像信息,且所述第二感光器件处于不工作状态;当所述第一感光器件曝光时间将要结束时,转动所述平面镜使光线反射到所述第二感光器件上,所述第二感光器件开始曝光采集图像信息,所述第一感光器件处于不工作状态。The mechanical rotating shaft is configured to rotate the plane mirror to reflect light onto the first photosensitive device when the first photosensitive device performs image acquisition, the first photosensitive device starts to expose image information, and the second photosensitive device In an inoperative state; when the exposure time of the first photosensitive device is about to end, rotating the plane mirror to reflect light onto the second photosensitive device, the second photosensitive device starts to expose image information, the first The sensor is not working.
可选地,所述图像处理器,配置为以第N-1张图像作为基础图像与当前采集到的图像合并成为第N张图像;其中,所述N为不小于2的整数。 Optionally, the image processor is configured to combine the N-1th image as a base image and the currently acquired image into an Nth image; wherein the N is an integer not less than 2.
可选地,所述图像处理器,配置为确定初始的基础图像;其中,所述初始的基础图像可为终端加载的图像或采集到的第一张图像。Optionally, the image processor is configured to determine an initial base image; wherein the initial base image may be a terminal loaded image or a first captured image.
本发明实施例第三方面还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执前述图像处理的方法。A third aspect of the embodiments of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform the foregoing image processing.
可选地,所述计算机存储介质包括非瞬间存储介质。Optionally, the computer storage medium comprises a non-transitory storage medium.
本发明实施例还提供一种终端,包括:如上任意项所述的图像处理装置。The embodiment of the invention further provides a terminal, comprising: the image processing device according to any of the above items.
可选地,所述终端为移动终端。Optionally, the terminal is a mobile terminal.
本发明实施例提供的一种图像处理方法、装置、计算机存储介质和终端,通过设置多个感光器件分时工作,多个感光器件交替曝光,不会出现光信息的遗漏,从而实现信息的不间断采集,可以有效的消除运动轨迹间的空隙。同时,多个感光器件分时工作,有效的减低了感光器件的热噪声,改善了图片质量,提升用户体验。An image processing method and device, a computer storage medium and a terminal provided by an embodiment of the present invention, by setting a plurality of photosensitive devices to work in a time-sharing manner, a plurality of photosensitive devices are alternately exposed, and no omission of optical information occurs, thereby realizing information not Intermittent acquisition can effectively eliminate the gap between the motion trajectories. At the same time, multiple photosensitive devices work in a time-sharing manner, effectively reducing the thermal noise of the photosensitive device, improving the picture quality and improving the user experience.
附图说明DRAWINGS
图1是本发明实施例提供的一终端的模块示意图;1 is a schematic block diagram of a terminal according to an embodiment of the present invention;
图2是本发明实施例拍摄装置第一实施例的模块示意图;2 is a schematic block diagram of a first embodiment of an image capturing apparatus according to an embodiment of the present invention;
图3是本发明实施例拍摄装置第一实施例的所述感光器件交替曝光示意图;3 is a schematic diagram showing alternating exposure of the photosensitive device according to the first embodiment of the image capturing apparatus of the embodiment of the present invention;
图4是本发明实施例拍摄装置第一实施例的工作状态示意图;4 is a schematic view showing the working state of the first embodiment of the photographing apparatus according to the embodiment of the present invention;
图5是本发明实施例图像处理方法第一实施例的流程图。FIG. 5 is a flowchart of a first embodiment of an image processing method according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明的优选实施例进行详细说明,应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
本发明实施例提供的一种终端1100的物理结构的示意性框图,如图1所示,该终端1100包括:A schematic block diagram of a physical structure of a terminal 1100 is provided in the embodiment of the present invention. As shown in FIG. 1 , the terminal 1100 includes:
图1是表示本发明的一个实施方式的相机的主要电气结构的框图。摄影镜头 101由用于形成被摄体像的多个光学镜头构成,是单焦点镜头或变焦镜头。摄影镜头101能够通过镜头驱动部111在光轴方向上移动,根据来自镜头驱动控制部112的控制信号,控制摄影镜头101的焦点位置,在变焦镜头的情况下,也控制焦点距离。镜头驱动控制电路112按照来自微型计算机107的控制命令进行镜头驱动部111的驱动控制。1 is a block diagram showing a main electrical configuration of a camera according to an embodiment of the present invention. Photographic lens The 101 is composed of a plurality of optical lenses for forming a subject image, and is a single focus lens or a zoom lens. The photographic lens 101 can be moved in the optical axis direction by the lens driving unit 111, and controls the focus position of the taking lens 101 based on the control signal from the lens driving control unit 112, and also controls the focus distance in the case of the zoom lens. The lens drive control circuit 112 performs drive control of the lens drive unit 111 in accordance with a control command from the microcomputer 107.
在摄影镜头101的光轴上、由摄影镜头101形成被摄体像的位置附近配置有摄像元件102。摄像元件102发挥作为对被摄体像摄像并取得摄像图像数据的摄像部的功能。在摄像元件102上二维地呈矩阵状配置有构成各像素的光电二极管。各光电二极管产生与受光量对应的光电转换电流,该光电转换电流由与各光电二极管连接的电容器进行电荷蓄积。各像素的前表面配置有拜耳排列的RGB滤色器。An imaging element 102 is disposed in the vicinity of a position where the subject image is formed by the photographing lens 101 on the optical axis of the photographing lens 101. The imaging element 102 functions as an imaging unit that captures a subject image and acquires captured image data. Photodiodes constituting each pixel are two-dimensionally arranged in a matrix on the imaging element 102. Each photodiode generates a photoelectric conversion current corresponding to the amount of received light, and the photoelectric conversion current is charged by a capacitor connected to each photodiode. The front surface of each pixel is provided with a Bayer array of RGB color filters.
摄像元件102与摄像电路103连接,该摄像电路103在摄像元件102中进行电荷蓄积控制和图像信号读出控制,对该读出的图像信号(模拟图像信号)降低重置噪声后进行波形整形,进而进行增益提高等以成为适当的信号电平。摄像电路103与A/D转换部104连接,该A/D转换部104对模拟图像信号进行模数转换,向总线199输出数字图像信号(以下称之为图像数据)。The imaging element 102 is connected to an imaging circuit 103 that performs charge accumulation control and image signal readout control in the imaging element 102, and performs waveform shaping after reducing the reset noise of the read image signal (analog image signal). Further, gain improvement or the like is performed to obtain an appropriate signal level. The imaging circuit 103 is connected to the A/D conversion unit 104, which performs analog-to-digital conversion on the analog image signal, and outputs a digital image signal (hereinafter referred to as image data) to the bus 199.
总线199是用于传送在相机的内部读出或生成的各种数据的传送路径。在总线199连接着上述A/D转换部104,此外还连接着图像处理器105、JPEG处理器106、微型计算机107、SDRAM(Synchronous DRAM)108、存储器接口(以下称之为存储器I/F)109、LCD(液晶显示器:Liquid Crystal Display)驱动器110。The bus 199 is a transmission path for transmitting various data read or generated inside the camera. The A/D conversion unit 104 is connected to the bus 199, and an image processor 105, a JPEG processor 106, a microcomputer 107, a SDRAM (Synchronous DRAM) 108, and a memory interface (hereinafter referred to as a memory I/F) are connected. 109. LCD (Liquid Crystal Display) driver 110.
图像处理器105对基于摄像元件102的输出的图像数据进行OB相减处理、白平衡调整、颜色矩阵运算、伽马转换、色差信号处理、噪声去除处理、同时化处理、边缘处理等各种图像处理。JPEG处理器106在将图像数据记录于记录介质115时,按照JPEG压缩方式压缩从SDRAM108读出的图像数据。此外,JPEG处理器106为了进行图像再现显示而进行JPEG图像数据的解压缩。进行解压缩 时,读出记录在记录介质115中的文件,在JPEG处理器106中实施了解压缩处理后,将解压缩的图像数据暂时存储于SDRAM108中并在LCD116上进行显示。另外,在本实施方式中,作为图像压缩解压缩方式采用的是JPEG方式,然而压缩解压缩方式不限于此,当然可以采用MPEG、TIFF、H.264等其他的压缩解压缩方式。The image processor 105 performs various kinds of images such as OB subtraction processing, white balance adjustment, color matrix calculation, gamma conversion, color difference signal processing, noise removal processing, simultaneous processing, edge processing, and the like on the image data based on the output of the imaging element 102. deal with. When the image data is recorded on the recording medium 115, the JPEG processor 106 compresses the image data read out from the SDRAM 108 in accordance with the JPEG compression method. Further, the JPEG processor 106 performs decompression of JPEG image data for image reproduction display. Decompress At this time, the file recorded in the recording medium 115 is read, and after the compression processing is performed in the JPEG processor 106, the decompressed image data is temporarily stored in the SDRAM 108 and displayed on the LCD 116. Further, in the present embodiment, the JPEG method is adopted as the image compression/decompression method. However, the compression/decompression method is not limited thereto, and other compression/decompression methods such as MPEG, TIFF, and H.264 may be used.
微型计算机107发挥作为该相机整体的控制部的功能,统一控制相机的各种处理序列。微型计算机107连接着操作单元113和闪存114。The microcomputer 107 functions as a control unit of the entire camera, and collectively controls various processing sequences of the camera. The microcomputer 107 is connected to the operation unit 113 and the flash memory 114.
操作单元113包括但不限于实体按键或者虚拟按键,该实体或虚拟按键可以为电源按钮、拍照键、编辑按键、动态图像按钮、再现按钮、菜单按钮、十字键、OK按钮、删除按钮、放大按钮等各种输入按钮和各种输入键等操作部材,检测这些操作部材的操作状态。The operation unit 113 includes but is not limited to a physical button or a virtual button, and the entity or virtual button may be a power button, a camera button, an edit button, a dynamic image button, a reproduction button, a menu button, a cross button, an OK button, a delete button, and an enlarge button. The operation members such as various input buttons and various input keys are detected, and the operation states of these operation members are detected.
将检测结果向微型计算机107输出。此外,在作为显示部的LCD116的前表面设有触摸面板,检测用户的触摸位置,将该触摸位置向微型计算机107输出。微型计算机107根据来自操作单元113的操作部材的检测结果,执行与用户的操作对应的各种处理序列。(同样,可以把这个地方改成计算机107根据LCD116前面的触摸面板的检测结果,执行与用户的操作对应的各种处理序列。)The detection result is output to the microcomputer 107. Further, a touch panel is provided on the front surface of the LCD 116 as a display portion, and the touch position of the user is detected, and the touch position is output to the microcomputer 107. The microcomputer 107 executes various processing sequences corresponding to the operation of the user based on the detection result of the operation member from the operation unit 113. (Similarly, this place can be changed to the computer 107 to execute various processing sequences corresponding to the user's operation based on the detection result of the touch panel on the front of the LCD 116.)
闪存114存储用于执行微型计算机107的各种处理序列的程序。微型计算机107根据该程序进行相机整体的控制。此外,闪存114存储相机的各种调整值,微型计算机107读出调整值,按照该调整值进行相机的控制。SDRAM108是用于对图像数据等进行暂时存储的可电改写的易失性存储器。该SDRAM108暂时存储从A/D转换部104输出的图像数据和在图像处理器105、JPEG处理器106等中进行了处理后的图像数据。The flash memory 114 stores programs for executing various processing sequences of the microcomputer 107. The microcomputer 107 performs overall control of the camera in accordance with the program. Further, the flash memory 114 stores various adjustment values of the camera, and the microcomputer 107 reads out the adjustment value, and performs control of the camera in accordance with the adjustment value. The SDRAM 108 is an electrically rewritable volatile memory for temporarily storing image data or the like. The SDRAM 108 temporarily stores image data output from the A/D conversion unit 104 and image data processed in the image processor 105, the JPEG processor 106, and the like.
存储器接口109与记录介质115连接,进行将图像数据和附加在图像数据中的文件头等数据写入记录介质115和从记录介质115中读出的控制。记录介质115例如为能够在相机主体上自由拆装的存储器卡等记录介质,然而不限于此,也可 以是内置在相机主体中的硬盘等。The memory interface 109 is connected to the recording medium 115, and performs control for writing image data and a file header attached to the image data to the recording medium 115 and reading from the recording medium 115. The recording medium 115 is, for example, a recording medium such as a memory card that can be detachably attached to the camera body, but is not limited thereto. It is a hard disk built in the main body of the camera.
LCD驱动器110与LCD116连接,将由图像处理器105处理后的图像数据存储于SDRAM,需要显示时,读取SDRAM存储的图像数据并在LCD116上显示,或者,JPEG处理器106压缩过的图像数据存储于SDRAM,在需要显示时,JPEG处理器106读取SDRAM的压缩过的图像数据,再进行解压缩,将解压缩后的图像数据通过LCD116进行显示。The LCD driver 110 is connected to the LCD 116, and stores image data processed by the image processor 105 in the SDRAM. When display is required, the image data stored in the SDRAM is read and displayed on the LCD 116, or the image data stored in the JPEG processor 106 is compressed. In the SDRAM, when display is required, the JPEG processor 106 reads the compressed image data of the SDRAM, decompresses it, and displays the decompressed image data on the LCD 116.
LCD116配置在相机主体的背面等上,进行图像显示。该LCD116设有检测用户的触摸操作的触摸面板。另外,作为显示部,在本实施方式中配置的是液晶表示面板(LCD116),然而不限于此,也可以采用有机EL等各种显示面板。The LCD 116 is disposed on the back surface of the camera body or the like to perform image display. The LCD 116 is provided with a touch panel that detects a user's touch operation. Further, in the present embodiment, the liquid crystal display panel (LCD 116) is disposed as the display portion. However, the present invention is not limited thereto, and various display panels such as an organic EL may be employed.
参见图2,提出本发明的拍摄装置第二实施例,本实施例在第一实施例的基础上修改了摄像元件102’,增加了平面镜117和机械转轴118。Referring to Fig. 2, a second embodiment of the photographing apparatus of the present invention is proposed. This embodiment modifies the image pickup element 102' based on the first embodiment, and the plane mirror 117 and the mechanical rotary shaft 118 are added.
摄像元件102’,用于分时接收光线进行光电转换,所述摄像元件包含两个及以上感光器件。The image pickup element 102' is configured to receive light in a time division for photoelectric conversion, and the image pickup element includes two or more light sensing devices.
所述摄像元件可以是CMOS(Complementary Metal Oxide Semiconductor,互补金属氧化物半导体)、CCD(Charge Coupled Device,电荷耦合器件)等。The imaging element may be a CMOS (Complementary Metal Oxide Semiconductor), a CCD (Charge Coupled Device), or the like.
例如,CMOS感光器件工作时,需要先进行复位,再进行取样。光照下二极管首先将光信号转换为电信号,然后只要读出电压值,再经过采样、编码,将电信号转换为数字信号,就能得到原始图像数据。从CMOS的工作原理可以知道,CMOS需要重复进行复位、感光和读取电信号的过程,在复位和读取电信号时,CMOS就不能再接收光线,这就造成持续合成拍摄运动画面时的不连续,尤其是在拍摄如星轨此类运动轨迹时会出现断线的问题。同样,CCD器件拍摄合成运动轨迹也存在该问题。For example, when a CMOS sensor is in operation, it needs to be reset before sampling. Under the illumination, the diode first converts the optical signal into an electrical signal, and then the original image data can be obtained by reading the voltage value, sampling, encoding, and converting the electrical signal into a digital signal. It can be known from the working principle of CMOS that CMOS needs to repeat the process of resetting, sensitizing and reading electrical signals. When resetting and reading electrical signals, CMOS can no longer receive light, which causes continuous synthesis when shooting motion pictures. Continuous, especially when shooting motion tracks such as the star track, there is a problem of disconnection. Similarly, the CCD device also has this problem in capturing synthetic motion trajectories.
进一步的,微型计算机107,还用于预置多个感光器件的交替曝光时间。Further, the microcomputer 107 is further configured to preset alternate exposure times of the plurality of photosensitive devices.
以摄像元件102’包括两个感光器件为例:Taking the image pickup element 102' including two photosensitive devices as an example:
如图3所示,采用两个感光器件分时段进行接收光线,即分时曝光。采用第 一感光器件和第二感光器件进行分时段曝光。不同的感光器件因其工艺不同,其感光性能也有差异,因而所支持的最大感光时间也可能不同;同样,不同的摄像头因其工艺不同,其读取感光数据的时间也不相同。假设感光器件进行光电转换的时间,即能感光的最大时间为s;读取电荷的时间为t;分时感光时单个感光器件的曝光时间为S,则t<S<s。As shown in FIG. 3, two photosensitive devices are used to receive light in a time-sharing manner, that is, time-division exposure. Adoption A photosensitive device and a second photosensitive device perform time-division exposure. Different photosensitive devices have different photographic properties due to their different processes, so the maximum sensitization time supported may be different. Similarly, different cameras have different times for reading sensitized data due to different processes. Assuming that the photosensitive device performs photoelectric conversion, the maximum time for sensitization is s; the time for reading the charge is t; and for the time-sensitive sensitization, the exposure time of a single photosensitive device is S, then t<S<s.
可选地,当两个感光器件为完全相同的感光器件,预置所述两个感光器件交替曝光的时间为S,则t<S<s;Optionally, when the two photosensitive devices are identical photosensitive devices, the time for alternately exposing the two photosensitive devices is S, then t<S<s;
可选地,当两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2,预置所述两个感光器件交替曝光的时间为S;当s1<s2,t1<t2时,则t2<S<s1;当s1<s2,t1>t2时,则t1<S<s1;Optionally, when the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2, and the preset time is The time when the two photosensitive devices are alternately exposed is S; when s1 < s2, t1 < t2, then t2 < S < s1; when s1 < s2, t1 > t2, then t1 < S < s1;
可选地,当两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2;其中,s1<s2,预所述两个感光器件交替曝光的时间不同,所述第一感光器件曝光的时间为S1,则t2<S1<s1;第二感光器件曝光的时间为S2,则t2<S2<s2。Optionally, when the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1 <s2, pre-exposure time of the two photosensitive devices is different, the exposure time of the first photosensitive device is S1, then t2<S1<s1; the exposure time of the second photosensitive device is S2, then t2<S2< S2.
平面镜117,用于将摄影镜头101接收的光线反射给多个感光器件。The plane mirror 117 is configured to reflect the light received by the photographic lens 101 to a plurality of photosensitive devices.
机械转轴118,用于根据微型计算机107预置的曝光时间,转动平面镜117,使光线的方向发生改变,反射到摄像元件上,从而多个感光器件得以交替曝光。The mechanical rotating shaft 118 is configured to rotate the plane mirror 117 according to the exposure time preset by the microcomputer 107, so that the direction of the light is changed and reflected onto the image pickup element, so that the plurality of photosensitive members are alternately exposed.
当第一感光器件进行图像采集时,平面镜117转动到如图2所示位置。使光线反射到第一感光器件上,第一感光器件开始曝光,采集图像信息。第二感光器件处于不工作状态。When the first photosensitive device performs image acquisition, the plane mirror 117 is rotated to the position shown in FIG. The light is reflected onto the first photosensitive device, and the first photosensitive device starts to be exposed to acquire image information. The second photosensitive device is in an inoperative state.
当第一感光器件曝光时间将要结束时,开启第二感光器件。When the exposure time of the first photosensitive device is about to end, the second photosensitive device is turned on.
当第一感光器件曝光时间结束,立即将平面镜旋转到如图4所示的位置。第二感光器件开始进行图像采集。同时图像处理器105保存第一感光器件的所采集的图像,微型计算机107关闭第一感光器件。 When the first photosensitive device exposure time is over, the mirror is immediately rotated to the position shown in FIG. The second photosensitive device starts image acquisition. At the same time, the image processor 105 holds the acquired image of the first photosensitive device, and the microcomputer 107 turns off the first photosensitive device.
当第二感光器件曝光时间将要结束时,开启第一感光器件。When the exposure time of the second photosensitive device is about to end, the first photosensitive device is turned on.
当第二感光器件曝光时间结束,立即将平面镜117旋转到如图2所示的位置。第一感光器件开始进行图像采集。同时图像处理器105保存第二感光器件的所采集的图像,微型计算机107关闭第二感光器件。When the second photosensitive device exposure time is over, the plane mirror 117 is immediately rotated to the position shown in FIG. The first photosensitive device starts image acquisition. At the same time, the image processor 105 holds the acquired image of the second photosensitive device, and the microcomputer 107 turns off the second photosensitive device.
重复以上第一感光器件和第二感光器件交替曝光的过程,直至操作单元113接收到终止拍摄指令。The process of alternately exposing the above first photosensitive device and second photosensitive device is repeated until the operation unit 113 receives the termination shooting instruction.
图像处理器105,还用于合成所述多个感光器件所采集的图像。The image processor 105 is further configured to synthesize images collected by the plurality of photosensitive devices.
A/D转换器104取多个感光器件采集到的图像,进行图像合成。当进行星轨等拍摄时,该图像合成方式为:判断同一位置当前的图像中的像素的亮度是否大于过去的图像中的像素的亮度;若是,则将同一位置过去的图像中的像素替换为当前的图像中的像素,据此进行图像合成。当进行光绘等拍摄时,该图像合成方式为:从多个感光器件采集到的图像数据中,选出满足预设条件的像素,对同一位置的像素执行加法运算。首先判断所述像素是否为突变像素;若是突变像素,则计算出所述突变像素周围预设个数像素的亮度参数的平均值,并判断该平均值是否大于阈值,若大于阈值,则判定所述突变像素满足预设条件,选出该突变像素;若不是突变像素,则进一步判断所述像素的亮度参数是否大于阈值,若大于阈值,则判定所述像素满足预设条件,选出该像素。The A/D converter 104 takes an image acquired by a plurality of photosensitive devices and performs image synthesis. When performing shooting on a star track or the like, the image is synthesized by determining whether the brightness of the pixel in the current image at the same position is greater than the brightness of the pixel in the past image; if so, replacing the pixel in the image past the same position with The pixels in the current image are used for image synthesis. When performing photographing such as lithography, the image is synthesized in such a manner that pixels from the plurality of photosensitive devices are selected, pixels that satisfy the preset condition are selected, and addition is performed on the pixels at the same position. First, determining whether the pixel is a mutant pixel; if it is a mutant pixel, calculating an average value of brightness parameters of a preset number of pixels around the abrupt pixel, and determining whether the average value is greater than a threshold, and if greater than the threshold, determining the The mutated pixel satisfies a preset condition, and the mutated pixel is selected; if it is not a mutated pixel, it is further determined whether the brightness parameter of the pixel is greater than a threshold, and if it is greater than the threshold, determining that the pixel satisfies a preset condition, and selecting the pixel .
可选地,图像的合成可以为RAW格式,也可以将RAW格式转换为YUA格式之后再进行合成。图像合成的具体格式,在此不做限制。Alternatively, the image may be synthesized in RAW format, or the RAW format may be converted to the YUA format and then synthesized. The specific format of image synthesis is not limited here.
进一步的,拍摄装置在完成拍摄后,将多个感光器件所采集的图像,根据其亮度信息进行图像合成,生成合成图像。先将多个感光器件所采集的图像分别进行合成,其合成方式为同一位置的像素亮度值替换或者对同一位置像素亮度值的加法运算。再将多个感光器件各自合成后的图像数据再进行合成,其合成方式为对多个感光器件各自合成后的图像数据进行同一位置的像素亮度值加法运算,然后再除以2,当合成图像的某个像素亮度值大于255时,则将该像素亮度值设置 为255。Further, after the photographing device completes the photographing, the images collected by the plurality of light-sensing devices are image-combined according to the brightness information to generate a composite image. The images collected by the plurality of photosensitive devices are separately synthesized, and the synthesis manner is the replacement of the pixel brightness values at the same position or the addition of the brightness values of the pixels at the same position. The image data synthesized by each of the plurality of photosensitive devices is further synthesized by synthesizing the image brightness data of the same position of the image data synthesized by the plurality of photosensitive devices, and then dividing by 2, when the composite image is synthesized When a pixel brightness value is greater than 255, the pixel brightness value is set. Is 255.
可选地,A/D转换器104持续读取所述多个感光器件采集到的图像,按照其亮度信息进行实时的图像合成,并将合成的图像进行实时显示。Optionally, the A/D converter 104 continuously reads the images collected by the plurality of photosensitive devices, performs real-time image synthesis according to the brightness information thereof, and displays the synthesized images in real time.
进一步的,在合成第一张合成图像时,需确定一初始基础图像,移动终端可加载一张图片作为初始基础图像,也可以将采集到的第一张图像作为初始基础图像。通常,在拍摄刚开始瞬间生成第一张图像时,并没有基础图像与当前采集到的图像进行合成。当生成第二张图像时,才将第一张图像作为初始基础图像,与当前采集到的图像进行合成而生成该第二张图像,依次类推,以第N-1张图像作为基础图像与当前采集到的图像合成为第N张图像。同时,屏幕上实时显示合成的每一张图像,用户就可以实时查看自己的拍摄效果。在拍摄开始前或拍摄过程中,用户可以随时加载一张图片作为基础图像,以进行图像合成。例如,在拍摄开始前,用户从本地存储中加载一张有背景的图片作为初始基础图像,在开始拍摄后,拍摄装置将当前采集到的图像与当前的基础图像(初始基础图像,即加载的图片)合成为第一张合成图像,并将该合成图像作为合成第二张合成图像的基础图像并实时显示。Further, when synthesizing the first composite image, an initial base image needs to be determined, the mobile terminal may load a picture as an initial base image, or the first image acquired may be used as an initial base image. Usually, when the first image is generated at the beginning of the shooting, no base image is synthesized with the currently acquired image. When the second image is generated, the first image is used as the initial base image, and the currently acquired image is synthesized to generate the second image, and so on, with the N-1th image as the base image and the current image. The acquired images are combined into an Nth image. At the same time, each image synthesized in real time is displayed on the screen, and the user can view his own shooting effect in real time. Before the start of shooting or during shooting, the user can load a picture as a base image at any time for image synthesis. For example, before the start of shooting, the user loads a background image from the local storage as the initial base image. After starting the shooting, the camera will capture the currently acquired image with the current base image (the initial base image, ie loaded) The picture is synthesized into the first composite image, and the composite image is used as a base image for synthesizing the second composite image and displayed in real time.
可选地,图像感光器件可以将多个感光器件所采集的图像合成一张照片,也可以合成视频,还可以用于其他图像处理。多个感光器件所采集的图像的具体用途在此不做限制。Alternatively, the image sensing device may combine images acquired by a plurality of photosensitive devices into one photo, may also synthesize video, and may be used for other image processing. The specific use of images acquired by a plurality of photosensitive devices is not limited herein.
本实施例的拍摄的装置,通过设置多个感光器件分时工作,多个感光器件交替曝光,不会出现光信息的遗漏,从而实现信息的不间断采集,可以有效的消除运动轨迹间的空隙。同时,多个感光器件分时工作,有效的减低了感光器件的热噪声,改善了图片质量,提升用户体验。In the apparatus for photographing of the embodiment, by setting a plurality of photosensitive devices to work in a time-sharing manner, a plurality of photosensitive devices are alternately exposed, and no omission of optical information occurs, thereby realizing uninterrupted collection of information, and effectively eliminating gaps between motion traces. . At the same time, multiple photosensitive devices work in a time-sharing manner, effectively reducing the thermal noise of the photosensitive device, improving the picture quality and improving the user experience.
在另一实施例中,记录介质115用于存储摄像元件102所采集的图像,进一步的,还用于存储图像处理器105所合成的图像。In another embodiment, the recording medium 115 is used to store images captured by the imaging element 102, and further, to store images synthesized by the image processor 105.
需要说明的是:上述实施例提供的拍摄装置在进行拍摄时,仅以上述各功能 模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成。It should be noted that the photographing apparatus provided in the above embodiment only uses the above functions when performing photographing. The division of the modules is exemplified. In practical applications, the above function assignments can be completed by different functional modules as needed.
上文中结合图1至图4,详细的描述了根据本实施例的拍摄装置,下面将结合图5和图6,详细描述根据本发明实施例的拍摄方法。The photographing apparatus according to the present embodiment has been described in detail above with reference to FIGS. 1 to 4, and a photographing method according to an embodiment of the present invention will be described in detail below with reference to FIGS. 5 and 6.
S10:预置感光器件的交替曝光时间,所述感光器件为两个,分别为第一感光器件和第二感光器件;S10: preset exposure time of the photosensitive device, the photosensitive device is two, respectively a first photosensitive device and a second photosensitive device;
所述感光器件可以是CMOS(Complementary Metal Oxide Semiconductor,互补金属氧化物半导体)、CCD(Charge Coupled Device,电荷耦合器件)等。The photosensitive device may be a CMOS (Complementary Metal Oxide Semiconductor), a CCD (Charge Coupled Device), or the like.
例如,CMOS感光器件工作时,需要先进行复位,再进行取样。光照下二极管首先将光信号转换为电信号,然后只要读出电压值,再经过采样、编码,将电信号转换为数字信号,就能得到原始图像数据。从CMOS的工作原理可以知道,CMOS需要重复进行复位、感光和读取电信号的过程,在复位和读取电信号时,CMOS就不能再接收光线,这就造成持续合成拍摄运动画面时的不连续,尤其是在拍摄如星轨此类运动轨迹时会出现断线的问题。同样,CCD器件拍摄合成运动轨迹也存在该问题。For example, when a CMOS sensor is in operation, it needs to be reset before sampling. Under the illumination, the diode first converts the optical signal into an electrical signal, and then the original image data can be obtained by reading the voltage value, sampling, encoding, and converting the electrical signal into a digital signal. It can be known from the working principle of CMOS that CMOS needs to repeat the process of resetting, sensitizing and reading electrical signals. When resetting and reading electrical signals, CMOS can no longer receive light, which causes continuous synthesis when shooting motion pictures. Continuous, especially when shooting motion tracks such as the star track, there is a problem of disconnection. Similarly, the CCD device also has this problem in capturing synthetic motion trajectories.
以摄像元件包括两个感光器件为例:Take the imaging element including two photosensitive devices as an example:
如图3所示,采用两个感光器件分时段进行接收光线,即分时曝光。采用第一感光器件和第二感光器件进行分时段曝光。不同的感光器件因其工艺不同,其感光性能也有差异,因而所支持的最大感光时间也可能不同;同样,不同的摄像头因其工艺不同,其读取感光数据的时间也不相同。假设感光器件进行光电转换的时间,即能感光的最大时间为s;读取电荷的时间为t;分时感光时单个感光器件的曝光时间为S,则t<S<s。As shown in FIG. 3, two photosensitive devices are used to receive light in a time-sharing manner, that is, time-division exposure. The first photosensitive device and the second photosensitive device are used for time-division exposure. Different photosensitive devices have different photographic properties due to their different processes, so the maximum sensitization time supported may be different. Similarly, different cameras have different times for reading sensitized data due to different processes. Assuming that the photosensitive device performs photoelectric conversion, the maximum time for sensitization is s; the time for reading the charge is t; and for the time-sensitive sensitization, the exposure time of a single photosensitive device is S, then t<S<s.
可选地,当两个感光器件为完全相同的感光器件,预置所述两个感光器件交替曝光的时间为S,则t<S<s;Optionally, when the two photosensitive devices are identical photosensitive devices, the time for alternately exposing the two photosensitive devices is S, then t<S<s;
可选地,当两个感光器件为不同的感光器件,第一感光器件的感光时间为s1, 读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2,预置所述两个感光器件交替曝光的时间为S;当s1<s2,t1<t2时,则t2<S<s1;当s1<s2,t1>t2时,则t1<S<s1;Optionally, when the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, The reading time is t1, the photosensitive time of the second photosensitive device is s2, the reading time is t2, and the time for alternately exposing the two photosensitive devices is S; when s1<s2, t1<t2, then t2< S<s1; when s1<s2, t1>t2, then t1<S<s1;
可选地,当两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2;其中,s1<s2,预所述两个感光器件交替曝光的时间不同,所述第一感光器件曝光的时间为S1,则t2<S1<s1;第二感光器件曝光的时间为S2,则t2<S2<s2。Optionally, when the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1 <s2, pre-exposure time of the two photosensitive devices is different, the exposure time of the first photosensitive device is S1, then t2<S1<s1; the exposure time of the second photosensitive device is S2, then t2<S2< S2.
S20:根据所述预置曝光时间,切换第一感光器件和第二感光器件进行图像采集;S20: switching the first photosensitive device and the second photosensitive device to perform image acquisition according to the preset exposure time;
如图1所示,根据预置曝光时间,通过机械转轴转动摄像元件中的平面镜,使第一感光器件和第二感光器件进行交替曝光。As shown in FIG. 1, the first photosensitive device and the second photosensitive device are alternately exposed by rotating the plane mirror in the image pickup element by a mechanical rotation axis according to a preset exposure time.
当第一感光器件进行图像采集时,平面镜转动到如图1所示位置。使光线反射到第一感光器件上,第一感光器件开始曝光,采集图像信息。第二感光器件处于不工作状态。When the first photosensitive device performs image acquisition, the plane mirror is rotated to the position shown in FIG. The light is reflected onto the first photosensitive device, and the first photosensitive device starts to be exposed to acquire image information. The second photosensitive device is in an inoperative state.
当第一感光器件曝光时间将要结束时,开启第二感光器件。When the exposure time of the first photosensitive device is about to end, the second photosensitive device is turned on.
当第一感光器件曝光时间结束,立即将平面镜旋转到如图所示的位置。第二感光器件开始进行图像采集。同时处理器保存第一感光器件的所采集的图像,并关闭第一感光器件。When the first photosensitive device exposure time is over, the mirror is immediately rotated to the position shown in the figure. The second photosensitive device starts image acquisition. At the same time, the processor saves the acquired image of the first photosensitive device and turns off the first photosensitive device.
当第二感光器件曝光时间将要结束时,开启第一感光器件。When the exposure time of the second photosensitive device is about to end, the first photosensitive device is turned on.
当第二感光器件曝光时间结束,立即将平面镜旋转到如图1所示的位置。第一感光器件开始进行图像采集。同时处理器保存第二感光器件的照片,并关闭第二感光器件。When the second photosensitive device exposure time is over, the mirror is immediately rotated to the position shown in FIG. The first photosensitive device starts image acquisition. At the same time, the processor saves the photo of the second photosensitive device and turns off the second photosensitive device.
重复以上第一感光器件和第二感光器件交替曝光的过程,直至接收到终止拍摄指令。The process of alternately exposing the above first photosensitive device and second photosensitive device is repeated until a termination shooting instruction is received.
S30:合成所述第一感光器件和第二感光器件所采集的图像。 S30: synthesizing images acquired by the first photosensitive device and the second photosensitive device.
A/D转换器104读取多个感光器件采集到的图像,在图像处理器105中进行图像合成。当进行星轨等拍摄时,该图像合成方式为:判断同一位置当前的图像中的像素的亮度是否大于过去的图像中的像素的亮度;若是,则将同一位置过去的图像中的像素替换为当前的图像中的像素,据此进行图像合成。当进行光绘等拍摄时,该图像合成方式为:从多个感光器件采集到的图像数据中,选出满足预设条件的像素,对同一位置的像素执行加法运算。首先判断所述像素是否为突变像素;若是突变像素,则计算出所述突变像素周围预设个数像素的亮度参数的平均值,并判断该平均值是否大于阈值,若大于阈值,则判定所述突变像素满足预设条件,选出该突变像素;若不是突变像素,则进一步判断所述像素的亮度参数是否大于阈值,若大于阈值,则判定所述像素满足预设条件,选出该像素。The A/D converter 104 reads an image acquired by a plurality of photosensitive devices, and performs image synthesis in the image processor 105. When performing shooting on a star track or the like, the image is synthesized by determining whether the brightness of the pixel in the current image at the same position is greater than the brightness of the pixel in the past image; if so, replacing the pixel in the image past the same position with The pixels in the current image are used for image synthesis. When performing photographing such as lithography, the image is synthesized in such a manner that pixels from the plurality of photosensitive devices are selected, pixels that satisfy the preset condition are selected, and addition is performed on the pixels at the same position. First, determining whether the pixel is a mutant pixel; if it is a mutant pixel, calculating an average value of brightness parameters of a preset number of pixels around the abrupt pixel, and determining whether the average value is greater than a threshold, and if greater than the threshold, determining the The mutated pixel satisfies a preset condition, and the mutated pixel is selected; if it is not a mutated pixel, it is further determined whether the brightness parameter of the pixel is greater than a threshold, and if it is greater than the threshold, determining that the pixel satisfies a preset condition, and selecting the pixel .
可选地,图像的合成可以为RAW格式,也可以将RAW格式转换为YUA格式之后再进行合成。图像合成的具体格式,在此不做限制。Alternatively, the image may be synthesized in RAW format, or the RAW format may be converted to the YUA format and then synthesized. The specific format of image synthesis is not limited here.
进一步的,拍摄装置在完成拍摄后,将多个感光器件所采集的图像,根据其亮度信息进行图像合成,生成合成图像。先将多个感光器件所采集的图像分别进行合成,其合成方式为同一位置的像素亮度值替换或者对同一位置像素亮度值的加法运算。再将多个感光器件各自合成后的图像数据再进行合成,其合成方式为对多个感光器件各自合成后的图像数据进行同一位置的像素亮度值加法运算,然后再除以2,当合成图像的某个像素亮度值大于255时,则将该像素亮度值设置为255。Further, after the photographing device completes the photographing, the images collected by the plurality of light-sensing devices are image-combined according to the brightness information to generate a composite image. The images collected by the plurality of photosensitive devices are separately synthesized, and the synthesis manner is the replacement of the pixel brightness values at the same position or the addition of the brightness values of the pixels at the same position. The image data synthesized by each of the plurality of photosensitive devices is further synthesized by synthesizing the image brightness data of the same position of the image data synthesized by the plurality of photosensitive devices, and then dividing by 2, when the composite image is synthesized When a pixel brightness value is greater than 255, the pixel brightness value is set to 255.
可选地,A/D转换器104持续读取所述多个感光器件采集到的图像,按照其亮度信息进行实时的图像合成,并将合成的图像进行实时显示。Optionally, the A/D converter 104 continuously reads the images collected by the plurality of photosensitive devices, performs real-time image synthesis according to the brightness information thereof, and displays the synthesized images in real time.
进一步的,在合成第一张合成图像时,需确定一初始基础图像,移动终端可加载一张图片作为初始基础图像,也可以将采集到的第一张图像作为初始基础图像。通常,在拍摄刚开始瞬间生成第一张图像时,并没有基础图像与当前采集到的图像进行合成。当生成第二张图像时,才将第一张图像作为初始基础图像,与 当前采集到的图像进行合成而生成该第二张图像,依次类推,以第N-1张图像作为基础图像与当前采集到的图像合成为第N张图像。同时,屏幕上实时显示合成的每一张图像,用户就可以实时查看自己的拍摄效果。在拍摄开始前或拍摄过程中,用户可以随时加载一张图片作为基础图像,以进行图像合成。例如,在拍摄开始前,用户从本地存储中加载一张有背景的图片作为初始基础图像,在开始拍摄后,拍摄装置将当前采集到的图像与当前的基础图像(初始基础图像,即加载的图片)合成为第一张合成图像,并将该合成图像作为合成第二张合成图像的基础图像并实时显示。Further, when synthesizing the first composite image, an initial base image needs to be determined, the mobile terminal may load a picture as an initial base image, or the first image acquired may be used as an initial base image. Usually, when the first image is generated at the beginning of the shooting, no base image is synthesized with the currently acquired image. When the second image is generated, the first image is taken as the initial base image, and The currently acquired image is synthesized to generate the second image, and so on, and the N-1th image is used as the base image and the currently acquired image is combined into the Nth image. At the same time, each image synthesized in real time is displayed on the screen, and the user can view his own shooting effect in real time. Before the start of shooting or during shooting, the user can load a picture as a base image at any time for image synthesis. For example, before the start of shooting, the user loads a background image from the local storage as the initial base image. After starting the shooting, the camera will capture the currently acquired image with the current base image (the initial base image, ie loaded) The picture is synthesized into the first composite image, and the composite image is used as a base image for synthesizing the second composite image and displayed in real time.
可选地,图像感光器件可以将多个感光器件所采集的图像合成一张照片,也可以合成视频,还可以用于其他图像处理。多个感光器件所采集的图像的具体用途在此不做限制。Alternatively, the image sensing device may combine images acquired by a plurality of photosensitive devices into one photo, may also synthesize video, and may be used for other image processing. The specific use of images acquired by a plurality of photosensitive devices is not limited herein.
从而,本实施例的拍摄方法,通过设置多个感光器件分时工作,多个感光器件交替曝光,不会出现光信息的遗漏,从而实现信息的不间断采集,可以有效的消除运动轨迹间的空隙。同时,多个感光器件分时工作,有效的减低了感光器件的热噪声,改善了图片质量,提升用户体验。Therefore, in the photographing method of the embodiment, by setting a plurality of photosensitive devices to work in a time-sharing manner, a plurality of photosensitive devices are alternately exposed, and no omission of optical information occurs, thereby realizing uninterrupted collection of information, which can effectively eliminate motion between tracks. Void. At the same time, multiple photosensitive devices work in a time-sharing manner, effectively reducing the thermal noise of the photosensitive device, improving the picture quality and improving the user experience.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于前述任意一个实施例提供的图像处理方法,例如可以执行如图5所示的方法。所述计算机存储介质可为光盘、磁带、移动硬盘等存储介质,可选为非瞬间存储介质。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in the image processing method provided by any one of the foregoing embodiments, for example, as shown in FIG. 5 The method shown. The computer storage medium may be a storage medium such as an optical disk, a magnetic tape, a mobile hard disk, or the like, and may be a non-transitory storage medium.
本发明实施例还提供一种终端,该终端可包括前述权利要求提供的图像处理装置。可选地本实施例所述终端可为移动终端,例如,手机、平板电脑或照相机等各种具有图像采集功能的便携式终端。An embodiment of the present invention further provides a terminal, which may include the image processing apparatus provided by the foregoing claims. Optionally, the terminal in this embodiment may be a mobile terminal, for example, a mobile terminal, a tablet computer or a camera, and the like.
本领域的技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包 含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention may be packaged in one or more of them Computers containing computer usable program code may be in the form of a computer program product embodied on a storage medium, including but not limited to disk storage, CD-ROM, optical storage, and the like.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention
应当理解的是,以上仅为本发明的优选实施例,不能因此限制本发明的专利范围,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。 It is to be understood that the above are only the preferred embodiments of the present invention, and the scope of the invention is not limited thereby, and modifications made in accordance with the principles of the invention are understood to fall within the scope of the invention.

Claims (20)

  1. 一种图像处理方法,包括:An image processing method comprising:
    预置感光器件的交替曝光时间,所述感光器件数量为两个及以上;Presetting the exposure time of the photosensitive device, the number of the photosensitive devices being two or more;
    根据所述预置交替曝光时间,对所述多个感光器件进行切换,以及每一个感光器件按照所述交替曝光时间依次进行图像采集;And switching the plurality of photosensitive devices according to the preset alternate exposure time, and each of the photosensitive devices sequentially performs image acquisition according to the alternating exposure time;
    合成所述多个感光器件所采集的图像。The images acquired by the plurality of photosensitive devices are synthesized.
  2. 根据权利要求1所述的方法,其中,所述预置感光器件的交替曝光时间,包括:The method of claim 1 wherein said alternating exposure time of said predetermined photosensitive device comprises:
    根据所述感光器件的感光时间s和读取时间t,设置所述多个感光器件交替曝光时间S。The plurality of photosensitive device alternate exposure times S are set according to the photosensitive time s and the reading time t of the photosensitive device.
  3. 根据权利要求2所述的方法,其中,当所述多个感光器件的数量为两个时,则所述根据所述感光器件的感光时间s和读取时间t,设置所述多个感光器件交替曝光时间S,包括以下至少其中之一:The method according to claim 2, wherein when said number of said plurality of photosensitive devices is two, said plurality of photosensitive devices are disposed according to a photosensitive time s and a reading time t of said photosensitive device Alternate exposure time S, including at least one of the following:
    当所述两个感光器件为完全相同的感光器件,预置所述两个感光器件交替曝光的时间为S,则t<S<s;When the two photosensitive devices are identical photosensitive devices, the time for alternately exposing the two photosensitive devices is S, then t<S<s;
    当所述两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2,预置所述两个感光器件交替曝光的时间为S;当s1<s2,t1<t2时,则t2<S<s1;当s1<s2,t1>t2时,则t1<S<s1;When the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, the reading time is t2, and the two are preset. The time when the photosensitive device is alternately exposed is S; when s1 < s2, t1 < t2, then t2 < S < s1; when s1 < s2, t1 > t2, then t1 < S < s1;
    当所述两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2;其中,s1<s2,预所述两个感光器件交替曝光的时间不同,所述第一感光器件曝光的时间为S1,则t2<S1<s1;第二感光器件曝光的时间为S2,则t2<S2<s2。When the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1<s2 The time during which the two photosensitive devices are alternately exposed is different. The exposure time of the first photosensitive device is S1, then t2<S1<s1; the exposure time of the second photosensitive device is S2, then t2<S2<s2.
  4. 根据权利要求3所述的方法,其中,所述合成所述多个感光器件所采集的图像,包括: The method of claim 3, wherein the synthesizing the images acquired by the plurality of photosensitive devices comprises:
    在完成拍摄后,将所述多个感光器件所采集的图像,按照其亮度信息进行图像合成,生成合成图像;After the shooting is completed, the images collected by the plurality of photosensitive devices are image-combined according to the brightness information thereof to generate a composite image;
    或者,持续读取所述多个感光器件采集到的图像,按照其亮度信息进行实时的图像合成,并将合成的图像进行实时显示。Alternatively, the images acquired by the plurality of photosensitive devices are continuously read, real-time image synthesis is performed according to the brightness information thereof, and the synthesized images are displayed in real time.
  5. 根据权利要求1所述的方法,其中,所述根据所述预置曝光时间,对所述多个感光器件进行切换,以及每一个感光器件按照所述交替曝光时间依次进行图像采集,还包括:The method according to claim 1, wherein said switching said plurality of photosensitive devices according to said preset exposure time, and wherein each photosensitive device sequentially performs image acquisition according to said alternate exposure time, further comprising:
    通过机械转轴转动摄像元件中的平面镜,使所述多个感光器件进行交替曝光。The plurality of photosensitive devices are alternately exposed by rotating the plane mirror in the image pickup element by a mechanical rotating shaft.
  6. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述感光器件包括第一感光器件和第二感光器件;The photosensitive device includes a first photosensitive device and a second photosensitive device;
    所述通过机械转轴转动摄像元件中的平面镜,使所述多个感光器件进行交替曝光,包括:The rotating the mirror in the image pickup device by the mechanical rotating shaft to alternately expose the plurality of photosensitive devices, including:
    当第一感光器件进行图像采集时,转动平面镜使光线反射到所述第一感光器件上,所述第一感光器件开始曝光采集图像信息,且所述第二感光器件处于不工作状态;When the first photosensitive device performs image acquisition, rotating the plane mirror to reflect light onto the first photosensitive device, the first photosensitive device starts to expose the captured image information, and the second photosensitive device is in an inoperative state;
    当所述第一感光器件曝光时间将要结束时,转动所述平面镜使光线反射到所述第二感光器件上,所述第二感光器件开始曝光采集图像信息,所述第一感光器件处于不工作状态。When the exposure time of the first photosensitive device is about to end, the plane mirror is rotated to reflect light onto the second photosensitive device, and the second photosensitive device starts to expose image information, and the first photosensitive device is not working. status.
  7. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述合成所述多个感光器件所采集的图像,包括:The synthesizing the images collected by the plurality of photosensitive devices comprises:
    以第N-1张图像作为基础图像与当前采集到的图像合并成为第N张图像;其中,所述N为不小于2的整数。The N-1th image is combined with the currently acquired image as the Nth image; wherein N is an integer not less than 2.
  8. 根据权利要求1或7所述的方法,其中,The method according to claim 1 or 7, wherein
    所述合成所述多个感光器件所采集的图像,包括: The synthesizing the images collected by the plurality of photosensitive devices comprises:
    确定初始的基础图像;其中,所述初始的基础图像可为终端加载的图像或采集到的第一张图像。Determining an initial base image; wherein the initial base image may be a terminal loaded image or a first captured image.
  9. 一种图像处理装置,其中,包括摄像元件、平面镜、微型计算机、图像处理器和机械转轴,其中:An image processing apparatus comprising an image pickup element, a plane mirror, a microcomputer, an image processor, and a mechanical rotating shaft, wherein:
    摄像元件,包括多个感光器件,配置为接收光线进行光电转换;The imaging element includes a plurality of photosensitive devices configured to receive light for photoelectric conversion;
    微型计算机,还配置为预置所述多个感光器件的交替曝光时间;a microcomputer, further configured to preset alternate exposure times of the plurality of photosensitive devices;
    平面镜,配置为反射光线到所述摄像元件;a plane mirror configured to reflect light to the imaging element;
    机械转轴,配置为转动所述平面镜;a mechanical shaft configured to rotate the plane mirror;
    图像处理器,还用于合成所述多个感光器件所采集的图像。The image processor is further configured to synthesize images acquired by the plurality of photosensitive devices.
  10. 根据权利要求9所述的装置,其中,所述微型计算机,还配置为预置感光器件的交替曝光时间,包括:The apparatus according to claim 9, wherein said microcomputer is further configured to preset alternate exposure times of said photosensitive devices, comprising:
    根据所述感光器件的感光时间s和读取时间t,设置所述多个感光器件交替曝光时间S。The plurality of photosensitive device alternate exposure times S are set according to the photosensitive time s and the reading time t of the photosensitive device.
  11. 根据权利要求10所述的装置,其中,所述微型计算机,配置为执行以下至少其中之一:The apparatus of claim 10, wherein the microcomputer is configured to perform at least one of the following:
    当所述两个感光器件为完全相同的感光器件,预置所述两个感光器件交替曝光的时间为S,则t<S<s;When the two photosensitive devices are identical photosensitive devices, the time for alternately exposing the two photosensitive devices is S, then t<S<s;
    当所述两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2,预置所述两个感光器件交替曝光的时间为S;当s1<s2,t1<t2时,则t2<S<s1;当s1<s2,t1>t2时,则t1<S<s1;When the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, the reading time is t2, and the two are preset. The time when the photosensitive device is alternately exposed is S; when s1 < s2, t1 < t2, then t2 < S < s1; when s1 < s2, t1 > t2, then t1 < S < s1;
    当所述两个感光器件为不同的感光器件,第一感光器件的感光时间为s1,读取时间为t1,第二感光器件的感光时间为s2,读取时间为t2;其中,s1<s2,预所述两个感光器件交替曝光的时间不同,所述第一感光器件曝光的时间为S1,则t2<S1<s1;第二感光器件曝光的时间为S2,则t2<S2<s2。 When the two photosensitive devices are different photosensitive devices, the photosensitive time of the first photosensitive device is s1, the reading time is t1, the photosensitive time of the second photosensitive device is s2, and the reading time is t2; wherein, s1<s2 The time during which the two photosensitive devices are alternately exposed is different. The exposure time of the first photosensitive device is S1, then t2<S1<s1; the exposure time of the second photosensitive device is S2, then t2<S2<s2.
  12. 根据权利要求9所述的装置,其中,所述机械转轴,配置为根据所述微型计算机预置的曝光时间,转动所述平面镜,使光线的方向发生改变,反射到所述摄像元件上,从而所述多个感光器件得以交替曝光。The apparatus according to claim 9, wherein said mechanical rotating shaft is configured to rotate said plane mirror according to an exposure time preset by said microcomputer to change a direction of light to be reflected on said image pickup element, thereby The plurality of photosensitive devices are alternately exposed.
  13. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述图像感光器件,还配置为在完成拍摄后,将多个感光器件所采集的图像,根据其亮度信息进行图像合成,生成合成图像;或者,持续读取所述多个感光器件采集到的图像,按照其亮度信息进行实时的图像合成,并将合成的图像进行实时显示。The image sensing device is further configured to, after completing the shooting, image the images collected by the plurality of photosensitive devices according to the brightness information thereof to generate a composite image; or continuously read the plurality of photosensitive devices. The image is subjected to real-time image synthesis according to its brightness information, and the synthesized image is displayed in real time.
  14. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述感光器件包括第一感光器件和第二感光器件;The photosensitive device includes a first photosensitive device and a second photosensitive device;
    所述机械转轴,配置为当第一感光器件进行图像采集时,转动平面镜使光线反射到所述第一感光器件上,所述第一感光器件开始曝光采集图像信息,且所述第二感光器件处于不工作状态;当所述第一感光器件曝光时间将要结束时,转动所述平面镜使光线反射到所述第二感光器件上,所述第二感光器件开始曝光采集图像信息,所述第一感光器件处于不工作状态。The mechanical rotating shaft is configured to rotate the plane mirror to reflect light onto the first photosensitive device when the first photosensitive device performs image acquisition, the first photosensitive device starts to expose image information, and the second photosensitive device In an inoperative state; when the exposure time of the first photosensitive device is about to end, rotating the plane mirror to reflect light onto the second photosensitive device, the second photosensitive device starts to expose image information, the first The sensor is not working.
  15. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述图像处理器,配置为以第N-1张图像作为基础图像与当前采集到的图像合并成为第N张图像;其中,所述N为不小于2的整数。The image processor is configured to combine the N-1th image as a base image and the currently acquired image into an Nth image; wherein the N is an integer not less than 2.
  16. 根据权利要求9或15所述的装置,其中,The device according to claim 9 or 15, wherein
    所述图像处理器,配置为确定初始的基础图像;其中,所述初始的基础图像可为终端加载的图像或采集到的第一张图像。The image processor is configured to determine an initial base image; wherein the initial base image may be a terminal loaded image or a first captured image.
  17. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至9任一项所述的方法。A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 9.
  18. 根据权利要求17所述的计算机存储介质,其中,所述计算机存储介质包括非瞬间存储介质。 The computer storage medium of claim 17, wherein the computer storage medium comprises a non-transitory storage medium.
  19. 一种终端,包括:如权利要求9至16任一项所述的图像处理装置。A terminal comprising: the image processing apparatus according to any one of claims 9 to 16.
  20. 根据权利要求19所述的终端,其中,The terminal according to claim 19, wherein
    所述终端为移动终端。 The terminal is a mobile terminal.
PCT/CN2016/079840 2015-04-22 2016-04-21 Image processing method and apparatus, computer storage medium and terminal WO2016169488A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510194113.4A CN104869307B (en) 2015-04-22 2015-04-22 A kind of method and apparatus of shooting
CN201510194113.4 2015-04-22

Publications (1)

Publication Number Publication Date
WO2016169488A1 true WO2016169488A1 (en) 2016-10-27

Family

ID=53914790

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079840 WO2016169488A1 (en) 2015-04-22 2016-04-21 Image processing method and apparatus, computer storage medium and terminal

Country Status (2)

Country Link
CN (1) CN104869307B (en)
WO (1) WO2016169488A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869307B (en) * 2015-04-22 2017-05-31 努比亚技术有限公司 A kind of method and apparatus of shooting
CN105847641A (en) * 2016-03-29 2016-08-10 联想(北京)有限公司 Imaging device, imaging method and electronic device
CN109120835B (en) * 2018-10-31 2020-10-16 锐芯微电子股份有限公司 Image sensor pixel circuit and working method thereof
CN111327835B (en) * 2020-03-20 2021-07-09 合肥埃科光电科技有限公司 Multi-line time-sharing exposure processing method and system for camera

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1407792A (en) * 2001-09-07 2003-04-02 三洋电机株式会社 Camera device
CN2703267Y (en) * 2004-02-15 2005-06-01 林永全 Camera apparatus utilizing multiple photoreceptors
CN1941918A (en) * 2005-09-30 2007-04-04 卡西欧计算机株式会社 Imaging device and imaging method
US20100134651A1 (en) * 2008-11-28 2010-06-03 Samsung Digital Imaging Co., Ltd. Photographing apparatus and method
CN102428694A (en) * 2010-03-19 2012-04-25 松下电器产业株式会社 Image Capture Device, Image Processing Device And Image Processing Programme
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN104780324A (en) * 2015-04-22 2015-07-15 努比亚技术有限公司 Shooting method and device
CN104869307A (en) * 2015-04-22 2015-08-26 努比亚技术有限公司 Shooting method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5003543B2 (en) * 2008-03-17 2012-08-15 ソニー株式会社 Imaging apparatus, signal processing method, and computer program
CN103581625A (en) * 2013-10-28 2014-02-12 华中科技大学 Time-share parallel image collecting device and calibration method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1407792A (en) * 2001-09-07 2003-04-02 三洋电机株式会社 Camera device
CN2703267Y (en) * 2004-02-15 2005-06-01 林永全 Camera apparatus utilizing multiple photoreceptors
CN1941918A (en) * 2005-09-30 2007-04-04 卡西欧计算机株式会社 Imaging device and imaging method
US20100134651A1 (en) * 2008-11-28 2010-06-03 Samsung Digital Imaging Co., Ltd. Photographing apparatus and method
CN102428694A (en) * 2010-03-19 2012-04-25 松下电器产业株式会社 Image Capture Device, Image Processing Device And Image Processing Programme
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN104780324A (en) * 2015-04-22 2015-07-15 努比亚技术有限公司 Shooting method and device
CN104869307A (en) * 2015-04-22 2015-08-26 努比亚技术有限公司 Shooting method and apparatus

Also Published As

Publication number Publication date
CN104869307B (en) 2017-05-31
CN104869307A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN104780324B (en) A kind of method and apparatus of shooting
WO2016023406A1 (en) Shooting method for motion trace of object, mobile terminal and computer storage medium
WO2016000515A1 (en) Method and device for filming star trail video, and computer storage medium
WO2016011859A1 (en) Method for filming light painting video, mobile terminal, and computer storage medium
US9743015B2 (en) Image capturing apparatus and method of controlling the same
CN101052101A (en) Apparatus and method for image pickup
JP6652039B2 (en) Imaging device, imaging method, and program
KR101889932B1 (en) Apparatus and Method for photographing image
WO2016008359A1 (en) Object movement track image synthesizing method, device and computer storage medium
WO2016169488A1 (en) Image processing method and apparatus, computer storage medium and terminal
WO2016011872A1 (en) Image photographing method and apparatus and computer storage medium
US8681235B2 (en) Apparatus for processing digital image signal that obtains still image at desired point in time and method of controlling the apparatus
TWI420899B (en) Image processing apparatus and image processing method and storage medium
JP7320024B2 (en) IMAGE SENSOR, IMAGING DEVICE, IMAGE DATA PROCESSING METHOD, AND PROGRAM
US9986163B2 (en) Digital photographing apparatus and digital photographing method
JP2018148512A (en) Imaging device, control method of imaging device, and program
JP2014053857A (en) Image processor, imaging apparatus and image processing program
JP2016219949A (en) Imaging apparatus, and control method and control program of the same
JP2013225779A (en) Image processing device, imaging device, and image processing program
JP2004180317A (en) Method for capturing video image and still picture
JP6702792B2 (en) Image processing apparatus and control method thereof
JP2010226495A (en) Photographing device
JP2004186866A (en) Image recording apparatus
WO2020137665A1 (en) Imaging element, imaging device, imaging method, and program
JP2005277618A (en) Photography taking apparatus and device and method for correcting shading

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16782635

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13/04/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16782635

Country of ref document: EP

Kind code of ref document: A1