WO2016202073A1 - Image processing method and apparatus - Google Patents

Image processing method and apparatus Download PDF

Info

Publication number
WO2016202073A1
WO2016202073A1 PCT/CN2016/079277 CN2016079277W WO2016202073A1 WO 2016202073 A1 WO2016202073 A1 WO 2016202073A1 CN 2016079277 W CN2016079277 W CN 2016079277W WO 2016202073 A1 WO2016202073 A1 WO 2016202073A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
area
scene
value
exposure
Prior art date
Application number
PCT/CN2016/079277
Other languages
French (fr)
Chinese (zh)
Inventor
李振华
李礼
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2016202073A1 publication Critical patent/WO2016202073A1/en

Links

Images

Classifications

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

Definitions

  • the embodiments of the present application relate to the field of image technologies, and in particular, to a method and an apparatus for image processing.
  • the camera function has become a basic configuration of a terminal, such as a mobile phone, a tablet computer or a smart wearable device, and is no longer limited to use in a camera or a video camera. More and more users choose to use the terminal equipment to take pictures, which brings great fun and convenience to people's life and work.
  • an LED flash is usually set on the terminal device, and the LED flash is used to emit light and illuminate the object, thereby taking a photo with sufficient brightness.
  • the LED flash is used to emit light and illuminate the object, thereby taking a photo with sufficient brightness.
  • the scene level of the scene is relatively complicated, even if the LED flash is used, the scene behind the object to be photographed is still dark (dark), unclear, and the scene cannot be best presented.
  • the embodiment of the present application provides a method and a device for image processing, so as to solve the problem that the image quality is poor at night shooting, and the scene cannot obtain the best presentation.
  • An embodiment of the present application provides a method for image processing, including:
  • the brightness statistics of the plurality of sub-areas include: brightness values, exposure lines, and sensitivities corresponding to the respective sub-areas Correspondence between values;
  • An embodiment of the present application provides an apparatus for image processing, including:
  • the level determining module is configured to determine, according to the brightness statistics of the plurality of sub-areas in the framing area, the scene scene level of each of the sub-areas, wherein the brightness statistics of the plurality of sub-areas include: brightness values corresponding to the respective sub-areas, Correspondence between the number of exposure lines and the sensitivity value;
  • the exposure determining module is configured to determine an exposure number and a current value corresponding to each exposure according to the determined scene scene level of each sub-area;
  • the pre-processing image acquisition module is configured to perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, to obtain a plurality of pre-processed images that match the scene scene level;
  • a synthesizing module configured to synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
  • the embodiment of the present application also provides a computer readable recording medium on which a program for executing the above method is recorded.
  • the embodiment of the present invention provides a method and an apparatus for image processing, which can respectively determine a scene scene level of a plurality of sub-areas in a framing area according to the brightness statistical information, and then determine the number of exposures and each time according to the determined scene scene level of the plurality of sub-areas.
  • the current value corresponding to the exposure is subjected to multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and multiple pre-processed pictures matching the scene scene level are obtained, and finally the scene scenes according to the plurality of sub-areas are obtained.
  • multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value.
  • Appropriate brightness finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
  • Embodiment 1 is a flow chart showing the steps of a method for image processing in Embodiment 1 of the present application;
  • FIG. 2 is a flow chart showing the steps of a method for image processing in Embodiment 2 of the present application;
  • FIG. 3 is a flow chart showing the steps of a shooting process in Embodiment 3 of the present application.
  • FIG. 4 is a schematic diagram of a framing area division in Embodiment 3 of the present application.
  • FIG. 5 is a structural block diagram of an apparatus for image processing in Embodiment 4 of the present application.
  • FIG. 6 is a structural block diagram of an apparatus for image processing according to Embodiment 5 of the present application.
  • the method for image processing includes:
  • Step 102 Determine a scene scene level of each sub-area according to brightness statistical information of the plurality of sub-areas in the framing area.
  • the framing area may be determined according to the boundary condition of the scene in the field of view of the lens (camera), and then the framing area is divided into a plurality of sub-areas according to a certain standard. It should be apparent to those skilled in the art that the framing area can be divided in any suitable manner. For example, according to the principle of division, the framing area is equally divided into 3x3 sub-areas, or 4x4 sub-areas, or 9x9 sub-areas, and the like. For another example, the framing area may be divided into a plurality of sub-areas by using a preset plurality of horizontal and vertical coordinate values (Xi, Yj) as an origin, wherein i ⁇ 1, j ⁇ 1.
  • Xi, Yj horizontal and vertical coordinate values
  • the brightness statistics of the plurality of sub-areas include, but are not limited to, a correspondence between a brightness value (luma), an exposure line number (linecnt), and a sensitivity value (gain) corresponding to each sub-area. .
  • the brightness information of a photo can be represented by a brightness value, for example, the greater the brightness value, the photo The brighter the film, the darker the photo.
  • the brightness value can be adjusted by the number of exposure lines and/or the sensitivity.
  • the brightness value is proportional to the number of exposure lines and the sensitivity value, that is, the number of exposure lines and/or the sensitivity value increases. Then the brightness value increases.
  • the change curve (trend, amplitude) between the brightness value and the exposure line number and/or the sensitivity value may indirectly reflect the scene scene level, for example:
  • the brightness value changes immediately with the change of the sensitivity value (for example, the sensitivity value is increased by 1 time, the brightness value is also increased by 1 time), that is, the brightness value varies with the sensitivity value. Larger (strongly changing, the slope of the curve of brightness and sensitivity is large), it can be determined that the current sub-area is the place that can be illuminated by the flash, that is, the close-up.
  • the brightness value does not change substantially when the sensitivity value changes in the current sub-area (the slope of the curve of brightness and sensitivity is basically 0), it can be determined that the current sub-area is not illuminated by the flash, that is, Vision.
  • the brightness value changes slowly with the change of the sensitivity value in the current sub-area (for example, the sensitivity value is increased by 1 time, the brightness value is only increased by 0.2 times), that is, the brightness value changes with the sensitivity value.
  • Small smooth change, small slope of brightness and sensitivity curve
  • the curve (trend, amplitude) between the brightness value and the number of exposure lines can also indirectly reflect the scene scene level, for example, if the brightness value of the current sub-area changes greatly with the number of exposure lines, then The current sub-area is a close-up; if the brightness value of the current sub-area does not change with the change of the number of exposure lines (or the change is small), the current sub-area is a distant view; if the brightness value of the current sub-area changes with the number of exposure lines Slowly changing, the current sub-area is medium.
  • the scene scene level of each sub-area can be separately determined according to the brightness statistical information of the plurality of sub-areas in the framing area.
  • the scene scene level is not limited to the above-mentioned scenes of the far, middle, and near levels.
  • the appropriate scene scene level can be determined according to the preset scene scene level determination rule and the brightness statistical information of each sub-area.
  • Step 104 Determine the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
  • different current values may be selected for exposure. For example, if it is determined that the plurality of sub-regions in the framing area correspond to three scene scene levels (far, medium, and near) respectively, at least three exposure processes may be performed, and: the corresponding selected current value may be a vista with the first exposure. The first current value adapted to the level; the corresponding current value selected in the second exposure may be a second current value adapted to the middle level; the corresponding selected current value in the third exposure may be adapted to the close-range level The third current value.
  • Step 106 Perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of pre-processed pictures that match the scene scene level.
  • Step 108 Synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
  • an image processing method may separately determine a scene scene level of each sub-area according to brightness statistical information of a plurality of sub-areas in the framing area, and then according to the determined sub-areas
  • the scene scene level determines the number of exposures and the current value corresponding to each exposure, and performs multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of preprocessed pictures matching the scene scene level.
  • the plurality of pre-processed pictures are synthesized according to the scene scene level of the plurality of sub-areas to obtain a target picture.
  • multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value.
  • Appropriate brightness finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
  • the method of image processing may be implemented by, but not limited to, by a mobile terminal, for example, by a setting module/component provided in the mobile terminal, or by setting in the mobile terminal.
  • the application is implemented, or alternatively, it can be realized by a camera/camera such as a camera.
  • the method for image processing may include:
  • Step 202 The mobile terminal separately calculates brightness statistics according to multiple sub-areas in the framing area. Determine the scene scene hierarchy for each sub-area.
  • the brightness statistics of the plurality of sub-areas include, but are not limited to, a correspondence between a brightness value, an exposure line number, and a sensitivity value corresponding to each sub-area.
  • the step 202 may include the following sub-steps:
  • Sub-step 2022 the mobile terminal determines the ratio of the brightness value and the exposure line number and/or the sensitivity value under each sub-area according to the correspondence between the brightness value, the exposure line number and the sensitivity value under each sub-area. .
  • k1 and/or k2 corresponding to each sub-area are not completely the same.
  • k1 and k2 corresponding to sub-area 1 may be 10, and k1 corresponding to sub-area 2 may be 0.5, k2 may Is 0.3.
  • k1 can be used to represent the ratio result between the luminance value and the number of exposure lines;
  • k2 can be used to represent the ratio result between the luminance value and the sensitivity value.
  • the result of the ratio between the brightness value and the number of exposure lines, and/or the ratio between the brightness value and the sensitivity value may be used to determine a scene scene level of the sub-area, specifically referring to the following sub-steps:
  • Sub-step 2024 the mobile terminal compares the ratio result with a preset scene scene hierarchy criterion to determine a scene scene level of each sub-area.
  • the ratio between the luminance value and the sensitivity value when the ratio (k2) between the luminance value and the sensitivity value is 10, it can be determined that the scene scene level of the current sub-region is the medium scene, when When the ratio (k2) between the brightness value and the sensitivity value is 1, it can be determined that the scene scene level of the current sub-area is the medium scene, and when the ratio (k2) between the brightness value and the sensitivity value is 0.1, it can be determined.
  • the scene scene level of the current sub-area is a distant view.
  • the correspondence between the above ratio and the scene scene level is merely exemplary and should not be construed as limiting the application.
  • the scene scene level can also be determined according to the ratio between the brightness value and the number of exposure lines, and details are not described herein again.
  • Step 204 The mobile terminal determines the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
  • the framing area is divided into a plurality of sub-areas, for example, the framing area is divided into ten sub-areas; further, according to the brightness statistics of the ten sub-areas, the scene scene level of the ten sub-areas can be determined as follows : The scene scene level of the sub-area numbered 01-03 is the close-up scene, the scene scene level of the sub-area numbered 04-08 is the medium scene, and the scene scene level of the sub-area numbered 09-10 is the distant view.
  • the exposure current selected by the first exposure may be a first current matched to the close-up
  • the exposure current selected by the second exposure may be a second current matching the medium scene
  • the exposure current selected by the third exposure may be It is the third current that matches the vision.
  • Step 206 The mobile terminal performs multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, to obtain a plurality of preprocessed pictures that match the scene scene level.
  • the first current, the second current, and the third current may be used to perform three exposures, respectively, to sequentially obtain a pre-processed picture matching the close-up shot using the first current for exposure shooting, and using the second current for exposure shooting.
  • Step 208 The mobile terminal synthesizes the plurality of pre-processed pictures according to the scene scene level of the plurality of sub-areas to obtain a target picture.
  • the foregoing step 208 may include the following sub-steps:
  • Sub-step 2802 the mobile terminal selects the matched pre-processed picture according to the scene level corresponding to each sub-area, and extracts the sub-picture corresponding to each sub-area from the matched pre-processed picture.
  • the 01 sub-area is taken as an example for description.
  • One feasible way may be as follows: First, select the 01 sub-area (close-up view) Corresponding pre-process picture 1 (pre-processed picture matching the close-up shot using the first current for exposure shooting); then, determining the position of the 01 sub-area in the pre-processed picture 1 (01 in the pre-processed picture) 'Sub-region>; Finally, the picture of the 01' sub-area in the pre-process picture 1 is intercepted as the sub-picture corresponding to the 01 sub-area.
  • the sub-pictures corresponding to the respective sub-areas can be obtained sequentially (or asynchronously) in the above manner.
  • the 01-03 sub-area needs to be extracted from the corresponding pre-process picture 1
  • the sub-picture and the 04-08 sub-area need to be extracted from the corresponding pre-processed picture 2 to obtain the corresponding sub-picture
  • the 09-10 sub-area needs to extract the corresponding sub-picture from the corresponding pre-processed picture 3.
  • Sub-step 2084 the mobile terminal synthesizes the sub-pictures corresponding to each of the extracted sub-regions to obtain the target picture.
  • the sub-pictures 01-03 corresponding to the 01-03 sub-areas may be sequentially extracted from the pre-processed picture 1, and the sub-pictures 04- corresponding to the 04-08 sub-areas are sequentially extracted from the pre-processed picture 2. 08.
  • the sub-pictures 09-10 corresponding to the 09-10 sub-areas are sequentially extracted from the pre-processed picture 3; then, the sub-pictures 01-10 are combined in the order of the ten sub-areas described above to obtain the target picture.
  • the brightness statistics of the plurality of sub-areas in the framing area may be determined by the following steps:
  • the mobile terminal adjusts the sensitivity value and/or the number of exposure lines once according to the first setting rule.
  • One skilled in the art can use any suitable rule to adjust the sensitivity value and/or the number of exposure lines.
  • the sensitivity value and/or the number of exposure lines can be adjusted by one of the following possible ways:
  • the mobile terminal sequentially increases the magnitude of the sensitivity value according to the first set step size; and, when the sensitivity value is equal to the maximum threshold, sequentially increases the number of exposure lines according to the second set step size the size of;
  • the mobile terminal sequentially decreases the magnitude of the sensitivity value according to the third set step size; and, when the sensitivity value is equal to the minimum threshold, sequentially decreases the exposure according to the fourth set step size The size of the number of rows.
  • the first setting step, the second setting step, the third setting step, and the fourth setting step may select any appropriate value according to actual conditions, and the first The set step size, the second set step size, the third set step size, and the fourth set step size may be the same, or may be freely selected according to actual conditions.
  • the first set step can be used as the first set step with a 0.1 times reference value (a preset sensitivity value or a corresponding sensitivity value at the pre-flash). Adjustment of the degree.
  • the manner of adjusting with the reference value may be as follows:
  • the mobile terminal adjusts the sensitivity value and/or the number of exposure lines at least once by using the first sensitivity value obtained in advance and/or the determined first exposure line number as the adjustment initial value.
  • the first sensitivity value may be an adjustment initial value (reference value) corresponding to gain
  • the first exposure line number may be an adjustment initial value (reference value) corresponding to the linecnt.
  • the adjustment of the sensitivity value and/or the number of exposure lines is performed by using the first sensitivity value and/or the first exposure line number as an adjustment initial value.
  • a feasible manner of obtaining the first sensitivity value and/or the first exposure line number may be as follows: when the flash terminal is pre-flashed, the mobile terminal records that the pre-flash value satisfies the preset. The sensitivity value and/or the number of exposure lines corresponding to the standard brightness value; and determining the corresponding sensitivity value and/or the number of exposure lines when the pre-brightness value satisfies the preset standard brightness value as the number A sensitivity value and/or a number of first exposure lines.
  • the mobile terminal separately records the adjustment results of each sub-area after each adjustment, and obtains multiple statistical results.
  • each of the statistical results of each sub-area includes: a sensitivity value, an exposure line number, and a brightness value corresponding to each sub-area after each adjustment.
  • the mobile terminal determines the brightness statistics of each sub-area according to the average of the plurality of statistical results corresponding to each sub-area.
  • each sub-area corresponds to one statistical result for each adjustment. For example, if three adjustments are made, the 01-10 sub-regions each have three statistical results.
  • the average of the plurality of statistical results corresponding to each sub-region may be used as the luminance statistical information corresponding to each sub-region.
  • the method may further include the following step 210.
  • the step 210 may be performed, but not limited to, before the step 202 above.
  • Step 210 The mobile terminal divides the framing area determined by the lens selection into a plurality of sub-areas according to a preset division criterion.
  • an image processing method may separately determine a scene scene level of each sub-area according to brightness statistical information of a plurality of sub-areas in the framing area, Then, according to the determined scene scene level of each sub-area, the number of exposures and the current value corresponding to each exposure are determined, and multiple exposures are performed according to the determined number of exposures and the current value corresponding to each exposure, and the scene level is obtained. Matching a plurality of pre-processed pictures, and finally synthesizing the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
  • multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value.
  • Appropriate brightness finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
  • the method for image processing is described in detail by taking a specific processing flow of one shooting process as an example.
  • FIG. 3 a flow chart of steps in a shooting process in Embodiment 3 of the present application is shown.
  • the steps of the shooting process may be as follows:
  • step 302 the framing area in the lens is divided into 4 ⁇ 4 sub-areas.
  • the viewfinder area may be divided into 4x4 sub-areas: sub-areas 001-016.
  • step 304 the LED flash is called to perform pre-flash, and the exposure measurement is performed to determine the sensitivity value and the number of exposure lines when the pre-flash value satisfies the preset standard brightness value during the pre-flash process.
  • the preset standard brightness value may be a preset standard brightness value (eg, luma1) set in advance, and the current brightness value may be achieved by modifying the sensitivity value (gain) and the exposure line number (linecnt).
  • the sensitivity value and the number of exposure lines can be modified by one of the following possible ways:
  • the adjustment of the luminance value and the number of exposure lines can be performed based on the sensitivity value and the number of exposure lines recorded in a preset standard table index table.
  • Table 1 the implementation of the present application is shown.
  • the values as shown in Table 1 can be preferentially combined (gain and linecnt recorded in Table 1) to stabilize the brightness (i.e., the current brightness value and satisfy the preset standard brightness value).
  • the standard brightness value is 100
  • the corresponding sensitivity value and the number of exposure lines are correspondingly selected, for example, the corresponding sensitivity value is 50
  • the number of exposure lines is 1000, that is, the following may be Correspondence relationship ⁇ 100, 50, 1000 ⁇ .
  • the numerical values in Table 1 and the size (100) of the standard luminance values and the determined correspondence ⁇ 100, 50, 1000 ⁇ are merely illustrative.
  • the sensitivity values and the number of exposure lines can be modified by using the values given in the table index table to improve the efficiency and quickly adjust the brightness values to the preset standard brightness values.
  • the modification of the sensitivity value and the number of exposure lines is not limited to the value given in the table index table, and any appropriate value may be selected according to the actual situation to adjust the sensitivity value and the number of exposure lines.
  • Step 306 Determine a scene scene level of each sub-area according to brightness statistical information of the plurality of sub-areas in the framing area.
  • the correspondence between the luminance value and the sensitivity value and the number of exposure lines is: ⁇ 100, 50, 1000 ⁇ .
  • the sensitivity value and the number of exposure lines can be adjusted with the sensitivity value 50 and the exposure line number 1000 recorded in the correspondence relationship ⁇ 100, 50, 1000 ⁇ as initial values.
  • the sensitivity value can be adjusted by using 0.1 times the initial value (50) as the adjustment step size.
  • the adjustment can be made according to the following increment/decrement rule: ... 0.8x50 ⁇ 0.9x50 ⁇ 50 ⁇ 1.1x50 ⁇ 1.2 X50.... Record the correspondence between the sensitivity value and the brightness value (corresponding value) during each adjustment.
  • the size of the exposure line can be further adjusted, and the correspondence between the brightness value and the sensitivity value and the number of exposure lines in each adjustment process is recorded. (corresponding to the value).
  • the sensitivity value and the number of exposure lines can also be adjusted at the same time, which is not limited in this embodiment.
  • the flow of determining the brightness statistical information of the sub-area 001 and the process of determining the scene scene level of the sub-area 001 according to the determined brightness statistical information are described as an example, and the sensitivity value and/or the number of exposure lines are multiple times.
  • the brightness changes in the sub-area 001 after each adjustment are recorded separately.
  • the brightness change after each adjustment can be as follows:
  • the number of exposure lines (linecnt) is unchanged, that is, in the embodiment, the brightness value is changed by adjusting the sensitivity value, and therefore, This can temporarily ignore the change in the number of exposure lines (linecnt).
  • the ratio between the luminance value and the sensitivity value is sequentially: 10 times, 9 times, 11 times, and 10 times; preferably, four ratio results can be taken ( The average value (10 times) of 10 times, 9 times, 11 times, and 10 times) is determined as the brightness statistical information of the sub-area 001.
  • the brightness statistical information of the sub-area 001 that can be determined is compared with a preset scene scene division standard, and the scene scene level of the sub-area 001 is determined to be the medium scene (only an example description, which may be based on the actual object scene level)
  • the division criterion determines the scene scene level of the sub-area 001).
  • the process of determining the scene scene level of other sub-areas can refer to the determination process of the scene scene level of the above sub-area 001, and will not be described one by one.
  • the final scene level of the scene can be as follows: close-up: sub-area 005-008; medium-level: sub-area 001-004; distant view: sub-area 009-012; super-distant: sub-area 013-016.
  • Step 308 Determine the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
  • a total of four scene scene levels are determined, then, preferably, at least four exposures can be selected: the first exposure can correspondingly select a current value of 0.9I that matches the close scene ( I is the standard current value), the second exposure can correspond to the current value of 1.0I matched with the medium scene, and the third exposure can correspond to the current value of 1.5I matched with the foreground.
  • the fourth exposure can correspond to Select the current value of 2.0I that matches the super-distant view.
  • the value of the above current is only an exemplary description, and specifically, the current value may be selected according to actual conditions.
  • Step 310 Perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of preprocessed pictures that match the scene scene level.
  • pre-processed picture 1 close-up picture
  • pre-processed picture 2 middle view picture
  • pre-processed picture 3 disant picture
  • pre-processed picture 4 super-vision picture
  • Step 312 Synthesize the plurality of preprocessed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
  • the sub-pictures 005-008 corresponding to the sub-areas 005-008 (close-up area) positions can be extracted from the pre-processed picture 1 (close-up picture);
  • the sub-pictures 001 to 004 corresponding to the positions of the sub-areas 001 to 004 (middle-area area) are extracted; and the positions of the sub-areas 009 to 012 (distant areas) are extracted from the pre-processed picture 3 (distant picture)
  • Sub-pictures 009 to 012; sub-pictures 013 to 016 corresponding to the positions of the sub-areas 013 to 016 (super-long-view areas) are extracted from the pre-processed picture 4 (super-far picture).
  • the extracted sub-pictures 001 to 016 are combined to obtain a composite picture, and the synthesized picture is used as a final target picture.
  • an image processing method may separately determine a scene scene level of a plurality of sub-areas in the framing area according to the brightness statistical information, and then determine according to the determined scene scene level of the plurality of sub-areas.
  • the number of exposures and the current value corresponding to each exposure are subjected to multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and multiple pre-processed pictures matching the scene scene level are obtained, and finally
  • the scene scene level of each sub-area synthesizes the plurality of pre-processed pictures to obtain a target picture.
  • multiple exposures may be performed according to the scene level of the scene in each sub-area in the entire framing area.
  • Shooting so that each sub-area in the entire framing area obtains the required exposure value to achieve the appropriate brightness, and finally extracts the optimal brightness value corresponding to each sub-area from the pre-processed image obtained by each exposure shot.
  • the image is synthesized to obtain the target image, which ensures that the images of the various parts in the captured target image are clear, which improves the clarity and resolution of the entire target image, making the whole target image more vivid and more enjoyable. value.
  • the apparatus for image processing includes:
  • the level determining module 502 is configured to determine brightness level information of the plurality of sub-areas in the framing area to determine the scene scene level of each sub-area.
  • the brightness statistical information of the plurality of sub-areas includes: a correspondence relationship between a brightness value, an exposure line number, and a sensitivity value corresponding to each sub-area.
  • the exposure determination module 504 is configured to determine the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
  • the pre-processing picture obtaining module 506 is configured to perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of pre-processed pictures that match the scene scene level.
  • the synthesizing module 508 is configured to synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
  • an image processing method may separately determine a scene scene level of a plurality of sub-areas in the framing area according to the brightness statistical information, and then determine according to the determined scene scene level of the plurality of sub-areas.
  • the number of exposures and the current value corresponding to each exposure are subjected to multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and the scene is obtained.
  • the plurality of pre-processed pictures matched by the scene level are finally combined with the plurality of pre-processed pictures according to the scene scene level of the plurality of sub-areas to obtain the target picture.
  • multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value.
  • Appropriate brightness finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
  • the apparatus for image processing may be, but is not limited to, being disposed in a mobile terminal.
  • the apparatus for image processing may also be disposed in a device for taking a picture, such as a camera, a video camera, or the like.
  • the device for image processing may include:
  • the level determining module 602 is configured to determine a scene scene level of each sub-area according to brightness statistics of the plurality of sub-areas in the framing area.
  • the brightness statistical information of the plurality of sub-areas includes: a correspondence relationship between the brightness value, the number of exposure lines, and the sensitivity value corresponding to each sub-area.
  • the brightness statistics of the plurality of sub-areas within the framing area may be determined by a module that is configured to adjust the sensitivity value and/or the number of exposure lines at least once according to the first setting rule.
  • the statistical result obtaining module is configured to perform statistical recording on the adjustment result of each sub-area for each time, and obtain a plurality of statistical results, wherein each statistical result of each sub-area includes: corresponding to each sub-area after each adjustment is completed Sensitivity value, number of exposure lines, and brightness value.
  • the statistical information determining module is configured to determine brightness statistical information of each sub-area according to an average value of the plurality of statistical results corresponding to each sub-area.
  • the adjusting module may further include: a first adjusting module configured to sequentially increase the sensitivity value according to the first setting step when the sensitivity value is less than or equal to the maximum threshold ; and, when the sensitivity value is equal to the maximum threshold, the number of exposure lines is sequentially increased according to the second set step.
  • the second adjusting module is configured to sequentially reduce the magnitude of the sensitivity value according to the third setting step when the sensitivity value is greater than or equal to the minimum threshold; and, in the sensitivity value, etc. At the minimum threshold, the number of exposure lines is sequentially decreased according to the fourth set step.
  • the adjustment module may be configured to use a pre-processed first sensitivity value and/or a determined first exposure line as an adjustment initial value, and a sensitivity value and / or the number of exposure lines is adjusted at least once.
  • the first sensitivity value and/or the first exposure line number can be obtained by the following module: the recording module is configured to record, when the flash pre-flashes, the corresponding when the pre-flash value meets the preset standard brightness value Sensitivity value and / or number of exposure lines.
  • the determining module is configured to determine the recorded sensitivity value and/or the number of exposure lines when the pre-brightness value meets the preset standard brightness value as the first sensitivity value and/or the first exposure line number.
  • the level determining module 602 may specifically include:
  • the ratio determining module 6022 is configured to determine the brightness value and the exposure line number and/or the sensitivity value in each sub-area according to the correspondence between the brightness value, the exposure line number, and the sensitivity value under each sub-area. The ratio result.
  • the comparison module 6024 is configured to compare the ratio result with a preset scene scene hierarchy criterion to determine a scene scene level of each sub-area.
  • the exposure determination module 604 is configured to determine the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
  • the pre-processing picture obtaining module 606 is configured to perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of pre-processed pictures that match the scene scene level.
  • the synthesizing module 608 is configured to synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
  • the synthesizing module may specifically include:
  • the extraction module 6082 is configured to select a matched pre-processed picture according to a scene level corresponding to each sub-area, and extract a sub-picture corresponding to each sub-area from the matched pre-processed picture.
  • the synthesizing module 6084 is configured to synthesize the sub-pictures corresponding to each of the extracted sub-regions to obtain the target picture.
  • the apparatus for image processing may further include: a sub-area dividing module, and dividing the framing area determined by the lens selection into multiple according to a preset dividing criterion Sub-area.
  • the sub-area partitioning module may be, but is not limited to, being executed before the level determining module 602.
  • an image processing method may separately determine a scene scene level of a plurality of sub-areas in the framing area according to the brightness statistical information, and then determine according to the determined scene scene level of the plurality of sub-areas.
  • the number of exposures and the current value corresponding to each exposure are subjected to multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and multiple pre-processed pictures matching the scene scene level are obtained, and finally
  • the scene scene level of each sub-area synthesizes the plurality of pre-processed pictures to obtain a target picture.
  • multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value.
  • Appropriate brightness finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • the present application also provides a computer readable recording medium on which a program for executing the above method is recorded.

Landscapes

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

Abstract

An image processing method and apparatus. The method comprises: respectively determining, according to brightness statistics of the multiple sub-areas in a framed area, an object-scene hierarchies of the sub-areas, the brightness statistics of the multiple sub-areas comprising a correspondence between a brightness value, the number of exposed lines, and a sensitivity value that correspond to each sub-area; determining the number of times of exposures and a current value corresponding to each exposure according to the object-scene hierarchies of the sub-areas; carrying out multiple times of exposures according to the determined number of times of exposures and the determined current value corresponding to each exposure, to obtain multiple pre-processed images matching the object-scene hierarchies; and synthesizing the multiple pre-processed images according to the object-scene hierarchies of the multiple sub-areas to obtain a target image. The embodiments of the present invention improve the definition and resolution of the entire target image, making the entire target image more vivid and more enjoyable.

Description

图像处理的方法和装置Image processing method and device 技术领域Technical field
本申请实施例涉及图像技术领域,具体涉及一种图像处理的方法和装置。The embodiments of the present application relate to the field of image technologies, and in particular, to a method and an apparatus for image processing.
背景技术Background technique
随着终端技术的发展,拍照功能已成为终端,如手机、平板电脑或者智能穿戴设备等的一项基本配置,不再局限于在相机、摄像机中使用。越来越多的用户选择使用终端设备进行拍照,给人们生活和工作带来了极大的乐趣和方便。With the development of terminal technology, the camera function has become a basic configuration of a terminal, such as a mobile phone, a tablet computer or a smart wearable device, and is no longer limited to use in a camera or a video camera. More and more users choose to use the terminal equipment to take pictures, which brings great fun and convenience to people's life and work.
为了满足用户夜间拍摄的需求,通常在终端设备上设置LED闪光灯,通过LED闪光灯打出亮光,照射物体,从而拍摄出亮度足够的照片。然而,在夜晚拍摄时,当景物的场景层次比较复杂时,即使使用了LED闪光灯,被拍摄物体的后方的景物也仍然较黑(暗)、不清楚,景物无法得到最好的呈现。In order to meet the needs of the user's night shooting, an LED flash is usually set on the terminal device, and the LED flash is used to emit light and illuminate the object, thereby taking a photo with sufficient brightness. However, when shooting at night, when the scene level of the scene is relatively complicated, even if the LED flash is used, the scene behind the object to be photographed is still dark (dark), unclear, and the scene cannot be best presented.
可见,本领域技术人员亟需解决的问题是:如何提高夜间拍摄时的图像质量,使得景物完美的呈现。It can be seen that the problem to be solved by those skilled in the art is how to improve the image quality at night shooting, so that the scene is perfectly presented.
发明内容Summary of the invention
本申请实施例提供一种图像处理的方法和装置,以解决夜间拍摄时图像质量差,景物无法得到最好的呈现的问题。The embodiment of the present application provides a method and a device for image processing, so as to solve the problem that the image quality is poor at night shooting, and the scene cannot obtain the best presentation.
本申请实施例提供一种图像处理的方法,包括:An embodiment of the present application provides a method for image processing, including:
根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次;其中,所述多个子区域的亮度统计信息包括:各个子区域所对应的亮度值、曝光行数和感光度值之间的对应关系;Determining a scene scene level of each sub-area according to brightness statistics of the plurality of sub-areas in the framing area; wherein the brightness statistics of the plurality of sub-areas include: brightness values, exposure lines, and sensitivities corresponding to the respective sub-areas Correspondence between values;
根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值;Determining the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area;
根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与 所述景物场景层次相匹配的多张预处理图片;Multiple exposures based on the determined number of exposures and the current value corresponding to each exposure a plurality of preprocessed pictures matching the scene scene level;
按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片Synthesizing the plurality of preprocessed pictures according to a scene scene hierarchy of a plurality of sub-areas to obtain a target picture
本申请实施例提供一种图像处理的装置,包括:An embodiment of the present application provides an apparatus for image processing, including:
层次确定模块,配置为根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次;其中,所述多个子区域的亮度统计信息包括:各个子区域所对应的亮度值、曝光行数和感光度值之间的对应关系;The level determining module is configured to determine, according to the brightness statistics of the plurality of sub-areas in the framing area, the scene scene level of each of the sub-areas, wherein the brightness statistics of the plurality of sub-areas include: brightness values corresponding to the respective sub-areas, Correspondence between the number of exposure lines and the sensitivity value;
曝光确定模块,配置为根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值;The exposure determining module is configured to determine an exposure number and a current value corresponding to each exposure according to the determined scene scene level of each sub-area;
预处理图片获取模块,配置为根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片;The pre-processing image acquisition module is configured to perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, to obtain a plurality of pre-processed images that match the scene scene level;
合成模块,配置为按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。And a synthesizing module configured to synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
本申请实施例还提供了一种在其上记录有用于执行上述方法的程序的计算机可读记录介质。The embodiment of the present application also provides a computer readable recording medium on which a program for executing the above method is recorded.
本申请实施例提供一种图像处理的方法和装置,可以根据亮度统计信息分别确定取景区域内的多个子区域的景物场景层次,然后根据确定的多个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值,根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片,最后按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。可见,在本申请实施例中,可以根据整个取景区域中的各个子区域中的景物的场景层次进行多次曝光拍摄,使整个取景区域中的各个子区域都得到其所需要的曝光值,达到合适的亮度,最后从每次曝光拍摄得到的预处理图片中提取出各个子区域所对应的最佳亮度值的图片进行合成,得到目标图片,保证了拍摄得到的目标图片中的各个部分的图像都是清楚的,提高了整张目标图片的清晰度、分辨率,使得整张目标图片更加生动,更具欣赏价值。The embodiment of the present invention provides a method and an apparatus for image processing, which can respectively determine a scene scene level of a plurality of sub-areas in a framing area according to the brightness statistical information, and then determine the number of exposures and each time according to the determined scene scene level of the plurality of sub-areas. The current value corresponding to the exposure is subjected to multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and multiple pre-processed pictures matching the scene scene level are obtained, and finally the scene scenes according to the plurality of sub-areas are obtained. Leveling the plurality of preprocessed pictures to obtain a target picture. It can be seen that, in the embodiment of the present application, multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value. Appropriate brightness, finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
附图说明 DRAWINGS
图1是本申请实施例一中一种图像处理的方法的步骤流程图;1 is a flow chart showing the steps of a method for image processing in Embodiment 1 of the present application;
图2是本申请实施例二中一种图像处理的方法的步骤流程图;2 is a flow chart showing the steps of a method for image processing in Embodiment 2 of the present application;
图3是本申请实施例三中一种拍摄过程的步骤流程图;3 is a flow chart showing the steps of a shooting process in Embodiment 3 of the present application;
图4是本申请实施例三中一种取景区域划分的示意图;4 is a schematic diagram of a framing area division in Embodiment 3 of the present application;
图5是本申请实施例四中一种图像处理的装置的结构框图;5 is a structural block diagram of an apparatus for image processing in Embodiment 4 of the present application;
图6是本申请实施例五中一种图像处理的装置的结构框图。FIG. 6 is a structural block diagram of an apparatus for image processing according to Embodiment 5 of the present application.
具体实施方式detailed description
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
实施例一Embodiment 1
参照图1,示出了本申请实施例一中一种图像处理的方法的步骤流程图。在本实施例中,所述图像处理的方法包括:Referring to FIG. 1, a flow chart of steps of a method for image processing in Embodiment 1 of the present application is shown. In this embodiment, the method for image processing includes:
步骤102,根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次。Step 102: Determine a scene scene level of each sub-area according to brightness statistical information of the plurality of sub-areas in the framing area.
在本实施例中,可以根据镜头(摄像头)视野范围内的景物的边界情况确定所述取景区域,然后按照一定的标准,将所述取景区域划分为多个子区域。本领域技术人员应当明了的是,可以采用任意一种适当的方式对所述取景区域进行划分。例如,按照等分原则,将取景区域等分为3x3个子区域、或4x4个子区域、或9x9个子区域等等。又例如,可以以预置的多个横纵坐标值(Xi,Yj)为原点做正交线,将所述取景区域分割为多个子区域;其中,i≥1,j≥1。In this embodiment, the framing area may be determined according to the boundary condition of the scene in the field of view of the lens (camera), and then the framing area is divided into a plurality of sub-areas according to a certain standard. It should be apparent to those skilled in the art that the framing area can be divided in any suitable manner. For example, according to the principle of division, the framing area is equally divided into 3x3 sub-areas, or 4x4 sub-areas, or 9x9 sub-areas, and the like. For another example, the framing area may be divided into a plurality of sub-areas by using a preset plurality of horizontal and vertical coordinate values (Xi, Yj) as an origin, wherein i≥1, j≥1.
在本实施例中,所述多个子区域的亮度统计信息包括但不仅限于:各个子区域所对应的亮度值(luma)、曝光行数(linecnt)和感光度值(gain)之间的对应关系。In this embodiment, the brightness statistics of the plurality of sub-areas include, but are not limited to, a correspondence between a brightness value (luma), an exposure line number (linecnt), and a sensitivity value (gain) corresponding to each sub-area. .
一般地,照片的亮度信息可以通过亮度值来体现,如,亮度值越大,照 片越亮,反之,则照片越暗。而亮度值是可以通过曝光行数和/或感光度来进行调节的,一般地,亮度值与曝光行数和感光度值呈正比关系,也即,曝光行数和/或感光度值增加,则亮度值增加。进一步地,亮度值与曝光行数和/或感光度值之间的变化曲线(趋势、幅度)可以间接地反映出景物场景层次,例如:Generally, the brightness information of a photo can be represented by a brightness value, for example, the greater the brightness value, the photo The brighter the film, the darker the photo. The brightness value can be adjusted by the number of exposure lines and/or the sensitivity. Generally, the brightness value is proportional to the number of exposure lines and the sensitivity value, that is, the number of exposure lines and/or the sensitivity value increases. Then the brightness value increases. Further, the change curve (trend, amplitude) between the brightness value and the exposure line number and/or the sensitivity value may indirectly reflect the scene scene level, for example:
1、若在当前子区域,亮度值随感光度值的改变而立即发生改变(如,感光度值增加1倍,亮度值也随之增加1倍),也即,亮度值随感光度值的变化幅度较大(变化剧烈、亮度与感光度的曲线斜率大),则可以确定当前子区域为可以被闪光灯照射到的地方,也即为近景。1. If in the current sub-area, the brightness value changes immediately with the change of the sensitivity value (for example, the sensitivity value is increased by 1 time, the brightness value is also increased by 1 time), that is, the brightness value varies with the sensitivity value. Larger (strongly changing, the slope of the curve of brightness and sensitivity is large), it can be determined that the current sub-area is the place that can be illuminated by the flash, that is, the close-up.
2、若在当前子区域,感光度值改变时,亮度值基本不发生变化(亮度与感光度的曲线斜率基本为0),则可以确定当前子区域为闪光灯照射不到的地方,也即为远景。2. If the brightness value does not change substantially when the sensitivity value changes in the current sub-area (the slope of the curve of brightness and sensitivity is basically 0), it can be determined that the current sub-area is not illuminated by the flash, that is, Vision.
3、若在当前子区域,亮度值随感光度值的改变而缓慢变化(如,感光度值增加1倍,亮度值随之仅增加0.2倍),也即,亮度值随感光度值的变化幅度较小(变化平缓、亮度与感光度的曲线斜率小),则可以确定当前子区域为可以被闪光灯照射到但是照射不强烈(亮度较小、较暗的地方),也即为介于近景和远景之间的中景。3. If the brightness value changes slowly with the change of the sensitivity value in the current sub-area (for example, the sensitivity value is increased by 1 time, the brightness value is only increased by 0.2 times), that is, the brightness value changes with the sensitivity value. Small (smooth change, small slope of brightness and sensitivity curve), you can determine that the current sub-area is illuminable by the flash but the illumination is not strong (lighter, darker), that is, close to and far view Medium shot between.
同样地,亮度值与曝光行数之间的变化曲线(趋势、幅度)也可以间接地反映出景物场景层次,如,若当前子区域的亮度值随曝光行数的改变而大幅度改变,则当前子区域为近景;若当前子区域的亮度值不随曝光行数的改变而改变(或,改变较小),则当前子区域为远景;若当前子区域的亮度值随曝光行数的改变而缓慢变化,则当前子区域为中景。Similarly, the curve (trend, amplitude) between the brightness value and the number of exposure lines can also indirectly reflect the scene scene level, for example, if the brightness value of the current sub-area changes greatly with the number of exposure lines, then The current sub-area is a close-up; if the brightness value of the current sub-area does not change with the change of the number of exposure lines (or the change is small), the current sub-area is a distant view; if the brightness value of the current sub-area changes with the number of exposure lines Slowly changing, the current sub-area is medium.
由上可知,在本实施例中,可以根据取景区域内的多个子区域的亮度统计信息可以分别确定各个子区域的景物场景层次。当然,本领域技术人员应当明了的是,在本实施例中,景物场景层次并不仅限于上述的远、中、近三个层次的场景。可以根据预置景物场景层次判断规则,结合各个子区域的亮度统计信息确定任意适当数量的景物场景层次。It can be seen from the above that in the embodiment, the scene scene level of each sub-area can be separately determined according to the brightness statistical information of the plurality of sub-areas in the framing area. Of course, it should be understood by those skilled in the art that in this embodiment, the scene scene level is not limited to the above-mentioned scenes of the far, middle, and near levels. The appropriate scene scene level can be determined according to the preset scene scene level determination rule and the brightness statistical information of each sub-area.
步骤104,根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值。 Step 104: Determine the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
在本实施例中,为了保证各个景物场景层次的亮度要求,可以选择不同的电流值进行曝光。例如,若确定取景区域内的多个子区域分别对应三个景物场景层次(远、中、近),则可以进行至少三次曝光过程,且:第一次曝光时对应选择的电流值可以是与远景层次相适应的第一电流值;第二次曝光时对应选择的电流值可以是与中景层次相适应的第二电流值;第三次曝光时对应选择的电流值可以是与近景层次相适应的第三电流值。In this embodiment, in order to ensure the brightness requirements of each scene scene level, different current values may be selected for exposure. For example, if it is determined that the plurality of sub-regions in the framing area correspond to three scene scene levels (far, medium, and near) respectively, at least three exposure processes may be performed, and: the corresponding selected current value may be a vista with the first exposure. The first current value adapted to the level; the corresponding current value selected in the second exposure may be a second current value adapted to the middle level; the corresponding selected current value in the third exposure may be adapted to the close-range level The third current value.
步骤106,根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片。Step 106: Perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of pre-processed pictures that match the scene scene level.
步骤108,按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。Step 108: Synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
综上所述,本申请实施例所述的一种图像处理的方法,可以根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次,然后根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值,根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片,最后按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。可见,在申请本实施例中,可以根据整个取景区域中的各个子区域中的景物的场景层次进行多次曝光拍摄,使整个取景区域中的各个子区域都得到其所需要的曝光值,达到合适的亮度,最后从每次曝光拍摄得到的预处理图片中提取出各个子区域所对应的最佳亮度值的图片进行合成,得到目标图片,保证了拍摄得到的目标图片中的各个部分的图像都是清楚的,提高了整张目标图片的清晰度、分辨率,使得整张目标图片更加生动,更具欣赏价值。In summary, an image processing method according to an embodiment of the present application may separately determine a scene scene level of each sub-area according to brightness statistical information of a plurality of sub-areas in the framing area, and then according to the determined sub-areas The scene scene level determines the number of exposures and the current value corresponding to each exposure, and performs multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of preprocessed pictures matching the scene scene level. Finally, the plurality of pre-processed pictures are synthesized according to the scene scene level of the plurality of sub-areas to obtain a target picture. It can be seen that, in the application embodiment, multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value. Appropriate brightness, finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
实施例二Embodiment 2
参照图2,示出了本申请实施例二中一种图像处理的方法的步骤流程图。在本实施例中,所述图像处理的方法可以但不仅限于由移动终端来实现,例如还可以通过设置在移动终端中的设定模块/组件来实现,或者由设置在移动终端中的设定应用来实现,又或者,还可以由相机等拍照/摄像装置来实现。Referring to FIG. 2, a flow chart of steps of a method for image processing in Embodiment 2 of the present application is shown. In this embodiment, the method of image processing may be implemented by, but not limited to, by a mobile terminal, for example, by a setting module/component provided in the mobile terminal, or by setting in the mobile terminal. The application is implemented, or alternatively, it can be realized by a camera/camera such as a camera.
其中,所述图像处理的方法可以包括:The method for image processing may include:
步骤202,移动终端根据取景区域内的多个子区域的亮度统计信息分别 确定各个子区域的景物场景层次。Step 202: The mobile terminal separately calculates brightness statistics according to multiple sub-areas in the framing area. Determine the scene scene hierarchy for each sub-area.
在本实施例中,所述多个子区域的亮度统计信息包括但不仅限于:各个子区域所对应的亮度值、曝光行数和感光度值之间的对应关系。In this embodiment, the brightness statistics of the plurality of sub-areas include, but are not limited to, a correspondence between a brightness value, an exposure line number, and a sensitivity value corresponding to each sub-area.
优选地,所述步骤202可以包括如下子步骤:Preferably, the step 202 may include the following sub-steps:
子步骤2022,移动终端根据各个子区域下的亮度值、曝光行数和感光度值之间的对应关系,分别确定各个子区域下的亮度值与曝光行数和/或感光度值的比值结果。Sub-step 2022, the mobile terminal determines the ratio of the brightness value and the exposure line number and/or the sensitivity value under each sub-area according to the correspondence between the brightness value, the exposure line number and the sensitivity value under each sub-area. .
在本实施例中,为了便于描述,一种可行的方式可以将亮度值、曝光行数和感光度值之间的对应关系表示为如下关系:luma=k1·linecnt+k2·gain,其中,k1和k2可以为任意适当的取值,本实施例对此不作限制。In the present embodiment, for convenience of description, a feasible manner can express the correspondence between the luminance value, the number of exposure lines, and the sensitivity value as follows: luma=k1·linecnt+k2·gain, where k1 And k2 can be any suitable value, which is not limited in this embodiment.
需要说明的是,每个子区域对应的k1和/或k2的值是不完全同的,如,子区域1对应的k1和k2可以均为10,子区域2对应的k1可以为0.5,k2可以为0.3。其中,k1可以用于表示亮度值与曝光行数之间的比值结果;k2可以用于表示亮度值与感光度值之间的比值结果。所述亮度值与曝光行数之间的比值结果、和/或所述亮度值与感光度值之间的比值结果可以用于确定子区域的景物场景层次,具体地可以参照下述子步骤:It should be noted that the values of k1 and/or k2 corresponding to each sub-area are not completely the same. For example, k1 and k2 corresponding to sub-area 1 may be 10, and k1 corresponding to sub-area 2 may be 0.5, k2 may Is 0.3. Where k1 can be used to represent the ratio result between the luminance value and the number of exposure lines; k2 can be used to represent the ratio result between the luminance value and the sensitivity value. The result of the ratio between the brightness value and the number of exposure lines, and/or the ratio between the brightness value and the sensitivity value may be used to determine a scene scene level of the sub-area, specifically referring to the following sub-steps:
子步骤2024,移动终端将所述比值结果与预置的景物场景层次划分标准进行比对,确定各个子区域的景物场景层次。Sub-step 2024, the mobile terminal compares the ratio result with a preset scene scene hierarchy criterion to determine a scene scene level of each sub-area.
例如,以亮度值与感光度值之间的比值为例进行说明,当亮度值与感光度值之间的比值(k2)为10时,可以确定当前子区域的景物场景层次为中景,当亮度值与感光度值之间的比值(k2)为1时,可以确定当前子区域的景物场景层次为中景,当亮度值与感光度值之间的比值(k2)为0.1时,可以确定当前子区域的景物场景层次为远景。当然,上述比值与景物场景层次的对应关系仅为示例性说明,不应作为对本申请的限制。For example, taking the ratio between the luminance value and the sensitivity value as an example, when the ratio (k2) between the luminance value and the sensitivity value is 10, it can be determined that the scene scene level of the current sub-region is the medium scene, when When the ratio (k2) between the brightness value and the sensitivity value is 1, it can be determined that the scene scene level of the current sub-area is the medium scene, and when the ratio (k2) between the brightness value and the sensitivity value is 0.1, it can be determined. The scene scene level of the current sub-area is a distant view. Of course, the correspondence between the above ratio and the scene scene level is merely exemplary and should not be construed as limiting the application.
此外,本领域技术人员应当明了的是,根据亮度值与曝光行数之间的比值也可以确定景物场景层次,在此不再赘述。In addition, it should be understood by those skilled in the art that the scene scene level can also be determined according to the ratio between the brightness value and the number of exposure lines, and details are not described herein again.
步骤204,移动终端根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值。Step 204: The mobile terminal determines the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
例如,以十个子区域为例进行说明,如前实施例一中所述的方案,可以 按照一定的标准,将取景区域划分为多个子区域,如,将取景区域划分为十个子区域;进一步地,根据所述十个子区域的亮度统计信息可以确定所述十个子区域的景物场景层次如下:编号为01-03的子区域的景物场景层次为近景,编号为04-08的子区域的景物场景层次为中景,编号为09-10的子区域的景物场景层次为远景。根据确定的三个景物场景层次(远、中、近景),可以选择进行三次曝光(也即,确定曝光次数为3次)。其中,第一次曝光选择的曝光电流可以是与近景相匹配的第一电流,第二次曝光选择的曝光电流可以是与中景相匹配的第二电流,第三次曝光选择的曝光电流可以是远景相匹配的第三电流。For example, taking ten sub-areas as an example for description, as described in the first embodiment, According to a certain standard, the framing area is divided into a plurality of sub-areas, for example, the framing area is divided into ten sub-areas; further, according to the brightness statistics of the ten sub-areas, the scene scene level of the ten sub-areas can be determined as follows : The scene scene level of the sub-area numbered 01-03 is the close-up scene, the scene scene level of the sub-area numbered 04-08 is the medium scene, and the scene scene level of the sub-area numbered 09-10 is the distant view. According to the determined three scene scene levels (distance, medium, and close-up), three exposures can be selected (that is, the number of exposures is determined to be 3 times). Wherein, the exposure current selected by the first exposure may be a first current matched to the close-up, the exposure current selected by the second exposure may be a second current matching the medium scene, and the exposure current selected by the third exposure may be It is the third current that matches the vision.
步骤206,移动终端根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片。Step 206: The mobile terminal performs multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, to obtain a plurality of preprocessed pictures that match the scene scene level.
如前所述,可以分别使用第一电流、第二电流和第三电流进行三次曝光,依次得到使用第一电流进行曝光拍摄的与近景相匹配的预处理图片1、使用第二电流进行曝光拍摄的与中景相匹配的预处理图片2、和使用第三电流进行曝光拍摄的与远景相匹配的预处理图片3。As described above, the first current, the second current, and the third current may be used to perform three exposures, respectively, to sequentially obtain a pre-processed picture matching the close-up shot using the first current for exposure shooting, and using the second current for exposure shooting. The pre-processed picture 2 matching the medium scene, and the pre-processed picture 3 matched with the distant view using the third current for exposure shooting.
步骤208,移动终端按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。Step 208: The mobile terminal synthesizes the plurality of pre-processed pictures according to the scene scene level of the plurality of sub-areas to obtain a target picture.
在本实施例中,优选地,上述步骤208可以包括如下子步骤:In this embodiment, preferably, the foregoing step 208 may include the following sub-steps:
子步骤2802,移动终端根据各个子区域对应的场景层次选择相匹配的预处理图片,并从相匹配的预处理图片中提取出各个子区域各自对应的子图片。Sub-step 2802, the mobile terminal selects the matched pre-processed picture according to the scene level corresponding to each sub-area, and extracts the sub-picture corresponding to each sub-area from the matched pre-processed picture.
需要说明的是,在相匹配的预处理图片中提取出各个子区域各自对应的子图片时,以01子区域为例进行说明,一种可行的方式可以如下:首先,选择01子区域(近景)所对应的预处理图片1(使用第一电流进行曝光拍摄的与近景相匹配的预处理图片);然后,确定01子区域在预处理图片1中所对应的位置(预处理图片中的01′子区域);最后,截取预处理图片1中的01′子区域的图片作为所述01子区域对应的子图片。可以采用上述方式依次(或异步处理)得到各个子区域各自对应的子图片。It should be noted that when the sub-pictures corresponding to the respective sub-areas are extracted in the matched pre-processed picture, the 01 sub-area is taken as an example for description. One feasible way may be as follows: First, select the 01 sub-area (close-up view) Corresponding pre-process picture 1 (pre-processed picture matching the close-up shot using the first current for exposure shooting); then, determining the position of the 01 sub-area in the pre-processed picture 1 (01 in the pre-processed picture) 'Sub-region>; Finally, the picture of the 01' sub-area in the pre-process picture 1 is intercepted as the sub-picture corresponding to the 01 sub-area. The sub-pictures corresponding to the respective sub-areas can be obtained sequentially (or asynchronously) in the above manner.
在本实施例中,01-03子区域需要从对应的预处理图片1中提取得到对 应的子图片、04-08子区域需要从对应的预处理图片2中提取得到对应的子图片、09-10子区域需要从对应的预处理图片3中提取得到对应的子图片。In this embodiment, the 01-03 sub-area needs to be extracted from the corresponding pre-process picture 1 The sub-picture and the 04-08 sub-area need to be extracted from the corresponding pre-processed picture 2 to obtain the corresponding sub-picture, and the 09-10 sub-area needs to extract the corresponding sub-picture from the corresponding pre-processed picture 3.
子步骤2084,移动终端将提取得到的各个子区域各自对应的子图片进行合成,得到所述目标图片。Sub-step 2084, the mobile terminal synthesizes the sub-pictures corresponding to each of the extracted sub-regions to obtain the target picture.
如前所述,可以从预处理图片1中依次提取出01-03子区域各自对应的子图片01-03,从预处理图片2中依次提取出04-08子区域各自对应的子图片04-08,从预处理图片3中依次提取出09-10子区域各自对应的子图片09-10;然后,将子图片01-10按照上述十个子区域的排列顺序进行组合,得到所述目标图片。As described above, the sub-pictures 01-03 corresponding to the 01-03 sub-areas may be sequentially extracted from the pre-processed picture 1, and the sub-pictures 04- corresponding to the 04-08 sub-areas are sequentially extracted from the pre-processed picture 2. 08. The sub-pictures 09-10 corresponding to the 09-10 sub-areas are sequentially extracted from the pre-processed picture 3; then, the sub-pictures 01-10 are combined in the order of the ten sub-areas described above to obtain the target picture.
在本实施例的一优选方案中,可以通过如下步骤确定取景区域内的多个子区域的亮度统计信息:In a preferred embodiment of the embodiment, the brightness statistics of the plurality of sub-areas in the framing area may be determined by the following steps:
第一步,移动终端按照第一设定规则对感光度值和/或曝光行数进行一次调节。In the first step, the mobile terminal adjusts the sensitivity value and/or the number of exposure lines once according to the first setting rule.
本领域技术人员可以采用任意一种适当的规则来对感光度值和/或曝光行数进行调节。One skilled in the art can use any suitable rule to adjust the sensitivity value and/or the number of exposure lines.
例如,一较佳地,可以通过如下一种可行的方式来进行感光度值和/或曝光行数的调节:For example, preferably, the sensitivity value and/or the number of exposure lines can be adjusted by one of the following possible ways:
移动终端在感光度值小于等于最大阈值时,按照第一设定步长依次增加感光度值的大小;和,在感光度值等于最大阈值时,按照第二设定步长依次增加曝光行数的大小;When the sensitivity value is less than or equal to the maximum threshold, the mobile terminal sequentially increases the magnitude of the sensitivity value according to the first set step size; and, when the sensitivity value is equal to the maximum threshold, sequentially increases the number of exposure lines according to the second set step size the size of;
和/或,and / or,
移动终端在感光度值大于等于最小阈值时,按照第三设定步长依次减小感光度值的大小;和,在感光度值等于最小阈值时,按照第四设定步长依次减小曝光行数的大小。When the sensitivity value is greater than or equal to the minimum threshold, the mobile terminal sequentially decreases the magnitude of the sensitivity value according to the third set step size; and, when the sensitivity value is equal to the minimum threshold, sequentially decreases the exposure according to the fourth set step size The size of the number of rows.
需要说明的是,所述第一设定步长、第二设定步长、第三设定步长和第四设定步长可以根据实际情况选择任意适当的值,且,所述第一设定步长、第二设定步长、第三设定步长和第四设定步长的值可以相同,也可以根据实际情况自由选择。以第一设定步长为例进行说明,可以以0.1倍基准值(预置的感光度值或在预闪时对应的感光度值)作为所述第一设定步长进行感光 度值的调节。It should be noted that, the first setting step, the second setting step, the third setting step, and the fourth setting step may select any appropriate value according to actual conditions, and the first The set step size, the second set step size, the third set step size, and the fourth set step size may be the same, or may be freely selected according to actual conditions. Taking the first set step as an example, the first set step can be used as the first set step with a 0.1 times reference value (a preset sensitivity value or a corresponding sensitivity value at the pre-flash). Adjustment of the degree.
进一步优选地,以基准值进行调节的方式可以如下:Further preferably, the manner of adjusting with the reference value may be as follows:
移动终端将预先处理得到的第一感光度值和/或确定的第一曝光行数作为调节初始值,对感光度值和/或曝光行数进行至少一次调节。The mobile terminal adjusts the sensitivity value and/or the number of exposure lines at least once by using the first sensitivity value obtained in advance and/or the determined first exposure line number as the adjustment initial value.
其中,第一感光度值可以是gain对应的调节初始值(基准值),第一曝光行数可以是linecnt对应的调节初始值(基准值)。以所述第一感光度值和/或第一曝光行数为调节初始值进行感光度值和/或曝光行数的调节。The first sensitivity value may be an adjustment initial value (reference value) corresponding to gain, and the first exposure line number may be an adjustment initial value (reference value) corresponding to the linecnt. The adjustment of the sensitivity value and/or the number of exposure lines is performed by using the first sensitivity value and/or the first exposure line number as an adjustment initial value.
优选地,在本实施例中,一种可行的得到第一感光度值和/或第一曝光行数的方式可以如下:移动终端在闪光灯预闪时,记录当预闪亮度值满足预置标准亮度值时对应的感光度值和/或曝光行数;并,将记录的在预闪亮度值满足预置标准亮度值时对应的感光度值和/或曝光行数确定为所述第一感光度值和/或第一曝光行数。Preferably, in this embodiment, a feasible manner of obtaining the first sensitivity value and/or the first exposure line number may be as follows: when the flash terminal is pre-flashed, the mobile terminal records that the pre-flash value satisfies the preset. The sensitivity value and/or the number of exposure lines corresponding to the standard brightness value; and determining the corresponding sensitivity value and/or the number of exposure lines when the pre-brightness value satisfies the preset standard brightness value as the number A sensitivity value and/or a number of first exposure lines.
第二步,移动终端分别对每次调节后各个子区域的调节结果进行统计记录,得到多个统计结果。In the second step, the mobile terminal separately records the adjustment results of each sub-area after each adjustment, and obtains multiple statistical results.
在本实施例中,各个子区域的各个统计结果中包括:每次调节结束后各个子区域所对应的感光度值、曝光行数和亮度值。In this embodiment, each of the statistical results of each sub-area includes: a sensitivity value, an exposure line number, and a brightness value corresponding to each sub-area after each adjustment.
第三步,移动终端根据各个子区域各自对应的多个统计结果的平均值,分别确定各个子区域的亮度统计信息。In the third step, the mobile terminal determines the brightness statistics of each sub-area according to the average of the plurality of statistical results corresponding to each sub-area.
在本实施例中,由于进行了多次感光度值和/或曝光行数的调节,而每次调节,每个子区域均对应有一个统计结果。如,进行三次调节,则01-10子区域均各自对应有三次统计结果。为了提高判断的准确性,针对各个子区域,可以将各个子区域各自对应的多个统计结果的平均值作为各个子区域对应的亮度统计信息。In the present embodiment, since the adjustment of the sensitivity value and/or the number of exposure lines is performed a plurality of times, each sub-area corresponds to one statistical result for each adjustment. For example, if three adjustments are made, the 01-10 sub-regions each have three statistical results. In order to improve the accuracy of the determination, for each sub-region, the average of the plurality of statistical results corresponding to each sub-region may be used as the luminance statistical information corresponding to each sub-region.
在本实施例的另一优选方案中,所述方法还可以包括如下步骤210。其中,所述步骤210可以但不仅限于在上述步骤202之前执行。In another preferred embodiment of the embodiment, the method may further include the following step 210. The step 210 may be performed, but not limited to, before the step 202 above.
步骤210,移动终端按照预置划分标准,将通过镜头选取确定的取景区域划分为多个子区域。Step 210: The mobile terminal divides the framing area determined by the lens selection into a plurality of sub-areas according to a preset division criterion.
综上所述,本申请实施例所述的一种图像处理的方法,可以根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次,然 后根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值,根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片,最后按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。可见,在本申请实施例中,可以根据整个取景区域中的各个子区域中的景物的场景层次进行多次曝光拍摄,使整个取景区域中的各个子区域都得到其所需要的曝光值,达到合适的亮度,最后从每次曝光拍摄得到的预处理图片中提取出各个子区域所对应的最佳亮度值的图片进行合成,得到目标图片,保证了拍摄得到的目标图片中的各个部分的图像都是清楚的,提高了整张目标图片的清晰度、分辨率,使得整张目标图片更加生动,更具欣赏价值。In summary, an image processing method according to an embodiment of the present application may separately determine a scene scene level of each sub-area according to brightness statistical information of a plurality of sub-areas in the framing area, Then, according to the determined scene scene level of each sub-area, the number of exposures and the current value corresponding to each exposure are determined, and multiple exposures are performed according to the determined number of exposures and the current value corresponding to each exposure, and the scene level is obtained. Matching a plurality of pre-processed pictures, and finally synthesizing the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture. It can be seen that, in the embodiment of the present application, multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value. Appropriate brightness, finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
实施例三Embodiment 3
结合上述实施例,本实施例以一次拍摄过程的具体处理流程为例对所述图像处理的方法进行详细说明。参照图3,示出了本申请实施例三中一种拍摄过程的步骤流程图。在本实施例中,所述拍摄过程的步骤可以如下:In the embodiment, the method for image processing is described in detail by taking a specific processing flow of one shooting process as an example. Referring to FIG. 3, a flow chart of steps in a shooting process in Embodiment 3 of the present application is shown. In this embodiment, the steps of the shooting process may be as follows:
步骤302,将镜头内的取景区域划分为4x4个子区域。In step 302, the framing area in the lens is divided into 4×4 sub-areas.
参照图4,示出了本申请实施例三中一种取景区域划分的示意图。在本实施例中,优选地,可以但不仅限于将取景区域划分为4x4个子区域:子区域001~016。Referring to FIG. 4, a schematic diagram of a framing area division in Embodiment 3 of the present application is shown. In the present embodiment, preferably, the viewfinder area may be divided into 4x4 sub-areas: sub-areas 001-016.
步骤304,调用LED闪光灯进行预闪,进行曝光测算,确定在预闪过程中,预闪亮度值满足预置标准亮度值时对应的感光度值和曝光行数。In step 304, the LED flash is called to perform pre-flash, and the exposure measurement is performed to determine the sensitivity value and the number of exposure lines when the pre-flash value satisfies the preset standard brightness value during the pre-flash process.
在本实施例中,预置标准亮度值可以是一个提前设置的预置标准亮度值(如,luma1),可以通过修改感光度值(gain)和曝光行数(linecnt)使当前亮度值达到所述预置标准亮度值(luma1)。例如,当当前亮度值满足luma1时,对应的感光度值和曝光行数可以分别记作gain1和linecnt1。将luma1、gain1和gain1的对应关系记录下来。如,luma1=k1·gain1+k2·linecnt1。In this embodiment, the preset standard brightness value may be a preset standard brightness value (eg, luma1) set in advance, and the current brightness value may be achieved by modifying the sensitivity value (gain) and the exposure line number (linecnt). Preset standard brightness value (luma1). For example, when the current brightness value satisfies luma1, the corresponding sensitivity value and the number of exposure lines can be recorded as gain1 and linecnt1, respectively. Record the correspondence between luma1, gain1 and gain1. For example, luma1=k1·gain1+k2·linecnt1.
优选地,可以通过如下一种可行的方式来进行感光度值和曝光行数的修改:Preferably, the sensitivity value and the number of exposure lines can be modified by one of the following possible ways:
在本实施例中,可以基于一个预置的标准table索引表中记录的感光度值和曝光行数来进行亮度值和曝光行数的调节。如表1,示出了本申请实施 例三中一种预置的标准table索引表的示意图:In the present embodiment, the adjustment of the luminance value and the number of exposure lines can be performed based on the sensitivity value and the number of exposure lines recorded in a preset standard table index table. As shown in Table 1, the implementation of the present application is shown. A schematic diagram of a preset standard table index table in Example 3:
Figure PCTCN2016079277-appb-000001
Figure PCTCN2016079277-appb-000001
表1Table 1
优选地,可以优先选择如表1中所示的数值进行组合(表1中记录的gain与linecnt),以使亮度稳定下来(也即,当前亮度值且满足预置标准亮度值)。例如,标准亮度值为100,记录在当前亮度值达到100时,对应选择的感光度值和曝光行数,如,对应的感光度值为50、曝光行数为1000,也即,可以有如下对应关系{100,50,1000}。需要说明的是,表1中的数值以及标准亮度值的大小(100)和确定的对应关系{100,50,1000}仅为示例性说明。当然,本领域技术人员应当明了的是,采用table索引表中给定的数值进行感光度值和曝光行数的修改,可以提高效率,快速将亮度值调整到预置标准亮度值。但是感光度值和曝光行数的修改并不仅限于参照table索引表中给定的数值,也可以根据实际情况选取任意适当数值进行感光度值和曝光行数的调整。Preferably, the values as shown in Table 1 can be preferentially combined (gain and linecnt recorded in Table 1) to stabilize the brightness (i.e., the current brightness value and satisfy the preset standard brightness value). For example, the standard brightness value is 100, and when the current brightness value reaches 100, the corresponding sensitivity value and the number of exposure lines are correspondingly selected, for example, the corresponding sensitivity value is 50, and the number of exposure lines is 1000, that is, the following may be Correspondence relationship {100, 50, 1000}. It should be noted that the numerical values in Table 1 and the size (100) of the standard luminance values and the determined correspondence {100, 50, 1000} are merely illustrative. Of course, it should be apparent to those skilled in the art that the sensitivity values and the number of exposure lines can be modified by using the values given in the table index table to improve the efficiency and quickly adjust the brightness values to the preset standard brightness values. However, the modification of the sensitivity value and the number of exposure lines is not limited to the value given in the table index table, and any appropriate value may be selected according to the actual situation to adjust the sensitivity value and the number of exposure lines.
步骤306,根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次。Step 306: Determine a scene scene level of each sub-area according to brightness statistical information of the plurality of sub-areas in the framing area.
如前所述,记录了在预闪过程中,在当前亮度值满足预置标准亮度值时,亮度值与感光度值和曝光行数之间的对应关系为:{100,50,1000}。优选地,可以以所述对应关系{100,50,1000}中记录的感光度值50和曝光行数1000为初始值进行感光度值和曝光行数的调节。As described above, in the pre-flash process, when the current luminance value satisfies the preset standard luminance value, the correspondence between the luminance value and the sensitivity value and the number of exposure lines is: {100, 50, 1000}. Preferably, the sensitivity value and the number of exposure lines can be adjusted with the sensitivity value 50 and the exposure line number 1000 recorded in the correspondence relationship {100, 50, 1000} as initial values.
例如,可以以0.1倍初始值(50)作为调节步长对感光度值进行调节,换而言之,可以按如下递增/递减规律进行调节:…0.8x50←0.9x50←50→1.1x50→1.2x50…。记录下在每次调节过程中,感光度值与亮度值的对应关系(对应数值)。需要说明的是,在感光度值调节过程中,在感光度值达到最大值(如上述表1中所述的最大值max=65)或达到最小值(如上述表1中所述的最小值min=35)之前,曝光行数可以保持不变。然而,若感光度 值的调节已经达到最大值或最小值时仍不能满足亮度要求,则可以进一步调节曝光行数的大小,并记录每次调节过程中,亮度值与感光度值和曝光行数之间的对应关系(对应数值)。当然,感光度值和曝光行数也可以同时进行调节,本实施例对此不作限制。For example, the sensitivity value can be adjusted by using 0.1 times the initial value (50) as the adjustment step size. In other words, the adjustment can be made according to the following increment/decrement rule: ... 0.8x50←0.9x50←50→1.1x50→1.2 X50.... Record the correspondence between the sensitivity value and the brightness value (corresponding value) during each adjustment. It should be noted that during the sensitivity value adjustment process, the sensitivity value reaches a maximum value (such as the maximum value max=65 described in Table 1 above) or reaches a minimum value (such as the minimum value described in Table 1 above). Before min=35), the number of exposure lines can remain unchanged. However, if sensitivity If the adjustment of the value has reached the maximum or minimum value and the brightness requirement cannot be satisfied, the size of the exposure line can be further adjusted, and the correspondence between the brightness value and the sensitivity value and the number of exposure lines in each adjustment process is recorded. (corresponding to the value). Of course, the sensitivity value and the number of exposure lines can also be adjusted at the same time, which is not limited in this embodiment.
下面以一个子区域001的亮度统计信息的确定流程,以及根据所述确定亮度统计信息确定子区域001的景物场景层次的流程为例进行说明,在感光度值和/或曝光行数的多次调节过程中,分别记录下了每次调节后子区域001处的亮度变化情况,如,每次调节后的亮度变化情况可以如下:The flow of determining the brightness statistical information of the sub-area 001 and the process of determining the scene scene level of the sub-area 001 according to the determined brightness statistical information are described as an example, and the sensitivity value and/or the number of exposure lines are multiple times. During the adjustment process, the brightness changes in the sub-area 001 after each adjustment are recorded separately. For example, the brightness change after each adjustment can be as follows:
Figure PCTCN2016079277-appb-000002
Figure PCTCN2016079277-appb-000002
根据上述统计情况可见,在调节过程中,曝光行数(linecnt)是没有变化的,也即,在本实施例中,是通过对感光度值的调节来使亮度值发生变化的,因此,在此可以暂时忽略曝光行数(linecnt)的变化。根据上述统计请求,可以确定在四次调节过程中,亮度值与感光度值之间的比值结果依次为:10倍、9倍、11倍和10倍;优选地,可以取四个比值结果(10倍、9倍、11倍和10倍)的平均值(10倍),将所述平均值确定为子区域001的亮度统计信息。进而可以确定的子区域001的亮度统计信息与预置的景物场景层次划分标准进行比对,确定子区域001的景物场景层次确定为中景(仅是实例性说明,可以根据实际的物场景层次划分标准确定子区域001的景物场景层次)。According to the above statistical situation, in the adjustment process, the number of exposure lines (linecnt) is unchanged, that is, in the embodiment, the brightness value is changed by adjusting the sensitivity value, and therefore, This can temporarily ignore the change in the number of exposure lines (linecnt). According to the above statistical request, it can be determined that in the four adjustment processes, the ratio between the luminance value and the sensitivity value is sequentially: 10 times, 9 times, 11 times, and 10 times; preferably, four ratio results can be taken ( The average value (10 times) of 10 times, 9 times, 11 times, and 10 times) is determined as the brightness statistical information of the sub-area 001. Further, the brightness statistical information of the sub-area 001 that can be determined is compared with a preset scene scene division standard, and the scene scene level of the sub-area 001 is determined to be the medium scene (only an example description, which may be based on the actual object scene level) The division criterion determines the scene scene level of the sub-area 001).
本领域技术人员应当明了的是,其他子区域的景物场景层次的确定流程可以参照上述子区域001的景物场景层次的确定流程,不再一一说明。例如,最终确定的景物场景层次可以如下:近景:子区域005~008;中景:子区域001~004;远景:子区域009~012;超远景:子区域013~016。It should be understood by those skilled in the art that the process of determining the scene scene level of other sub-areas can refer to the determination process of the scene scene level of the above sub-area 001, and will not be described one by one. For example, the final scene level of the scene can be as follows: close-up: sub-area 005-008; medium-level: sub-area 001-004; distant view: sub-area 009-012; super-distant: sub-area 013-016.
步骤308,根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值。 Step 308: Determine the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
如前所述,在本实施例中,共确定了4个景物场景层次,则,优选地,至少可以选择4次曝光:第一次曝光可以对应选择与近景相匹配的0.9I的电流值(I为标准电流值),第二次曝光可以对应选择与中景相匹配的1.0I的电流值,第三次曝光可以对应选择与远景相匹配的1.5I的电流值,第四次曝光可以对应选择与超远景相匹配的2.0I的电流值。当然,本领域技术人员应当明了的是,上述电流的取值仅是示例性说明,具体地电流值可以根据实际情况选择。As described above, in the present embodiment, a total of four scene scene levels are determined, then, preferably, at least four exposures can be selected: the first exposure can correspondingly select a current value of 0.9I that matches the close scene ( I is the standard current value), the second exposure can correspond to the current value of 1.0I matched with the medium scene, and the third exposure can correspond to the current value of 1.5I matched with the foreground. The fourth exposure can correspond to Select the current value of 2.0I that matches the super-distant view. Of course, it should be understood by those skilled in the art that the value of the above current is only an exemplary description, and specifically, the current value may be selected according to actual conditions.
步骤310,根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片。Step 310: Perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of preprocessed pictures that match the scene scene level.
如前所述,在本实施例中,优选地,进行四次曝光,分别得到四张预处理图片:预处理图片1(近景图片)、预处理图片2(中景图片)、预处理图片3(远景图片)和预处理图片4(超远景图片)。As described above, in the present embodiment, preferably, four exposures are performed to obtain four pre-processed pictures: pre-processed picture 1 (close-up picture), pre-processed picture 2 (middle view picture), pre-processed picture 3 (distant picture) and pre-processed picture 4 (super-vision picture).
步骤312,按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。Step 312: Synthesize the plurality of preprocessed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
如前所述,在本实施例中,可以从预处理图片1(近景图片)中提取出子区域005~008(近景区域)位置处对应的子图片005~008;从预处理图片2(中景图片)中提取出子区域001~004(中景区域)位置处对应的子图片001~004;从预处理图片3(远景图片)中提取出子区域009~012(远景区域)位置处对应的子图片009~012;从预处理图片4(超远景图片)中提取出子区域013~016(超远景区域)位置处对应的子图片013~016。As described above, in this embodiment, the sub-pictures 005-008 corresponding to the sub-areas 005-008 (close-up area) positions can be extracted from the pre-processed picture 1 (close-up picture); In the scene picture), the sub-pictures 001 to 004 corresponding to the positions of the sub-areas 001 to 004 (middle-area area) are extracted; and the positions of the sub-areas 009 to 012 (distant areas) are extracted from the pre-processed picture 3 (distant picture) Sub-pictures 009 to 012; sub-pictures 013 to 016 corresponding to the positions of the sub-areas 013 to 016 (super-long-view areas) are extracted from the pre-processed picture 4 (super-far picture).
将提取得到的子图片001~016进行合成,得到合成图片,将所述合成图片作为最终的目标图片。The extracted sub-pictures 001 to 016 are combined to obtain a composite picture, and the synthesized picture is used as a final target picture.
综上所述,本申请实施例所述的一种图像处理的方法,可以根据亮度统计信息分别确定取景区域内的多个子区域的景物场景层次,然后根据确定的多个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值,根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片,最后按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。可见,在本申请实施例中,可以根据整个取景区域中的各个子区域中的景物的场景层次进行多次曝光 拍摄,使整个取景区域中的各个子区域都得到其所需要的曝光值,达到合适的亮度,最后从每次曝光拍摄得到的预处理图片中提取出各个子区域所对应的最佳亮度值的图片进行合成,得到目标图片,保证了拍摄得到的目标图片中的各个部分的图像都是清楚的,提高了整张目标图片的清晰度、分辨率,使得整张目标图片更加生动,更具欣赏价值。In summary, an image processing method according to an embodiment of the present application may separately determine a scene scene level of a plurality of sub-areas in the framing area according to the brightness statistical information, and then determine according to the determined scene scene level of the plurality of sub-areas. The number of exposures and the current value corresponding to each exposure are subjected to multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and multiple pre-processed pictures matching the scene scene level are obtained, and finally The scene scene level of each sub-area synthesizes the plurality of pre-processed pictures to obtain a target picture. It can be seen that, in the embodiment of the present application, multiple exposures may be performed according to the scene level of the scene in each sub-area in the entire framing area. Shooting, so that each sub-area in the entire framing area obtains the required exposure value to achieve the appropriate brightness, and finally extracts the optimal brightness value corresponding to each sub-area from the pre-processed image obtained by each exposure shot. The image is synthesized to obtain the target image, which ensures that the images of the various parts in the captured target image are clear, which improves the clarity and resolution of the entire target image, making the whole target image more vivid and more enjoyable. value.
需要说明的是,对于前述的方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请所必需的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence, because In accordance with the present application, certain steps may be performed in other sequences or concurrently. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present application.
实施例四Embodiment 4
基于与上述方法实施例同一发明构思,参照图5,示出了本申请实施例四中一种图像处理的装置的结构框图。在本实施例中,所述图像处理的装置包括:Based on the same inventive concept as the above method embodiment, referring to FIG. 5, a block diagram of a device for image processing in Embodiment 4 of the present application is shown. In this embodiment, the apparatus for image processing includes:
层次确定模块502,配置为取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次。The level determining module 502 is configured to determine brightness level information of the plurality of sub-areas in the framing area to determine the scene scene level of each sub-area.
其中,所述多个子区域的亮度统计信息包括:各个子区域所对应的亮度值、曝光行数和感光度值之间的对应关系。The brightness statistical information of the plurality of sub-areas includes: a correspondence relationship between a brightness value, an exposure line number, and a sensitivity value corresponding to each sub-area.
曝光确定模块504,配置为根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值。The exposure determination module 504 is configured to determine the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
预处理图片获取模块506,配置为根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片。The pre-processing picture obtaining module 506 is configured to perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of pre-processed pictures that match the scene scene level.
合成模块508,配置为按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。The synthesizing module 508 is configured to synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
综上所述,本申请实施例所述的一种图像处理的方法,可以根据亮度统计信息分别确定取景区域内的多个子区域的景物场景层次,然后根据确定的多个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值,根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物 场景层次相匹配的多张预处理图片,最后按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。可见,在申请本实施例中,可以根据整个取景区域中的各个子区域中的景物的场景层次进行多次曝光拍摄,使整个取景区域中的各个子区域都得到其所需要的曝光值,达到合适的亮度,最后从每次曝光拍摄得到的预处理图片中提取出各个子区域所对应的最佳亮度值的图片进行合成,得到目标图片,保证了拍摄得到的目标图片中的各个部分的图像都是清楚的,提高了整张目标图片的清晰度、分辨率,使得整张目标图片更加生动,更具欣赏价值。In summary, an image processing method according to an embodiment of the present application may separately determine a scene scene level of a plurality of sub-areas in the framing area according to the brightness statistical information, and then determine according to the determined scene scene level of the plurality of sub-areas. The number of exposures and the current value corresponding to each exposure are subjected to multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and the scene is obtained. The plurality of pre-processed pictures matched by the scene level are finally combined with the plurality of pre-processed pictures according to the scene scene level of the plurality of sub-areas to obtain the target picture. It can be seen that, in the application embodiment, multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value. Appropriate brightness, finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
实施例五Embodiment 5
参照图6,示出了本申请实施例五中一种图像处理的装置的结构框图。在本实施例中,所述图像处理的装置可以但不仅限于设置在移动终端中,例如,还可以设置在相机、摄像机等用于拍摄图片的设备中。Referring to FIG. 6, a structural block diagram of an apparatus for image processing in Embodiment 5 of the present application is shown. In this embodiment, the apparatus for image processing may be, but is not limited to, being disposed in a mobile terminal. For example, it may also be disposed in a device for taking a picture, such as a camera, a video camera, or the like.
其中,所述图像处理的装置可以包括:The device for image processing may include:
层次确定模块602,配置为根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次。The level determining module 602 is configured to determine a scene scene level of each sub-area according to brightness statistics of the plurality of sub-areas in the framing area.
在本实施例中,所述多个子区域的亮度统计信息包括:各个子区域所对应的亮度值、曝光行数和感光度值之间的对应关系。In this embodiment, the brightness statistical information of the plurality of sub-areas includes: a correspondence relationship between the brightness value, the number of exposure lines, and the sensitivity value corresponding to each sub-area.
优选地,可以通过如下模块确定取景区域内的多个子区域的亮度统计信息:调节模块,配置为按照第一设定规则对感光度值和/或曝光行数进行至少一次调节。统计结果获取模块,配置为分别对每次调节各个子区域的调节结果进行统计记录,得到多个统计结果,其中,各个子区域的各个统计结果中包括:每次调节结束后各个子区域所对应的感光度值、曝光行数和亮度值。统计信息确定模块,配置为根据各个子区域各自对应的多个统计结果的平均值,分别确定各个子区域的亮度统计信息。Preferably, the brightness statistics of the plurality of sub-areas within the framing area may be determined by a module that is configured to adjust the sensitivity value and/or the number of exposure lines at least once according to the first setting rule. The statistical result obtaining module is configured to perform statistical recording on the adjustment result of each sub-area for each time, and obtain a plurality of statistical results, wherein each statistical result of each sub-area includes: corresponding to each sub-area after each adjustment is completed Sensitivity value, number of exposure lines, and brightness value. The statistical information determining module is configured to determine brightness statistical information of each sub-area according to an average value of the plurality of statistical results corresponding to each sub-area.
在本实施例的一优选方案中,所述调节模块,具体可以包括:第一调节模块,配置为在感光度值小于等于最大阈值时,按照第一设定步长依次增加感光度值的大小;和,在感光度值等于最大阈值时,按照第二设定步长依次增加曝光行数的大小。和/或,第二调节模块,配置为在感光度值大于等于最小阈值时,按照第三设定步长依次减小感光度值的大小;和,在感光度值等 于最小阈值时,按照第四设定步长依次减小曝光行数的大小。In a preferred embodiment of the present invention, the adjusting module may further include: a first adjusting module configured to sequentially increase the sensitivity value according to the first setting step when the sensitivity value is less than or equal to the maximum threshold ; and, when the sensitivity value is equal to the maximum threshold, the number of exposure lines is sequentially increased according to the second set step. And/or, the second adjusting module is configured to sequentially reduce the magnitude of the sensitivity value according to the third setting step when the sensitivity value is greater than or equal to the minimum threshold; and, in the sensitivity value, etc. At the minimum threshold, the number of exposure lines is sequentially decreased according to the fourth set step.
在本实施例的另一优选方案中,所述调节模块,具体可以配置为将预先处理得到的第一感光度值和/或确定的第一曝光行数作为调节初始值,对感光度值和/或曝光行数进行至少一次调节。优选地,可以通过如下模块得到所述第一感光度值和/或第一曝光行数:记录模块,配置为在闪光灯预闪时,记录当预闪亮度值满足预置标准亮度值时对应的感光度值和/或曝光行数。确定模块,配置为将记录的在预闪亮度值满足预置标准亮度值时对应的感光度值和/或曝光行数确定为所述第一感光度值和/或第一曝光行数。In another preferred embodiment of the present embodiment, the adjustment module may be configured to use a pre-processed first sensitivity value and/or a determined first exposure line as an adjustment initial value, and a sensitivity value and / or the number of exposure lines is adjusted at least once. Preferably, the first sensitivity value and/or the first exposure line number can be obtained by the following module: the recording module is configured to record, when the flash pre-flashes, the corresponding when the pre-flash value meets the preset standard brightness value Sensitivity value and / or number of exposure lines. The determining module is configured to determine the recorded sensitivity value and/or the number of exposure lines when the pre-brightness value meets the preset standard brightness value as the first sensitivity value and/or the first exposure line number.
在本实施例的又一优选方案中,所述层次确定模块602,具体可以包括:In another preferred embodiment of the embodiment, the level determining module 602 may specifically include:
比值确定模块6022,配置为根据各个子区域下的亮度值、曝光行数和感光度值之间的对应关系,分别确定各个子区域下的亮度值与所述曝光行数和/或感光度值的比值结果。The ratio determining module 6022 is configured to determine the brightness value and the exposure line number and/or the sensitivity value in each sub-area according to the correspondence between the brightness value, the exposure line number, and the sensitivity value under each sub-area. The ratio result.
比对模块6024,配置为将所述比值结果与预置的景物场景层次划分标准进行比对,确定各个子区域的景物场景层次。The comparison module 6024 is configured to compare the ratio result with a preset scene scene hierarchy criterion to determine a scene scene level of each sub-area.
曝光确定模块604,配置为根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值。The exposure determination module 604 is configured to determine the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area.
预处理图片获取模块606,配置为根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片。The pre-processing picture obtaining module 606 is configured to perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure to obtain a plurality of pre-processed pictures that match the scene scene level.
合成模块608,配置为按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。The synthesizing module 608 is configured to synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
在本实施例的一优选方案中,所述合成模块,具体可以包括:In a preferred solution of the embodiment, the synthesizing module may specifically include:
提取模块6082,配置为根据各个子区域对应的场景层次选择相匹配的预处理图片,并从相匹配的预处理图片中提取出各个子区域各自对应的子图片。The extraction module 6082 is configured to select a matched pre-processed picture according to a scene level corresponding to each sub-area, and extract a sub-picture corresponding to each sub-area from the matched pre-processed picture.
合成模块6084,配置为将提取得到的各个子区域各自对应的子图片进行合成,得到所述目标图片。The synthesizing module 6084 is configured to synthesize the sub-pictures corresponding to each of the extracted sub-regions to obtain the target picture.
在本实施例的一优选方案中,所述图像处理的装置还可以包括:子区域划分模块,按照预置划分标准,将通过镜头选取确定的取景区域划分为多个 子区域。其中,所述子区域划分模块可以但不仅限于在所述层次确定模块602之前执行。In a preferred embodiment of the present embodiment, the apparatus for image processing may further include: a sub-area dividing module, and dividing the framing area determined by the lens selection into multiple according to a preset dividing criterion Sub-area. The sub-area partitioning module may be, but is not limited to, being executed before the level determining module 602.
综上所述,本申请实施例所述的一种图像处理的方法,可以根据亮度统计信息分别确定取景区域内的多个子区域的景物场景层次,然后根据确定的多个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值,根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片,最后按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。可见,在申请本实施例中,可以根据整个取景区域中的各个子区域中的景物的场景层次进行多次曝光拍摄,使整个取景区域中的各个子区域都得到其所需要的曝光值,达到合适的亮度,最后从每次曝光拍摄得到的预处理图片中提取出各个子区域所对应的最佳亮度值的图片进行合成,得到目标图片,保证了拍摄得到的目标图片中的各个部分的图像都是清楚的,提高了整张目标图片的清晰度、分辨率,使得整张目标图片更加生动,更具欣赏价值。In summary, an image processing method according to an embodiment of the present application may separately determine a scene scene level of a plurality of sub-areas in the framing area according to the brightness statistical information, and then determine according to the determined scene scene level of the plurality of sub-areas. The number of exposures and the current value corresponding to each exposure are subjected to multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and multiple pre-processed pictures matching the scene scene level are obtained, and finally The scene scene level of each sub-area synthesizes the plurality of pre-processed pictures to obtain a target picture. It can be seen that, in the application embodiment, multiple exposure shots can be performed according to the scene level of the scene in each sub-area in the entire framing area, so that each sub-area in the entire framing area obtains the required exposure value. Appropriate brightness, finally extracting the picture of the best brightness value corresponding to each sub-area from the pre-processed picture obtained by each exposure shooting, and obtaining the target picture, ensuring the image of each part in the captured target picture. It is clear that the clarity and resolution of the entire target image are improved, making the entire target image more vivid and more enjoyable.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
本申请还提供了一种在其上记录有用于执行上述方法的程序的计算机可读记录介质。The present application also provides a computer readable recording medium on which a program for executing the above method is recorded.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (17)

  1. 一种图像处理的方法,其特征在于,包括:A method of image processing, comprising:
    根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次;其中,所述多个子区域的亮度统计信息包括:各个子区域所对应的亮度值、曝光行数和感光度值之间的对应关系;Determining a scene scene level of each sub-area according to brightness statistics of the plurality of sub-areas in the framing area; wherein the brightness statistics of the plurality of sub-areas include: brightness values, exposure lines, and sensitivities corresponding to the respective sub-areas Correspondence between values;
    根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值;Determining the number of exposures and the current value corresponding to each exposure according to the determined scene scene level of each sub-area;
    根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片;Performing multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, and obtaining a plurality of preprocessed pictures matching the scene scene level;
    按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。The plurality of pre-processed pictures are combined according to a scene scene level of the plurality of sub-areas to obtain a target picture.
  2. 根据权利要求1所述的方法,其特征在于,通过如下步骤确定取景区域内的多个子区域的亮度统计信息:The method according to claim 1, wherein the brightness statistics of the plurality of sub-areas within the framing area are determined by the following steps:
    按照第一设定规则对感光度值和/或曝光行数进行至少一次调节;Performing at least one adjustment of the sensitivity value and/or the number of exposure lines according to the first setting rule;
    分别对每次调节后各个子区域的调节结果进行统计记录,得到多个统计结果;其中,各个子区域的各个统计结果中包括:每次调节结束后各个子区域所对应的感光度值、曝光行数和亮度值;The statistical results of each sub-region after each adjustment are statistically recorded, and a plurality of statistical results are obtained. Among them, each statistical result of each sub-region includes: the sensitivity value corresponding to each sub-region after each adjustment is completed, and the exposure Row number and brightness value;
    根据各个子区域各自对应的多个统计结果的平均值,分别确定各个子区域的亮度统计信息。The luminance statistical information of each sub-region is determined according to an average value of a plurality of statistical results corresponding to each sub-region.
  3. 根据权利要求2所述的方法,其特征在于,按照第一设定规则对感光度值和/或曝光行数进行至少一次调节,包括:The method according to claim 2, wherein the sensitivity value and/or the number of exposure lines are adjusted at least once according to the first setting rule, including:
    在感光度值小于等于最大阈值时,按照第一设定步长依次增加感光度值的大小;和,在感光度值等于最大阈值时,按照第二设定步长依次增加曝光行数的大小;When the sensitivity value is less than or equal to the maximum threshold, the magnitude of the sensitivity value is sequentially increased according to the first set step; and, when the sensitivity value is equal to the maximum threshold, the number of exposure lines is sequentially increased according to the second set step. ;
    和/或,and / or,
    在感光度值大于等于最小阈值时,按照第三设定步长依次减小感光度值的大小;和,在感光度值等于最小阈值时,按照第四设定步长依次减小曝光行数的大小。When the sensitivity value is greater than or equal to the minimum threshold, the magnitude of the sensitivity value is sequentially decreased according to the third set step; and, when the sensitivity value is equal to the minimum threshold, the number of exposure lines is sequentially decreased according to the fourth set step the size of.
  4. 根据权利要求2或3所述的方法,其特征在于,按照第一设定规则 对感光度值和/或曝光行数进行至少一次调节,包括:Method according to claim 2 or 3, characterized in that according to the first setting rule Adjust the sensitivity value and/or the number of exposure lines at least once, including:
    将预先处理得到的第一感光度值和/或第一曝光行数作为调节初始值,对感光度值和/或曝光行数进行至少一次调节。The first sensitivity value and/or the first exposure line number obtained in advance are used as adjustment initial values, and the sensitivity value and/or the number of exposure lines are adjusted at least once.
  5. 根据权利要求4所述的方法,其特征在于,通过如下步骤得到所述第一感光度值和/或第一曝光行数:The method according to claim 4, wherein the first sensitivity value and/or the first exposure line number are obtained by the following steps:
    在闪光灯预闪时,记录当预闪亮度值满足预置标准亮度值时对应的感光度值和/或曝光行数;When the flash pre-flashes, record the corresponding sensitivity value and/or the number of exposure lines when the pre-brightness value satisfies the preset standard brightness value;
    将记录的在预闪亮度值满足预置标准亮度值时对应的感光度值和/或曝光行数确定为所述第一感光度值和/或第一曝光行数。The recorded sensitivity value and/or the number of exposure lines when the pre-brightness value satisfies the preset standard brightness value is determined as the first sensitivity value and/or the first exposure line number.
  6. 根据权利要求1所述的方法,其特征在于,根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次,包括:The method according to claim 1, wherein determining the scene scene level of each sub-area according to the brightness statistics of the plurality of sub-areas in the framing area comprises:
    根据各个子区域下的亮度值、曝光行数和感光度值之间的对应关系,分别确定各个子区域下的亮度值与所述曝光行数和/或感光度值的比值结果;Determining, according to the correspondence between the brightness value, the number of exposure lines, and the sensitivity value under each sub-area, a ratio of the brightness value under each sub-area to the exposure line number and/or the sensitivity value;
    将所述比值结果与预置的景物场景层次划分标准进行比对,确定各个子区域的景物场景层次。The ratio result is compared with a preset scene scene hierarchy standard to determine a scene scene level of each sub-area.
  7. 根据权利要求1所述的方法,其特征在于,按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片,包括:The method according to claim 1, wherein the plurality of pre-processed pictures are combined according to a scene scene level of the plurality of sub-areas to obtain a target picture, including:
    根据各个子区域对应的场景层次选择相匹配的预处理图片,并从相匹配的预处理图片中提取出各个子区域各自对应的子图片;Selecting a matched pre-processed picture according to a scene level corresponding to each sub-area, and extracting a corresponding sub-picture of each sub-area from the matched pre-processed picture;
    将提取得到的各个子区域各自对应的子图片进行合成,得到所述目标图片。The sub-pictures corresponding to each of the extracted sub-regions are combined to obtain the target picture.
  8. 根据权利要求1所述的方法,其特征在于,在根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次之前,所述方法还包括:The method according to claim 1, wherein before the determining the scene scene level of each sub-area according to the brightness statistics of the plurality of sub-areas in the framing area, the method further comprises:
    按照预置划分标准,将通过镜头选取确定的取景区域划分为多个子区域。According to the preset division standard, the framing area determined by the lens selection is divided into a plurality of sub-areas.
  9. 一种图像处理的装置,其特征在于,包括:An apparatus for image processing, comprising:
    层次确定模块,配置为根据取景区域内的多个子区域的亮度统计信息分 别确定各个子区域的景物场景层次;其中,所述多个子区域的亮度统计信息包括:各个子区域所对应的亮度值、曝光行数和感光度值之间的对应关系;a level determining module configured to divide the brightness statistics according to the plurality of sub-areas in the framing area The brightness scene information of each of the sub-areas includes: a correspondence between a brightness value, an exposure line number, and a sensitivity value corresponding to each sub-area;
    曝光确定模块,配置为根据确定的各个子区域的景物场景层次确定曝光次数和每次曝光所对应的电流值;The exposure determining module is configured to determine an exposure number and a current value corresponding to each exposure according to the determined scene scene level of each sub-area;
    预处理图片获取模块,配置为根据确定的曝光次数和每次曝光所对应的电流值进行多次曝光,得到与所述景物场景层次相匹配的多张预处理图片;The pre-processing image acquisition module is configured to perform multiple exposures according to the determined number of exposures and the current value corresponding to each exposure, to obtain a plurality of pre-processed images that match the scene scene level;
    合成模块,配置为按照多个子区域的景物场景层次对所述多张预处理图片进行合成,得到目标图片。And a synthesizing module configured to synthesize the plurality of pre-processed pictures according to a scene scene level of the plurality of sub-areas to obtain a target picture.
  10. 根据权利要求9所述的装置,其特征在于,通过如下模块确定取景区域内的多个子区域的亮度统计信息:The apparatus according to claim 9, wherein the brightness statistics of the plurality of sub-areas within the framing area are determined by the following module:
    调节模块,配置为按照第一设定规则对感光度值和/或曝光行数进行至少一次调节;The adjustment module is configured to adjust the sensitivity value and/or the number of exposure lines at least once according to the first setting rule;
    统计结果获取模块,配置为分别对每次调节各个子区域的调节结果进行统计记录,得到多个统计结果;其中,各个子区域的各个统计结果中包括:每次调节结束后各个子区域所对应的感光度值、曝光行数和亮度值;The statistical result obtaining module is configured to perform statistical recording on the adjustment result of each sub-area for each time, and obtain a plurality of statistical results; wherein each statistical result of each sub-area includes: corresponding to each sub-area after each adjustment is completed Sensitivity value, number of exposure lines, and brightness value;
    统计信息确定模块,配置为根据各个子区域各自对应的多个统计结果的平均值,分别确定各个子区域的亮度统计信息。The statistical information determining module is configured to determine brightness statistical information of each sub-area according to an average value of the plurality of statistical results corresponding to each sub-area.
  11. 根据权利要求10所述的装置,其特征在于,所述调节模块,包括:The apparatus according to claim 10, wherein the adjustment module comprises:
    第一调节模块,配置为在感光度值小于等于最大阈值时,按照第一设定步长依次增加感光度值的大小;和,在感光度值等于最大阈值时,按照第二设定步长依次增加曝光行数的大小;The first adjusting module is configured to sequentially increase the magnitude of the sensitivity value according to the first setting step when the sensitivity value is less than or equal to the maximum threshold; and, when the sensitivity value is equal to the maximum threshold, according to the second setting step Increase the size of the number of exposure lines in turn;
    和/或,and / or,
    第二调节模块,配置为在感光度值大于等于最小阈值时,按照第三设定步长依次减小感光度值的大小;和,在感光度值等于最小阈值时,按照第四设定步长依次减小曝光行数的大小。The second adjustment module is configured to sequentially reduce the magnitude of the sensitivity value according to the third set step when the sensitivity value is greater than or equal to the minimum threshold; and, when the sensitivity value is equal to the minimum threshold, follow the fourth setting step The length decreases the number of exposure lines in turn.
  12. 根据权利要求10或11所述的装置,其特征在于,所述调节模块,配置为将预先处理得到的第一感光度值和/或确定的第一曝光行数作为调节初始值,对感光度值和/或曝光行数进行至少一次调节。The apparatus according to claim 10 or 11, wherein the adjustment module is configured to use the first sensitivity value obtained by the pre-processing and/or the determined first exposure line number as an adjustment initial value, and the sensitivity The value and/or the number of exposure lines are adjusted at least once.
  13. 根据权利要求12所述的装置,其特征在于,通过如下模块得到所 述第一感光度值和/或第一曝光行数:The device according to claim 12, wherein the module is obtained by The first sensitivity value and/or the first exposure line number:
    记录模块,配置为在闪光灯预闪时,记录当预闪亮度值满足预置标准亮度值时对应的感光度值和/或曝光行数;a recording module configured to record, when the flash pre-flashes, a corresponding sensitivity value and/or an exposure line number when the pre-brightness value satisfies a preset standard brightness value;
    确定模块,配置为将记录的在预闪亮度值满足预置标准亮度值时对应的感光度值和/或曝光行数确定为所述第一感光度值和/或第一曝光行数。The determining module is configured to determine the recorded sensitivity value and/or the number of exposure lines when the pre-brightness value meets the preset standard brightness value as the first sensitivity value and/or the first exposure line number.
  14. 根据权利要求9所述的装置,其特征在于,所述层次确定模块,包括:The device according to claim 9, wherein the level determining module comprises:
    比值确定模块,配置为根据各个子区域下的亮度值、曝光行数和感光度值之间的对应关系,分别确定各个子区域下的亮度值与所述曝光行数和/或感光度值的比值结果;The ratio determining module is configured to determine, according to the correspondence between the brightness value, the number of exposure lines, and the sensitivity value in each sub-area, respectively, the brightness value under each sub-area and the number of exposure lines and/or the sensitivity value Ratio result
    比对模块,配置为将所述比值结果与预置的景物场景层次划分标准进行比对,确定各个子区域的景物场景层次。The comparison module is configured to compare the ratio result with a preset scene scene hierarchy standard to determine a scene scene level of each sub-area.
  15. 根据权利要求9所述的装置,其特征在于,所述合成模块,包括:The apparatus according to claim 9, wherein the synthesizing module comprises:
    提取模块,配置为根据各个子区域对应的场景层次选择相匹配的预处理图片,并从相匹配的预处理图片中提取出各个子区域各自对应的子图片;An extraction module is configured to select a matched pre-processed picture according to a scene level corresponding to each sub-area, and extract a corresponding sub-picture of each sub-area from the matched pre-processed picture;
    合成模块,配置为将提取得到的各个子区域各自对应的子图片进行合成,得到所述目标图片。The compositing module is configured to synthesize the sub-pictures corresponding to each of the extracted sub-regions to obtain the target picture.
  16. 根据权利要求9所述的装置,其特征在于,还包括:The device according to claim 9, further comprising:
    子区域划分模块,配置为在所述层次确定模块根据取景区域内的多个子区域的亮度统计信息分别确定各个子区域的景物场景层次之前,按照预置划分标准,将通过镜头选取确定的取景区域划分为多个子区域。The sub-area dividing module is configured to: after the layer determining module determines the scene scene level of each sub-area according to the brightness statistical information of the plurality of sub-areas in the framing area, select the framing area determined by the lens according to the preset dividing criterion Divided into multiple sub-areas.
  17. 一种在其上记录有用于执行权利要求1-8任一项所述方法的程序的计算机可读记录介质。 A computer readable recording medium having recorded thereon a program for performing the method of any one of claims 1-8.
PCT/CN2016/079277 2015-06-19 2016-04-14 Image processing method and apparatus WO2016202073A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2015103453099 2015-06-19
CN201510345309.9A CN105991939A (en) 2015-06-19 2015-06-19 Image processing method and device

Publications (1)

Publication Number Publication Date
WO2016202073A1 true WO2016202073A1 (en) 2016-12-22

Family

ID=57040246

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079277 WO2016202073A1 (en) 2015-06-19 2016-04-14 Image processing method and apparatus

Country Status (2)

Country Link
CN (1) CN105991939A (en)
WO (1) WO2016202073A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312001A (en) * 2019-07-30 2021-02-02 北京百度网讯科技有限公司 Image detection method, device, equipment and computer storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872625B (en) * 2017-12-25 2020-05-22 信利光电股份有限公司 Dual-camera exposure synchronous control method and system
CN109525783A (en) * 2018-12-25 2019-03-26 努比亚技术有限公司 A kind of exposure image pickup method, terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909150A (en) * 2009-06-03 2010-12-08 索尼公司 Imaging apparatus and imaging control method
US20100328482A1 (en) * 2009-06-26 2010-12-30 Samsung Electronics Co., Ltd. Digital photographing apparatus, method of controlling the digital photographing apparatus, and recording medium storing program to implement the method
CN102469248A (en) * 2010-11-12 2012-05-23 华晶科技股份有限公司 Image shooting device and image synthetizing method thereof
CN102917180A (en) * 2011-08-05 2013-02-06 佳能企业股份有限公司 Image picking-up method and image picking-up device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7663689B2 (en) * 2004-01-16 2010-02-16 Sony Computer Entertainment Inc. Method and apparatus for optimizing capture device settings through depth information
CN100480832C (en) * 2005-08-19 2009-04-22 仁宝电脑工业股份有限公司 Assistant focusing method by using pre-flashing of flash lamp
CN102316261B (en) * 2010-07-02 2015-05-13 华晶科技股份有限公司 Method for regulating light sensitivity of digital camera
CN104104886B (en) * 2014-07-24 2016-07-06 努比亚技术有限公司 Overexposure image pickup method and device
CN104092954B (en) * 2014-07-25 2018-09-04 北京智谷睿拓技术服务有限公司 Flash control method and control device, image-pickup method and harvester
CN104333708B (en) * 2014-11-28 2017-10-20 广东欧珀移动通信有限公司 Photographic method, camera arrangement and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909150A (en) * 2009-06-03 2010-12-08 索尼公司 Imaging apparatus and imaging control method
US20100328482A1 (en) * 2009-06-26 2010-12-30 Samsung Electronics Co., Ltd. Digital photographing apparatus, method of controlling the digital photographing apparatus, and recording medium storing program to implement the method
CN102469248A (en) * 2010-11-12 2012-05-23 华晶科技股份有限公司 Image shooting device and image synthetizing method thereof
CN102917180A (en) * 2011-08-05 2013-02-06 佳能企业股份有限公司 Image picking-up method and image picking-up device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312001A (en) * 2019-07-30 2021-02-02 北京百度网讯科技有限公司 Image detection method, device, equipment and computer storage medium

Also Published As

Publication number Publication date
CN105991939A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN106331508B (en) Method and device for shooting composition
JP6395810B2 (en) Reference image selection for motion ghost filtering
CN105025215B (en) A kind of terminal realizes the method and device of group photo based on multi-cam
TWI549503B (en) Electronic apparatus, automatic effect method and non-transitory computer readable storage medium
CN111327824B (en) Shooting parameter selection method and device, storage medium and electronic equipment
CN103763477B (en) A kind of dual camera claps back focusing imaging device and method
CN106550184B (en) Photo processing method and device
CN105303161A (en) Method and device for shooting multiple people
EP3306913B1 (en) Photographing method and apparatus
JP6401324B2 (en) Dynamic photo shooting method and apparatus
CN103971547B (en) Photography artificial teaching method and system based on mobile terminal
WO2017036273A1 (en) Imaging method and apparatus
TWI505233B (en) Image processing method and image processing device
WO2021051304A1 (en) Shutter speed adjustment and safe shutter calibration methods, portable device and unmanned aerial vehicle
JP2018006912A (en) Imaging apparatus, image processing apparatus, and control method and program of the same
WO2016202073A1 (en) Image processing method and apparatus
US20230033956A1 (en) Estimating depth based on iris size
WO2018166170A1 (en) Image processing method and device, and intelligent conferencing terminal
CN111182208A (en) Photographing method and device, storage medium and electronic equipment
TWI604413B (en) Image processing method and image processing device
CN106254790A (en) Take pictures processing method and processing device
WO2023000878A1 (en) Photographing method and apparatus, and controller, device and computer-readable storage medium
KR20110015731A (en) Auto photograph robot for taking a composed picture and method thereof
US20140010476A1 (en) Method for forming pictures
CN112949392B (en) Image processing method and device, storage medium and terminal

Legal Events

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

Ref document number: 16810814

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16810814

Country of ref document: EP

Kind code of ref document: A1