WO2016141627A1 - 图像获取方法、图像获取装置和终端 - Google Patents
图像获取方法、图像获取装置和终端 Download PDFInfo
- Publication number
- WO2016141627A1 WO2016141627A1 PCT/CN2015/078078 CN2015078078W WO2016141627A1 WO 2016141627 A1 WO2016141627 A1 WO 2016141627A1 CN 2015078078 W CN2015078078 W CN 2015078078W WO 2016141627 A1 WO2016141627 A1 WO 2016141627A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cameras
- camera
- image
- target
- shooting data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/675—Focus control based on electronic image sensor signals comprising setting of focusing regions
Definitions
- the present invention relates to the field of terminal technologies, and in particular, to an image acquisition method, an image acquisition device, and a terminal.
- a single camera is installed on a terminal (such as a mobile phone, a tablet computer, etc.), more and more users take photos through a single camera on the terminal, but when a single camera adjusts the focal length, only a range of focal length can be adjusted. As for the photos taken, they can only be clear within a certain distance, and the photos taken at a long distance are blurred.
- the present invention is based on the above problems, and proposes a new technical solution.
- the terminal has a function of adjusting a plurality of ranges of focus distances, thereby increasing the depth of field of the captured image and improving Capture the sharpness of the image and allow the terminal to capture farther and sharper images.
- an aspect of the present invention provides an image acquisition method, including: setting a focus distance of each of a plurality of cameras according to the received first setting command; acquiring the image captured by each camera Regarding the shooting data of the target object; according to the received second setting command, respectively setting a mark for the shooting data captured by each of the cameras to mark and each of the shooting data captured by each of the cameras
- the photographing data taken by the cameras acquires a target image of the target object.
- each of the plurality of cameras is different from the target object, the focusing distance of each of the plurality of cameras is set, so that the terminal has more adjustments.
- a range of focus distance functions which increase the depth of field of the captured image, improve the sharpness of the captured image, not only make the shooting data of the target object captured by each camera more accurate, but also obtain farther and clearer images.
- the marking data of each camera is set to mark the target image, so that the target image of the target object is clearer, for example,
- the focusing distance of each camera is adjusted multiple times according to the distance between the plurality of cameras and the target object, thereby ensuring that the captured image captured by each camera is clearer.
- the mark can be set by the number.
- the setting a focus distance of each of the plurality of cameras includes: determining, according to a distance between each of the plurality of cameras and the target object, Any one of the cameras sets a first focus distance; and sets a second focus distance for each of the other cameras according to the first focus distance, wherein each of the other cameras is the plurality of cameras A camera other than any camera.
- a first focusing distance is set for any camera, and a second focusing distance is set for each other camera according to the first focusing distance, so that the shooting data about the target object captured by each camera is more accurate.
- the depth of field of the captured image can be increased to make the acquired target image clearer. For example, if the first focusing distance of any one of the plurality of cameras is set to 10 cm, then each of the other camera settings is set to be second. The focusing distance is 15 cm.
- the method further comprises: controlling the focus of each of the cameras to be on the same line according to the received control command.
- the focus of each camera is controlled on the same line, so as to ensure that the shooting data about the target object captured by each camera is the same, that is, the target object acquired by each camera.
- the pictures are the same, which ensures that the captured data with the subject is more accurate, which makes the synthesized target image clearer.
- the photographing data taken by each of the cameras is respectively set with a mark according to a mark in the photographing data photographed by each of the cameras and a photograph taken by each of the cameras.
- the method includes: setting different labels for the shooting data captured by each camera at different times according to the received second setting command, and ensuring the plurality of labels Target shooting data taken by the camera at the same time There are the same labels; the target photographing data of the same label acquired by the plurality of cameras is combined to obtain the target image.
- the shooting data captured by each camera may be different. If the target image is directly synthesized according to the shooting data captured by each camera, the target image may appear inconsistent. Therefore, the target shooting data of each frame acquired by each camera at the same time is obtained.
- the pixel values of each pixel in the weight are weighted, wherein the target shooting data has the same label, thereby obtaining a target image with a larger depth of field, thereby making the target image clearer, and in addition, each camera is different in chronological order.
- the time interval can be set by the user or the system default, and the starting point of time can be the time when each camera is shooting.
- the focus distance of each of the plurality of cameras is adjusted according to the received adjustment command.
- the focus distance of each camera is re-adjusted so that each camera captures the target object.
- the shooting data is more accurate, so that the target image of each acquired target object is clear.
- Another aspect of the present invention provides an image obtaining apparatus, including: a first setting unit, configured to set a focusing distance of each of the plurality of cameras according to the received first setting command; and an acquiring unit that acquires each of the The photographing data about the target object captured by the camera; the second setting unit respectively sets a mark for the photographing data photographed by each of the cameras according to the received second setting command, to be photographed according to each of the cameras The mark in the photographing data and the photographed data taken by each of the cameras acquire a target image of the target object.
- the focusing distance of each of the plurality of cameras is set, so that the terminal has a function of adjusting a plurality of ranges of the focusing distance.
- the shooting data of the target object captured by each camera is more accurate, but also a farther and clearer image can be obtained, and each camera is The corresponding sensitizer or image processor will have different time delays, so mark the shooting data shot by each camera so that The target image of the target object is more clear.
- the focusing distance of each camera is adjusted multiple times according to the distance between the plurality of cameras and the target object, thereby ensuring each The captured images captured by the camera are sharper.
- the shooting data can be marked with numbers.
- the first setting unit is configured to: set, according to a distance between each of the plurality of cameras and the target object, any one of the plurality of cameras a first focus distance; a second focus distance is set for each of the other cameras according to the first focus distance, wherein each of the other cameras is a camera other than the any one of the plurality of cameras.
- a first focusing distance is set for any camera, and a second focusing distance is set for each other camera according to the first focusing distance, so that the shooting data about the target object captured by each camera is more accurate.
- the depth of field of the captured image can be increased to make the acquired target image clearer. For example, if the first focusing distance of any one of the plurality of cameras is set to 10 cm, then each of the other camera settings is set to be second. The focusing distance is 15 cm.
- the method further includes: a control unit that controls the focus of each of the cameras to be on the same straight line according to the received control command.
- the focus of each camera is controlled on the same line, so as to ensure that the shooting data about the target object captured by each camera is the same, that is, the target object acquired by each camera.
- the pictures are the same, which ensures that the captured data with the subject is more accurate, which makes the synthesized target image clearer.
- the second setting unit is specifically configured to: according to the received second setting command, set different labels for the shooting data taken by the each camera at different times in time sequence, and ensure that the The target photographing data taken by the plurality of cameras at the same time has the same label; the target photographing data of the same label acquired by the plurality of cameras is combined to acquire the target image.
- the shooting data captured by each camera may be different. If the target image is directly synthesized according to the shooting data captured by each camera, this will cause the target image to appear inconsistent, therefore, each will The camera weights the pixel value of each pixel in the target shooting data of each frame acquired at the same time, wherein the target shooting data has the same label, thereby obtaining a target image with a larger depth of field, thereby making the target image more Clear, in addition, when setting different labels for the shooting data taken by each camera at different times in chronological order, the time interval can be set by the user or the system default, and the starting point of time can be performed for each camera. The time when shooting.
- the adjusting unit adjusts a focusing distance of each of the plurality of cameras according to the received adjustment command.
- the focus distance of each camera is re-adjusted so that each camera captures the target object.
- the shooting data is more accurate, so that the target image of each acquired target object is clear.
- Yet another aspect of the present invention provides a terminal, the terminal comprising a communication bus, a transceiver, a memory, and a processor, wherein:
- the communication bus is configured to implement connection communication between the transceiver device, the memory, and the processor;
- the program stores a set of program codes, and the processor calls program code stored in the memory to perform the following operations:
- the processor is configured to set a focusing distance of each of the plurality of cameras according to the received first setting command
- the transceiver device is configured to acquire shooting data about the target object captured by each camera;
- the processor is further configured to respectively set a mark for the shooting data captured by each camera according to the received second setting command, according to the marking in the shooting data captured by each camera and the The photographing data taken by each camera acquires a target image of the target object.
- the processor sets a focusing distance of each of the plurality of cameras, and specifically includes:
- Each of the other cameras is a camera other than the any one of the plurality of cameras.
- the processor is further configured to perform the following steps:
- the focus of each of the cameras is controlled to be on the same line.
- the processor separately sets a mark for the shooting data captured by each of the cameras to mark according to the shooting data captured by each camera and each of the cameras.
- the captured shooting data acquires the target image of the target object, and specifically includes:
- the photographing data taken by the each camera at different times is set with different labels in chronological order, and the target photographing data photographed by the plurality of cameras at the same time has the same label;
- the target image data of the same label acquired by the plurality of cameras is combined to acquire the target image.
- the processor is further configured to perform the following steps:
- the focus distance of each of the plurality of cameras is adjusted according to the received adjustment command.
- the focusing distance of each camera in each camera is set, so that the terminal has the function of adjusting a plurality of ranges of the focusing distance, thereby Not only makes the shooting data of the target object captured by each camera more accurate, but also can obtain farther and clearer images, and because the photographic processor or image processor corresponding to each camera has different time delays, That is, the time of the shooting data captured by each camera may be different. Therefore, after acquiring the shooting data about the target object captured by each camera, a plurality of markers are set for the shooting data shot by each camera in chronological order. The shooting data with the same mark is synthesized, so that the shooting data of each camera in the synthesized target image is synchronized, and the target image is prevented from being blurred, so that the target image is more clear.
- the terminal by providing a plurality of cameras on the terminal, the terminal has a function of adjusting a plurality of ranges of the focus distance, thereby increasing the depth of field of the captured image, improving the sharpness of the captured image, and enabling the terminal to Shoot farther and clearer images.
- FIG. 1 is a flow chart showing an image acquisition method according to an embodiment of the present invention
- FIG. 2 is a block diagram showing the structure of an image acquisition apparatus according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram showing the principle of an image acquisition device according to another embodiment of the present invention.
- FIG. 4 is a schematic diagram showing the principle structure of marking photographing data according to an embodiment of the present invention.
- FIG. 5 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
- FIG. 1 shows a flow chart of an image acquisition method according to an embodiment of the present invention.
- an image acquisition method includes:
- Step 102 Set a focusing distance of each of the plurality of cameras according to the received first setting command.
- Step 104 Acquire shooting data about the target object captured by each camera
- Step 106 according to the received second setting command, respectively set a mark for the shooting data captured by each camera to be photographed according to the mark in the shooting data captured by each camera and each camera The captured data acquires a target image of the target object.
- each of the plurality of cameras is different in proximity to the target object, the focusing distance of each of the plurality of cameras is set, so that the terminal has a function of adjusting a plurality of ranges of the focusing distance.
- the shooting data of the target object captured by each camera is more accurate, but also a farther and clearer image can be obtained, and each camera is The corresponding sensitizer or image processor will have different time delays. Therefore, mark the shooting data shot by each camera, so that the target image of the target object is clearer, for example, in setting multiple cameras.
- the marking data can be set by numbers.
- the setting a focus distance of each of the plurality of cameras includes: determining, according to a distance between each of the plurality of cameras and the target object, Any one of the cameras sets a first focus distance; and sets a second focus distance for each of the other cameras according to the first focus distance, wherein each of the other cameras is the plurality of cameras A camera other than any camera.
- a first focusing distance is set for any camera, and a second focusing distance is set for each other camera according to the first focusing distance, so that the shooting data about the target object captured by each camera is more accurate.
- the depth of field of the captured image can be increased to make the acquired target image clearer. For example, if the first focusing distance of any one of the plurality of cameras is set to 10 cm, then each of the other camera settings is set to be second. The focusing distance is 15 cm.
- the method further comprises: controlling the focus of each of the cameras to be on the same line according to the received control command.
- the focus of each camera is controlled on the same line, so as to ensure that the shooting data about the target object captured by each camera is the same, that is, the target object acquired by each camera.
- the pictures are the same, which ensures that the captured data with the subject is more accurate, which makes the synthesized target image clearer.
- the photographing data taken by each of the cameras is respectively set with a mark according to a mark in the photographing data photographed by each of the cameras and a photograph taken by each of the cameras.
- the method includes: setting different labels for the shooting data captured by each camera at different times according to the received second setting command, and ensuring the plurality of labels The target photographing data captured by the camera at the same time has the same label; the target photographing data of the same label acquired by the plurality of cameras is combined to acquire the target image.
- the shooting data captured by each camera may be different. If the target image is directly synthesized according to the shooting data captured by each camera, this will cause the target image to appear inconsistent, therefore, each will The camera weights the pixel value of each pixel in the target shooting data of each frame acquired at the same time, wherein the target shooting data has the same label, thereby obtaining a target image with a larger depth of field, thereby making the target image more Clear, in addition, when setting different labels for the shooting data taken by each camera at different times in chronological order, the time interval can be set by the user or the system default, and the starting point of time can be performed for each camera. The time when shooting.
- the focus distance of each of the plurality of cameras is adjusted according to the received adjustment command.
- the focus distance of each camera is re-adjusted so that each camera captures the target object.
- the shooting data is more accurate, so that the target image of each acquired target object is clear.
- FIG. 2 is a block diagram showing the structure of an image acquisition apparatus according to an embodiment of the present invention.
- an image obtaining apparatus 200 includes: a first setting unit 202, an obtaining unit 204, and a second setting unit 206, wherein the first setting unit 202 is configured to receive according to a first setting command to set a focusing distance of each of the plurality of cameras; an obtaining unit 204, acquiring shooting data about the target object captured by each camera; and a second setting unit 206, according to the received a second setting command, respectively, setting a mark for the shooting data captured by each camera to acquire the target according to the mark in the shooting data captured by each camera and the shooting data captured by each camera The target image of the object.
- each of the plurality of cameras is different in proximity to the target object, the focusing distance of each of the plurality of cameras is set, so that the terminal has a function of adjusting a plurality of ranges of the focusing distance.
- the shooting data of the target object captured by each camera is more accurate, but also a farther and clearer image can be obtained, and each camera is The corresponding sensitizer or image processor will have different time delays. Therefore, mark the shooting data shot by each camera, so that the target image of the target object is clearer, for example, in setting multiple cameras.
- the shooting data can be set by the number .
- the first setting unit 202 is specifically configured to: according to the distance between each of the plurality of cameras and the target object, any one of the plurality of cameras Setting a first focus distance; respectively setting a second focus distance for each of the other cameras according to the first focus distance, wherein each of the other cameras is a camera other than the any one of the plurality of cameras .
- a first focusing distance is set for any camera, and a second focusing distance is set for each other camera according to the first focusing distance, so that the shooting data about the target object captured by each camera is more accurate.
- the depth of field of the captured image can be increased to make the acquired target image clearer. For example, if the first focusing distance of any one of the plurality of cameras is set to 10 cm, then each of the other camera settings is set to be second. The focusing distance is 15 cm.
- control unit 208 further controls the focus of each of the cameras to be on the same line according to the received control command.
- the focus of each camera is controlled on the same line, so as to ensure that the shooting data about the target object captured by each camera is the same, that is, the target object acquired by each camera.
- the pictures are the same, which ensures that the captured data with the subject is more accurate, which makes the synthesized target image clearer.
- the second setting unit 206 is specifically configured to: according to the received second setting command, set different labels for the shooting data captured by each camera at different times according to chronological order, and ensure The target photographing data captured by the plurality of cameras at the same time has the same label; the target photographing data of the same label acquired by the plurality of cameras is combined to acquire the target image.
- the shooting data captured by each camera may be different. If the target image is directly synthesized according to the shooting data captured by each camera, the target image may appear inconsistent. Therefore, the target shooting data of each frame acquired by each camera at the same time is obtained.
- the pixel values of each pixel in the weight are weighted, wherein the target shooting data has the same label, thereby obtaining a target image with a larger depth of field, thereby making the target image clearer, and in addition, each camera is different in chronological order.
- the time interval can be set by the user or It is the system default, and the starting point of time can be the time when each camera is shooting.
- the adjusting unit 210 adjusts a focusing distance of each of the plurality of cameras according to the received adjustment command.
- the focus distance of each camera is re-adjusted so that each camera captures the target object.
- the shooting data is more accurate, so that the target image of each acquired target object is clear.
- FIG. 3 shows a schematic diagram of the principle of an image acquisition device according to another embodiment of the present invention.
- the principle of the image obtaining apparatus 300 according to another embodiment of the present invention includes:
- the main control ISP Image Signal Processor
- the main control ISP controls the camera A to focus on the focus A, and also controls the camera B to focus on the focus B.
- the master ISP acquires the same marked frame data, and synthesizes the frame data having the same mark (synthesizes the target image data of the same label corresponding to the plurality of cameras in sequence), thereby acquiring the target image.
- FIG. 4 is a schematic diagram showing the principle structure of marking photographing data according to an embodiment of the present invention.
- the marker photographing data when each camera captures frame data (shooting data) about the target object, since the photographic processor or image processor corresponding to each camera will There are different time delays, so the time of the frame data captured by each camera may be different. If the target image is directly synthesized according to the frame data captured by each camera, this will cause the target image to appear inconsistent.
- the frame data captured by each camera at different times may be sequentially set in chronological order, and the target frame data captured at the same time has the same label, and then the targets of the same label corresponding to the plurality of cameras are sequentially shot.
- Data is synthesized so that each camera captures
- the frame data about the target object can be synchronized, and the target image of the acquired target object is more accurate, thereby making the target image clearer.
- marking the frame data of the camera A the first frame data ID: A_id1, the second frame data ID: A_id2, the third frame data ID: A_id3, etc., the label of the other frame data of the camera A, and the like;
- the frame data of B is marked, the first frame data ID: A_id1, the second frame data ID: A_id2, the third frame data ID: A_id3, etc., the other frame data of the camera B is marked by analogy, wherein the driver layer of the camera Complete the ID tag of the frame data.
- the main ISP When the main ISP synthesizes the target image, it extracts the frame data with the same ID number in the cache, so as to achieve the synchronization of the frame data of different cameras, so that the synthesized target image is more accurate and clear. For example, the second frame data A_id2 of the camera A is extracted, and the frame data ID in the buffer of the camera B is detected until the frame data of B_id2 is acquired, and the synthesis of the frame data is performed.
- FIG. 5 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
- a terminal may include at least one transceiver 503, at least one processor 501, such as a CPU, a memory 504, and at least one communication bus 502.
- the communication bus 502 is configured to connect the transceiver 503, the processor 501, and the memory 504.
- the above memory 504 may be a high speed RAM memory or a non-volatile memory such as a disk memory.
- the memory 504 is further configured to store a set of program codes, and the transceiver 503 and the processor 501 are configured to call the program code stored in the memory 504, and perform the following operations:
- the processor 501 is configured to set a focusing distance of each of the plurality of cameras according to the received first setting command
- the transceiver device 503 is configured to acquire shooting data about the target object captured by each camera;
- the processor 501 is further configured to set a mark for the shooting data captured by each camera according to the received second setting command, so as to mark and mark according to the shooting data captured by each camera
- the photographing data taken by each camera acquires a target image of the target object.
- the processor 501 sets a focusing distance of each of the plurality of cameras, and specifically includes:
- a second focus distance is set for each of the other cameras according to the first focus distance, wherein each of the other cameras is a camera other than the any one of the plurality of cameras.
- the processor 501 is further configured to perform the following steps:
- the focus of each of the cameras is controlled to be on the same line.
- the processor 501 sets a mark for the shooting data captured by each of the cameras to mark according to the shooting data captured by each camera and each of the cameras.
- the captured image data acquires a target image of the target object, and specifically includes:
- the photographing data taken by the each camera at different times is set with different labels in chronological order, and the target photographing data photographed by the plurality of cameras at the same time has the same label;
- the target image data of the same label acquired by the plurality of cameras is combined to acquire the target image.
- the processor 501 is further configured to perform the following steps:
- the focus distance of each of the plurality of cameras is adjusted according to the received adjustment command.
- each camera of the plurality of cameras is different from the target object, the focusing distance of each camera in each camera is set, so that the terminal has the function of adjusting the focusing distance of multiple ranges, not only
- the shooting data of the target object captured by each camera is more accurate, and the farther and clearer image can be obtained, and the photographic processor or the image processor corresponding to each camera has different time delays, that is, The time of the shooting data captured by each camera may be different. Therefore, after acquiring the shooting data about the target object captured by each camera, a plurality of marks are set for the shooting data captured by each camera in chronological order.
- the photographing data having the same mark is synthesized, so that the photographing data of each camera in the synthesized target image is synchronized, avoiding blurring of the target image, and making the target image clearer.
- the terminal has a function of adjusting a plurality of ranges of focus distances, thereby increasing the depth of field of the captured image and improving the clarity of the captured image. Degrees, and enable the terminal to capture farther and clearer images.
- the terms "first” and “second” are used for the purpose of description only, and are not to be understood as Indicates or implies relative importance; the term “plurality” means two or more.
- the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
本发明提出了一种图像获取方法、一种图像获取装置和一种终端,包括:根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。通过本发明的技术方案,在终端上设置多个摄像头,使终端具有调节多个范围的对焦距离的功能,从而增大拍摄到的图像景深,提高拍摄图像的清晰度,并使终端可以拍摄到更远更清晰的图像。
Description
本申请要求于2015年3月11日提交中国专利局、申请号为201510105442.7,发明名称为“图像获取方法、图像获取装置和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及终端技术领域,具体而言,涉及一种图像获取方法和一种图像获取装置和一种终端。
目前,由于终端(如手机、平板电脑等)上安装有单摄像头,越来越多的用户通过终端上的单摄像头进行拍照,但是单个摄像头在调节焦距时,只能调节一个范围的焦距,以至于拍摄的照片只能在一定距离内是清晰的,拍摄较远的距离的照片是模糊的。
因此,如何使终端具有调节多个范围的对焦距离的功能,从而提高拍摄较远距离的照片的清晰度,成为亟待解决的问题。
发明内容
本发明正是基于上述问题,提出了一种新的技术方案,通过在终端上设置多个摄像头,使终端具有调节多个范围的对焦距离的功能,从而增大拍摄到的图像的景深,提高拍摄图像的清晰度,并使终端可以拍摄到更远更清晰的图像。
有鉴于此,本发明的一方面提出了一种图像获取方法,包括:根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
在该技术方案中,由于多个摄像头中的每个摄像头与目标对象的远近程度不同,因此,设置多个摄像头中的每个摄像头的对焦距离,使终端具有调节多
个范围的对焦距离的功能,从而增大拍摄到的图像景深,提高拍摄图像的清晰度,不仅使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,还可以获取更远更清晰的图像,又由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,因此,为每个摄像头所拍摄的拍摄数据设置标记,从而使目标对象的目标图像更加清晰,例如,在设置多个摄像头中的每个摄像头的对焦距离时,根据多个摄像头和目标对象之间的距离,多次调节每个摄像头的对焦距离,从而保证每个摄像头拍摄到的拍摄图像更加清晰,另外,为每个摄像头所拍摄的拍摄数据设置标记时,可以通过数字对拍摄数据设置标记。
在上述技术方案中,优选地,所述设置多个摄像头中的每个摄像头的对焦距离,具体包括:根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
在该技术方案中,为任一摄像头设置第一对焦距离,并根据第一对焦距离分别为每个其他摄像头设置第二对焦距离,从而使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,进而可以增大拍摄到的图像的景深,使获取到的目标图像更加清晰,例如,设置多个摄像头中的任一摄像头的第一对焦距离为10厘米,则设置每个其他摄像头设置第二对焦距离为15厘米。
在上述技术方案中,优选地,还包括:根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
在该技术方案中,控制每个摄像头的焦点在同一条直线上,这样才能保证每个摄像头拍摄到的关于目标对象的拍摄数据是相同的,也就是说每个摄像头所获取的关于目标对象的画面是相同的,从而保证获取到的带拍摄对象的拍摄数据更加准确,进而使合成后的目标图像更加清晰。
在上述技术方案中,优选地,所述分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像,具体包括:根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具
有相同标号;将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
在该技术方案中,在每个摄像头拍摄关于目标对象的拍摄数据时,由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,所以每个摄像头所拍摄的拍摄数据的时间可能是不同的,如果直接根据每个摄像头拍摄到的拍摄数据合成目标图像,这样会使目标图像出现画面不一致,因此,将每个摄像头在同一时间所获取的每一帧的目标拍摄数据中的每个像素点的像素值进行加权,其中,目标拍摄数据具有相同的标号,从而得到景深较大的目标图像,进而使得目标图像更加清晰,另外,在按照时间顺序为每个摄像头在不同时间所拍摄的拍摄数据设置不同标号时,时间间隔可以是由用户设置,也可以是系统默认,且时间的起点可以为每个摄像头在进行拍摄时的时间。
在上述技术方案中,优选地,根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
在该技术方案中,由于终端每次获取目标对象的目标图像时,每个摄像头与目标对象的距离是不同的,所以重新调整每个摄像头的对焦距离,使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,从而使每一次获取到的目标对象的目标图像都很清晰。
本发明的另一方面提出了一种图像获取装置,包括:第一设置单元,根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;获取单元,获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;第二设置单元,根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
在该技术方案中,由于多个摄像头中的每个摄像头与目标对象的远近程度不同,因此,设置多个摄像头中的每个摄像头的对焦距离,使终端具有调节多个范围的对焦距离的功能,从而增大拍摄到的图像景深,提高拍摄图像的清晰度,不仅使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,还可以获取更远更清晰的图像,又由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,因此,为每个摄像头所拍摄的拍摄数据设置标记,从而使
目标对象的目标图像更加清晰,例如,在设置多个摄像头中的每个摄像头的对焦距离时,根据多个摄像头和目标对象之间的距离,多次调节每个摄像头的对焦距离,从而保证每个摄像头拍摄到的拍摄图像更加清晰,另外,为每个摄像头所拍摄的拍摄数据设置标记时,可以通过数字对拍摄数据设置标记。
在上述技术方案中,优选地,所述第一设置单元具体用于:根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
在该技术方案中,为任一摄像头设置第一对焦距离,并根据第一对焦距离分别为每个其他摄像头设置第二对焦距离,从而使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,进而可以增大拍摄到的图像的景深,使获取到的目标图像更加清晰,例如,设置多个摄像头中的任一摄像头的第一对焦距离为10厘米,则设置每个其他摄像头设置第二对焦距离为15厘米。
在上述技术方案中,优选地,还包括:控制单元,根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
在该技术方案中,控制每个摄像头的焦点在同一条直线上,这样才能保证每个摄像头拍摄到的关于目标对象的拍摄数据是相同的,也就是说每个摄像头所获取的关于目标对象的画面是相同的,从而保证获取到的带拍摄对象的拍摄数据更加准确,进而使合成后的目标图像更加清晰。
在上述技术方案中,优选地,第二设置单元具体用于:根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具有相同标号;将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
在该技术方案中,在每个摄像头拍摄关于目标对象的拍摄数据时,由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,所以每个摄像头所拍摄的拍摄数据的时间可能是不同的,如果直接根据每个摄像头拍摄到的拍摄数据合成目标图像,这样会使目标图像出现画面不一致,因此,将每个
摄像头在同一时间所获取的每一帧的目标拍摄数据中的每个像素点的像素值进行加权,其中,目标拍摄数据具有相同的标号,从而得到景深较大的目标图像,进而使得目标图像更加清晰,另外,在按照时间顺序为每个摄像头在不同时间所拍摄的拍摄数据设置不同标号时,时间间隔可以是由用户设置,也可以是系统默认,且时间的起点可以为每个摄像头在进行拍摄时的时间。
在上述技术方案中,优选地,调整单元,根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
在该技术方案中,由于终端每次获取目标对象的目标图像时,每个摄像头与目标对象的距离是不同的,所以重新调整每个摄像头的对焦距离,使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,从而使每一次获取到的目标对象的目标图像都很清晰。
本发明的又一方面提出了一种终端,所述终端包括通信总线、收发装置、存储器以及处理器,其中:
所述通信总线,用于实现所述收发装置、所述存储器以及所述处理器之间的连接通信;
所述存储器中存储一组程序代码,且所述处理器调用所述存储器中存储的程序代码,用于执行以下操作:
所述处理器,用于根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;
所述收发装置,用于获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;
所述处理器,还用于根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
在上述技术方案中,优选地,所述处理器设置多个摄像头中的每个摄像头的对焦距离,具体包括:
根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;
根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,
所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
在上述技术方案中,优选地,所述处理器还用于执行如下步骤:
根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
在上述技术方案中,优选地,所述处理器分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像,具体包括:
根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具有相同标号;
将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
在上述技术方案中,优选地,所述处理器还用于执行如下步骤:
根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
在该技术方案中,由于多个摄像头中的每个摄像头与目标对象的远近程度不同,设置每个摄像头中的每个摄像头的对焦距离,使终端具有调节多个范围的对焦距离的功能,从而不仅使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,还可以获取更远更清晰的图像,又由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,即每个摄像头所拍摄的拍摄数据的时间可能是不同的,因此,在获取每个摄像头拍摄到的关于目标对象的拍摄数据之后,按照时间顺序为每个摄像头所拍摄的拍摄数据设置多个标记,将具有相同标记的拍摄数据进行合成,从而使合成的目标图像中每个摄像头的拍摄数据是同步的,避免目标图像出现模糊,使目标图像更加清晰。
通过本发明的技术方案,通过在终端上设置多个摄像头,使终端具有调节多个范围的对焦距离的功能,从而增大拍摄到的图像的景深,提高拍摄图像的清晰度,并使终端可以拍摄到更远更清晰的图像。
图1示出了根据本发明的一个实施例的图像获取方法的流程示意图;
图2示出了根据本发明的一个实施例的图像获取装置的结构示意图;
图3示出了根据本发明的另一个实施例的图像获取装置的原理示意图;
图4示出了根据本发明的一个实施例的标记拍摄数据的原理结构示意图;
图5示出了根据本发明的一个实施例的终端的结构示意图。
为了可以更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。
图1示出了根据本发明的一个实施例的图像获取方法的流程示意图。
如图1所示,根据本发明的一个实施例的图像获取方法,包括:
步骤102,根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;
步骤104,获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;
步骤106,根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
在该技术方案中,由于多个摄像头中的每个摄像头与目标对象的远近程度不同,因此,设置多个摄像头中的每个摄像头的对焦距离,使终端具有调节多个范围的对焦距离的功能,从而增大拍摄到的图像景深,提高拍摄图像的清晰度,不仅使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,还可以获取更远更清晰的图像,又由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,因此,为每个摄像头所拍摄的拍摄数据设置标记,从而使目标对象的目标图像更加清晰,例如,在设置多个摄像头中的每个摄像头的对焦距离时,根据多个摄像头和目标对象之间的距离,多次调节每个摄像头的对
焦距离,从而保证每个摄像头拍摄到的拍摄图像更加清晰,另外,为每个摄像头所拍摄的拍摄数据设置标记时,可以通过数字对拍摄数据设置标记。
在上述技术方案中,优选地,所述设置多个摄像头中的每个摄像头的对焦距离,具体包括:根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
在该技术方案中,为任一摄像头设置第一对焦距离,并根据第一对焦距离分别为每个其他摄像头设置第二对焦距离,从而使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,进而可以增大拍摄到的图像的景深,使获取到的目标图像更加清晰,例如,设置多个摄像头中的任一摄像头的第一对焦距离为10厘米,则设置每个其他摄像头设置第二对焦距离为15厘米。
在上述技术方案中,优选地,还包括:根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
在该技术方案中,控制每个摄像头的焦点在同一条直线上,这样才能保证每个摄像头拍摄到的关于目标对象的拍摄数据是相同的,也就是说每个摄像头所获取的关于目标对象的画面是相同的,从而保证获取到的带拍摄对象的拍摄数据更加准确,进而使合成后的目标图像更加清晰。
在上述技术方案中,优选地,所述分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像,具体包括:根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具有相同标号;将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
在该技术方案中,在每个摄像头拍摄关于目标对象的拍摄数据时,由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,所以每个摄像头所拍摄的拍摄数据的时间可能是不同的,如果直接根据每个摄像头拍摄到的拍摄数据合成目标图像,这样会使目标图像出现画面不一致,因此,将每个
摄像头在同一时间所获取的每一帧的目标拍摄数据中的每个像素点的像素值进行加权,其中,目标拍摄数据具有相同的标号,从而得到景深较大的目标图像,进而使得目标图像更加清晰,另外,在按照时间顺序为每个摄像头在不同时间所拍摄的拍摄数据设置不同标号时,时间间隔可以是由用户设置,也可以是系统默认,且时间的起点可以为每个摄像头在进行拍摄时的时间。
在上述技术方案中,优选地,根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
在该技术方案中,由于终端每次获取目标对象的目标图像时,每个摄像头与目标对象的距离是不同的,所以重新调整每个摄像头的对焦距离,使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,从而使每一次获取到的目标对象的目标图像都很清晰。
图2示出了根据本发明的一个实施例的图像获取装置的结构示意图。
如图2所示,根据本发明的一个实施例的图像获取装置200,包括:第一设置单元202、获取单元204和第二设置单元206,其中,所述第一设置单元202用于根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;获取单元204,获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;第二设置单元206,根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
在该技术方案中,由于多个摄像头中的每个摄像头与目标对象的远近程度不同,因此,设置多个摄像头中的每个摄像头的对焦距离,使终端具有调节多个范围的对焦距离的功能,从而增大拍摄到的图像景深,提高拍摄图像的清晰度,不仅使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,还可以获取更远更清晰的图像,又由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,因此,为每个摄像头所拍摄的拍摄数据设置标记,从而使目标对象的目标图像更加清晰,例如,在设置多个摄像头中的每个摄像头的对焦距离时,根据多个摄像头和目标对象之间的距离,多次调节每个摄像头的对焦距离,从而保证每个摄像头拍摄到的拍摄图像更加清晰,另外,为每个摄像头所拍摄的拍摄数据设置标记时,可以通过数字对拍摄数据设置标记。
在上述技术方案中,优选地,所述第一设置单元202具体用于:根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
在该技术方案中,为任一摄像头设置第一对焦距离,并根据第一对焦距离分别为每个其他摄像头设置第二对焦距离,从而使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,进而可以增大拍摄到的图像的景深,使获取到的目标图像更加清晰,例如,设置多个摄像头中的任一摄像头的第一对焦距离为10厘米,则设置每个其他摄像头设置第二对焦距离为15厘米。
在上述技术方案中,优选地,还包括:控制单元208,根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
在该技术方案中,控制每个摄像头的焦点在同一条直线上,这样才能保证每个摄像头拍摄到的关于目标对象的拍摄数据是相同的,也就是说每个摄像头所获取的关于目标对象的画面是相同的,从而保证获取到的带拍摄对象的拍摄数据更加准确,进而使合成后的目标图像更加清晰。
在上述技术方案中,优选地,第二设置单元206具体用于:根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具有相同标号;将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
在该技术方案中,在每个摄像头拍摄关于目标对象的拍摄数据时,由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,所以每个摄像头所拍摄的拍摄数据的时间可能是不同的,如果直接根据每个摄像头拍摄到的拍摄数据合成目标图像,这样会使目标图像出现画面不一致,因此,将每个摄像头在同一时间所获取的每一帧的目标拍摄数据中的每个像素点的像素值进行加权,其中,目标拍摄数据具有相同的标号,从而得到景深较大的目标图像,进而使得目标图像更加清晰,另外,在按照时间顺序为每个摄像头在不同时间所拍摄的拍摄数据设置不同标号时,时间间隔可以是由用户设置,也可以
是系统默认,且时间的起点可以为每个摄像头在进行拍摄时的时间。
在上述技术方案中,优选地,调整单元210,根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
在该技术方案中,由于终端每次获取目标对象的目标图像时,每个摄像头与目标对象的距离是不同的,所以重新调整每个摄像头的对焦距离,使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,从而使每一次获取到的目标对象的目标图像都很清晰。
图3示出了根据本发明的另一个实施例的图像获取装置的原理示意图。
如图3所示,根据本发明的另一个实施例的图像获取装置300的原理(在该实施例中,终端为手机,手机上安装有双摄像头,即摄像头A和摄像头B),包括:
1.主控ISP(Image Signal Processor,图像处理器)控制摄像头A对焦点A进行对焦,同时还控制摄像头B对焦点B进行对焦。
2.获取摄像头A和摄像头B拍摄到的关于目标对象的帧数据(拍摄数据)。
3.为摄像头A和摄像头B所拍摄的帧数据进行标记(为每个摄像头所拍摄的拍摄数据设置标记)。
4.主控ISP获取相同的标记的帧数据,并将具有相同的标记的帧数据进行合成(依次将多个摄像头所对应的相同标号的目标拍摄数据进行合成),从而获取目标图像。
图4示出了根据本发明的一个实施例的标记拍摄数据的原理结构示意图。
如图4所示,根据本发明的一个实施例的标记拍摄数据,在每个摄像头拍摄关于目标对象的帧数据(拍摄数据)时,由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,所以每个摄像头所拍摄的帧数据的时间可能是不同的,如果直接根据每个摄像头拍摄到的帧数据合成目标图像,这样会使目标图像出现画面不一致。
因此,可以按照时间顺序依次为每个摄像头在不同时间所拍摄的帧数据设置不同标号,且同一时间所拍摄的目标帧数据具有相同标号,然后依次将多个摄像头所对应的相同标号的目标拍摄数据进行合成,从而使每个摄像头拍摄到
的关于目标对象的帧数据可以同步,则获取到的目标对象的目标图像更加准确,从而使目标图像更加清晰。
例如,对摄像头A的帧数据进行标记,第一帧数据ID:A_id1,第二帧数据ID:A_id2,第三帧数据ID:A_id3等,摄像头A的其他帧数据的标记以此类推;对摄像头B的帧数据进行标记,第一帧数据ID:A_id1,第二帧数据ID:A_id2,第三帧数据ID:A_id3等,摄像头B的其他帧数据的标记以此类推,其中,摄像头的驱动层完成帧数据的ID标记。主ISP在合成目标图像时,提取缓存中具有相同ID号的帧数据,从而达到不同摄像头的帧数据的同步,使合成的目标图像更加准确与清晰。比如,提取摄像头A的第二帧数据A_id2,检测摄像头B缓存中的帧数据ID,直到获取B_id2的帧数据,才执行帧数据的合成。
图5示出了根据本发明的一个实施例的终端的结构示意图。
如图5所示,根据本发明的一个实施例的终端可以包括:至少一个收发装置503,至少一个处理器501,例如CPU,存储器504和至少一个通信总线502。
其中,上述通信总线502用于连接上述收发装置503、处理器501和存储器504。
上述存储器504可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。上述存储器504还用于存储一组程序代码,上述收发装置503和处理器501用于调用存储器504中存储的程序代码,执行如下操作:
所述处理器501,用于根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;
所述收发装置503,用于获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;
所述处理器501,还用于根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
在上述技术方案中,优选地,所述处理器501设置多个摄像头中的每个摄像头的对焦距离,具体包括:
根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;
根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
在上述技术方案中,优选地,所述处理器501还用于执行如下步骤:
根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
在上述技术方案中,优选地,所述处理器501分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像,具体包括:
根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具有相同标号;
将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
在上述技术方案中,优选地,所述处理器501还用于执行如下步骤:
根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
在该技术方案中,由于多个摄像头中的每个摄像头与目标对象的远近程度不同,设置每个摄像头中的每个摄像头的对焦距离,使终端具有调节多个范围的对焦距离的功能,不仅使每个摄像头拍摄到的关于目标对象的拍摄数据更加准确,还可以获取更远更清晰的图像,又由于每个摄像头所对应的感光处理器或图像处理器会有不同时间的延时,即每个摄像头所拍摄的拍摄数据的时间可能是不同的,因此,在获取每个摄像头拍摄到的关于目标对象的拍摄数据之后,按照时间顺序为每个摄像头所拍摄的拍摄数据设置多个标记,将具有相同标记的拍摄数据进行合成,从而使合成的目标图像中每个摄像头的拍摄数据是同步的,避免目标图像出现模糊,使目标图像更加清晰。
以上结合附图详细说明了本发明的技术方案,通过在终端上设置多个摄像头,使终端具有调节多个范围的对焦距离的功能,从而增大拍摄到的图像的景深,提高拍摄图像的清晰度,并使终端可以拍摄到更远更清晰的图像。
在本发明中,术语“第一”、“第二”仅用于描述的目的,而不能理解为
指示或暗示相对重要性;术语“多个”表示两个或两个以上。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (15)
- 一种图像获取方法,其特征在于,包括:根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
- 根据权利要求1所述的图像获取方法,其特征在于,所述设置多个摄像头中的每个摄像头的对焦距离,具体包括:根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
- 根据权利要求1所述的图像获取方法,其特征在于,还包括:根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
- 根据权利要求1所述的图像获取方法,其特征在于,所述分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像,具体包括:根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具有相同标号;将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
- 根据权利要求1至4中任一项所述的图像获取方法,其特征在于,根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
- 一种图像获取装置,其特征在于,包括:第一设置单元,根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;获取单元,获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;第二设置单元,根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
- 根据权利要求6所述的图像获取装置,其特征在于,所述第一设置单元具体用于:根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
- 根据权利要求6所述的图像获取装置,其特征在于,还包括:控制单元,根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
- 根据权利要求6所述的图像获取装置,其特征在于,第二设置单元具体用于:根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具有相同标号;将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
- 根据权利要求6至9中任一项所述的图像获取装置,其特征在于,调整单元,根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
- 一种终端,其特征在于,所述终端包括通信总线、收发装置、存储器以及处理器,其中:所述通信总线,用于实现所述收发装置、所述存储器以及所述处理器之间的连接通信;所述存储器中存储一组程序代码,且所述处理器调用所述存储器中存储的程序代码,用于执行以下操作:所述处理器,用于根据接收到的第一设置命令,设置多个摄像头中的每个摄像头的对焦距离;所述收发装置,用于获取所述每个摄像头拍摄到的关于目标对象的拍摄数据;所述处理器,还用于根据接收到的第二设置命令,分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像。
- 根据权利要求11所述的终端,其特征在于,所述处理器设置多个摄像头中的每个摄像头的对焦距离,具体包括:根据所述多个摄像头中的每个摄像头与所述目标对象的距离,为所述多个摄像头中的任一摄像头设置第一对焦距离;根据所述第一对焦距离分别为每个其他摄像头设置第二对焦距离,其中,所述每个其他摄像头为所述多个摄像头中除所述任一摄像头之外的摄像头。
- 根据权利要求11所述的终端,其特征在于,所述处理器还用于执行如下步骤:根据接收到的控制命令,控制所述每个摄像头的焦点在同一直线上。
- 根据权利要求11所述的终端,其特征在于,所述处理器分别为所述每个摄像头所拍摄的拍摄数据设置标记,以根据所述每个摄像头所拍摄的拍摄数据中的标记和所述每个摄像头所拍摄的拍摄数据获取所述目标对象的目标图像,具体包括:根据接收到的第二设置命令,按照时间顺序为所述每个摄像头在不同时间所拍摄的拍摄数据设置不同标号,并确保所述多个摄像头在同一时间所拍摄的目标拍摄数据具有相同标号;将所述多个摄像头所获取的所述相同标号的目标拍摄数据进行合成,以获取所述目标图像。
- 根据权利要求11至14中任一项所述的终端,其特征在于,所述处理器还用于执行如下步骤:根据接收到的调整命令,调整多个摄像头中的每个摄像头的对焦距离。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510105442.7 | 2015-03-11 | ||
| CN201510105442.7A CN104660909A (zh) | 2015-03-11 | 2015-03-11 | 图像获取方法、图像获取装置和终端 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016141627A1 true WO2016141627A1 (zh) | 2016-09-15 |
Family
ID=53251565
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/078078 Ceased WO2016141627A1 (zh) | 2015-03-11 | 2015-04-30 | 图像获取方法、图像获取装置和终端 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104660909A (zh) |
| WO (1) | WO2016141627A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112492212A (zh) * | 2020-12-02 | 2021-03-12 | 维沃移动通信有限公司 | 拍照方法、装置、电子设备及存储介质 |
| CN112995496A (zh) * | 2019-12-18 | 2021-06-18 | 青岛海信移动通信技术股份有限公司 | 视频录制方法及移动终端 |
| CN118784816A (zh) * | 2024-08-29 | 2024-10-15 | 深圳市金沃德科技有限公司 | 基于多摄像头拍摄的3d影像生成方法及系统 |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105657090B (zh) * | 2015-07-08 | 2017-12-22 | 宇龙计算机通信科技(深圳)有限公司 | 成像方法和装置 |
| CN106470309A (zh) * | 2015-08-19 | 2017-03-01 | 中兴通讯股份有限公司 | 获取双摄像的焦点距离的方法和装置 |
| CN108616685B (zh) * | 2016-12-09 | 2021-01-01 | 中兴通讯股份有限公司 | 一种对焦方法及对焦装置 |
| EP3985962B1 (en) | 2016-12-20 | 2024-09-11 | Ningbo Sunny Opotech Co., Ltd. | Array camera module having height difference, circuit board assembly and manufacturing method therefor, and electronic device |
| CN106851104B (zh) * | 2017-02-28 | 2019-11-22 | 努比亚技术有限公司 | 一种根据用户视角进行拍摄的方法及装置 |
| CN109218572A (zh) * | 2017-07-05 | 2019-01-15 | 北京臻迪科技股份有限公司 | 一种图像采集方法、系统和无人机 |
| CN108012062A (zh) * | 2017-12-22 | 2018-05-08 | 信利光电股份有限公司 | 一种双摄像头信号处理系统和方法 |
| CN108650431B (zh) * | 2018-05-14 | 2021-01-15 | 联想(北京)有限公司 | 一种拍摄控制方法、装置及电子设备 |
| CN112492210B (zh) * | 2020-12-01 | 2022-04-19 | 维沃移动通信有限公司 | 拍照方法、装置、电子设备及存储介质 |
| CN112565611B (zh) * | 2020-12-08 | 2022-07-15 | 维沃移动通信(杭州)有限公司 | 视频录制方法、装置、电子设备及介质 |
| CN114140509B (zh) * | 2021-11-30 | 2025-05-27 | 联想(北京)有限公司 | 图像处理方法及装置、电子设备、存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008172523A (ja) * | 2007-01-11 | 2008-07-24 | Fujifilm Corp | 多焦点カメラ装置及びそれに用いられる制御方法並びにプログラム |
| CN103561236A (zh) * | 2013-10-31 | 2014-02-05 | 厦门龙谛信息系统有限公司 | 楼宇周边监视系统及方法 |
| CN103856719A (zh) * | 2014-03-26 | 2014-06-11 | 深圳市金立通信设备有限公司 | 一种拍照方法及终端 |
| CN103916582A (zh) * | 2013-01-07 | 2014-07-09 | 华为技术有限公司 | 一种图像处理方法及装置 |
| WO2014138697A1 (en) * | 2013-03-08 | 2014-09-12 | Pelican Imaging Corporation | Systems and methods for high dynamic range imaging using array cameras |
| CN104333703A (zh) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | 使用双摄像头拍照的方法和终端 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101448099B (zh) * | 2008-12-26 | 2012-05-23 | 华为终端有限公司 | 一种多摄像头摄影方法和设备 |
| CN103546665A (zh) * | 2012-07-11 | 2014-01-29 | 北京博雅华录视听技术研究院有限公司 | 基于多摄像头的图像清晰度增强方法 |
| CN103986867B (zh) * | 2014-04-24 | 2017-04-05 | 宇龙计算机通信科技(深圳)有限公司 | 一种图像拍摄终端和图像拍摄方法 |
-
2015
- 2015-03-11 CN CN201510105442.7A patent/CN104660909A/zh active Pending
- 2015-04-30 WO PCT/CN2015/078078 patent/WO2016141627A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008172523A (ja) * | 2007-01-11 | 2008-07-24 | Fujifilm Corp | 多焦点カメラ装置及びそれに用いられる制御方法並びにプログラム |
| CN103916582A (zh) * | 2013-01-07 | 2014-07-09 | 华为技术有限公司 | 一种图像处理方法及装置 |
| WO2014138697A1 (en) * | 2013-03-08 | 2014-09-12 | Pelican Imaging Corporation | Systems and methods for high dynamic range imaging using array cameras |
| CN103561236A (zh) * | 2013-10-31 | 2014-02-05 | 厦门龙谛信息系统有限公司 | 楼宇周边监视系统及方法 |
| CN103856719A (zh) * | 2014-03-26 | 2014-06-11 | 深圳市金立通信设备有限公司 | 一种拍照方法及终端 |
| CN104333703A (zh) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | 使用双摄像头拍照的方法和终端 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112995496A (zh) * | 2019-12-18 | 2021-06-18 | 青岛海信移动通信技术股份有限公司 | 视频录制方法及移动终端 |
| CN112995496B (zh) * | 2019-12-18 | 2022-07-05 | 青岛海信移动通信技术股份有限公司 | 视频录制方法及移动终端 |
| CN112492212A (zh) * | 2020-12-02 | 2021-03-12 | 维沃移动通信有限公司 | 拍照方法、装置、电子设备及存储介质 |
| CN118784816A (zh) * | 2024-08-29 | 2024-10-15 | 深圳市金沃德科技有限公司 | 基于多摄像头拍摄的3d影像生成方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104660909A (zh) | 2015-05-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016141627A1 (zh) | 图像获取方法、图像获取装置和终端 | |
| US9521311B2 (en) | Quick automatic focusing method and image acquisition apparatus | |
| CN103763477B (zh) | 一种双摄像头拍后调焦成像装置和方法 | |
| US10785403B2 (en) | Modifying image parameters using wearable device input | |
| CN104065878B (zh) | 拍摄控制方法、装置及终端 | |
| CN107690673B (zh) | 图像处理方法、装置及服务器 | |
| WO2018228467A1 (zh) | 图像曝光方法、装置、摄像设备及存储介质 | |
| CN104780315A (zh) | 摄像装置拍摄的方法和系统 | |
| WO2016165488A1 (zh) | 照片处理方法及装置 | |
| CN110830707B (zh) | 镜头控制方法、装置及终端 | |
| CN104378545A (zh) | 一种拍照处理方法和系统 | |
| CN104580928B (zh) | 一种相机拍摄的补光方法和装置 | |
| CN106506959A (zh) | 照相方法和照相设备 | |
| CN112017137B (zh) | 图像处理方法、装置、电子设备及计算机可读存储介质 | |
| CN105635568B (zh) | 一种移动终端中的图像处理方法和移动终端 | |
| WO2015149525A1 (zh) | 拍摄方法和拍摄装置 | |
| WO2016184131A1 (zh) | 基于双摄像头拍摄图像的方法、装置及计算机存储介质 | |
| CN105657394A (zh) | 基于双摄像头的拍摄方法、拍摄装置及移动终端 | |
| WO2016011758A1 (zh) | 图像处理方法和图像处理装置 | |
| CN108282622B (zh) | 照片拍摄方法和装置 | |
| CN105827932A (zh) | 一种图像合成方法和移动终端 | |
| CN105467741B (zh) | 一种全景拍照方法及终端 | |
| JP6483661B2 (ja) | 撮像制御装置、撮像制御方法およびプログラム | |
| CN104902179B (zh) | 一种相机图像的预览方法和装置 | |
| KR102806984B1 (ko) | 공간영상 촬영을 위한 유도정보 제공 장치 및 방법 |
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: 15884309 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.02.2018) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15884309 Country of ref document: EP Kind code of ref document: A1 |