WO2018058934A1 - Photographing method, photographing device and storage medium - Google Patents

Photographing method, photographing device and storage medium Download PDF

Info

Publication number
WO2018058934A1
WO2018058934A1 PCT/CN2017/079965 CN2017079965W WO2018058934A1 WO 2018058934 A1 WO2018058934 A1 WO 2018058934A1 CN 2017079965 W CN2017079965 W CN 2017079965W WO 2018058934 A1 WO2018058934 A1 WO 2018058934A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
area
preview
photographing
difference
Prior art date
Application number
PCT/CN2017/079965
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 WO2018058934A1 publication Critical patent/WO2018058934A1/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/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Definitions

  • the present invention relates to the field of image processing, and in particular, to a photographing method, a photographing apparatus, and a storage medium.
  • the embodiment of the invention provides a photographing method and a photographing device, and it is desirable to solve the problem that the conventional photographing mode can only select focus acquisition on a certain depth of field target, so that other regions are relatively blurred.
  • An embodiment of the present invention provides a photographing method, which is applied to a photographing apparatus, and the method includes:
  • the photographing device is controlled to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
  • the embodiment of the invention further provides a photographing device, comprising:
  • Obtaining a module configured to acquire a preview image currently collected by the photographing device
  • a partitioning module configured to divide the preview image into a plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region;
  • a synthesizing module configured to control the photographing device to focus on the plurality of regions and take a plurality of images, and extract the most clear partial composite target images in each image.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, the computer is executed as described above.
  • a method of shooting provided.
  • the photographing method, the photographing apparatus, and the storage medium provided by the embodiment of the present invention acquire a preview image currently acquired by the photographing apparatus during image capturing, and divide the preview image into multiple according to a plurality of photographing objects in the preview image.
  • An area in which the same subject is divided into the same area, and the photographing device is controlled to focus on the plurality of areas and take a plurality of pictures, and extract the most clear partial synthetic target pictures in each picture.
  • the photographing method and the photographing apparatus of the present invention can prevent the photographing screen from being divided into a plurality of regions to perform focus photographing according to the photographing object, and then extract clear portions for synthesis, thereby avoiding the problem of unclear images outside the in-focus region, thereby improving the image. Quality.
  • FIG. 1 is a flowchart of a photographing method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another shooting method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of another shooting method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a camera device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another image capturing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another imaging device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another imaging apparatus according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a photographing method according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • Step S101 Acquire a preview picture currently acquired by the photographing apparatus.
  • the photographing method acquires a preview picture currently acquired by the photographing device.
  • the photographing method may acquire a preview picture currently acquired by the photographing apparatus when the photographing apparatus is in a preset photographing state. Specifically, the photographing method may first determine whether the photographing device is currently in a preset photographing state, and if the photographing device is currently in the preset photographing state, the photographing method acquires a current photographing device currently acquired by the photographing device. preview picture.
  • the preset shooting state may be that the shooting device is in an on state, or the camera device is in an on state and the data sensed by the sensor of the camera device is less than a first preset threshold, or may be The user performs a photographing operation on the photographing device.
  • the photographing method determines whether the photographing device is currently in a preset shooting state by detecting whether the photographing device is currently in an open state, and if the photographing device is currently in an open state, the photographing method determines the photographing The device is currently in the preset shooting state state.
  • the photographing method may further determine that the sensor-sensed data change of the photographing device is less than a first threshold after detecting that the photographing device is currently in an open state. If the data sensed by the sensor of the photographing device is less than the first threshold, the photographing method determines that the photographing device is currently in the preset photographing state.
  • the sensor may be an acceleration sensor, such as a gyroscope. If the difference between the data currently sensed by the acceleration sensor and the data sensed at a previous time is less than the first threshold, the user may be positive.
  • the photographing device is prepared for photographing, and the photographing method determines that the photographing device is currently in a preset photographing state.
  • the photographing method may further determine whether the brightness change value of the preview picture collected by the photographing device is less than a second threshold, and if the brightness change value of the preview picture is smaller than the second threshold, the photographing method determines The photographing device is currently in a preset shooting state.
  • the photographing method may be combined to determine whether the photographing device is in a preset photographing state by using the above two methods, for example, if the sensor-sensed data change value of the photographing device is less than a first threshold value. The brightness change value of the preview picture collected by the photographing device is less than a second threshold, and the photographing method determines that the photographing device is in the preset photographing state.
  • the photographing method may further determine whether the photographing device is in the preset photographing state by determining whether the user performs a photographing operation on the photographing device, if the user is on the photographing device. A photographing operation is performed, which determines that the photographing device is currently in the preset photographing state.
  • Step S102 Dividing the preview picture into a plurality of areas according to the plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into the same area.
  • the shooting method may divide the continuous area of the preview picture whose pixel value difference is less than the preset difference into an area according to the pixel value of the preview picture, or may perform the preview according to the user's selection.
  • the picture is divided into multiple areas.
  • the photographing method may further adjust the partition condition on the preview image after the preview image is divided into a plurality of regions according to the pixel value of the preview image, and then the adjustment operation of the user is received.
  • the dividing the contiguous area in the preview picture whose pixel value difference is less than the preset difference value into one area according to the pixel value of the preview picture may be implemented by one or more of the following manners: The continuous area where the difference value of the luminance value is smaller than the first preset difference is divided into one area; the continuous area of the preview picture whose color value difference is smaller than the second preset difference is divided into one area; The continuous region in which the luminance value difference is smaller than the first preset difference and the color value difference is smaller than the second preset difference is divided into one region.
  • the photographing method divides the preview picture into a plurality of regions by an edge detection method.
  • the photographing method may first perform edge detection on the preview image, and divide the detected edge-closed area into an area.
  • the photographing method may perform color on the edge break. The values are compared, and a continuous area in which the color value difference is smaller than the second preset difference is divided into one area.
  • the method in this embodiment may include:
  • the width of the subject in each direction if the maximum width of the subject in each direction is the first width, the direction corresponding to the maximum width is the first direction.
  • the captured image is parallel to the subject, and the preview picture is divided into a plurality of regions parallel to the first direction.
  • Step S103 Control the photographing device to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
  • a preview picture in which the area is the focus area is formed corresponding to one of the areas. For example, if there are M regions, M preview images are formed, and the focus areas of the M preview images are respectively M regions.
  • This M preview In the process of acquisition, in addition to the difference of the focus area, various parameters such as exposure amount, exposure time, and acquisition angle can be consistent to facilitate the synthesis of subsequent target images.
  • This step S103 is started when the user triggers the photographing operation.
  • the photographing method may control the photographing device to focus on each region and take a plurality of pictures, and then extract the clearest partial composite target picture in each picture.
  • the photographing method can also adjust the area according to the focus condition after focusing on each area, then focus the adjusted area and take a picture, and finally extract the clearest part of the composite target picture in each picture. .
  • the clearest part of the picture in the present invention is the portion of the focus area in the picture.
  • the photographing method may separately focus and capture a plurality of regions in the preview image, and then respectively extract a focused region image in the captured image, and finally combine the focused region image into a target. image.
  • the photographing method may also respectively focus on a plurality of regions in the preview image, and record a motor focus position corresponding to each region; and then determine whether there is an adjacent region in the preview image that meets a preset condition, wherein The preset condition is that the motor focus position difference corresponding to the adjacent areas is less than a first preset threshold. If the adjacent area in the preview picture satisfies the preset condition, the photographing method may combine the adjacent areas into one area for processing. For example, the photographing method may focus on the adjacent area to take a picture and focus on other areas and take a picture, and then extract a focused area picture in the captured picture, and focus on the focus.
  • the area image is a composite target image.
  • the captured pictures are not necessarily all presented to the user.
  • the pictures for performing focus shooting on each area are not presented.
  • the final synthesized target image will be presented to the user.
  • the photographing method of the first embodiment of the present invention acquires a preview image currently acquired by the photographing device; and divides the preview image into a plurality of regions according to a plurality of photographing objects in the preview image, wherein the same photographing object is Divided into the same area; controlling the camera to the plurality of Each area focuses and takes multiple pictures, and extracts the sharpest part of each picture in each picture.
  • the photographing screen is divided into a plurality of regions according to the subject to perform focus photographing, and then the clear portions are extracted for synthesis, thereby avoiding the problem of unclear pictures outside the focus area, thereby improving the quality of the photograph.
  • FIG. 2 is a flowchart of another shooting method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • Step S201 Acquire a preview picture currently acquired by the photographing apparatus.
  • Step S202 The preview picture is divided into a plurality of areas according to the plurality of shooting objects in the preview picture, wherein the same shooting object is divided into the same area.
  • the steps S201 and S202 are the same as the steps S101 and S102 in the first embodiment of the present invention, and are not described herein again.
  • Step S203 Focusing on a plurality of regions in the preview image and taking a picture.
  • the photographing method separately focuses each area in the preview picture and then takes a picture separately.
  • the shooting method will focus on the A area to take a picture a, and focus on the B area to take a picture b, for C
  • the area is in focus to take a picture c, and focus on the D area to take a picture d.
  • Step S204 extracting a focused area picture in the captured picture, and synthesizing the focused area picture into a target picture.
  • the shooting method extracts a clear part of each picture and merges it into a target picture.
  • the photographing method may extract a focus area picture corresponding to the A area in the picture a, extract a focus area picture corresponding to the B area in the picture b, extract a focus area picture corresponding to the C area in the picture c, and In the picture d, the in-focus area picture corresponding to the D area is extracted, and then the extracted in-focus area picture is combined into the target picture. In this way, each area can be focused to form a clear target image, improving the quality of the picture.
  • the focus area picture in the embodiment of the present invention represents a picture part in a picture that belongs to the focus area.
  • the dividing the image into the plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region including:
  • the preview picture is divided into a plurality of areas according to a user's selection.
  • the dividing, according to the pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference is divided into an area including:
  • a continuous area in the preview picture whose luminance value difference is smaller than the first preset difference and whose color value difference is smaller than the second preset difference is divided into one area.
  • the photographing method of the second embodiment of the present invention acquires a preview image currently acquired by the photographing device; and divides the preview image into a plurality of regions according to a plurality of photographing objects in the preview image, wherein the same photographing object is Dividing into the same area; respectively, focusing on a plurality of areas in the preview picture and taking a picture; extracting a focused area picture in the captured picture, and synthesizing the focused area picture into a target picture.
  • the photographing screen is divided into a plurality of regions according to the subject to perform focus photographing, and then the clear portions are extracted for synthesis, thereby avoiding the problem of unclear pictures outside the focus area, thereby improving the quality of the photograph.
  • FIG. 3 is a flowchart of another shooting method according to an embodiment of the present invention. As shown in 3, the method includes:
  • Step S301 Acquire a preview picture currently collected by the photographing apparatus.
  • Step S302 Dividing the preview picture into a plurality of areas according to the plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into the same area.
  • the steps S301 and S302 are the same as the steps S101 and S102 in the first embodiment of the present invention, and are not described herein again.
  • Step S303 Focusing on a plurality of regions in the preview image, and recording a motor focus position corresponding to each region.
  • Step S304 Determine whether there is an adjacent area in the preview picture that meets a preset condition, where the preset condition is that the motor focus position difference corresponding to the adjacent area is less than a first preset threshold.
  • step S304 if there is an adjacent area in the preview picture that satisfies the preset condition, step S305 is performed; conversely, if no adjacent area in the preview picture satisfies the preset condition, the process End.
  • the motor focus position may be represented by a motor moving distance, that is, when there is an adjacent area in the preview picture, and the corresponding motor moving distance difference is less than the first preset threshold, step S305 is performed.
  • the photographing method compares the motor moving distance by comparing the magnitude of the current when the motor focuses.
  • Step S305 Focusing on the adjacent area to take a picture and focusing on other areas and taking a picture.
  • the photographing method may merge adjacent regions satisfying the preset condition into one region and refocus the merged region, and then take a picture.
  • the motor focus position of the merged region may also be calculated according to the motor focus positions corresponding to the adjacent regions, and then the photographing device is controlled to move the motor to the calculated motor focus position for photographing.
  • the combined motor focus position may be a horse corresponding to the adjacent area The average value of the focus position.
  • the shooting method will focus and take a picture separately.
  • Step S306 extracting a focused area picture in the captured picture, and synthesizing the target picture into the focused area picture.
  • This step S306 is the same as step S204 in the second embodiment of the present invention, and details are not described herein again.
  • the photographing method of the third embodiment of the present invention acquires a preview image currently acquired by the photographing device; and divides the preview image into a plurality of regions according to a plurality of photographing objects in the preview image, wherein the same photographing object is Dividing into the same area; respectively, focusing on a plurality of areas in the preview picture, and recording a motor focus position corresponding to each area; determining whether an adjacent area in the preview picture meets a preset condition, wherein The preset condition is that the motor focus position difference corresponding to the adjacent areas is less than a first preset threshold; if there is an adjacent area that satisfies the preset condition, the adjacent area is subjected to focus shooting.
  • the picture and the other areas are respectively focused and taken a picture; the in-focus area picture is extracted in the captured picture, and the target picture is synthesized for the in-focus area picture.
  • the photographing screen is divided into a plurality of regions according to the subject to perform focus photographing, and then the clear portions are extracted for synthesis, thereby avoiding the problem of unclear pictures outside the focus area, thereby improving the quality of the photograph.
  • FIG. 4 is a structural diagram of a photographing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the photographing apparatus 400 includes:
  • the obtaining module 401 is configured to acquire a preview picture currently captured by the photographing device
  • the partitioning module 402 is configured to divide the preview image into a plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region;
  • the synthesizing module 403 is configured to control the photographing device to focus on the plurality of regions and take a plurality of images, and extract the most clear partial synthetic target images in each of the images.
  • FIG. 5 is a structural diagram of another imaging apparatus according to an embodiment of the present invention.
  • the synthesizing module 403 includes:
  • the first photographing unit 4031 is configured to respectively focus and capture a plurality of regions in the preview image
  • the first synthesizing unit 4032 is configured to respectively extract a focused area picture in the captured picture, and synthesize the focused area picture into a target picture.
  • FIG. 6 is a structural diagram of another imaging apparatus according to an embodiment of the present invention.
  • the synthesizing module 403 includes:
  • the focusing unit 4033 is configured to respectively focus on a plurality of regions in the preview picture, and record a motor focus position corresponding to each region;
  • the determining unit 4034 is configured to determine whether the adjacent area meets the preset condition in the preview picture, wherein the preset condition is that the motor focus position difference corresponding to the adjacent area is smaller than the first preset Threshold value
  • the second photographing unit 4035 is configured to: if there is an adjacent area that satisfies the preset condition, focus on the adjacent area to take a picture and focus on other areas and take a picture;
  • the second synthesizing unit 4036 is configured to respectively extract the in-focus area picture in the captured picture, and synthesize the target picture in the focused area picture.
  • the partitioning module 402 is configured to divide, according to a pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference into an area; or, according to a user's selection, The preview picture is divided into a plurality of areas.
  • the partitioning module 402 is configured to divide a continuous area of the preview picture whose luminance value difference is smaller than the first preset difference into one area; or, the color value difference in the preview picture is smaller than the first
  • the continuous area of the two preset differences is divided into one area; or, the difference between the brightness values in the preview picture is smaller than the first preset difference and the color value difference is less than the second preset difference
  • the continuation area is divided into one area.
  • the photographing device 400 can implement various processes in the method embodiments of FIG. 1 to FIG. 3, and to avoid repetition, details are not described herein again.
  • the photographing apparatus 400 in the fourth embodiment of the present invention can avoid that the photographing screen is divided into a plurality of regions according to the photographing object to perform focus photographing, and then extract clear portions for synthesis, thereby avoiding the problem of unclear images outside the in-focus region, thereby Improve the quality of the picture.
  • FIG. 7 is a structural diagram of a photographing apparatus 700 according to an embodiment of the present invention.
  • the photographing apparatus 700 includes at least one processor 701, a memory 702, at least one camera 703, and a motor. 704 and at least one user interface 705.
  • bus system 706 The various components in the camera 700 are coupled together by a bus system 706, it being understood that the bus system 706 is used to effect connection communication between these components.
  • the bus system 706 includes a power bus, a control bus, and a status signal bus in addition to the data lines.
  • various buses are labeled as bus system 706 in FIG.
  • the user interface 705 can include a display, a keyboard, or a pointing device such as a mouse, a trackball, a touchpad, or a touch screen.
  • the camera 703 is configured to take a picture, and the motor 704 can be moved to different positions to focus on the subject.
  • the memory 702 in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (Erasable PROM, EPROM), or an electric Erase programmable read only memory (EEPROM) or flash memory.
  • the volatile memory can be a Random Access Memory (RAM) that acts as an external cache.
  • RAM static random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • DDRSDRAM double data rate synchronous dynamic random access Memory
  • ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • SDRAM Synchronous Connection Dynamic Random Access Memory
  • Direct Rambus RAM Direct Memory Bus Random Access Memory
  • memory 702 stores elements, executable modules or data structures, or a subset thereof, or their extended set: an operating system and an application.
  • the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks.
  • An application including various applications, such as a Media Player, a Browser, etc., for implementing various application services.
  • a program implementing the method of the embodiment of the present invention may be included in an application.
  • the processor 701 is configured to:
  • the photographing device is controlled to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
  • Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may pass through the integrated logic of the hardware in the processor 701. Completion of instructions in circuit or software form.
  • the processor 701 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like. Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the above method in combination with its hardware.
  • the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more ASICs, DSPs, digital signal processing devices (DSPDevices, DSPDs), programmable logic devices (PLDs), FPGAs, general purpose processors, controllers, microcontrollers, A microprocessor, other electronic unit for performing the functions described herein, or a combination thereof.
  • the techniques described herein can be implemented by modules (eg, procedures, functions, and so on) that perform the functions described herein.
  • the software code can be stored in memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.
  • the processor 701 controls the photographing device to focus on the plurality of regions and take a plurality of images, and respectively extract the most clear partial composite target images in each image, including:
  • a focused area picture is extracted in the captured picture, and the focused area picture is combined into a target picture.
  • the processor 701 controls the photographing device to focus on the plurality of regions and take a plurality of images, and respectively extract the most clear partial composite target images in each image, including:
  • the adjacent area If the adjacent area satisfies the preset condition, the adjacent area is in focus to take a picture and focus on other areas and take a picture;
  • a focused area picture is extracted in the captured picture, and the target picture is synthesized for the focused area picture.
  • the processor 701 divides the preview image into a plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region, including:
  • the preview picture is divided into a plurality of areas according to a user's selection.
  • the processor 701 divides the continuous area of the preview picture whose pixel value difference is less than the preset difference into an area, including:
  • a continuous area in the preview picture whose luminance value difference is smaller than the first preset difference and whose color value difference is smaller than the second preset difference is divided into one area.
  • the photographing apparatus 700 can implement various processes of the photographing method in the foregoing embodiments, and details are not described herein again to avoid repetition.
  • the shooting device may be any device having a shooting function, such as a camera, a smart phone, a tablet personal computer, a laptop computer, and a personal digital assistant. Referred to as PDA), Mobile Internet Device (MID), etc.
  • the photographing device is controlled to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
  • the controlling the photographing device focuses on the plurality of regions and takes a plurality of images, and respectively extracts the most clear partial synthetic target images in each image, including:
  • a focused area picture is extracted in the captured picture, and the focused area picture is combined into a target picture.
  • the controlling the photographing device focuses on the plurality of regions and takes a plurality of images, and respectively extracts the most clear partial synthetic target images in each image, including:
  • the adjacent area If the adjacent area satisfies the preset condition, the adjacent area is in focus to take a picture and focus on other areas and take a picture;
  • a focused area picture is extracted in the captured picture, and the target picture is synthesized for the focused area picture.
  • the dividing the image into the plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region including:
  • the preview picture is divided into a plurality of areas according to a user's selection.
  • the dividing, according to the pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference is divided into an area including:
  • a continuous area in the preview picture whose luminance value difference is smaller than the first preset difference and whose color value difference is smaller than the second preset difference is divided into one area.
  • the storage medium such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • the embodiment provides a computer storage medium having stored therein computer executable instructions for performing one or more of the above-described photographing methods.
  • the computer storage medium can be selected as a non-transitory storage medium, or a nonvolatile Storage media.
  • the collected image is divided into a plurality of regions; then, the plurality of regions are respectively focused to acquire multiple preview images; and the different regions of the focus regions are combined to form a target image, and the target icons are respectively
  • the area is focused, and it will obviously form a high-quality picture with good image clarity.
  • the photographing method provided in the embodiment can realize the above operation by inputting an executable code or the like to the photographing device, and has the characteristics of strong achievability, easy promotion in the industry, and the like.

Landscapes

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

Abstract

Provided are a photographing method and a photographing device. The photographing method comprises: acquiring a preview picture currently collected by the photographing device; dividing the preview picture into a plurality of regions according to a plurality of photographing objects in the preview picture, wherein the same photographing object is distributed to the same region; and controlling the photographing device so that same focuses on the plurality of regions and photographs a plurality of pictures, and respectively extracting the clearest part in each picture to composite a target picture. Further provided is a computer storage medium.

Description

拍摄方法、拍摄装置和存储介质Shooting method, shooting device, and storage medium
本申请基于申请号为201610853997.4、申请日为2016年09月27日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 27, 2016, the priority of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及图像处理领域,特别涉及一种拍摄方法、拍摄装置和存储介质。The present invention relates to the field of image processing, and in particular, to a photographing method, a photographing apparatus, and a storage medium.
背景技术Background technique
随着信息技术的不断发展,移动终端(如手机、相机等)的图像处理功能也越来越强大,利用移动终端进行拍照可谓是无所不在。然而,在拍照过程中,对有不同景深的场景,每个目标与镜头的距离通常不等,只能选择对某一景深目标进行对焦采集,这样就会使得其它区域相对模糊。With the continuous development of information technology, the image processing functions of mobile terminals (such as mobile phones, cameras, etc.) are becoming more and more powerful, and taking pictures using mobile terminals can be described as ubiquitous. However, in the process of photographing, for scenes with different depth of field, the distance between each target and the lens is usually not equal, and only focus acquisition of a certain depth of field target can be selected, which will make other areas relatively blurred.
发明内容Summary of the invention
本发明实施例提供一种拍摄方法及拍摄装置,期望解决了传统拍摄方式只能选择对某一景深目标进行对焦采集,使得其它区域相对模糊的问题。The embodiment of the invention provides a photographing method and a photographing device, and it is desirable to solve the problem that the conventional photographing mode can only select focus acquisition on a certain depth of field target, so that other regions are relatively blurred.
本发明实施例提供一种拍摄方法,应用于拍摄装置,所述方法包括:An embodiment of the present invention provides a photographing method, which is applied to a photographing apparatus, and the method includes:
获取所述拍摄装置当前采集的预览图片;Obtaining a preview picture currently captured by the photographing device;
根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;Dividing the preview picture into a plurality of regions according to the plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into the same area;
控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。The photographing device is controlled to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
本发明实施例还提供一种拍摄装置,包括: The embodiment of the invention further provides a photographing device, comprising:
获取模块,配置为获取所述拍摄装置当前采集的预览图片;Obtaining a module, configured to acquire a preview image currently collected by the photographing device;
分区模块,配置为根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;a partitioning module configured to divide the preview image into a plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region;
合成模块,配置为控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。And a synthesizing module configured to control the photographing device to focus on the plurality of regions and take a plurality of images, and extract the most clear partial composite target images in each image.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行如上述提供的一种拍摄方法。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, the computer is executed as described above. A method of shooting provided.
本发明实施例提供的拍摄方法、拍摄装置和存储介质,在图像拍摄时,获取所述拍摄装置当前采集的预览图片,根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域,控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。这样,本发明的拍摄方法及拍摄装置能够避免根据拍摄对象将拍摄画面划分为多个区域分别进行对焦拍摄,然后提取清晰的部分进行合成,避免出现对焦区域外的图片不清晰问题,从而提高图片的品质。The photographing method, the photographing apparatus, and the storage medium provided by the embodiment of the present invention acquire a preview image currently acquired by the photographing apparatus during image capturing, and divide the preview image into multiple according to a plurality of photographing objects in the preview image. An area in which the same subject is divided into the same area, and the photographing device is controlled to focus on the plurality of areas and take a plurality of pictures, and extract the most clear partial synthetic target pictures in each picture. In this way, the photographing method and the photographing apparatus of the present invention can prevent the photographing screen from being divided into a plurality of regions to perform focus photographing according to the photographing object, and then extract clear portions for synthesis, thereby avoiding the problem of unclear images outside the in-focus region, thereby improving the image. Quality.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图1为本发明实施例提供的一种拍摄方法的流程图;FIG. 1 is a flowchart of a photographing method according to an embodiment of the present invention;
图2为本发明实施例提供的另一种拍摄方法的流程图;2 is a flowchart of another shooting method according to an embodiment of the present invention;
图3为本发明实施例提供的另一种拍摄方法的流程图; FIG. 3 is a flowchart of another shooting method according to an embodiment of the present invention;
图4为本发明实施例提供的一种拍摄装置的结构示意图;4 is a schematic structural diagram of a camera device according to an embodiment of the present invention;
图5为本发明实施例提供的另一种拍摄装置的结构示意图;FIG. 5 is a schematic structural diagram of another image capturing apparatus according to an embodiment of the present invention;
图6为本发明实施例提供的另一种拍摄装置的结构示意图;FIG. 6 is a schematic structural diagram of another imaging device according to an embodiment of the present invention;
图7为本发明实施例提供的另一种拍摄装置的结构示意图。FIG. 7 is a schematic structural diagram of another imaging apparatus according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The detailed description of the preferred embodiments of the present invention is intended to It is not intended to limit the invention.
第一实施例First embodiment
参见图1,图1为本发明实施例提供的一种拍摄方法的流程图,如图1所示,所述方法包括:Referring to FIG. 1 , FIG. 1 is a flowchart of a photographing method according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
步骤S101、获取所述拍摄装置当前采集的预览图片。Step S101: Acquire a preview picture currently acquired by the photographing apparatus.
该步骤中,所述拍摄方法获取所述拍摄装置当前采集的预览图片。In this step, the photographing method acquires a preview picture currently acquired by the photographing device.
在本发明一些实施例中,所述拍摄方法可以在所述拍摄装置处于预设的拍摄状态时获取所述拍摄装置当前采集的预览图片。具体地,所述拍摄方法可以先判断所述拍摄装置当前是否处于预设的拍摄状态,若所述拍摄装置当前处于所述预设的拍摄状态,所述拍摄方法获取所述拍摄装置当前采集的预览图片。In some embodiments of the present invention, the photographing method may acquire a preview picture currently acquired by the photographing apparatus when the photographing apparatus is in a preset photographing state. Specifically, the photographing method may first determine whether the photographing device is currently in a preset photographing state, and if the photographing device is currently in the preset photographing state, the photographing method acquires a current photographing device currently acquired by the photographing device. preview picture.
所述预设的拍摄状态可以是所述拍摄装置处于开启状态,也可以是所述拍摄装置处于开启状态且所述拍摄装置的传感器感测到的数据变化小于第一预设阈值,还可以是用户在所述拍摄装置上执行拍摄操作。The preset shooting state may be that the shooting device is in an on state, or the camera device is in an on state and the data sensed by the sensor of the camera device is less than a first preset threshold, or may be The user performs a photographing operation on the photographing device.
对应地,所述拍摄方法判断所述拍摄装置当前是否处于预设的拍摄状态可以通过侦测拍摄装置当前是否处于开启状态,若所述拍摄装置当前处于开启状态,所述拍摄方法确定所述拍摄装置当前处于所述预设的拍摄状 态。Correspondingly, the photographing method determines whether the photographing device is currently in a preset shooting state by detecting whether the photographing device is currently in an open state, and if the photographing device is currently in an open state, the photographing method determines the photographing The device is currently in the preset shooting state state.
在本发明一些实施例中,所述拍摄方法还可以在侦测到所述拍摄装置当前处于开启状态后,所述拍摄方法进一步判断所述拍摄装置的传感器感测的数据变化小于第一阈值,若所述拍摄装置的传感器感测的数据变化小于所述第一阈值,所述拍摄方法确定所述拍摄装置当前处于所述预设的拍摄状态。具体地,所述传感器可以为加速度传感器,例如陀螺仪,若所述加速度传感器当前感测的数据相较于前一时刻感测的数据的差值小于所述第一阈值,则说明用户可能正准备所述拍摄装置进行拍摄,所述拍摄方法确定所述拍摄装置当前处于预设的拍摄状态。此外,所述拍摄方法还可以通过判断所述拍摄装置采集的预览图片的亮度变化值是否小于第二阈值,若所述预览图片的亮度变化值小于所述第二阈值,所述拍摄方法确定所述拍摄装置当前处于预设的拍摄状态。在其他实施例中,所述拍摄方法可以通过上述两个方式结合判断所述拍摄装置是否处于预设的拍摄状态,例如若所述拍摄装置的传感器感测的数据变化值小于第一阈值且所述拍摄装置采集的预览图片的亮度变化值小于第二阈值,所述拍摄方法确定所述拍摄装置处于所述预设的拍摄状态。In some embodiments of the present invention, the photographing method may further determine that the sensor-sensed data change of the photographing device is less than a first threshold after detecting that the photographing device is currently in an open state. If the data sensed by the sensor of the photographing device is less than the first threshold, the photographing method determines that the photographing device is currently in the preset photographing state. Specifically, the sensor may be an acceleration sensor, such as a gyroscope. If the difference between the data currently sensed by the acceleration sensor and the data sensed at a previous time is less than the first threshold, the user may be positive. The photographing device is prepared for photographing, and the photographing method determines that the photographing device is currently in a preset photographing state. In addition, the photographing method may further determine whether the brightness change value of the preview picture collected by the photographing device is less than a second threshold, and if the brightness change value of the preview picture is smaller than the second threshold, the photographing method determines The photographing device is currently in a preset shooting state. In other embodiments, the photographing method may be combined to determine whether the photographing device is in a preset photographing state by using the above two methods, for example, if the sensor-sensed data change value of the photographing device is less than a first threshold value. The brightness change value of the preview picture collected by the photographing device is less than a second threshold, and the photographing method determines that the photographing device is in the preset photographing state.
在本发明其他实施例中,所述拍摄方法还可以通过判断用户是否在所述拍摄装置上执行拍摄操作判断所述拍摄装置是否处于所述预设的拍摄状态,若用户在所述拍摄装置上执行了拍摄操作,所述拍摄方法确定所述拍摄装置当前处于所述预设的拍摄状态。In other embodiments of the present invention, the photographing method may further determine whether the photographing device is in the preset photographing state by determining whether the user performs a photographing operation on the photographing device, if the user is on the photographing device. A photographing operation is performed, which determines that the photographing device is currently in the preset photographing state.
步骤S102、根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域。Step S102: Dividing the preview picture into a plurality of areas according to the plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into the same area.
该步骤中,所述拍摄方法可以根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域,也可以根据用户的选择将所述预览图片划分为多个区域。在本发明一些实施例中,所 述拍摄方法还可以在根据所述预览图片的像素值将所述预览图片划分为多个区域后,再接收用户的调整操作调整所述预览图片上的分区情况。In this step, the shooting method may divide the continuous area of the preview picture whose pixel value difference is less than the preset difference into an area according to the pixel value of the preview picture, or may perform the preview according to the user's selection. The picture is divided into multiple areas. In some embodiments of the invention, The photographing method may further adjust the partition condition on the preview image after the preview image is divided into a plurality of regions according to the pixel value of the preview image, and then the adjustment operation of the user is received.
所述根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域可以通过如下的一种或多种方式实现:将所述预览图片中亮度值差值小于第一预设差值的连续区域划分为一个区域;将所述预览图片中色彩值差值小于第二预设差值的连续区域划分为一个区域;将所述预览图片中亮度值差值小于第一预设差值且色彩值差值小于第二预设差值的连续区域划分为一个区域。The dividing the contiguous area in the preview picture whose pixel value difference is less than the preset difference value into one area according to the pixel value of the preview picture may be implemented by one or more of the following manners: The continuous area where the difference value of the luminance value is smaller than the first preset difference is divided into one area; the continuous area of the preview picture whose color value difference is smaller than the second preset difference is divided into one area; The continuous region in which the luminance value difference is smaller than the first preset difference and the color value difference is smaller than the second preset difference is divided into one region.
在本发明一些实施例中,所述拍摄方法通过边缘检测方式将所述预览图片划分为多个区域。例如,所述拍摄方法可以先对所述预览图片进行边缘检测,将检测出的边缘封闭的区域划分为一个区域,对于未封闭的区域,所述拍摄方法可以对所述边缘断开处的色彩值进行比较,将色彩值差值小于第二预设差值的连续区域划分为一个区域。In some embodiments of the present invention, the photographing method divides the preview picture into a plurality of regions by an edge detection method. For example, the photographing method may first perform edge detection on the preview image, and divide the detected edge-closed area into an area. For an unclosed area, the photographing method may perform color on the edge break. The values are compared, and a continuous area in which the color value difference is smaller than the second preset difference is divided into one area.
在一些实施例中可能会出现一个拍摄对象在预览图片中占用了在第一幅方向上整个预览图片,这种状况下就无法将该拍摄对象换分到垂直于多个第一方向的区域中了。故在本实施例中所述方法可包括:In some embodiments, it may happen that a subject occupies the entire preview picture in the first direction in the preview picture, and in this case, the subject cannot be subdivided into an area perpendicular to the plurality of first directions. It is. Therefore, the method in this embodiment may include:
根据所述拍摄对象在各个方向上的宽度,若该拍摄对象在各个方向上最大宽度为第一宽度,最大宽度对应的方向为第一方向。According to the width of the subject in each direction, if the maximum width of the subject in each direction is the first width, the direction corresponding to the maximum width is the first direction.
将拍摄图像进行平行于所述拍摄对象,则预览图片平行于所述第一方向划分为多个区域。The captured image is parallel to the subject, and the preview picture is divided into a plurality of regions parallel to the first direction.
步骤S103、控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。Step S103: Control the photographing device to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
当所述预览图片被划分为多个区域之后,对应于一个所述区域形成一种以该区域为对焦区域的预览图片。例如,若有M个区域,则会形成M张预览图片,这M张预览图片的对焦区域分别为M个区域。这M张预览图 片在采集的过程中,除了对焦区域的差异以外,其他如曝光量、曝光时间、采集角度等各种参数可以保持一致,以方便后续目标图片的合成。After the preview picture is divided into a plurality of areas, a preview picture in which the area is the focus area is formed corresponding to one of the areas. For example, if there are M regions, M preview images are formed, and the focus areas of the M preview images are respectively M regions. This M preview In the process of acquisition, in addition to the difference of the focus area, various parameters such as exposure amount, exposure time, and acquisition angle can be consistent to facilitate the synthesis of subsequent target images.
该步骤S103在用户触发拍照操作时开始执行。所述拍摄方法可以控制所述拍摄装置对每个区域进行对焦并拍摄多张图片,然后提取每张图片中最清晰的部分合成目标图片。所述拍摄方法还可以在对每个区域进行对焦后根据对焦情况对所述区域进行调整,然后对调整后的区域进行对焦并拍摄图片,最后分别提取每张图片中最清晰的部分合成目标图片。需要说明的是,本发明所述的图片中最清晰的部分为图片中对焦区域部分。This step S103 is started when the user triggers the photographing operation. The photographing method may control the photographing device to focus on each region and take a plurality of pictures, and then extract the clearest partial composite target picture in each picture. The photographing method can also adjust the area according to the focus condition after focusing on each area, then focus the adjusted area and take a picture, and finally extract the clearest part of the composite target picture in each picture. . It should be noted that the clearest part of the picture in the present invention is the portion of the focus area in the picture.
举例而言,所述拍摄方法可以对所述预览图片中的多个区域分别进行对焦并拍摄图片,然后在所述拍摄的图片中分别提取对焦的区域图片,最后将所述对焦区域图片合成目标图片。For example, the photographing method may separately focus and capture a plurality of regions in the preview image, and then respectively extract a focused region image in the captured image, and finally combine the focused region image into a target. image.
所述拍摄方法也可以对所述预览图片中的多个区域分别进行对焦,并记录每一区域对应的马达对焦位置;然后判断所述预览图片中是否存在相邻的区域满足预设条件,其中,所述预设条件为所述相邻的区域分别对应的马达对焦位置差值小于第一预设阈值。若所述预览图片中存在相邻的区域满足所述预设条件,所述拍摄方法可以将所述相邻的区域合并为一个区域进行处理。例如,所述拍摄方法可以对所述相邻区域进行对焦拍摄一张图片及对其他区域分别进行对焦并拍摄图片,然后在所述拍摄的图片中分别提取对焦的区域图片,并对所述对焦的区域图片合成目标图片。The photographing method may also respectively focus on a plurality of regions in the preview image, and record a motor focus position corresponding to each region; and then determine whether there is an adjacent region in the preview image that meets a preset condition, wherein The preset condition is that the motor focus position difference corresponding to the adjacent areas is less than a first preset threshold. If the adjacent area in the preview picture satisfies the preset condition, the photographing method may combine the adjacent areas into one area for processing. For example, the photographing method may focus on the adjacent area to take a picture and focus on other areas and take a picture, and then extract a focused area picture in the captured picture, and focus on the focus. The area image is a composite target image.
需要说明的是,在本发明的实施例中,所述拍摄的图片并不一定会全部呈现给用户,例如,在所述步骤S103中,所述对每个区域进行对焦拍摄的图片不会呈现给用户,只有最后合成的目标图片会呈现给用户。It should be noted that, in the embodiment of the present invention, the captured pictures are not necessarily all presented to the user. For example, in the step S103, the pictures for performing focus shooting on each area are not presented. To the user, only the final synthesized target image will be presented to the user.
本发明第一实施例的拍摄方法,获取所述拍摄装置当前采集的预览图片;根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;控制所述拍摄装置对所述多 个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。这样,能够避免根据拍摄对象将拍摄画面划分为多个区域分别进行对焦拍摄,然后提取清晰的部分进行合成,避免出现对焦区域外的图片不清晰问题,从而提高图片的品质。The photographing method of the first embodiment of the present invention acquires a preview image currently acquired by the photographing device; and divides the preview image into a plurality of regions according to a plurality of photographing objects in the preview image, wherein the same photographing object is Divided into the same area; controlling the camera to the plurality of Each area focuses and takes multiple pictures, and extracts the sharpest part of each picture in each picture. In this way, it is possible to avoid that the photographing screen is divided into a plurality of regions according to the subject to perform focus photographing, and then the clear portions are extracted for synthesis, thereby avoiding the problem of unclear pictures outside the focus area, thereby improving the quality of the photograph.
第二实施例Second embodiment
参见图2,图2为本发明实施例提供的另一种拍摄方法的流程图,如图2所示,所述方法包括:Referring to FIG. 2, FIG. 2 is a flowchart of another shooting method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
步骤S201、获取所述拍摄装置当前采集的预览图片。Step S201: Acquire a preview picture currently acquired by the photographing apparatus.
步骤S202、根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域。Step S202: The preview picture is divided into a plurality of areas according to the plurality of shooting objects in the preview picture, wherein the same shooting object is divided into the same area.
所述步骤S201及步骤S202与本发明第一实施例中的步骤S101及步骤S102相同,在此不再赘述。The steps S201 and S202 are the same as the steps S101 and S102 in the first embodiment of the present invention, and are not described herein again.
步骤S203、对所述预览图片中的多个区域分别进行对焦并拍摄图片。Step S203: Focusing on a plurality of regions in the preview image and taking a picture.
该步骤中,所述拍摄方法对所述预览图片中的每个区域分别进行对焦后分别拍摄图片。例如,如果一张预览图片被划分为了A、B、C、D四个区域,所述拍摄方法会对A区域进行对焦拍摄一张图片a,对B区域进行对焦拍摄一张图片b,对C区域进行对焦拍摄一张图片c,以及对D区域进行对焦拍摄一张图片d。In this step, the photographing method separately focuses each area in the preview picture and then takes a picture separately. For example, if a preview picture is divided into four areas A, B, C, and D, the shooting method will focus on the A area to take a picture a, and focus on the B area to take a picture b, for C The area is in focus to take a picture c, and focus on the D area to take a picture d.
步骤S204、在所述拍摄的图片中分别提取对焦的区域图片,并将所述对焦的区域图片合成目标图片。Step S204: extracting a focused area picture in the captured picture, and synthesizing the focused area picture into a target picture.
对于通过上述步骤S203拍摄的图片,所述拍摄方法会提取每张图片中清晰部分并合并成目标图片。例如,所述拍摄方法可以在图片a中提取与A区域对应的对焦区域图片,在图片b中提取与B区域对应的对焦区域图片,在图片c中提取与C区域对应的对焦区域图片以及在图片d中提取与D区域对应的对焦区域图片,然后将上述提取出的对焦区域图片合成目标图片。 这样,能够将每个区域进行对焦合成清晰的目标图片,提高图片的品质。For the picture taken by the above step S203, the shooting method extracts a clear part of each picture and merges it into a target picture. For example, the photographing method may extract a focus area picture corresponding to the A area in the picture a, extract a focus area picture corresponding to the B area in the picture b, extract a focus area picture corresponding to the C area in the picture c, and In the picture d, the in-focus area picture corresponding to the D area is extracted, and then the extracted in-focus area picture is combined into the target picture. In this way, each area can be focused to form a clear target image, improving the quality of the picture.
需要说明的是,本发明实施例中所述的对焦区域图片表示一张图片中属于对焦区域内的图片部分。It should be noted that the focus area picture in the embodiment of the present invention represents a picture part in a picture that belongs to the focus area.
可选地,所述根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域,包括:Optionally, the dividing the image into the plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region, including:
根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域;或者Dividing, according to a pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference into an area; or
根据用户的选择将所述预览图片划分为多个区域。The preview picture is divided into a plurality of areas according to a user's selection.
可选地,所述根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域,包括:Optionally, the dividing, according to the pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference is divided into an area, including:
将所述预览图片中亮度值差值小于第一预设差值的连续区域划分为一个区域;或者Dividing a continuous area in the preview picture whose luminance value difference is smaller than the first preset difference into one area; or
将所述预览图片中色彩值差值小于第二预设差值的连续区域划分为一个区域;或者Dividing a continuous area in the preview picture whose color value difference is smaller than the second preset difference into one area; or
将所述预览图片中亮度值差值小于第一预设差值且色彩值差值小于第二预设差值的连续区域划分为一个区域。A continuous area in the preview picture whose luminance value difference is smaller than the first preset difference and whose color value difference is smaller than the second preset difference is divided into one area.
本发明第二实施例的拍摄方法,获取所述拍摄装置当前采集的预览图片;根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;对所述预览图片中的多个区域分别进行对焦并拍摄图片;在所述拍摄的图片中分别提取对焦的区域图片,并将所述对焦的区域图片合成目标图片。这样,能够避免根据拍摄对象将拍摄画面划分为多个区域分别进行对焦拍摄,然后提取清晰的部分进行合成,避免出现对焦区域外的图片不清晰问题,从而提高图片的品质。The photographing method of the second embodiment of the present invention acquires a preview image currently acquired by the photographing device; and divides the preview image into a plurality of regions according to a plurality of photographing objects in the preview image, wherein the same photographing object is Dividing into the same area; respectively, focusing on a plurality of areas in the preview picture and taking a picture; extracting a focused area picture in the captured picture, and synthesizing the focused area picture into a target picture. In this way, it is possible to avoid that the photographing screen is divided into a plurality of regions according to the subject to perform focus photographing, and then the clear portions are extracted for synthesis, thereby avoiding the problem of unclear pictures outside the focus area, thereby improving the quality of the photograph.
第三实施例Third embodiment
参见图3,图3为本发明实施例提供的另一种拍摄方法的流程图,如图 3所示,所述方法包括:Referring to FIG. 3, FIG. 3 is a flowchart of another shooting method according to an embodiment of the present invention. As shown in 3, the method includes:
步骤S301、获取所述拍摄装置当前采集的预览图片。Step S301: Acquire a preview picture currently collected by the photographing apparatus.
步骤S302、根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域。Step S302: Dividing the preview picture into a plurality of areas according to the plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into the same area.
所述步骤S301及步骤S302与本发明第一实施例中的步骤S101及步骤S102相同,在此不再赘述。The steps S301 and S302 are the same as the steps S101 and S102 in the first embodiment of the present invention, and are not described herein again.
步骤S303、对所述预览图片中的多个区域分别进行对焦,并记录每一区域对应的马达对焦位置。Step S303: Focusing on a plurality of regions in the preview image, and recording a motor focus position corresponding to each region.
步骤S304、判断所述预览图片中是否存在相邻的区域满足预设条件,其中,所述预设条件为所述相邻的区域分别对应的马达对焦位置差值小于第一预设阈值。Step S304: Determine whether there is an adjacent area in the preview picture that meets a preset condition, where the preset condition is that the motor focus position difference corresponding to the adjacent area is less than a first preset threshold.
在该步骤S304中,若所述预览图片中存在相邻的区域满足所述预设条件,执行步骤S305;相反地,若所述预览图片中没有相邻的区域满足所述预设条件,流程结束。In step S304, if there is an adjacent area in the preview picture that satisfies the preset condition, step S305 is performed; conversely, if no adjacent area in the preview picture satisfies the preset condition, the process End.
所述马达对焦位置可以通过马达移动距离表示,也就是说,当所述预览图片中存在相邻的区域分别对焦时对应的马达移动距离差值小于第一预设阈值,执行步骤S305。在本实施例中,所述拍摄方法通过比较马达对焦时的电流大小的方式比较马达移动距离。The motor focus position may be represented by a motor moving distance, that is, when there is an adjacent area in the preview picture, and the corresponding motor moving distance difference is less than the first preset threshold, step S305 is performed. In the present embodiment, the photographing method compares the motor moving distance by comparing the magnitude of the current when the motor focuses.
步骤S305、对所述相邻区域进行对焦拍摄一张图片及对其他区域分别进行对焦并拍摄图片。Step S305: Focusing on the adjacent area to take a picture and focusing on other areas and taking a picture.
该步骤中,所述拍摄方法可以将满足所述预设条件的相邻区域合并为一个区域并对该合并后的区域重新对焦,然后拍摄图片。也可以根据所述相邻区域分别对应的马达对焦位置计算所述合并后的区域的马达对焦位置,然后控制所述拍摄装置将马达移动到所述计算的马达对焦位置进行拍摄。例如,所述合并后的马达对焦位置可以为所述相邻区域分别对应的马 达对焦位置的平均值。In this step, the photographing method may merge adjacent regions satisfying the preset condition into one region and refocus the merged region, and then take a picture. The motor focus position of the merged region may also be calculated according to the motor focus positions corresponding to the adjacent regions, and then the photographing device is controlled to move the motor to the calculated motor focus position for photographing. For example, the combined motor focus position may be a horse corresponding to the adjacent area The average value of the focus position.
对于不满足所述预设条件的其他区域,所述拍摄方法会对其分别进行对焦并拍摄图片。For other areas that do not satisfy the preset condition, the shooting method will focus and take a picture separately.
步骤S306、在所述拍摄的图片中分别提取对焦的区域图片,并对所述对焦的区域图片合成目标图片。Step S306, extracting a focused area picture in the captured picture, and synthesizing the target picture into the focused area picture.
该步骤S306与本发明第二实施例中的步骤S204相同,在此不再赘述。This step S306 is the same as step S204 in the second embodiment of the present invention, and details are not described herein again.
本发明第三实施例的拍摄方法,获取所述拍摄装置当前采集的预览图片;根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;对所述预览图片中的多个区域分别进行对焦,并记录每一区域对应的马达对焦位置;判断所述预览图片中是否存在相邻的区域满足预设条件,其中,所述预设条件为所述相邻的区域分别对应的马达对焦位置差值小于第一预设阈值;若存在相邻区域满足所述预设条件,对所述相邻区域进行对焦拍摄一张图片及对其他区域分别进行对焦并拍摄图片;在所述拍摄的图片中分别提取对焦的区域图片,并对所述对焦的区域图片合成目标图片。这样,能够避免根据拍摄对象将拍摄画面划分为多个区域分别进行对焦拍摄,然后提取清晰的部分进行合成,避免出现对焦区域外的图片不清晰问题,从而提高图片的品质。The photographing method of the third embodiment of the present invention acquires a preview image currently acquired by the photographing device; and divides the preview image into a plurality of regions according to a plurality of photographing objects in the preview image, wherein the same photographing object is Dividing into the same area; respectively, focusing on a plurality of areas in the preview picture, and recording a motor focus position corresponding to each area; determining whether an adjacent area in the preview picture meets a preset condition, wherein The preset condition is that the motor focus position difference corresponding to the adjacent areas is less than a first preset threshold; if there is an adjacent area that satisfies the preset condition, the adjacent area is subjected to focus shooting. The picture and the other areas are respectively focused and taken a picture; the in-focus area picture is extracted in the captured picture, and the target picture is synthesized for the in-focus area picture. In this way, it is possible to avoid that the photographing screen is divided into a plurality of regions according to the subject to perform focus photographing, and then the clear portions are extracted for synthesis, thereby avoiding the problem of unclear pictures outside the focus area, thereby improving the quality of the photograph.
第四实施例Fourth embodiment
参见图4,是本发明实施例提供的一种拍摄装置的结构图,如图4所示,所述拍摄装置400包括:FIG. 4 is a structural diagram of a photographing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the photographing apparatus 400 includes:
获取模块401,配置为获取所述拍摄装置当前采集的预览图片;The obtaining module 401 is configured to acquire a preview picture currently captured by the photographing device;
分区模块402,用于根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;The partitioning module 402 is configured to divide the preview image into a plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region;
合成模块403,配置为控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。 The synthesizing module 403 is configured to control the photographing device to focus on the plurality of regions and take a plurality of images, and extract the most clear partial synthetic target images in each of the images.
可选地,参见图5,图5是本发明实施例提供的另一种拍摄装置的结构图,如图5所示,所述合成模块403包括:Optionally, referring to FIG. 5, FIG. 5 is a structural diagram of another imaging apparatus according to an embodiment of the present invention. As shown in FIG. 5, the synthesizing module 403 includes:
第一拍摄单元4031,配置为对所述预览图片中的多个区域分别进行对焦并拍摄图片;The first photographing unit 4031 is configured to respectively focus and capture a plurality of regions in the preview image;
第一合成单元4032,配置为在所述拍摄的图片中分别提取对焦的区域图片,并将所述对焦的区域图片合成目标图片。The first synthesizing unit 4032 is configured to respectively extract a focused area picture in the captured picture, and synthesize the focused area picture into a target picture.
可选地,参见图6,图6是本发明实施例提供的另一种拍摄装置的结构图,如图6所示,所述合成模块403包括:Optionally, referring to FIG. 6, FIG. 6 is a structural diagram of another imaging apparatus according to an embodiment of the present invention. As shown in FIG. 6, the synthesizing module 403 includes:
对焦单元4033,配置为对所述预览图片中的多个区域分别进行对焦,并记录每一区域对应的马达对焦位置;The focusing unit 4033 is configured to respectively focus on a plurality of regions in the preview picture, and record a motor focus position corresponding to each region;
判断单元4034,配置为判断所述预览图片中是否存在相邻的区域满足预设条件,其中,所述预设条件为所述相邻的区域分别对应的马达对焦位置差值小于第一预设阈值;The determining unit 4034 is configured to determine whether the adjacent area meets the preset condition in the preview picture, wherein the preset condition is that the motor focus position difference corresponding to the adjacent area is smaller than the first preset Threshold value
第二拍摄单元4035,配置为若存在相邻区域满足所述预设条件,对所述相邻区域进行对焦拍摄一张图片及对其他区域分别进行对焦并拍摄图片;The second photographing unit 4035 is configured to: if there is an adjacent area that satisfies the preset condition, focus on the adjacent area to take a picture and focus on other areas and take a picture;
第二合成单元4036,配置为在所述拍摄的图片中分别提取对焦的区域图片,并对所述对焦的区域图片合成目标图片。The second synthesizing unit 4036 is configured to respectively extract the in-focus area picture in the captured picture, and synthesize the target picture in the focused area picture.
可选地,所述分区模块402,配置为根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域;或者,根据用户的选择将所述预览图片划分为多个区域。Optionally, the partitioning module 402 is configured to divide, according to a pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference into an area; or, according to a user's selection, The preview picture is divided into a plurality of areas.
可选地,所述分区模块402配置为将所述预览图片中亮度值差值小于第一预设差值的连续区域划分为一个区域;或者,将所述预览图片中色彩值差值小于第二预设差值的连续区域划分为一个区域;或者,将所述预览图片中亮度值差值小于第一预设差值且色彩值差值小于第二预设差值的连 续区域划分为一个区域。Optionally, the partitioning module 402 is configured to divide a continuous area of the preview picture whose luminance value difference is smaller than the first preset difference into one area; or, the color value difference in the preview picture is smaller than the first The continuous area of the two preset differences is divided into one area; or, the difference between the brightness values in the preview picture is smaller than the first preset difference and the color value difference is less than the second preset difference The continuation area is divided into one area.
所述拍摄装置400能够实现图1至图3的方法实施例中的各个过程,为避免重复,在此不再赘述。The photographing device 400 can implement various processes in the method embodiments of FIG. 1 to FIG. 3, and to avoid repetition, details are not described herein again.
本发明第四实施例中的拍摄装置400,能够避免根据拍摄对象将拍摄画面划分为多个区域分别进行对焦拍摄,然后提取清晰的部分进行合成,避免出现对焦区域外的图片不清晰问题,从而提高图片的品质。The photographing apparatus 400 in the fourth embodiment of the present invention can avoid that the photographing screen is divided into a plurality of regions according to the photographing object to perform focus photographing, and then extract clear portions for synthesis, thereby avoiding the problem of unclear images outside the in-focus region, thereby Improve the quality of the picture.
第五实施例Fifth embodiment
参见图7,图7是本发明实施例提供的一种拍摄装置700的结构图,如图7所示,所述拍摄装置700包括:至少一个处理器701、存储器702、至少一个摄像头703、马达704以及至少一个用户接口705。Referring to FIG. 7, FIG. 7 is a structural diagram of a photographing apparatus 700 according to an embodiment of the present invention. As shown in FIG. 7, the photographing apparatus 700 includes at least one processor 701, a memory 702, at least one camera 703, and a motor. 704 and at least one user interface 705.
拍摄装置700中的各个组件通过总线***706耦合在一起、可以理解的是,总线***706用于实现这些组件之间的连接通信。总线***706除包括数据线之外,还包括电源总线、控制总线及状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线***706。The various components in the camera 700 are coupled together by a bus system 706, it being understood that the bus system 706 is used to effect connection communication between these components. The bus system 706 includes a power bus, a control bus, and a status signal bus in addition to the data lines. However, for clarity of description, various buses are labeled as bus system 706 in FIG.
其中,用户接口705可以包括显示器、键盘或者点击设备,例如鼠标,轨迹球(trackball)、触感板或者触摸屏等。The user interface 705 can include a display, a keyboard, or a pointing device such as a mouse, a trackball, a touchpad, or a touch screen.
所述摄像头703配置为拍摄图片,所述马达704可以移动到不同的位置实现对被拍摄对象进行对焦。The camera 703 is configured to take a picture, and the motor 704 can be moved to different positions to focus on the subject.
可以理解,本发明实施例中的存储器702可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的 RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的***和方法的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It is to be understood that the memory 702 in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (Erasable PROM, EPROM), or an electric Erase programmable read only memory (EEPROM) or flash memory. The volatile memory can be a Random Access Memory (RAM) that acts as an external cache. By way of illustration and not limitation, many forms of RAM is available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access Memory (Double Data Rate SDRAM, DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Synchronous Connection Dynamic Random Access Memory (SDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM) , DRRAM). Memory 702 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
在一些实施方式中,存储器702存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作***和应用程序。In some implementations, memory 702 stores elements, executable modules or data structures, or a subset thereof, or their extended set: an operating system and an application.
其中,操作***,包含各种***程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序中。The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. An application, including various applications, such as a Media Player, a Browser, etc., for implementing various application services. A program implementing the method of the embodiment of the present invention may be included in an application.
在本发明实施例中,通过调用存储器702存储的程序或指令,具体的,可以是应用程序中存储的程序或指令,处理器701用于:In the embodiment of the present invention, by calling the program or instruction stored in the memory 702, specifically, it may be a program or an instruction stored in the application, and the processor 701 is configured to:
获取所述拍摄装置当前采集的预览图片;Obtaining a preview picture currently captured by the photographing device;
根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;Dividing the preview picture into a plurality of regions according to the plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into the same area;
控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。The photographing device is controlled to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻 辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成上述方法的步骤。The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may pass through the integrated logic of the hardware in the processor 701. Completion of instructions in circuit or software form. The processor 701 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like. Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个ASIC、DSP、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、FPGA、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementations, the processing unit can be implemented in one or more ASICs, DSPs, digital signal processing devices (DSPDevices, DSPDs), programmable logic devices (PLDs), FPGAs, general purpose processors, controllers, microcontrollers, A microprocessor, other electronic unit for performing the functions described herein, or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented by modules (eg, procedures, functions, and so on) that perform the functions described herein. The software code can be stored in memory and executed by the processor. The memory can be implemented in the processor or external to the processor.
可选地,所述处理器701控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片,包括:Optionally, the processor 701 controls the photographing device to focus on the plurality of regions and take a plurality of images, and respectively extract the most clear partial composite target images in each image, including:
对所述预览图片中的多个区域分别进行对焦并拍摄图片; Focusing on a plurality of areas in the preview picture and taking a picture;
在所述拍摄的图片中分别提取对焦的区域图片,并将所述对焦的区域图片合成目标图片。A focused area picture is extracted in the captured picture, and the focused area picture is combined into a target picture.
可选地,所述处理器701控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片,包括:Optionally, the processor 701 controls the photographing device to focus on the plurality of regions and take a plurality of images, and respectively extract the most clear partial composite target images in each image, including:
对所述预览图片中的多个区域分别进行对焦,并记录每一区域对应的马达对焦位置;Focusing on a plurality of regions in the preview image, and recording a motor focus position corresponding to each region;
判断所述预览图片中是否存在相邻的区域满足预设条件,其中,所述预设条件为所述相邻的区域分别对应的马达对焦位置差值小于第一预设阈值;Determining whether there is an adjacent area in the preview picture that meets a preset condition, wherein the preset condition is that the motor focus position difference corresponding to the adjacent area is less than a first preset threshold;
若存在相邻区域满足所述预设条件,对所述相邻区域进行对焦拍摄一张图片及对其他区域分别进行对焦并拍摄图片;If the adjacent area satisfies the preset condition, the adjacent area is in focus to take a picture and focus on other areas and take a picture;
在所述拍摄的图片中分别提取对焦的区域图片,并对所述对焦的区域图片合成目标图片。A focused area picture is extracted in the captured picture, and the target picture is synthesized for the focused area picture.
可选地,所述处理器701根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域,包括:Optionally, the processor 701 divides the preview image into a plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region, including:
根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域;或者Dividing, according to a pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference into an area; or
根据用户的选择将所述预览图片划分为多个区域。The preview picture is divided into a plurality of areas according to a user's selection.
可选地,所述处理器701根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域,包括:Optionally, the processor 701, according to the pixel value of the preview picture, divides the continuous area of the preview picture whose pixel value difference is less than the preset difference into an area, including:
将所述预览图片中亮度值差值小于第一预设差值的连续区域划分为一个区域;或者Dividing a continuous area in the preview picture whose luminance value difference is smaller than the first preset difference into one area; or
将所述预览图片中色彩值差值小于第二预设差值的连续区域划分为一 个区域;或者Dividing a continuous area of the preview picture whose color value difference is smaller than the second preset difference into one Areas; or
将所述预览图片中亮度值差值小于第一预设差值且色彩值差值小于第二预设差值的连续区域划分为一个区域。A continuous area in the preview picture whose luminance value difference is smaller than the first preset difference and whose color value difference is smaller than the second preset difference is divided into one area.
拍摄装置700能够实现前述实施例中拍摄方法的各个过程,为避免重复,这里不再赘述。The photographing apparatus 700 can implement various processes of the photographing method in the foregoing embodiments, and details are not described herein again to avoid repetition.
本发明实施例中,上述拍摄装置可以是任何具备拍摄功能的装置,例如:相机、智能手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)等。In the embodiment of the present invention, the shooting device may be any device having a shooting function, such as a camera, a smart phone, a tablet personal computer, a laptop computer, and a personal digital assistant. Referred to as PDA), Mobile Internet Device (MID), etc.
本领域普通技术人员可以理解实现上述实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读取介质中,该程序在执行时,包括以下步骤:It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be performed by hardware associated with program instructions, which may be stored in a computer readable medium, including when executed, including The following steps:
获取所述拍摄装置当前采集的预览图片;Obtaining a preview picture currently captured by the photographing device;
根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;Dividing the preview picture into a plurality of regions according to the plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into the same area;
控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。The photographing device is controlled to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
可选地,所述控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片,包括:Optionally, the controlling the photographing device focuses on the plurality of regions and takes a plurality of images, and respectively extracts the most clear partial synthetic target images in each image, including:
对所述预览图片中的多个区域分别进行对焦并拍摄图片;Focusing on a plurality of areas in the preview picture and taking a picture;
在所述拍摄的图片中分别提取对焦的区域图片,并将所述对焦的区域图片合成目标图片。A focused area picture is extracted in the captured picture, and the focused area picture is combined into a target picture.
可选地,所述控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片,包括:Optionally, the controlling the photographing device focuses on the plurality of regions and takes a plurality of images, and respectively extracts the most clear partial synthetic target images in each image, including:
对所述预览图片中的多个区域分别进行对焦,并记录每一区域对应的 马达对焦位置;Focusing on a plurality of regions in the preview image, and recording corresponding to each region Motor focus position;
判断所述预览图片中是否存在相邻的区域满足预设条件,其中,所述预设条件为所述相邻的区域分别对应的马达对焦位置差值小于第一预设阈值;Determining whether there is an adjacent area in the preview picture that meets a preset condition, wherein the preset condition is that the motor focus position difference corresponding to the adjacent area is less than a first preset threshold;
若存在相邻区域满足所述预设条件,对所述相邻区域进行对焦拍摄一张图片及对其他区域分别进行对焦并拍摄图片;If the adjacent area satisfies the preset condition, the adjacent area is in focus to take a picture and focus on other areas and take a picture;
在所述拍摄的图片中分别提取对焦的区域图片,并对所述对焦的区域图片合成目标图片。A focused area picture is extracted in the captured picture, and the target picture is synthesized for the focused area picture.
可选地,所述根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域,包括:Optionally, the dividing the image into the plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region, including:
根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域;或者Dividing, according to a pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference into an area; or
根据用户的选择将所述预览图片划分为多个区域。The preview picture is divided into a plurality of areas according to a user's selection.
可选地,所述根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域,包括:Optionally, the dividing, according to the pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference is divided into an area, including:
将所述预览图片中亮度值差值小于第一预设差值的连续区域划分为一个区域;或者Dividing a continuous area in the preview picture whose luminance value difference is smaller than the first preset difference into one area; or
将所述预览图片中色彩值差值小于第二预设差值的连续区域划分为一个区域;或者Dividing a continuous area in the preview picture whose color value difference is smaller than the second preset difference into one area; or
将所述预览图片中亮度值差值小于第一预设差值且色彩值差值小于第二预设差值的连续区域划分为一个区域。A continuous area in the preview picture whose luminance value difference is smaller than the first preset difference and whose color value difference is smaller than the second preset difference is divided into one area.
所述的存储介质,如ROM、RAM、磁碟或者光盘等。The storage medium, such as a ROM, a RAM, a magnetic disk, or an optical disk.
总之,本实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述拍摄方法中的一个或多个。所述计算机存储介质可选为非瞬间存储介质,或非易失 性存储介质。In summary, the embodiment provides a computer storage medium having stored therein computer executable instructions for performing one or more of the above-described photographing methods. The computer storage medium can be selected as a non-transitory storage medium, or a nonvolatile Storage media.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。The above is a preferred embodiment of the present invention, and it should be noted that modifications made in accordance with the principles of the present invention should be understood as falling within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例中,会将采集图像划分为多个区域;然后基于多个区域分别对焦,采集形成多张预览图片;再将这些对焦区域不同的图片合成形成目标图片,这样的目标图标在各个区域都有被对焦到,显然会形成图像清晰度好的高质量图片。本实施例提供的拍摄方法,可以通过向拍摄装置输入可执行代码等实现上述操作,具有可实现性强,在工业上推广容易等特点。 In the embodiment of the present invention, the collected image is divided into a plurality of regions; then, the plurality of regions are respectively focused to acquire multiple preview images; and the different regions of the focus regions are combined to form a target image, and the target icons are respectively The area is focused, and it will obviously form a high-quality picture with good image clarity. The photographing method provided in the embodiment can realize the above operation by inputting an executable code or the like to the photographing device, and has the characteristics of strong achievability, easy promotion in the industry, and the like.

Claims (11)

  1. 一种拍摄方法,应用于拍摄装置,所述方法包括:A photographing method is applied to a photographing apparatus, the method comprising:
    获取所述拍摄装置当前采集的预览图片;Obtaining a preview picture currently captured by the photographing device;
    根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;Dividing the preview picture into a plurality of regions according to the plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into the same area;
    控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。The photographing device is controlled to focus on the plurality of regions and take a plurality of pictures, and extract the most clear partial composite target pictures in each picture.
  2. 如权利要求1所述的方法,其中,所述控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片,包括:The method according to claim 1, wherein said controlling said photographing means focuses on said plurality of areas and photographs a plurality of pictures, and extracts the most clear partial composite target pictures in each picture, respectively, including:
    对所述预览图片中的多个区域分别进行对焦并拍摄图片;Focusing on a plurality of areas in the preview picture and taking a picture;
    在所述拍摄的图片中分别提取对焦的区域图片,并将所述对焦的区域图片合成目标图片。A focused area picture is extracted in the captured picture, and the focused area picture is combined into a target picture.
  3. 如权利要求1所述的方法,其中,所述控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片,包括:The method according to claim 1, wherein said controlling said photographing means focuses on said plurality of areas and photographs a plurality of pictures, and extracts the most clear partial composite target pictures in each picture, respectively, including:
    对所述预览图片中的多个区域分别进行对焦,并记录每一区域对应的马达对焦位置;Focusing on a plurality of regions in the preview image, and recording a motor focus position corresponding to each region;
    判断所述预览图片中是否存在相邻的区域满足预设条件,其中,所述预设条件为所述相邻的区域分别对应的马达对焦位置差值小于第一预设阈值;Determining whether there is an adjacent area in the preview picture that meets a preset condition, wherein the preset condition is that the motor focus position difference corresponding to the adjacent area is less than a first preset threshold;
    若存在相邻区域满足所述预设条件,对所述相邻区域进行对焦拍摄一张图片及对其他区域分别进行对焦并拍摄图片;If the adjacent area satisfies the preset condition, the adjacent area is in focus to take a picture and focus on other areas and take a picture;
    在所述拍摄的图片中分别提取对焦的区域图片,并对所述对焦的区域图片合成目标图片。 A focused area picture is extracted in the captured picture, and the target picture is synthesized for the focused area picture.
  4. 如权利要求1至3任一项所述的方法,其中,所述根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域,包括:The method according to any one of claims 1 to 3, wherein the preview picture is divided into a plurality of areas according to a plurality of photographic objects in the preview picture, wherein the same photographic subject is divided into An area that includes:
    根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域;或者Dividing, according to a pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference into an area; or
    根据用户的选择将所述预览图片划分为多个区域。The preview picture is divided into a plurality of areas according to a user's selection.
  5. 如权利要求4所述的方法,其中,所述根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域,包括:The method of claim 4, wherein the dividing the continuous region of the preview image whose pixel value difference is less than the preset difference according to the pixel value of the preview image comprises:
    将所述预览图片中亮度值差值小于第一预设差值的连续区域划分为一个区域;Dividing a continuous area of the preview picture whose luminance value difference is smaller than the first preset difference into one area;
    或者,or,
    将所述预览图片中色彩值差值小于第二预设差值的连续区域划分为一个区域;Dividing a continuous area of the preview picture whose color value difference is smaller than the second preset difference into one area;
    或者,or,
    将所述预览图片中亮度值差值小于第一预设差值且色彩值差值小于第二预设差值的连续区域划分为一个区域。A continuous area in the preview picture whose luminance value difference is smaller than the first preset difference and whose color value difference is smaller than the second preset difference is divided into one area.
  6. 一种拍摄装置,所述拍摄装置包括:A photographing device, the photographing device comprising:
    获取模块,配置为获取所述拍摄装置当前采集的预览图片;Obtaining a module, configured to acquire a preview image currently collected by the photographing device;
    分区模块,配置为根据所述预览图片中的多个拍摄对象将所述预览图片划分为多个区域,其中,同一个拍摄对象被划分到同一个区域;a partitioning module configured to divide the preview image into a plurality of regions according to the plurality of photographic objects in the preview image, wherein the same photographic subject is divided into the same region;
    合成模块,配置为控制所述拍摄装置对所述多个区域进行对焦并拍摄多张图片,并分别提取每张图片中最清晰的部分合成目标图片。And a synthesizing module configured to control the photographing device to focus on the plurality of regions and take a plurality of images, and extract the most clear partial composite target images in each image.
  7. 如权利要求6所述的拍摄装置,其中,所述合成模块包括:The photographing apparatus according to claim 6, wherein the synthesizing module comprises:
    第一拍摄单元,配置为对所述预览图片中的多个区域分别进行对焦并 拍摄图片;a first photographing unit configured to focus on a plurality of regions in the preview image Take a picture;
    第一合成单元,配置为在所述拍摄的图片中分别提取对焦的区域图片,并将所述对焦的区域图片合成目标图片。The first synthesizing unit is configured to respectively extract a focused area picture in the captured picture, and synthesize the focused area picture into a target picture.
  8. 如权利要求6所述的拍摄装置,其中,所述合成模块包括:The photographing apparatus according to claim 6, wherein the synthesizing module comprises:
    对焦单元,配置为对所述预览图片中的多个区域分别进行对焦,并记录每一区域对应的马达对焦位置;a focusing unit configured to focus on a plurality of regions in the preview image and record a motor focus position corresponding to each region;
    判断单元,配置为判断所述预览图片中是否存在相邻的区域满足预设条件,其中,所述预设条件为所述相邻的区域分别对应的马达对焦位置差值小于第一预设阈值;a determining unit, configured to determine whether an adjacent area in the preview picture meets a preset condition, wherein the preset condition is that a motor focus position difference corresponding to the adjacent area is smaller than a first preset threshold ;
    第二拍摄单元,配置为若存在相邻区域满足所述预设条件,对所述相邻区域进行对焦拍摄一张图片及对其他区域分别进行对焦并拍摄图片;The second photographing unit is configured to: if there is an adjacent area that satisfies the preset condition, focus on the adjacent area to take a picture and focus on other areas and take a picture;
    第二合成单元,配置为在所述拍摄的图片中分别提取对焦的区域图片,并对所述对焦的区域图片合成目标图片。The second synthesizing unit is configured to respectively extract the in-focus area picture in the captured picture, and synthesize the target picture in the focused area picture.
  9. 如权利要求6至8任一项所述的拍摄装置,其中,The photographing apparatus according to any one of claims 6 to 8, wherein
    所述分区模块,配置为根据所述预览图片的像素值将所述预览图片中像素值差值小于预设差值的连续区域划分为一个区域;或者,根据用户的选择将所述预览图片划分为多个区域。The partitioning module is configured to divide, according to a pixel value of the preview picture, a continuous area in which the pixel value difference in the preview picture is smaller than a preset difference into one area; or divide the preview picture according to a user's selection For multiple areas.
  10. 如权利要求9所述的拍摄装置,其中,所述分区模块,配置为将所述预览图片中亮度值差值小于第一预设差值的连续区域划分为一个区域;或者,将所述预览图片中色彩值差值小于第二预设差值的连续区域划分为一个区域;或者,将所述预览图片中亮度值差值小于第一预设差值且色彩值差值小于第二预设差值的连续区域划分为一个区域。The photographing apparatus according to claim 9, wherein the partitioning module is configured to divide a continuous area of the preview picture whose luminance value difference is smaller than the first preset difference into one area; or, the preview is The continuous area in which the difference of the color value is smaller than the second preset difference is divided into one area; or the difference of the brightness value in the preview picture is smaller than the first preset difference and the difference of the color value is smaller than the second preset The continuous area of the difference is divided into one area.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至5任一项所述拍摄方法。 A computer storage medium having stored therein computer executable instructions for performing the photographing method of any one of claims 1 to 5.
PCT/CN2017/079965 2016-09-27 2017-04-10 Photographing method, photographing device and storage medium WO2018058934A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610853997.4A CN107872614A (en) 2016-09-27 2016-09-27 A kind of image pickup method and filming apparatus
CN201610853997.4 2016-09-27

Publications (1)

Publication Number Publication Date
WO2018058934A1 true WO2018058934A1 (en) 2018-04-05

Family

ID=61752203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079965 WO2018058934A1 (en) 2016-09-27 2017-04-10 Photographing method, photographing device and storage medium

Country Status (2)

Country Link
CN (1) CN107872614A (en)
WO (1) WO2018058934A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493511A (en) * 2019-07-30 2019-11-22 维沃移动通信有限公司 A kind of panorama image generation method and mobile terminal
CN112672060A (en) * 2020-12-29 2021-04-16 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN114666497A (en) * 2022-02-28 2022-06-24 青岛海信移动通信技术股份有限公司 Imaging method, terminal device, storage medium, and program product

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557556A (en) * 2018-06-01 2019-12-10 珠海格力电器股份有限公司 Multi-object shooting method and device
CN109005354A (en) * 2018-09-25 2018-12-14 努比亚技术有限公司 Image pickup method, mobile terminal and computer readable storage medium
CN109583299A (en) * 2018-10-26 2019-04-05 平安科技(深圳)有限公司 Electronic device, certificate recognition methods and storage medium
CN109257540B (en) * 2018-11-05 2021-06-18 浙江舜宇光学有限公司 Photographing correction method of multi-photographing lens group and photographing device
CN109922256B (en) * 2019-01-28 2020-09-15 维沃移动通信有限公司 Shooting method and terminal equipment
CN110830723B (en) * 2019-11-29 2021-09-28 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal
CN112823507A (en) * 2020-03-27 2021-05-18 深圳市大疆创新科技有限公司 Photographing method, photographing device, photographing apparatus, and computer-readable storage medium
CN112215219B (en) * 2020-09-14 2023-11-24 阿波罗智联(北京)科技有限公司 Method, device and medium for acquiring region of interest for road side shooting equipment
CN112529864A (en) * 2020-12-07 2021-03-19 维沃移动通信有限公司 Picture processing method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2007135A2 (en) * 2007-06-20 2008-12-24 Ricoh Company, Ltd. Imaging apparatus
US20130050542A1 (en) * 2007-12-28 2013-02-28 Sanyo Electric Co., Ltd. Image processing apparatus and photographing apparatus
CN103299613A (en) * 2011-11-17 2013-09-11 松下电器产业株式会社 Image processing device, imaging device, and image processing method
CN103491299A (en) * 2013-09-17 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Photographic processing method and device
US20160028948A1 (en) * 2013-04-10 2016-01-28 Sharp Kabushiki Kaisha Image capturing apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013201530A (en) * 2012-03-23 2013-10-03 Canon Inc Imaging device and control method of the same
CN105100578A (en) * 2014-05-05 2015-11-25 南昌欧菲光电技术有限公司 Image processing system and image processing method thereof
CN105898135A (en) * 2015-11-15 2016-08-24 乐视移动智能信息技术(北京)有限公司 Camera imaging method and camera device
CN105611156B (en) * 2015-12-22 2018-10-02 唐小川 Full frame focusing method and camera
CN105578045A (en) * 2015-12-23 2016-05-11 努比亚技术有限公司 Terminal and shooting method of terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2007135A2 (en) * 2007-06-20 2008-12-24 Ricoh Company, Ltd. Imaging apparatus
US20130050542A1 (en) * 2007-12-28 2013-02-28 Sanyo Electric Co., Ltd. Image processing apparatus and photographing apparatus
CN103299613A (en) * 2011-11-17 2013-09-11 松下电器产业株式会社 Image processing device, imaging device, and image processing method
US20160028948A1 (en) * 2013-04-10 2016-01-28 Sharp Kabushiki Kaisha Image capturing apparatus
CN103491299A (en) * 2013-09-17 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Photographic processing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493511A (en) * 2019-07-30 2019-11-22 维沃移动通信有限公司 A kind of panorama image generation method and mobile terminal
CN110493511B (en) * 2019-07-30 2023-05-09 维沃移动通信有限公司 Panoramic image generation method and mobile terminal
CN112672060A (en) * 2020-12-29 2021-04-16 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN114666497A (en) * 2022-02-28 2022-06-24 青岛海信移动通信技术股份有限公司 Imaging method, terminal device, storage medium, and program product
CN114666497B (en) * 2022-02-28 2024-03-15 青岛海信移动通信技术有限公司 Imaging method, terminal device and storage medium

Also Published As

Publication number Publication date
CN107872614A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
WO2018058934A1 (en) Photographing method, photographing device and storage medium
EP3457683B1 (en) Dynamic generation of image of a scene based on removal of undesired object present in the scene
CN113329160B (en) Multi-camera system configured to process and display image data and device having the multi-camera system
US10389948B2 (en) Depth-based zoom function using multiple cameras
JP4539729B2 (en) Image processing apparatus, camera apparatus, image processing method, and program
CN107690649B (en) Digital photographing apparatus and method of operating the same
WO2018201809A1 (en) Double cameras-based image processing device and method
KR101772177B1 (en) Method and apparatus for obtaining photograph
WO2019056527A1 (en) Capturing method and device
WO2019148978A1 (en) Image processing method and apparatus, storage medium and electronic device
JP6157242B2 (en) Image processing apparatus and image processing method
US20140226858A1 (en) Method of tracking object using camera and camera system for object tracking
US9549126B2 (en) Digital photographing apparatus and control method thereof
JP5536010B2 (en) Electronic camera, imaging control program, and imaging control method
EP4044579A1 (en) Main body detection method and apparatus, and electronic device and computer readable storage medium
WO2020001219A1 (en) Image processing method and apparatus, storage medium, and electronic device
US10726524B2 (en) Low-resolution tile processing for real-time bokeh
JPWO2017037978A1 (en) DETECTING DEVICE, DETECTING METHOD, DETECTING PROGRAM, AND IMAGING DEVICE
CN110650288B (en) Focusing control method and device, electronic equipment and computer readable storage medium
EP3218756B1 (en) Direction aware autofocus
JP2009089220A (en) Imaging apparatus
WO2018196854A1 (en) Photographing method, photographing apparatus and mobile terminal
CN104994288A (en) Shooting method and user terminal
CN105007410A (en) Large viewing angle camera control method and user terminal
CN104994282A (en) Large view angle camera control method and user terminal

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: 17854393

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17854393

Country of ref document: EP

Kind code of ref document: A1