CN107277354A - One kind virtualization photographic method, virtualization photo terminal and computer-readable recording medium - Google Patents

One kind virtualization photographic method, virtualization photo terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107277354A
CN107277354A CN201710531248.4A CN201710531248A CN107277354A CN 107277354 A CN107277354 A CN 107277354A CN 201710531248 A CN201710531248 A CN 201710531248A CN 107277354 A CN107277354 A CN 107277354A
Authority
CN
China
Prior art keywords
virtualization
subregion
blurred
region
preview picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710531248.4A
Other languages
Chinese (zh)
Other versions
CN107277354B (en
Inventor
陈鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Shanji Digital Technology Co ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710531248.4A priority Critical patent/CN107277354B/en
Publication of CN107277354A publication Critical patent/CN107277354A/en
Application granted granted Critical
Publication of CN107277354B publication Critical patent/CN107277354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

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

Abstract

Photographic method is blurred the invention discloses one kind, including:The focal zone of preview picture and the preview picture is obtained, the region in the preview picture in addition to the focal zone is defined as region to be blurred;By the region to be blurred according to default Luminance Analysis model, at least two subregions are divided into, the Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis;Obtain the average brightness of the subregion;When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, the virtualization processing picture of the preview picture is obtained.The invention also discloses one kind virtualization photo terminal and computer-readable recording medium, by implementing such scheme, carry out the virtualization processing of selectivity, rather than carried out virtualization processing for all regions to be blurred, the amount of calculation of mobile terminal reduces, the consumption of battery is also reduced simultaneously, improves the endurance of battery.

Description

One kind virtualization photographic method, virtualization photo terminal and computer-readable recording medium
Technical field
The present invention relates to picture Processing Technique field, more particularly to a kind of virtualization photographic method, virtualization photo terminal and meter Calculation machine readable storage medium storing program for executing.
Background technology
With continuing to develop for mobile terminal hardware, dual camera has been increasingly becoming the standard configuration of mobile terminal, double shootings The build-in attribute of head provides new exposal model, including virtualization tupe for mobile terminal.In traditional virtualization processing side In case, determine focusing range, then to focusing range outside region carry out Fuzzy Processing, and then obtain after virtualization processing Picture is, it is necessary to blur many sizes for determining mobile terminal amount of calculation at least of the pixel of processing, and mobile terminal is being taken pictures Energy expenditure in processing procedure.And in above-mentioned virtualization processing procedure, the processing to picture is by focal zone Outer region directly carries out virtualization processing come what is realized, causes the computationally intensive during picture processing of mobile terminal, electricity Pond endurance is low.
The content of the invention
The present invention provides virtualization photographic method, virtualization photo terminal and computer-readable recording medium, existing to solve When mobile terminal is taken pictures present in technology, computationally intensive, the problem of battery durable ability is low of picture virtualization processing.
Photographic method is blurred there is provided one kind according to one aspect of the present invention, including:
Obtain the focal zone of preview picture and the preview picture, by the preview picture in addition to the focal zone Region be defined as region to be blurred;
By the region to be blurred according to default Luminance Analysis model, subregion, the Luminance Analysis model are divided into Including the sub-zone dividing model for the region to be blurred to be carried out to Luminance Analysis;
Obtain the average brightness of the subregion;
When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, institute is obtained State the virtualization processing picture of preview picture.
The present invention also provides a kind of virtualization photo terminal, and the virtualization photo terminal includes processor, memory and communication Bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to performing the virtualization that is stored in memory and taken pictures program, to realize following steps:
Obtain the focal zone of preview picture and the preview picture, by the preview picture in addition to the focal zone Region be defined as region to be blurred;
By the region to be blurred according to default Luminance Analysis model, subregion, the Luminance Analysis model are divided into Including the sub-zone dividing model for the region to be blurred to be carried out to Luminance Analysis;
Obtain the average brightness of the subregion;
When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, institute is obtained State the virtualization processing picture of preview picture.
The present invention also provides a kind of computer-readable recording medium, the computer-readable recording medium storage have one or The multiple programs of person, one or more of programs can be by one or more computing device, to realize following steps:
Obtain the focal zone of preview picture and the preview picture, by the preview picture in addition to the focal zone Region be defined as region to be blurred;
By the region to be blurred according to default Luminance Analysis model, subregion, the Luminance Analysis model are divided into Including the sub-zone dividing model for the region to be blurred to be carried out to Luminance Analysis;
Obtain the average brightness of the subregion;
When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, institute is obtained State the virtualization processing picture of preview picture.
According to virtualization photographic method provided by the present invention, pass through the poly- of the preview picture that gets and the preview picture Burnt region, it is determined that need blur after virtualization region after, by the region to be blurred according to default Luminance Analysis model partition After subregion, then the average brightness of the subregion is obtained, when the average brightness of the subregion is higher than default void When changing threshold value, the subregion is carried out after virtualization processing, the virtualization processing picture of the preview picture is obtained.The present invention passes through By after after the different subregion of virtualization region division, the subregion for choosing average brightness higher than certain brightness is carried out at virtualization Reason, and be less than the subregion of virtualization threshold value for average brightness, then handled without virtualization.Due to having carried out the void of selectivity Change is handled, rather than has carried out virtualization processing for all regions to be blurred, and the amount of calculation of mobile terminal reduces, while also dropping The low consumption of battery, improves the endurance of battery.Particularly with the photo shot under the environment of light condition difference, sheet The raising for battery durable ability of the provided virtualization photographic method of invention is more obvious.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the flow chart of the virtualization photographic method of the inventive method embodiment one;
Fig. 2 is region division schematic diagram to be blurred in the virtualization photographic method of the inventive method embodiment one;
Fig. 3 is the division schematic diagram for blurring annular subregion in photographic method of the inventive method embodiment one;
Fig. 4 is the division schematic diagram for blurring sub-rectangular areas in photographic method of the inventive method embodiment two;
Fig. 5 inputs schematic diagram for the selection of virtualization threshold value in the virtualization photographic method of the inventive method embodiment three;
Fig. 6 inputs 1 schematic diagram for the selection of virtualization threshold value in the virtualization photographic method of the inventive method embodiment three;
Fig. 7 inputs 2 schematic diagrames for the selection of virtualization threshold value in the virtualization photographic method of the inventive method embodiment three;
Fig. 8 is the schematic diagram for blurring acquisition focal zone in photographic method of the inventive method example IV;
Fig. 9 is the schematic diagram for blurring rectangle focal zone in photographic method of the inventive method embodiment five;
Figure 10 is the flow chart for obtaining average brightness value in the virtualization photographic method of the inventive method embodiment six;
Figure 11 is the setting schematic diagram for blurring the test point in photographic method of the inventive method embodiment seven;
Figure 12 is the division schematic diagram for blurring the subregion in photographic method of the inventive method embodiment eight;
Figure 13 is the division schematic diagram for blurring the subregion in photographic method of the inventive method embodiment nine;
Figure 14 is the structural representation for blurring photo terminal in the inventive method embodiment ten.
Embodiment
The exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although showing the present invention in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here Limited.Conversely it is able to be best understood from the present invention there is provided these embodiments, and can be by the scope of the present invention Complete conveys to those skilled in the art.
Embodiment one:
Fig. 1 is the flow chart for blurring photographic method in the inventive method embodiment one, the inventive method as shown in Figure 1 Virtualization photographic method in embodiment one, including:
Step 100, the focal zone of preview picture and the preview picture is obtained, will be gathered in the preview picture except described Region outside burnt region is defined as region to be blurred.
Specifically, by taking mobile terminal as an example, taken pictures as shown in Fig. 2 mobile terminal user has carried out portrait, mobile phone display screen It is completely used for showing preview picture 110 on curtain, is carried out when the head portrait that user is felt in the preview picture reaches satisfactory state Formal takes pictures, and the border circular areas where captured head portrait part is focal zone 130, the preview picture 110 in fig. 2 Region in addition to the focal zone 130, region 120 as to be blurred, is clearly to be distinguished, by the region to be blurred 120 are indicated with point-like background.
In traditional virtualization processing method, terminal can be blurred directly to the region to be blurred 120 described in whole Processing, and the differentiation of any brightness is no longer carried out to the region 120 to be blurred, but during actual use, due to The difference of photo environment residing for user, and due to the difference for the demand of taking pictures, user can be poor in an illumination condition sometimes In the environment of, taken pictures during such as evening or cloudy day, the now brightness in the region to be blurred outside focal zone is very dark, special It is not that, further away from the region to be blurred of the focal zone, its brightness is darker, the actually area to be blurred of focal zone and exterior measuring The contrast in domain is clearly, it is not necessary to carry out virtualization processing again, but in traditional virtualization processing method, in addition it is also necessary to Carry out virtualization processing to calculate, the nonsensical virtualization processing of the reality finally wastes the energy consumption of terminal, causes end cell Endurance decline.
Step 200, by the region to be blurred according to default Luminance Analysis model, subregion, the brightness are divided into Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, in the method that the present embodiment is provided, the region 120 to be blurred is divided at least two sub-districts Behind domain be used for follow-up processing, wherein, the default Luminance Analysis model, including for by the region 120 to be blurred by After being divided according at least two subregions, the model of Luminance Analysis is carried out.
The Luminance Analysis model, including be divided into can be mutual between variously-shaped subregion, described subregion Connection, it is possibility to have have certain interval each other, carries out flexibly setting according to actual demand.
By taking Fig. 3 as an example, give one of sub-zone dividing model, outside the focal zone 130, using focus point as The center of circle, the r+D using the radius r more than the focal zone and default length D compositions is radius and r+2D, r+3D respectively A length of radius draw circle, as shown in figure 3, to distinguish different subregions, annulus is distinguished with different backgrounds.
Subregion shown by Fig. 3 is connected with each other, actual in use, can also be arranged at intervals described subregion, i.e. The annulus that the circumference for being r+D by r circumference and radius by radius is constituted, and radius be r+2D circumference and radius be r+3D The annulus that is constituted of circumference, as region to be blurred, but radius between the two be r+D circumference and radius be r+2D circle The annulus that week is constituted, not as region to be blurred, in follow-up virtualization processing, is not considered.It is possible thereby to will wait to blur Region carries out more flexible division, to reach different virtualization results.
Step 300, the average brightness of the subregion is obtained.
Specifically, after different subregions have been divided, virtualization processing is individually carried out because every sub-regions are one Region, and still include many pixels per sub-regions, according to brightness value blur the premise of processing, be to obtain each The average brightness of sub-regions is, it is necessary to further obtain the average brightness of the subregion., will according to the preview picture After the brightness value of all pixels point in each sub-regions is carried out averagely, you can obtain the average brightness of the subregion.
Further, the amount of calculation of terminal such as need to be further reduced, can also use and survey is configured in the subregion The mode that pilot is sampled, obtains the average brightness of each subregion, and without to owning in all subregions The brightness value of pixel calculated.Setting for test point can be flexibly in the ad-hoc location of the subregion, or is guarantor The accuracy of result is demonstrate,proved, it is as much as possible to be uniformly distributed in all subregion in certain transformation.
Equally by taking Fig. 3 as an example, in figure 3, indicated on each circumference using four stains, the stain is Test point in step 300, by four test points on each circumference, obtains the brightness value of each circumference.Then, Fig. 3 In per sub-regions average brightness, entered using the brightness value of the inner circle circumference of the annulus, and the brightness value of cylindrical circumference After row is average, the average brightness of the annulus is obtained.
Further, the setting of the test point, can also carry out uneven setting, to adapt to more various sub-district The demand of the setting in domain so that the process of whole virtualization processing is more simple.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, a virtualization threshold value is set, the virtualization threshold value is brightness value, it is bright when the subregion calculated When spending average value less than the virtualization threshold value, it is believed that the brightness in the subregion is relatively low, without carrying out at further virtualization Reason, and when the average brightness of the subregion calculated is more than or equal to the virtualization threshold value, it is believed that it is bright in the subregion Angle value is higher, and the contrast of the image in focal zone is not obvious, it is necessary to carry out further virtualization processing.
In actual application, the virtualization threshold value can be a fixed value, solidify in the application where this method In program, a number range can also be provided, corresponding regulation is carried out according to the brightness value of the preview picture.
Further described virtualization processing, is calculated, the calculation formula using Gaussian Blur processing function It is as follows:
Wherein, exemplified by R is the radius of virtualization processing region, a Fig. 3, the region between radius r+D and r+3D is expired Sufficient above-mentioned condition, then the R in above-mentioned formula is that 3D-D is 2D.X, y are the pixel coordinate of relevant range, equally by taking Fig. 3 as an example, when When being blurred for the subregion between radius r+D and r+3D, after the coordinate of the pixel in the acquisition subregion, utilize Above-mentioned formula carries out virtualization processing.
The picture provided in the present embodiment blurs processing method, passes through the preview picture and the preview picture got Focal zone, it is determined that need blur after virtualization region after, by the region to be blurred according to default Luminance Analysis model It is divided into after at least two annular subregions, then obtains the average brightness of the subregion, when the brightness of the subregion is put down When average is higher than default virtualization threshold value, the subregion is carried out after virtualization processing, at the virtualization for obtaining the preview picture Manage picture.By by after after the different subregion of virtualization region division, choosing the subregion that average brightness is higher than certain brightness Virtualization processing is carried out, and is less than the subregion of virtualization threshold value for average brightness, then is handled without virtualization.Due to carrying out The virtualization processing of selectivity, rather than virtualization processing has been carried out for all regions to be blurred, the amount of calculation of mobile terminal subtracts It is small, while also reducing the consumption of battery, improve the endurance of battery.Clapped particularly with the environment of light condition difference The photo taken the photograph, the raising for battery durable ability of virtualization photographic method provided by the present invention is more obvious.
Embodiment two:
Fig. 4 is the division schematic diagram for blurring sub-rectangular areas in photographic method of the inventive method embodiment two, shown in Fig. 4 For the embodiment different from the sub-zone dividing of embodiment one, the virtualization photographic method of this implementation, including:
Step 100, the focal zone of preview picture and the preview picture is obtained, will be gathered in the preview picture except described Region outside burnt region is defined as region to be blurred.
Specifically, by taking mobile terminal as an example, taken pictures as shown in Fig. 2 mobile terminal user has carried out portrait, mobile phone display screen It is completely used for showing preview picture 110 on curtain, is carried out when the head portrait that user is felt in the preview picture reaches satisfactory state Formal takes pictures, and the border circular areas where captured head portrait part is focal zone 130, the preview picture 110 in fig. 2 Region in addition to the focal zone 130, region 120 as to be blurred, is clearly to be distinguished, by the region to be blurred 120 are indicated with point-like background.
Step 200, the region to be blurred is divided at least two subregions according to default Luminance Analysis model, The Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, in the method that the present embodiment is provided, the region 120 to be blurred is divided at least two sub-districts Behind domain be used for follow-up processing, wherein, the default Luminance Analysis model, including for by the region 120 to be blurred by After being divided according at least two subregions, the model of Luminance Analysis is carried out.
The Luminance Analysis model, including the variously-shaped subregions such as annular, square, circle are divided into, it is described It can be connected with each other, it is possibility to have have certain interval each other, be carried out according to actual demand flexible between subregion Setting.
Fig. 4 then gives different from the sub-zone dividing method of embodiment one, is the division mould of another subregion Type, outside the focal zone 130, four parts, including the first subregion, the second son are divided into by the region 120 to be blurred Region, the 3rd subregion and the 4th subregion, the characteristics of being taken pictures according to user, light source are usually located at the region 120 to be blurred Top half, therefore, the region to be blurred is subjected to simple simple differentiation up and down, can also more be there is pin Virtualization processing to property.
Described Luminance Analysis model, is illustrated based on two above-mentioned models, can be provided many models, is such as based on Fig. 4, Three layers above and below can carrying out, the differentiation of four layers or more levels up and down, no longer repeated.
Step 300, the average brightness of the subregion is obtained.
Specifically, after different subregions have been divided, virtualization processing is individually carried out because every sub-regions are one Region, and still include many pixels per sub-regions, according to brightness value blur the premise of processing, be to obtain each The average brightness of sub-regions is, it is necessary to further obtain the average brightness of the subregion., will according to the preview picture After the brightness value of all pixels point in each sub-regions is carried out averagely, you can obtain the average brightness of the subregion.
Further, by taking Fig. 4 as an example, in four length of sides of each sub-regions in Fig. 4, multiple tests can be set respectively Point, sets two test points such as on short side, and four test points are set on long side, the brightness value of the test point, according to The brightness value of corresponding pixel is obtained in the preview picture.
By calculating the brightness value of all test points in each edge, the brightness value of each edge is obtained, then by each sub-district After the brightness value of the four edges in domain is carried out averagely, you can obtain the average brightness of four sub-regions.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, a virtualization threshold value is set, the virtualization threshold value is brightness value, it is bright when the subregion calculated When spending average value less than the virtualization threshold value, it is believed that the brightness in the subregion is relatively low, without carrying out at further virtualization Reason, and when the average brightness of the subregion calculated is more than or equal to the virtualization threshold value, it is believed that it is bright in the subregion Angle value is higher, and the contrast of the image in focal zone is not obvious, it is necessary to carry out further virtualization processing.
The picture provided in the present embodiment blurs processing method, by by the different rectangular sub-regions of region division to be blurred Behind domain, choose average brightness and carry out virtualization processing higher than the subregion of certain brightness, and be less than virtualization for average brightness The subregion of threshold value, then handled without virtualization.Due to having carried out the virtualization processing of selectivity, rather than void is treated for all Change region and carried out virtualization processing, the amount of calculation of mobile terminal reduces, while also reducing the consumption of battery, improves battery Endurance.Particularly with the photo shot under the environment of light condition difference, virtualization photographic method provided by the present invention Raising for battery durable ability is more obvious.
Embodiment three:
Fig. 5 for the inventive method embodiment three virtualization photographic method in virtualization threshold value selection input schematic diagram, be with The schematic diagram of the embodiment of the different virtualization threshold value acquisition modes of embodiment one, the virtualization photographic method of the present embodiment, including:
Step 100, the focal zone of preview picture and the preview picture is obtained, will be gathered in the preview picture except described Region outside burnt region is defined as region to be blurred.
Specifically, by taking mobile terminal as an example, taken pictures as shown in Fig. 2 mobile terminal user has carried out portrait, mobile phone display screen It is completely used for showing preview picture 110 on curtain, is carried out when the head portrait that user is felt in the preview picture reaches satisfactory state Formal takes pictures, and the border circular areas where captured head portrait part is focal zone 130, the preview picture 110 in fig. 2 Region in addition to the focal zone 130, region 120 as to be blurred, is clearly to be distinguished, by the region to be blurred 120 are indicated with point-like background.
Step 200, the region to be blurred is divided at least two subregions according to default Luminance Analysis model, The Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, the Luminance Analysis model, including it is divided into the variously-shaped subregions such as annular, square, circle, It can be connected with each other, it is possibility to have have certain interval each other, be carried out according to actual demand between described subregion Flexible setting.
Step 300, the average brightness of the subregion is obtained.
Specifically, after different subregions have been divided, virtualization processing is individually carried out because every sub-regions are one Region, and still include many pixels per sub-regions, according to brightness value blur the premise of processing, be to obtain each The average brightness of sub-regions is, it is necessary to further obtain the average brightness of the subregion., will according to the preview picture After the brightness value of all pixels point in each sub-regions is carried out averagely, you can obtain the average brightness of the subregion.
Further, the amount of calculation of terminal such as need to be further reduced, can also use and survey is configured in the subregion The mode that pilot is sampled, obtains the average brightness of each subregion, and without for institute in all subregions The brightness value of some pixels is calculated.The setting of test point can be flexibly in the ad-hoc location of the subregion, or be Ensure the accuracy of result, it is as much as possible to be uniformly distributed in all subregion i.e. in certain transformation Can.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, a virtualization threshold value is set, the virtualization threshold value is brightness value, it is bright when the subregion calculated When spending average value less than the virtualization threshold value, it is believed that the brightness in the subregion is relatively low, without carrying out at further virtualization Reason, and when the average brightness of the subregion calculated is more than or equal to the virtualization threshold value, it is believed that it is bright in the subregion Angle value is higher, and the contrast of the image in focal zone is not obvious, it is necessary to carry out further virtualization processing.
In the present embodiment, when displaying for a user virtualization threshold value, the value or scope of a recommendation, the recommendation can be provided Threshold value or scope, adaptive adjustment can be carried out according to picture, also can only provide an empirical value or experience range.Fig. 5 is For when terminal take pictures preview, using interactive interface, the schematic diagram of selection is carried out for virtualization threshold value for user.
After the selection that virtualization threshold value is provided at the interface shown in Fig. 5, after user have input selected virtualization threshold value, we Method further provides the preliminary virtualization result of the preview picture carried out according to the selected virtualization threshold value of user, in order to more preferable Expression virtualization effect, using Fig. 6 deeper background represent virtualization processing it is deep, and utilize Fig. 7 more shallow background Represent that the degree of virtualization processing is shallow.After user selects different virtualization threshold values in described virtualization threshold value selection input bar, Final virtualization threshold value can be determined according to result, so as to obtain the picture of the virtualization processing of satisfaction.
The picture provided in the present embodiment blurs processing method, passes through the preview picture and the preview picture got Focal zone, it is determined that need blur after virtualization region after, by the region to be blurred according to default Luminance Analysis model It is divided into after at least two annular subregions, then obtains the average brightness of the subregion, when the brightness of the subregion is put down When average is higher than default virtualization threshold value, the subregion is carried out after virtualization processing, at the virtualization for obtaining the preview picture Manage picture.Wherein, the selection for the virtualization threshold value that the present embodiment is provided the user, user according to take pictures demand and personal can like Good, different by inputting virtualization threshold value, the preview picture for obtaining different virtualization results carries out last selection of taking pictures. Due to the selection there is provided virtualization threshold value so that the method that this implementation is provided, the use demand of user is more conformed to, is improved The applicability of the virtualization photographic method of the present invention.
Example IV:
Fig. 8, to obtain the schematic diagram of focal zone in the virtualization photographic method of the inventive method example IV, is embodiment The preferred steps of step 100 in one, including:
Step 110, the focus point of the preview picture and the preview picture is obtained.
Specifically, due to the scope of focal zone, the scope in region to be blurred directly described in decision, and the area to be blurred The scope in domain, the result with virtualization processing is closely related, therefore, selecting for the focal zone, also blurs the result of processing There is direct relation.
Based on the division provided by the present invention that region to be blurred is carried out to subregion, the focal zone of the preview picture Domain, in addition to directly focal zone is obtained, also supports the flexible setting for focal zone.Firstly the need of in the preview graph got On piece, focus point is determined.
The focus point, is selected to determine according to the input of user, or camera is provided automatically according to prior art.It is described poly- The position of focus, the position in the preview picture is not known, and can be located at the center of the preview picture, can also be located at The deep position of the preview picture.
Step 120, the focal zone is determined according to the focus point and default focused radius.
Specifically, further, the default focused radius, can put down according to the size of the preview picture, brightness Average etc. provides a fixed value or provided after a number range, is shown taking pictures in preview interface, supplies User is adjusted, to better meet demand of the user for result of taking pictures.Specific display and regulation process, with user The interaction of selection virtualization threshold value is similar, and here is omitted.
The determination of the focal zone, except above-mentioned according to default focused radius and focus point, provide one it is circular poly- Burnt region, focused radius r as shown in Figure 8, the value of the user's input got, or size according to preview picture, brightness are put down Average carries out adaptive adjustment, can there is small to being changed greatly in a given scope.Thus resulting focusing The scope in region is different, therefore the scope in the region to be blurred provided is also differed, and is obtained using follow-up virtualization process step Virtualization result also differ.
Step 200, the region to be blurred is divided at least two subregions according to default Luminance Analysis model, The Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, the step 200 of be the same as Example one.As a result of the selectable mode of focal zone, this step is used to divide The region to be blurred of analysis also can be because of focal zone it is different and different, even from identical Luminance Analysis model, can also obtain The division result of different subregions.
Step 300, the average brightness of the subregion is obtained.
Specifically, the step 300 of be the same as Example one.It is understood that the division result based on different subregions, meeting Obtain the average brightness of different subregions.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, the step 400 of be the same as Example one, similarly, average brightness and identical based on different subregions Threshold value is blurred, different virtualization results can be also drawn.
In the virtualization photographic method that the present embodiment is provided, by the selection of focus point and default focal zone, really Surely region to be blurred, for follow-up virtualization process step.Scope for the region to be blurred can be carried out flexibly Setting so that final virtualization result can more conform to the actual virtualization demand of preview picture.
Embodiment five:
Fig. 9 is the schematic diagram of rectangle focal zone in the virtualization photographic method of the inventive method embodiment five, is embodiment The preferred steps of step 100 in one, including:
Step 110, the focus point of the preview picture and the preview picture is obtained.
Specifically, the step 110 of be the same as Example four.
Step 120, the focal zone is determined according to the focus point and default focused radius.
Specifically, the default focused radius, can provide a fixed value according to the size of the preview picture, It can also be to provide after a number range, be shown, be adjusted for user in preview interface taking pictures, with more preferable Meet demand of the user for result of taking pictures.Specific display and regulation process, the interaction of virtualization threshold value is selected with user Similar, here is omitted.
Further, the determination of the focal zone, except above-mentioned according to default focused radius and focus point, provides one Circular focal zone, in addition to, according to focus point and default multiple focused radius values, provide the focal zone of other shapes Domain, such as rectangular focal zone, polygonal focal zone.Wherein, the selection of the multiple focused radius, equally takes pictures Shown in preview interface, after being adjusted for user, the value determined according to user provides final focal zone Scope.
As shown in figure 9, when the shape of the focal zone, with the shape of the preview picture it is same or like when, provide Region to be blurred shape matching it is regular, facilitate in the step of follow-up virtualization is taken pictures blur subregion division, Yi Jihou The selection of continuous test point, can more easily get the accurate average brightness of subregion, so as to provide more accurate True virtualization result.
Step 200, the region to be blurred is divided at least two subregions according to default Luminance Analysis model, The Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, the step 200 of be the same as Example one.As a result of the selectable mode of focal zone, this step is used to divide The region to be blurred of analysis also can be because of focal zone it is different and different, even from identical Luminance Analysis model, can also obtain The division result of different subregions.Particularly, it is described to treat when the focal zone is identical with the shape of the preview picture The shape for blurring region also can be more regular, easily facilitates the division of subregion.
Step 300, the average brightness of the subregion is obtained.
Specifically, the step 300 of be the same as Example one.It is understood that the division result based on different subregions, meeting Obtain the average brightness of different subregions.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, the step 400 of be the same as Example one, similarly, average brightness and identical based on different subregions Threshold value is blurred, different virtualization results can be also drawn.
In the virtualization photographic method that the present embodiment is provided, by the selection of focus point and default focal zone, really Surely region to be blurred, for follow-up virtualization process step.Wherein, it is getting with preview picture shape identical Focal zone so that the scope for the region to be blurred can flexibly be set so that final virtualization processing knot Fruit can more conform to the actual virtualization demand of preview picture.
Embodiment six:
Figure 10 is the flow chart for obtaining average brightness value in the virtualization photographic method of the inventive method embodiment six, such as The virtualization photographic method in the inventive method embodiment six shown in Figure 10, is the preferred steps of step 300 in embodiment one, bag Include:
Step 100, the focal zone of preview picture and the preview picture is obtained, will be gathered in the preview picture except described Region outside burnt region is defined as region to be blurred.
Specifically, the step 100 of be the same as Example one.
Step 200, the region to be blurred is divided at least two subregions according to default Luminance Analysis model, The Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, the step 200 of be the same as Example one.
Step 310, at least two test points are set in the boundary line and/or region of the subregion.
Specifically, to reduce the amount of calculation of the picture virtualization processing, in the process for the average brightness for obtaining its region In, the calculating that the brightness value of all pixels point in the subregion is completely used for average brightness is not used, but is set The mode of at least two test points, by the average brightness of all test points, is averaged instead of the brightness of the subregion where it Value.
By taking Fig. 4 sub-zone dividing result as an example, when the test point is arranged in the region of four sub-regions, Multiple test points can be uniformly distributed in four sub-regions, be the accurate average brightness for obtaining four sub-regions, The test point is more much more accurate.It is similarly, described to survey when the test point is arranged on the boundary line of four sub-regions Pilot is more, and the average brightness of the subregion of gained is more true.
By taking Fig. 3 sub-zone dividing result as an example, when the test point is arranged in the region of the annular subregion, Multiple test points can be uniformly distributed in each annular, and the quantity that the test point is set is more, the subregion of gained Average brightness is more true.When the test point is arranged in the inner circle of the annular subregion and cylindrical circumference, given in Fig. 3 The set-up mode of the test point gone out is that the quantity of the test point on each circumference is identical, in practice, can be on each circumference It is even that N number of test point is set, for example, N is the positive integer between 1 to 36.
Step 320, the brightness value of the test point is obtained according to the preview picture.
Specifically, according to the preview picture, the brightness value of the pixel where the acquisition test point.
Step 330, according to the brightness value, the average brightness value of the subregion is obtained.
Specifically, when the test point is arranged in the region of the subregion, the brightness of direct each test point Value carries out average.
When the test point is arranged at the boundary line of the subregion, first by all test points on each bar boundary line Brightness value be averaged, after the brightness value for obtaining each boundary line, then the brightness value of all boundary lines is averaged, acquisition The average brightness for the subregion that all boundary lines of one sub-regions fence up.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, the step 400 of be the same as Example one.
The calculating process for the subregion average brightness that the present embodiment is provided, by the boundary line of the subregion And/or at least two test points are set in region, the brightness value of test point is obtained, is then obtained according to the brightness value of the test point Take the average brightness of the subregion.By flexibly setting the position of the test point, different preview pictures are met Blur process demand.
Embodiment seven:
Figure 11 is the setting schematic diagram of the test point in the virtualization photographic method of the inventive method embodiment seven, is embodiment The preferred steps of step 300 in one, including:
Step 100, the focal zone of preview picture and the preview picture is obtained, will be gathered in the preview picture except described Region outside burnt region is defined as region to be blurred.
Specifically, the step 100 of be the same as Example one.
Step 200, the region to be blurred is divided at least two subregions according to default Luminance Analysis model, The Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, the step 200 of be the same as Example one.
Step 310, at least two test points are set in the boundary line and/or region of the subregion.
Specifically, to reduce the amount of calculation of the picture virtualization processing, in the process for the average brightness for obtaining its region In, the calculating that the brightness value of all pixels point in the subregion is completely used for average brightness is not used, but is set The mode of at least two test points, by the average brightness of all test points, is averaged instead of the brightness of the subregion where it Value.
In the present embodiment, as shown in figure 11, in the different multiple test points of each quantity provided circumferentially about, according to circumference Girth, the test point for setting quantity not wait in the inner circle of such as r+D annulus, sets 4 test points, cylindrical upper to set 8 surveys Pilot, r+2D annulus it is cylindrical it is upper setting 16 test points, r+3D annulus it is cylindrical on be also provided with 16 test points.Set Average brightness obtained by the circumference of different number of checkpoints, relevance each other is stronger, the sub-district that subsequently calculates The average brightness in domain is also more accurate.
Step 320, the brightness value of the test point is obtained according to the preview picture.
Specifically, according to the preview picture, the brightness value of the pixel where the acquisition test point.
Step 330, according to the brightness value, the average brightness value of the subregion is obtained.
Specifically, when the test point is arranged in the region of the subregion, the brightness of direct each test point Value carries out average.
When the test point is arranged at the boundary line of the subregion, first by all test points on each bar boundary line Brightness value be averaged, after the brightness value for obtaining each boundary line, then the brightness value of all boundary lines is averaged, acquisition The average brightness for the subregion that all boundary lines of one sub-regions fence up.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, the step 400 of be the same as Example one.
The calculating process for the subregion average brightness that the present embodiment is provided, by the boundary line of the subregion And/or at least two test points are set in region, the brightness value of test point is obtained, is then obtained according to the brightness value of the test point Take the average brightness of the subregion.By flexibly setting position and the quantity of the test point, different previews are met The virtualization process demand of picture.
Embodiment eight:
Figure 12 is the division schematic diagram of the subregion in the virtualization photographic method of the inventive method embodiment eight, is embodiment The preferred steps of step 200 in one, including:
Step 100, the focal zone of preview picture and the preview picture is obtained, will be gathered in the preview picture except described Region outside burnt region is defined as region to be blurred.
Step 200, the region to be blurred is divided at least two subregions according to default Luminance Analysis model, The Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, the virtualization photographic method in embodiment as shown in figure 12, is to be drawn described in step 200 in embodiment one It is divided into the preferred embodiment of at least two subregions, it is described to be divided at least two subregions, including to be divided at least two embedding The annular subregion of set, and the ring width of each annular subregion gradually increases from inside to outside.
As shown in figure 11, with focus point and radius r+A, radius r+B and radius r+C, and (A<B<C), three are depicted respectively Individual circumference, constitutes three annulus outside the focal zone, and the ring width of three annulus gradually increases from inside to outside.
Step 300, the average brightness of the subregion is obtained.
Specifically, it is identical with the acquisition methods of the average brightness of embodiment one, can the different annular of area son In region, test point is uniformly set, the average brightness per sub-regions is obtained.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, the step 400 of be the same as Example one.
Virtualization photographic method given by the present embodiment, by that will be the different annular sub-district of ring width with virtualization region division After the mode in domain, the average brightness for obtaining the respective region, the subregion for choosing average brightness higher than certain brightness enters Row virtualization is handled, and is less than the subregion of virtualization threshold value for average brightness, then is handled without virtualization.Due in preview graph It is more preferable prominent focal zone in piece, the region to be blurred can be got over closer to the part of focal zone, its demand blurred By force, therefore, according to the distance with focal zone, the mode of different subregions is set, it can be deduced that more rational empty Change result, get picture of more accurately taking pictures.
Embodiment nine:
Figure 13 is the division schematic diagram for blurring the subregion in photographic method of the inventive method embodiment nine, with such as Fig. 1 Sub-zone dividing mode in shown the inventive method embodiment one is different, including:
Step 100, the focal zone of preview picture and the preview picture is obtained, will be gathered in the preview picture except described Region outside burnt region is defined as region to be blurred.
Specifically, the step 100 of be the same as Example one.
Step 200, the region to be blurred is divided at least two subregions according to default Luminance Analysis model, The Luminance Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis.
Specifically, the division of the subregion in the present embodiment, to be latticed multiple by the region division to be blurred Subregion, as shown in figure 13, is divided into the latticed subregion of square.Similarly, polygonal latticed son can be also divided into Region, or comb shapes latticed subregion.
Area between each latticed subregion can be with identical, as shown in figure 13, can also be different, is such as set to lean on The area of the latticed subregion of the nearly focal zone is small, and the area of the latticed subregion away from the focal zone is big.
Step 300, the average brightness of the subregion is obtained.
Specifically, the step 300 of be the same as Example one.
Step 400, when the average brightness is higher than default virtualization threshold value, the subregion is carried out at virtualization Reason, obtains the virtualization processing picture of the preview picture.
Specifically, the step 400 of be the same as Example one.
The picture provided in the present embodiment blurs processing method, passes through the preview picture and the preview picture got Focal zone, it is determined that need blur after virtualization region after, by the region to be blurred according to default Luminance Analysis model It is divided into after at least two latticed subregions, then obtains the average brightness of the subregion, when the brightness of the subregion When average value is higher than default virtualization threshold value, the subregion is carried out after virtualization processing, the virtualization of the preview picture is obtained Handle picture.Due to having carried out the virtualization processing of selectivity, rather than virtualization processing is carried out for all regions to be blurred, The amount of calculation of mobile terminal reduces, while also reducing the consumption of battery, improves the endurance of battery.
Figure 14 is the structural representation for blurring photo terminal in the inventive method embodiment ten, including:Processor 10, deposit Reservoir 30 and communication bus 20;The communication bus 20 is used to realize the connection communication between processor 10 and memory 30.
The processor 10 is used to performing the virtualization that is stored in memory 30 and taken pictures program, to realize following steps:
Obtain the focal zone of preview picture and the preview picture, by the preview picture in addition to the focal zone Region be defined as region to be blurred;
By the region to be blurred according to default Luminance Analysis model, at least two subregions, the brightness are divided into Analysis model includes being used for the sub-zone dividing model that the region to be blurred is carried out to Luminance Analysis;
Obtain the average brightness of the subregion;
When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, institute is obtained State the virtualization processing picture of preview picture.
It is preferred that, it is described obtain preview picture and the preview picture focal zone the step of, the processor 10 has Body is used to realize following steps:Obtain the focus point of the preview picture and the preview picture;According to the focus point and in advance If focused radius determine the focal zone.
It is preferred that, it is described obtain the subregion average brightness the step of, the processor 10 is specifically for realizing Following steps:At least two test points are set in the boundary line and/or region of the subregion;Obtained according to the preview picture Take the brightness value of the test point;According to the brightness value, the average brightness value of the subregion is obtained.
It is preferred that, described the step of be divided at least two subregions, the processor 10 is specifically for realizing following walk Suddenly:It is divided at least two nested annular subregions.
It is preferred that, the step of be at least two subregions, the processor 10 is specifically for realizing:Each annular sub-district The ring width in domain gradually increases from inside to outside.
It is preferred that, described the step of be divided at least two subregions, the processor 10 is specifically for realizing:It is divided into At least two latticed subregions.
The picture provided in the present embodiment blurs processing equipment, passes through the preview picture and the preview picture got Focal zone, it is determined that need blur after virtualization region after, by the region to be blurred according to default Luminance Analysis model It is divided into after at least two annular subregions, then obtains the average brightness of the subregion, when the brightness of the subregion is put down When average is higher than default virtualization threshold value, the subregion is carried out after virtualization processing, at the virtualization for obtaining the preview picture Manage picture.By by after after the different subregion of virtualization region division, choosing the subregion that average brightness is higher than certain brightness Virtualization processing is carried out, and is less than the subregion of virtualization threshold value for average brightness, then is handled without virtualization.Due to carrying out The virtualization processing of selectivity, rather than virtualization processing has been carried out for all regions to be blurred, the amount of calculation of mobile terminal subtracts It is small, while also reducing the consumption of battery, improve the endurance of battery.
The present invention also protects a kind of computer-readable recording medium, the computer-readable recording medium storage have one or The multiple programs of person, one or more of programs can be by one or more computing device, to realize following steps:Obtain The focal zone of preview picture and the preview picture, the region in the preview picture in addition to the focal zone is defined as Region to be blurred;By the region to be blurred according to default Luminance Analysis model, at least two subregions are divided into, it is described bright Spend the sub-zone dividing model that analysis model includes being used for the region to be blurred is carried out to Luminance Analysis;Obtain the subregion Average brightness;When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, obtained The virtualization of the preview picture is taken to handle picture.
It is preferred that, it is described obtain preview picture and the preview picture focal zone the step of, it is one or many Individual program can also be by one or more of computing devices, to realize following steps:Obtain the preview picture and described The focus point of preview picture;The focal zone is determined according to the focus point and default focused radius.
It is preferred that, it is described obtain the subregion average brightness the step of, one or more of programs may be used also By one or more of computing devices, to realize following steps:Set in the boundary line and/or region of the subregion Put at least two test points;The brightness value of the test point is obtained according to the preview picture;According to the brightness value, institute is obtained State the average brightness value of subregion.
It is preferred that, described the step of be divided at least two subregions, one or more of programs can also be described One or more computing device, to realize following steps:It is divided at least two nested annular subregions.
It is preferred that, described the step of be divided at least two nested annular subregions, one or more of programs Can also be by one or more of computing devices, to realize:The ring width of each annular subregion gradually increases from inside to outside Greatly.
It is preferred that, described the step of be divided at least two subregions, one or more of programs can also be described One or more computing device, to realize following steps:It is divided at least two latticed subregions.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can include:ROM, RAM, disk or CD etc..
In a word, the foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention. Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., should be included in the present invention's Within protection domain.

Claims (21)

1. one kind virtualization photographic method, it is characterised in that the virtualization photographic method includes:
The focal zone of preview picture and the preview picture is obtained, by the area in the preview picture in addition to the focal zone Domain is defined as region to be blurred;
By the region to be blurred according to default Luminance Analysis model partition be subregion;
Obtain the average brightness of the subregion;
When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, obtained described pre- Look at picture virtualization processing picture.
2. as claimed in claim 1 virtualization photographic method, it is characterised in that it is described by the region to be blurred according to default Luminance Analysis model partition is subregion, including:
By the region to be blurred according to default Luminance Analysis model partition be at least two subregions.
3. photographic method is blurred as claimed in claim 1, it is characterised in that the acquisition preview picture and the preview picture Focal zone the step of include:
Obtain the focus point of the preview picture and the preview picture;
The focal zone is determined according to the focus point and default focused radius.
4. photographic method is blurred as claimed in claim 1, it is characterised in that the average brightness of the acquisition subregion The step of include:
At least two test points are set in the boundary line and/or region of the subregion;
The brightness value of the test point is obtained according to the preview picture;
According to the brightness value, the average brightness value of the subregion is obtained.
5. virtualization photographic method as claimed in claim 2, it is characterised in that described to be divided at least two subregions, including:
It is divided at least two nested annular subregions.
6. photographic method is blurred as claimed in claim 5, it is characterised in that described to be divided at least two nested annular Region, including:
The ring width of each annular subregion gradually increases from inside to outside.
7. virtualization photographic method as claimed in claim 2, it is characterised in that described to be divided at least two subregions, including:
It is divided at least two latticed subregions.
8. one kind virtualization photo terminal, it is characterised in that it is total that the virtualization photo terminal includes processor, memory and communication Line;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to performing the virtualization that is stored in memory and taken pictures program, to realize following steps:
The focal zone of preview picture and the preview picture is obtained, by the area in the preview picture in addition to the focal zone Domain is defined as region to be blurred;
By the region to be blurred according to default Luminance Analysis model, subregion is divided into, the Luminance Analysis model includes Sub-zone dividing model for the region to be blurred to be carried out to Luminance Analysis;
Obtain the average brightness of the subregion;
When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, obtained described pre- Look at picture virtualization processing picture.
9. as claimed in claim 8 virtualization photo terminal, it is characterised in that it is described by the region to be blurred according to default Luminance Analysis model partition is subregion, including:
By the region to be blurred according to default Luminance Analysis model partition be at least two subregions.
10. photo terminal is blurred as claimed in claim 8, it is characterised in that the acquisition preview picture and the preview graph The step of focal zone of piece, the processor is specifically for realizing following steps:
Obtain the focus point of the preview picture and the preview picture;
The focal zone is determined according to the focus point and default focused radius.
11. photo terminal is blurred as claimed in claim 8, it is characterised in that the brightness of the acquisition subregion is averaged The step of value, the processor is specifically for realizing following steps:
At least two test points are set in the boundary line and/or region of the subregion;
The brightness value of the test point is obtained according to the preview picture;
According to the brightness value, the average brightness value of the subregion is obtained.
12. photo terminal is blurred as claimed in claim 9, it is characterised in that the step for being divided at least two subregions Suddenly, the processor is specifically for realizing following steps:
It is divided at least two nested annular subregions.
13. photo terminal is blurred as claimed in claim 12, it is characterised in that the step for being divided at least two subregions Suddenly, the processor is specifically for realizing:
The ring width of each annular subregion gradually increases from inside to outside.
14. photo terminal is blurred as claimed in claim 9, it is characterised in that the step for being divided at least two subregions Suddenly, the processor is specifically for realizing:
It is divided at least two latticed subregions.
15. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing device, to realize following steps:
The focal zone of preview picture and the preview picture is obtained, by the area in the preview picture in addition to the focal zone Domain is defined as region to be blurred;
By the region to be blurred according to default Luminance Analysis model, subregion is divided into, the Luminance Analysis model includes Sub-zone dividing model for the region to be blurred to be carried out to Luminance Analysis;
Obtain the average brightness of the subregion;
When the average brightness is higher than default virtualization threshold value, virtualization processing is carried out to the subregion, obtained described pre- Look at picture virtualization processing picture.
16. computer-readable recording medium as claimed in claim 15, it is characterised in that the acquisition preview picture and described The step of focal zone of preview picture, one or more of programs can also be held by one or more of processors OK, to realize following steps:
Described is subregion according to default Luminance Analysis model partition by the region to be blurred, including by the area to be blurred Domain is at least two subregions according to default Luminance Analysis model partition.
17. computer-readable recording medium as claimed in claim 15, it is characterised in that the acquisition preview picture and described The step of focal zone of preview picture, one or more of programs can also be held by one or more of processors OK, to realize following steps:
Obtain the focus point of the preview picture and the preview picture;
The focal zone is determined according to the focus point and default focused radius.
18. computer-readable recording medium as claimed in claim 15, it is characterised in that the acquisition subregion it is bright The step of spending average value, one or more of programs can also by one or more of computing devices, with realize with Lower step:
At least two test points are set in the boundary line and/or region of the subregion;
The brightness value of the test point is obtained according to the preview picture;
According to the brightness value, the average brightness value of the subregion is obtained.
19. computer-readable recording medium as claimed in claim 16, it is characterised in that described to be divided at least two sub-districts The step of domain, one or more of programs can also be by one or more of computing devices, to realize following steps:
It is divided at least two nested annular subregions.
20. computer-readable recording medium as claimed in claim 19, it is characterised in that described to be divided at least two nestings Annular subregion the step of, one or more of programs can also be by one or more of computing devices, with reality It is existing:
The ring width of each annular subregion gradually increases from inside to outside.
21. computer-readable recording medium as claimed in claim 16, it is characterised in that described to be divided at least two sub-districts The step of domain, one or more of programs can also be by one or more of computing devices, to realize following steps:
It is divided at least two latticed subregions.
CN201710531248.4A 2017-07-03 2017-07-03 Virtual photographing method, virtual photographing terminal and computer readable storage medium Active CN107277354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710531248.4A CN107277354B (en) 2017-07-03 2017-07-03 Virtual photographing method, virtual photographing terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710531248.4A CN107277354B (en) 2017-07-03 2017-07-03 Virtual photographing method, virtual photographing terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107277354A true CN107277354A (en) 2017-10-20
CN107277354B CN107277354B (en) 2020-04-28

Family

ID=60070787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710531248.4A Active CN107277354B (en) 2017-07-03 2017-07-03 Virtual photographing method, virtual photographing terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107277354B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108495030A (en) * 2018-03-16 2018-09-04 维沃移动通信有限公司 A kind of image processing method and mobile terminal

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656817A (en) * 2008-08-19 2010-02-24 株式会社理光 Image processing apparatus, image processing process and image processing procedures
US20110134311A1 (en) * 2009-12-07 2011-06-09 Seiji Nagao Imaging device and imaging method
US20130216154A1 (en) * 2012-02-16 2013-08-22 Jianfeng Li Method of performing eye circle correction an image and related computing device
CN104104869A (en) * 2014-06-25 2014-10-15 华为技术有限公司 Photographing method and device and electronic equipment
CN105450939A (en) * 2015-11-19 2016-03-30 上海斐讯数据通信技术有限公司 High dynamic range image display method and mobile terminal
CN105554370A (en) * 2014-10-22 2016-05-04 佳能株式会社 Image processing apparatus and image processing method
CN105574866A (en) * 2015-12-15 2016-05-11 努比亚技术有限公司 Image processing method and apparatus
CN105898145A (en) * 2016-05-03 2016-08-24 深圳市金立通信设备有限公司 Photographing method and terminal
CN106101544A (en) * 2016-06-30 2016-11-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106504220A (en) * 2016-08-19 2017-03-15 华为机器有限公司 A kind of image processing method and device
CN106657782A (en) * 2016-12-21 2017-05-10 努比亚技术有限公司 Picture processing method and terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656817A (en) * 2008-08-19 2010-02-24 株式会社理光 Image processing apparatus, image processing process and image processing procedures
US20110134311A1 (en) * 2009-12-07 2011-06-09 Seiji Nagao Imaging device and imaging method
US20130216154A1 (en) * 2012-02-16 2013-08-22 Jianfeng Li Method of performing eye circle correction an image and related computing device
CN104104869A (en) * 2014-06-25 2014-10-15 华为技术有限公司 Photographing method and device and electronic equipment
CN105554370A (en) * 2014-10-22 2016-05-04 佳能株式会社 Image processing apparatus and image processing method
CN105450939A (en) * 2015-11-19 2016-03-30 上海斐讯数据通信技术有限公司 High dynamic range image display method and mobile terminal
CN105574866A (en) * 2015-12-15 2016-05-11 努比亚技术有限公司 Image processing method and apparatus
CN105898145A (en) * 2016-05-03 2016-08-24 深圳市金立通信设备有限公司 Photographing method and terminal
CN106101544A (en) * 2016-06-30 2016-11-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106504220A (en) * 2016-08-19 2017-03-15 华为机器有限公司 A kind of image processing method and device
CN106657782A (en) * 2016-12-21 2017-05-10 努比亚技术有限公司 Picture processing method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108495030A (en) * 2018-03-16 2018-09-04 维沃移动通信有限公司 A kind of image processing method and mobile terminal

Also Published As

Publication number Publication date
CN107277354B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
US10032258B2 (en) Automatically suggesting regions for blur kernel estimation
CN104301624B (en) A kind of image taking brightness control method and device
CN108833770A (en) Image definition calculation method, calculating equipment and focusing system for focusing
CN104867125B (en) Obtain the method and device of image
CN106663322B (en) The method and apparatus of feature in image for identification
CN105741231B (en) The skin makeup treating method and apparatus of image
KR20160051803A (en) Interactive image composition
US9466096B2 (en) Deblurring images having spatially varying blur
US20120249571A1 (en) Image display method, server, and image display system
CN108848367B (en) Image processing method and device and mobile terminal
KR20150019985A (en) Method and apparatus for dynamic range enhancement of an image
CN107301402A (en) A kind of determination method, device, medium and the equipment of reality scene key frame
US9576220B2 (en) Automatically determining the size of a blur kernel
CN103595917A (en) Mobile terminal and focusing method thereof
CN104182970A (en) Souvenir photo portrait position recommendation method based on photography composition rule
WO2020087729A1 (en) Image processing method and apparatus, electronic device and storage medium
CN107463114A (en) Books management method and system based on bookshelf
CN105654451A (en) Image processing method and device
CN104394320B (en) Handle the method, apparatus and electronic equipment of image
CN105654424B (en) Adjustment ratio display methods, display system, display device and the terminal of image
CN107277354A (en) One kind virtualization photographic method, virtualization photo terminal and computer-readable recording medium
CN103543916A (en) Information processing method and electronic equipment
CN107105150A (en) A kind of method, photographic method and its corresponding intrument of selection photo to be output
CN103647903B (en) A kind of mobile terminal photographic method and system
US10275885B2 (en) Perimeter detection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200330

Address after: 325200, Wenzhou, Zhejiang, Ruian province Anyang Times Building A street, building four northeast head

Applicant after: RUIAN ZHIZAO TECHNOLOGY Co.,Ltd.

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231011

Address after: Room 404-2, Zone D, No. 84, shuijiawan street, Changlu street, Jiangbei new area, Nanjing, Jiangsu 210000

Patentee after: Nanjing Shanji Digital Technology Co.,Ltd.

Address before: 325200 northeast first floor, building a, times building, Anyang street, Ruian City, Wenzhou City, Zhejiang Province

Patentee before: RUIAN ZHIZAO TECHNOLOGY Co.,Ltd.