CN105554394A - Photographing method and device - Google Patents

Photographing method and device Download PDF

Info

Publication number
CN105554394A
CN105554394A CN201610057439.7A CN201610057439A CN105554394A CN 105554394 A CN105554394 A CN 105554394A CN 201610057439 A CN201610057439 A CN 201610057439A CN 105554394 A CN105554394 A CN 105554394A
Authority
CN
China
Prior art keywords
image
similarity
preview
presented
information
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.)
Pending
Application number
CN201610057439.7A
Other languages
Chinese (zh)
Inventor
聂洪浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610057439.7A priority Critical patent/CN105554394A/en
Publication of CN105554394A publication Critical patent/CN105554394A/en
Priority to PCT/CN2016/112478 priority patent/WO2017128914A1/en
Pending legal-status Critical Current

Links

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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Landscapes

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

Abstract

The invention discloses a photographing method and a photographing device. The photographing method comprises the steps of photographing a first image, displaying the first image on a preview interface according to a first display parameter; collecting a second image, displaying the second image on the first image in an overlapped manner according to the second display parameter, and previewing the second image on the preview interface; computing the similarity between the second image and the first image; when the similarity between the second image and the first image is more than or equal to a threshold, photographing the second image.

Description

A kind of image pickup method and device
Technical field
The present invention relates to technique for taking, particularly relate to a kind of image pickup method and device.
Background technology
Under a lot of scene; such as, when user plays outside, often can run into following situation: please passerby's help take pictures, but many times taking the photo come is not that angle and effect oneself wanted; but be often reluctant and require that others retakes, finally can not get the photo oneself liked.
Also there is no a kind of camera at present or use the mobile terminal of camera or use other electronic equipment of camera can provide the photo automatically helping he people to want for user shoots.
Summary of the invention
For solving the problems of the technologies described above, embodiments provide a kind of image pickup method and device.
The image pickup method that the embodiment of the present invention provides, comprising:
Take the first image, described first image is presented in preview interface according to the first display parameters;
Gather the second image, described second image is presented on described first image according to the second display parameters overlap, and in described preview interface, preview is carried out to described second image;
Calculate the similarity of described second image and described first image;
When the similarity of described second image and described first image is more than or equal to threshold value, described second image is taken.
In the embodiment of the present invention, described method also comprises:
When the similarity of described second image and described first image is more than or equal to threshold value, show the first information;
When the similarity of described second image and described first image is less than threshold value, show the second information;
Described first information is different from described second information.
In the embodiment of the present invention, described described first image is presented in preview interface according to the first display parameters, comprises:
Described first image is presented in preview interface according to the transparency arranged.
In the embodiment of the present invention, the similarity of described second image of described calculating and described first image, comprising:
Obtain the histogram of described second image and described first image;
To two histograms Region dividing respectively, and calculate described two histograms vector corresponding respectively;
Calculate two vectorial similarities.
In the embodiment of the present invention, described method also comprises:
Preserve described second image of shooting.
The filming apparatus that the embodiment of the present invention provides, comprising:
Shooting unit, for taking the first image;
Display unit, for being presented at preview interface by described first image according to the first display parameters;
Preview unit, for gathering the second image;
Described display unit, also for described second image is presented at described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface;
Processing unit, for calculating the similarity of described second image and described first image;
Described shooting unit, also for when the similarity of described second image and described first image is more than or equal to threshold value, takes described second image.
In the embodiment of the present invention, described device also comprises:
Tip element, for when the similarity of described second image and described first image is more than or equal to threshold value, shows the first information; When the similarity of described second image and described first image is less than threshold value, show the second information; Described first information is different from described second information.
In the embodiment of the present invention, described display unit, also for described first image is presented at preview interface according to the transparency arranged.
In the embodiment of the present invention, described processing unit, also for obtaining the histogram of described second image and described first image; To two histograms Region dividing respectively, and calculate described two histograms vector corresponding respectively; Calculate two vectorial similarities.
In the embodiment of the present invention, described device also comprises:
Storage unit, for preserving described second image of shooting.
In the technical scheme of the embodiment of the present invention, take the first image, described first image is presented in preview interface according to the first display parameters; Gather the second image, described second image is presented on described first image according to the second display parameters overlap, and in described preview interface, preview is carried out to described second image; Calculate the similarity of described second image and described first image; When the similarity of described second image and described first image is more than or equal to threshold value, described second image is taken.Here, first image is the image that user takes out, when other passerbys want to take out the effect identical with the first image, only need adjust the second image, when the similarity of the second image and the first image is more than or equal to threshold value, then take the second image, improve passerby for user helps the satisfaction of taking pictures, improve Consumer's Experience effect, add the competitiveness of commodity.
Accompanying drawing explanation
Fig. 1 is the electrical structure block diagram of camera;
Fig. 2 is the schematic flow sheet of the image pickup method of the embodiment of the present invention one;
Fig. 3 is the schematic flow sheet of the image pickup method of the embodiment of the present invention two;
Fig. 4 is the schematic flow sheet of the image pickup method of the embodiment of the present invention three;
Fig. 5 is the structure composition schematic diagram of the filming apparatus of the embodiment of the present invention four;
Fig. 6 is the structure composition schematic diagram of the filming apparatus of the embodiment of the present invention five;
Fig. 7 is the effect schematic diagram of the embodiment of the present invention.
Embodiment
In order to more at large understand feature of the present invention and technology contents, below in conjunction with accompanying drawing, realization of the present invention is described in detail, the use of appended accompanying drawing explanation only for reference, is not used for limiting the present invention.
Fig. 1 is the electrical structure block diagram of camera.
Phtographic lens 1211 is made up of the multiple optical lens for the formation of shot object image, is single-focus lens or zoom lens.Phtographic lens 1211 can move in the direction of the optical axis under the control of lens driver 1221, lens driver 1221 is according to the control signal from lens driving control circuit 1222, control the focal position of phtographic lens 1211, when zoom lens, also can control focal length.Lens driving control circuit 1222 carries out the drived control of lens driver 1221 according to the control command from microcomputer 1217.
Imaging apparatus 1212 is configured with near the position of the shot object image formed on the optical axis of phtographic lens 1211, by phtographic lens 1211.Imaging apparatus 1212 is for making a video recording to shot object image and obtaining image data.On imaging apparatus 1212 two dimension and be arranged in a matrix the photodiode forming each pixel.Each photodiode produces the opto-electronic conversion electric current corresponding with light income, and this opto-electronic conversion electric current carries out charge accumulation by the capacitor be connected with each photodiode.The front surface of each pixel is configured with the RGB colour filter of Bayer arrangement.
Imaging apparatus 1212 is connected with imaging circuit 1213, this imaging circuit 1213 carries out charge accumulation and controls and picture signal reading control in imaging apparatus 1212, to the picture signal (analog picture signal) of this reading reduce reset noise after carry out waveform shaping, and then carry out gain raising etc. to become suitable signal level.
Imaging circuit 1213 is connected with A/D converter 1214, and this A/D converter 1214 pairs of analog picture signals carry out analog-to-digital conversion, to bus 1227 output digital image signal (hereinafter referred to as view data).
Bus 1227 is the transfer paths of the various data that the inside for being transmitted in camera reads or generates.Above-mentioned A/D converter 1214 is connected in bus 1227, be connected to image processor 1215, jpeg processor 1216, microcomputer 1217, SDRAM (SynchronousDynamicrandomaccessmemory in addition, SDRAM) 1218, memory interface (hereinafter referred to as memory I/F) 1219, LCD (LiquidCrystalDisplay, liquid crystal display) driver 1220.
Image processor 1215 carries out OB to the view data of the output based on imaging apparatus 1212 and subtracts each other process, blank level adjustment, color matrix computing, gamma conversion, color difference signal process, noise removal process, changes the various image procossing such as process, edge treated simultaneously.Jpeg processor 1216 by Imagery Data Recording in recording medium 1225 time, according to JPEG compress mode compression from SDRAM1218 read view data.In addition, jpeg processor 1216 carries out the decompression of jpeg image data in order to carry out image reproducing display.When decompressing, read the file that is recorded in recording medium 1225, implement decompression in jpeg processor 1216 after, the view data of decompression to be temporarily stored in SDRAM1218 and to show on LCD1226.H.264 in addition, in the present embodiment, what adopt as image compression decompression mode is JPEG mode, but compressed and decompressed mode is not limited thereto, and certainly can adopt MPEG, TIFF, other the compressed and decompressed mode such as.
Microcomputer 1217 plays the function of the control part as this camera entirety, the unified various process sequences controlling camera.Microcomputer 1217 is connected to operating unit 1223 and flash memory 1224.
Operating unit 1223 includes but not limited to physical button or virtual key, this entity or virtual key can be the operational controls such as various load button and various enter keies such as power knob, key of taking pictures, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button, large buttons, detect the mode of operation of these operational controls.
Testing result is exported to microcomputer 1217.In addition, be provided with touch panel at the front surface of the LCD1226 as display, detect the touch location of user, this touch location is exported to microcomputer 1217.Microcomputer 1217, according to the testing result of the operating position from operating unit 1223, performs the various process sequences corresponding with the operation of user.
Flash memory 1224 stores the program of the various process sequences for performing microcomputer 1217.Microcomputer 1217 carries out the control of camera entirety according to this program.In addition, flash memory 1224 stores the various adjusted values of camera, and microcomputer 1217 reads adjusted value, carries out the control of camera according to this adjusted value.
SDRAM1218 is can the electricity volatile memory of rewriting for what carry out view data etc. temporarily storing.This SDRAM1218 temporarily stores the view data that exports from A/D converter 1214 and image processor 1215, jpeg processor 1216 etc., to have carried out the view data after processing.
Memory interface 1219 is connected with recording medium 1225, carries out the control by view data and the first-class data writing recording medium 1225 of file be attached in view data and reading from recording medium 1225.Recording medium 1225 be such as can on camera main-body the recording medium such as memory card of disassembled and assembled freely, but being not limited thereto, also can be the hard disk etc. be built in camera main-body.
Lcd driver 1210 is connected with LCD1226, view data after being processed by image processor 1215 is stored in SDRAM1218, when needing display, read the view data that SDRAM1218 stores also to show on LCD1226, or the compressed view data of jpeg processor 1216 is stored in SDRAM1218, when needs show, jpeg processor 1216 reads the compressed view data of SDRAM1218, then decompresses, and the view data after decompressing is shown by LCD1226.
Image display is carried out at the back side that LCD1226 is configured in camera main-body.This LCD1226LCD, but be not limited thereto, also can adopt the various display floaters (LCD1226) such as organic EL, but be not limited thereto, also can adopt the various display floaters such as organic EL.
Based on the electrical structure schematic diagram of above-mentioned camera, each embodiment of image pickup method of the present invention is proposed.
Fig. 2 is the schematic flow sheet of the image pickup method of the embodiment of the present invention one, and the image pickup method in this example is applied to filming apparatus, and as shown in Figure 2, described image pickup method comprises the following steps:
Step 201: take the first image, is presented at described first image in preview interface according to the first display parameters.
In the embodiment of the present invention, filming apparatus can be independent camera structure, also can be arranged on the camera structure in electronic equipment (as mobile communication terminal, PDA, IPAD etc.).Filming apparatus at least has two kinds of screening-modes, and the first is common screening-mode, under this screening-mode, after user starts camera, directly takes the image of preview.The second is that passerby helps bat pattern, under this screening-mode, after user starts camera, first takes the first image, and the first image is the image of the viewfinder range wanted of user and angle.After first image taking completes, the first image is then presented in preview interface according to the first display parameters, facilitate passerby help shooting the second image time and the first image compare.
In the embodiment of the present invention, the first display parameters can be, but not limited to be following parameter: transparency parameter, color parameter, display effect parameter.
Step 202: gather the second image, is presented at described second image on described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface.
In the embodiment of the present invention, after the first image taking completes, camera head Real-time Collection second image, is presented at described second image on described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface.Here, collection and shooting are two different operations, collection is aimed at preview, after gathering the image of a certain viewfinder range and angle, image is presented in preview interface in real time, and shooting is taken for the preview screen of current time, shooting photo out generally can be buffered or preserve.
In the embodiment of the present invention, the second display parameters can be, but not limited to be following parameter: transparency parameter, color parameter, display effect parameter.Second display parameters are different from the first display parameters, like this, can distinguish the first image and the second image in preview interface, and the second image of preview and the first image be compared.
Step 203: the similarity calculating described second image and described first image.
In the embodiment of the present invention, often open image and can generate its gray level image histogram (histogram).If the histogram of two images is very close, just can think that they are very similar.Therefore, the embodiment of the present invention utilizes the histogram of two width images to carry out the comparison of similarity.Specific algorithm is as follows:
1, the histogram distribution of input gray level image is obtained;
2, histogram is divided into 64 districts, each district is continuous print 4 tonal gradations;
3, summation operation is carried out to 4 values in each district, obtain 1 data, so, 64 data can be obtained, be a vector of this width image;
4, according to 1-3, two width images of input are transformed in order to 2 vectors, is designated as A, B;
5, the similarity that calculating two is vectorial, can calculate with Pearson correlation coefficient or cosine similarity, adopt cosine similarity to calculate here.Introduce cosine similarity below:
For two vectors, they can be used as two line segments in space, be all from initial point ([0,0 ...]) set out, point to different directions.Article two, between line segment, shape in an angle, if angle is 0 degree, means that direction is identical, line segment overlaps; If angle is 90 degree, mean formation right angle, direction is completely dissimilar; If angle is 180 degree, mean that direction is just in time contrary.Therefore, we by the size of angle, can judge the similarity degree of vector.Angle is less, and just representative is more similar.
Step 204: when the similarity of described second image and described first image is more than or equal to threshold value, described second image is taken.
In the embodiment of the present invention, threshold value can be arranged flexibly, threshold value is higher, then show that the shooting effect of requirement is more accurate, namely the similarity of the second image and the first image is higher, and ideally, threshold value can be set to 100%, at this moment, the second image and the first image viewfinder range and angle completely the same.When the similarity of described second image and described first image is more than or equal to threshold value, then shows that the second image is the shooting orientation and angle that user wants, now, trigger shooting push button, the second image is taken.This button can be the entity physical button on filming apparatus, also can be the touch virtual button be present on filming apparatus screen.
Fig. 3 is the schematic flow sheet of the image pickup method of the embodiment of the present invention two, and the image pickup method in this example is applied to filming apparatus, and as shown in Figure 3, described image pickup method comprises the following steps:
Step 301: take the first image, is presented at described first image in preview interface according to the first display parameters.
In the embodiment of the present invention, filming apparatus can be independent camera structure, also can be arranged on the camera structure in electronic equipment (as mobile communication terminal, PDA, IPAD etc.).Filming apparatus at least has two kinds of screening-modes, and the first is common screening-mode, under this screening-mode, after user starts camera, directly takes the image of preview.The second is that passerby helps bat pattern, under this screening-mode, after user starts camera, first takes the first image, and the first image is the image of the viewfinder range wanted of user and angle.After first image taking completes, the first image is then presented in preview interface according to the first display parameters, facilitate passerby help shooting the second image time and the first image compare.
In the embodiment of the present invention, the first display parameters can be, but not limited to be following parameter: transparency parameter, color parameter, display effect parameter.
During specific implementation, take the first image, bottom can produce the Image Saving of a JPG form in picture library, can intercept the preview image (capture preview data and preserve) of the first image simultaneously; Then, the transparency of the first image is set to a certain value, as 50%; The first image setting transparency is presented in preview interface by bottom, for referencial use to passerby, and auxiliary passerby takes pictures.
Step 302: gather the second image, is presented at described second image on described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface.
In the embodiment of the present invention, after the first image taking completes, camera head Real-time Collection second image, is presented at described second image on described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface.Here, collection and shooting are two different operations, collection is aimed at preview, after gathering the image of a certain viewfinder range and angle, image is presented in preview interface in real time, and shooting is taken for the preview screen of current time, shooting photo out generally can be buffered or preserve.
In the embodiment of the present invention, the second display parameters can be, but not limited to be following parameter: transparency parameter, color parameter, display effect parameter.Second display parameters are different from the first display parameters, like this, can distinguish the first image and the second image in preview interface, and the second image of preview and the first image be compared.
Step 303: the similarity calculating described second image and described first image.
In the embodiment of the present invention, often open image and can generate its gray level image histogram (histogram).If the histogram of two images is very close, just can think that they are very similar.Therefore, the embodiment of the present invention utilizes the histogram of two width images to carry out the comparison of similarity.Specific algorithm is as follows:
1, the histogram distribution of input gray level image is obtained;
2, histogram is divided into 64 districts, each district is continuous print 4 tonal gradations;
3, summation operation is carried out to 4 values in each district, obtain 1 data, so, 64 data can be obtained, be a vector of this width image;
4, according to 1-3, two width images of input are transformed in order to 2 vectors, is designated as A, B;
5, the similarity that calculating two is vectorial, can calculate with Pearson correlation coefficient or cosine similarity, adopt cosine similarity to calculate here.Introduce cosine similarity below:
For two vectors, they can be used as two line segments in space, be all from initial point ([0,0 ...]) set out, point to different directions.Article two, between line segment, shape in an angle, if angle is 0 degree, means that direction is identical, line segment overlaps; If angle is 90 degree, mean formation right angle, direction is completely dissimilar; If angle is 180 degree, mean that direction is just in time contrary.Therefore, we by the size of angle, can judge the similarity degree of vector.Angle is less, and just representative is more similar.
Step 304: when the similarity of described second image and described first image is more than or equal to threshold value, show the first information; When the similarity of described second image and described first image is less than threshold value, show the second information; Described first information is different from described second information.
With reference to Fig. 7, in the embodiment of the present invention, when the first image with 50% transparency be presented at preview interface time, in preview interface, also preview shows the second image, at this moment can judge according to the similarity degree of this two image, if similarity reaches or exceedes threshold value, as 80% display the first information (pattern as green), do not reach, show the second information (pattern as redness), only just shooting push button can be clicked when display the first information, when the second information, shooting push button shows grey and can not be triggered, passerby can adjust shooting angle until screen display first information just can be taken.
Step 305: when the similarity of described second image and described first image is more than or equal to threshold value, described second image is taken.
In the embodiment of the present invention, threshold value can be arranged flexibly, threshold value is higher, then show that the shooting effect of requirement is more accurate, namely the similarity of the second image and the first image is higher, and ideally, threshold value can be set to 100%, at this moment, the second image and the first image viewfinder range and angle completely the same.When the similarity of described second image and described first image is more than or equal to threshold value, then shows that the second image is the shooting orientation and angle that user wants, now, trigger shooting push button, the second image is taken.This button can be the entity physical button on filming apparatus, also can be the touch virtual button be present on filming apparatus screen.
Fig. 4 is the schematic flow sheet of the image pickup method of the embodiment of the present invention three, and the image pickup method in this example is applied to filming apparatus, and as shown in Figure 4, described image pickup method comprises the following steps:
Step 401: take the first image, is presented at described first image in preview interface according to the transparency arranged.
In the embodiment of the present invention, filming apparatus can be independent camera structure, also can be arranged on the camera structure in electronic equipment (as mobile communication terminal, PDA, IPAD etc.).Filming apparatus at least has two kinds of screening-modes, and the first is common screening-mode, under this screening-mode, after user starts camera, directly takes the image of preview.The second is that passerby helps bat pattern, under this screening-mode, after user starts camera, first takes the first image, and the first image is the image of the viewfinder range wanted of user and angle.After first image taking completes, the first image is then presented in preview interface according to the first display parameters, facilitate passerby help shooting the second image time and the first image compare.
During specific implementation, take the first image, bottom can produce the Image Saving of a JPG form in picture library, can intercept the preview image (capture preview data and preserve) of the first image simultaneously; Then, the transparency of the first image is set to a certain value, as 50%; The first image setting transparency is presented in preview interface by bottom, for referencial use to passerby, and auxiliary passerby takes pictures.
Step 402: gather the second image, is presented at described second image on described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface.
In the embodiment of the present invention, after the first image taking completes, camera head Real-time Collection second image, is presented at described second image on described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface.Here, collection and shooting are two different operations, collection is aimed at preview, after gathering the image of a certain viewfinder range and angle, image is presented in preview interface in real time, and shooting is taken for the preview screen of current time, shooting photo out generally can be buffered or preserve.
In the embodiment of the present invention, the second display parameters can be, but not limited to be following parameter: transparency parameter, color parameter, display effect parameter.Second display parameters are different from the first display parameters, like this, can distinguish the first image and the second image in preview interface, and the second image of preview and the first image be compared.
Step 403: the histogram obtaining described second image and described first image; To two histograms Region dividing respectively, and calculate described two histograms vector corresponding respectively; Calculate two vectorial similarities.
In the embodiment of the present invention, often open image and can generate its gray level image histogram (histogram).If the histogram of two images is very close, just can think that they are very similar.Therefore, the embodiment of the present invention utilizes the histogram of two width images to carry out the comparison of similarity.Specific algorithm is as follows:
1, the histogram distribution of input gray level image is obtained;
2, histogram is divided into 64 districts, each district is continuous print 4 tonal gradations;
3, summation operation is carried out to 4 values in each district, obtain 1 data, so, 64 data can be obtained, be a vector of this width image;
4, according to 1-3, two width images of input are transformed in order to 2 vectors, is designated as A, B;
5, the similarity that calculating two is vectorial, can calculate with Pearson correlation coefficient or cosine similarity, adopt cosine similarity to calculate here.Introduce cosine similarity below:
For two vectors, they can be used as two line segments in space, be all from initial point ([0,0 ...]) set out, point to different directions.Article two, between line segment, shape in an angle, if angle is 0 degree, means that direction is identical, line segment overlaps; If angle is 90 degree, mean formation right angle, direction is completely dissimilar; If angle is 180 degree, mean that direction is just in time contrary.Therefore, we by the size of angle, can judge the similarity degree of vector.Angle is less, and just representative is more similar.
Step 404: when the similarity of described second image and described first image is more than or equal to threshold value, show the first information; When the similarity of described second image and described first image is less than threshold value, show the second information; Described first information is different from described second information.
In the embodiment of the present invention, when the first image with 50% transparency be presented at preview interface time, in preview interface, also preview shows the second image, at this moment can judge according to the similarity degree of this two image, if similarity reaches or exceedes threshold value, as 80% display the first information (pattern as green), do not reach, show the second information (pattern as redness), only just shooting push button can be clicked when display the first information, when the second information, shooting push button shows grey and can not be triggered, passerby can adjust shooting angle until screen display first information just can be taken.
Step 405: when the similarity of described second image and described first image is more than or equal to threshold value, described second image is taken.
In the embodiment of the present invention, threshold value can be arranged flexibly, threshold value is higher, then show that the shooting effect of requirement is more accurate, namely the similarity of the second image and the first image is higher, and ideally, threshold value can be set to 100%, at this moment, the second image and the first image viewfinder range and angle completely the same.When the similarity of described second image and described first image is more than or equal to threshold value, then shows that the second image is the shooting orientation and angle that user wants, now, trigger shooting push button, the second image is taken.This button can be the entity physical button on filming apparatus, also can be the touch virtual button be present on filming apparatus screen.
Step 406: described second image preserving shooting.
In the embodiment of the present invention, after having taken two images, only extract the second image and preserved, and having deleted the first image of buffer memory.
Fig. 5 is the structure composition schematic diagram of the filming apparatus of the embodiment of the present invention four, and as shown in Figure 5, described device comprises:
Shooting unit 51, for taking the first image;
Display unit 52, for being presented at preview interface by described first image according to the first display parameters;
Preview unit 53, for gathering the second image;
Described display unit 52, also for described second image is presented at described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface;
Processing unit 54, for calculating the similarity of described second image and described first image;
Described shooting unit 51, also for when the similarity of described second image and described first image is more than or equal to threshold value, takes described second image.
It will be appreciated by those skilled in the art that the practical function of each unit in the filming apparatus shown in Fig. 5 can refer to the associated description of aforementioned image pickup method and understands.
Fig. 6 is the structure composition schematic diagram of the filming apparatus of the embodiment of the present invention five, and as shown in Figure 6, described device comprises:
Shooting unit 61, for taking the first image;
Display unit 62, for being presented at preview interface by described first image according to the first display parameters;
Preview unit 63, for gathering the second image;
Described display unit 62, also for described second image is presented at described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface;
Processing unit 64, for calculating the similarity of described second image and described first image;
Described shooting unit 61, also for when the similarity of described second image and described first image is more than or equal to threshold value, takes described second image.
Described device also comprises:
Tip element 65, for when the similarity of described second image and described first image is more than or equal to threshold value, shows the first information; When the similarity of described second image and described first image is less than threshold value, show the second information; Described first information is different from described second information.
Described display unit 62, also for described first image is presented at preview interface according to the transparency arranged.
Described processing unit 64, also for obtaining the histogram of described second image and described first image; To two histograms Region dividing respectively, and calculate described two histograms vector corresponding respectively; Calculate two vectorial similarities.
Described device also comprises:
Storage unit 66, for preserving described second image of shooting.
It will be appreciated by those skilled in the art that the practical function of each unit in the filming apparatus shown in Fig. 6 can refer to the associated description of aforementioned image pickup method and understands.
Between technical scheme described in the embodiment of the present invention, when not conflicting, can combination in any.
In several embodiment provided by the present invention, should be understood that, disclosed method and smart machine, can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each part or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in second processing unit, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.

Claims (10)

1. an image pickup method, is characterized in that, described method comprises:
Take the first image, described first image is presented in preview interface according to the first display parameters;
Gather the second image, described second image is presented on described first image according to the second display parameters overlap, and in described preview interface, preview is carried out to described second image;
Calculate the similarity of described second image and described first image;
When the similarity of described second image and described first image is more than or equal to threshold value, described second image is taken.
2. image pickup method according to claim 1, is characterized in that, described method also comprises:
When the similarity of described second image and described first image is more than or equal to threshold value, show the first information;
When the similarity of described second image and described first image is less than threshold value, show the second information;
Described first information is different from described second information.
3. image pickup method according to claim 1, is characterized in that, is describedly presented in preview interface by described first image according to the first display parameters, comprising:
Described first image is presented in preview interface according to the transparency arranged.
4. image pickup method according to claim 1, is characterized in that, the similarity of described second image of described calculating and described first image, comprising:
Obtain the histogram of described second image and described first image;
To two histograms Region dividing respectively, and calculate described two histograms vector corresponding respectively;
Calculate two vectorial similarities.
5. the image pickup method according to any one of Claims 1-4, is characterized in that, described method also comprises:
Preserve described second image of shooting.
6. a filming apparatus, is characterized in that, described device comprises:
Shooting unit, for taking the first image;
Display unit, for being presented at preview interface by described first image according to the first display parameters;
Preview unit, for gathering the second image;
Described display unit, also for described second image is presented at described first image according to the second display parameters overlap, and carries out preview to described second image in described preview interface;
Processing unit, for calculating the similarity of described second image and described first image;
Described shooting unit, also for when the similarity of described second image and described first image is more than or equal to threshold value, takes described second image.
7. filming apparatus according to claim 6, is characterized in that, described device also comprises:
Tip element, for when the similarity of described second image and described first image is more than or equal to threshold value, shows the first information; When the similarity of described second image and described first image is less than threshold value, show the second information; Described first information is different from described second information.
8. filming apparatus according to claim 6, is characterized in that, described display unit, also for described first image is presented at preview interface according to the transparency arranged.
9. filming apparatus according to claim 6, is characterized in that, described processing unit, also for obtaining the histogram of described second image and described first image; To two histograms Region dividing respectively, and calculate described two histograms vector corresponding respectively; Calculate two vectorial similarities.
10. the filming apparatus according to any one of claim 6 to 9, is characterized in that, described device also comprises:
Storage unit, for preserving described second image of shooting.
CN201610057439.7A 2016-01-27 2016-01-27 Photographing method and device Pending CN105554394A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610057439.7A CN105554394A (en) 2016-01-27 2016-01-27 Photographing method and device
PCT/CN2016/112478 WO2017128914A1 (en) 2016-01-27 2016-12-27 Photographing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610057439.7A CN105554394A (en) 2016-01-27 2016-01-27 Photographing method and device

Publications (1)

Publication Number Publication Date
CN105554394A true CN105554394A (en) 2016-05-04

Family

ID=55833312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610057439.7A Pending CN105554394A (en) 2016-01-27 2016-01-27 Photographing method and device

Country Status (2)

Country Link
CN (1) CN105554394A (en)
WO (1) WO2017128914A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453886A (en) * 2016-09-30 2017-02-22 维沃移动通信有限公司 Shooting method of mobile terminal and mobile terminal
WO2017128914A1 (en) * 2016-01-27 2017-08-03 努比亚技术有限公司 Photographing method and device
CN110800282A (en) * 2018-11-20 2020-02-14 深圳市大疆创新科技有限公司 Holder adjusting method, holder adjusting device, mobile platform and medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979487A (en) * 2022-05-27 2022-08-30 联想(北京)有限公司 Image processing method, image processing device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5273998B2 (en) * 2007-12-07 2013-08-28 キヤノン株式会社 Imaging apparatus, control method thereof, and program
US7991285B2 (en) * 2008-01-08 2011-08-02 Sony Ericsson Mobile Communications Ab Using a captured background image for taking a photograph
CN104125396B (en) * 2014-06-24 2018-06-08 小米科技有限责任公司 Image capturing method and device
CN104113697B (en) * 2014-08-01 2017-10-13 广东欧珀移动通信有限公司 Cooperate with take pictures treating method and apparatus, treating method and apparatus of taking pictures
CN105554394A (en) * 2016-01-27 2016-05-04 努比亚技术有限公司 Photographing method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128914A1 (en) * 2016-01-27 2017-08-03 努比亚技术有限公司 Photographing method and device
CN106453886A (en) * 2016-09-30 2017-02-22 维沃移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN106453886B (en) * 2016-09-30 2019-07-26 维沃移动通信有限公司 A kind of photographic method and mobile terminal of mobile terminal
CN110800282A (en) * 2018-11-20 2020-02-14 深圳市大疆创新科技有限公司 Holder adjusting method, holder adjusting device, mobile platform and medium
WO2020102976A1 (en) * 2018-11-20 2020-05-28 深圳市大疆创新科技有限公司 Cradle head adjustment method, cradle head adjustment device, mobile platform and medium
CN110800282B (en) * 2018-11-20 2021-07-27 深圳市大疆创新科技有限公司 Holder adjusting method, holder adjusting device, mobile platform and medium
CN113473025A (en) * 2018-11-20 2021-10-01 深圳市大疆创新科技有限公司 Holder adjusting method, holder adjusting device, mobile platform and medium
US11892812B1 (en) 2018-11-20 2024-02-06 SZ DJI Technology Co., Ltd. Gimbal adjustment method, gimbal adjustment device, mobile platform and storage medium

Also Published As

Publication number Publication date
WO2017128914A1 (en) 2017-08-03

Similar Documents

Publication Publication Date Title
CN105187722B (en) Depth of field adjusting method, device and terminal
US7728886B2 (en) Image recording apparatus and method
CN104794705B (en) Image defogging method and device based on image local content characteristic
WO2016023406A1 (en) Shooting method for motion trace of object, mobile terminal and computer storage medium
US10419661B2 (en) Shooting method and shooting device
CN105430263A (en) Long-exposure panoramic image photographing device and method
CN104902182B (en) A kind of method and apparatus for realizing continuous auto-focusing
CN104660908A (en) Shooting device and automatic matching method of shooting modes thereof
CN104883494B (en) A kind of method and device of video capture
WO2016008359A1 (en) Object movement track image synthesizing method, device and computer storage medium
CN105554394A (en) Photographing method and device
CN105208271A (en) Shooting angle prompt device and method
US20130070143A1 (en) Display apparatus and method
WO2016004819A1 (en) Shooting method, shooting device and computer storage medium
US10600170B2 (en) Method and device for producing a digital image
CN105491358B (en) A kind of image processing method and device, terminal
CN105389786A (en) Image processing method and device
CN104956657A (en) Imaging device, image processing method, image processing program, and recording medium
US10042526B2 (en) Method and apparatus for displaying thumbnail image
CN103685928A (en) Image processing device, and method for processing image
CN107509019A (en) Picture pick-up device, image capture method and non-transient computer-readable media
CN105335979A (en) Image processing method and apparatus
US20100079582A1 (en) Method and System for Capturing and Using Automatic Focus Information
JP4985180B2 (en) Image processing apparatus, image processing method, image processing program, and imaging apparatus
CN104811622A (en) Method and device for migrating image colors

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160504