CN108093174A - Patterning process, device and the photographing device of photographing device - Google Patents
Patterning process, device and the photographing device of photographing device Download PDFInfo
- Publication number
- CN108093174A CN108093174A CN201711362698.1A CN201711362698A CN108093174A CN 108093174 A CN108093174 A CN 108093174A CN 201711362698 A CN201711362698 A CN 201711362698A CN 108093174 A CN108093174 A CN 108093174A
- Authority
- CN
- China
- Prior art keywords
- camera
- information
- picture
- photographing
- evaluated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000000059 patterning Methods 0.000 title claims abstract description 36
- 230000008569 process Effects 0.000 title claims abstract description 31
- 239000000203 mixture Substances 0.000 claims abstract description 27
- 230000000694 effects Effects 0.000 claims abstract description 21
- 238000013210 evaluation model Methods 0.000 claims description 32
- 210000000746 body region Anatomy 0.000 claims description 25
- 238000012549 training Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 5
- 238000011156 evaluation Methods 0.000 claims description 5
- 230000001105 regulatory effect Effects 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 3
- 230000011218 segmentation Effects 0.000 claims description 3
- 235000013399 edible fruits Nutrition 0.000 claims description 2
- 230000006870 function Effects 0.000 description 7
- 238000003860 storage Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000010606 normalization Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000012706 support-vector machine Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000571 coke Substances 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
The present invention provides a kind of patterning process of photographing device, device and photographing devices, belong to photographing device auto composition technical field.This method includes:Ambient condition information is obtained using the sensor on photographing device;By ambient condition information, photographing information is determined;Camera parameter is adjusted according to photographing information, controls image shot by camera.Patterning process, device and the photographing device of photographing device provided in an embodiment of the present invention obtain ambient condition information using the sensor on photographing device;By ambient condition information, photographing information is determined;Camera parameter is adjusted according to photographing information, the parameters such as optimal shooting angle and the focal length of camera is determined, camera is adjusted according to definite parameter, add the patterning effect of captured image and image aesthetics.
Description
Technical field
The present invention relates to photographing device auto composition technical field, in particular to a kind of composition side of photographing device
Method, device and photographing device.
Background technology
With holder camera (such as:Hand-held holder, the camera of unmanned plane) development and popularization, more and more users can be with
The splendid moment in life is left by way of taking pictures.It makes a blueprint from landscape souvenir during tourism to self-timer, people want to take
Fine photo.Yet with ordinary user for the deficiency of Professional Photography knowledge so that they can not come from the angle of aesthetics
Consider influence of the various factors for photo when taking pictures, so as to can not shoot more meet aesthstic rule, aesthetic feeling can be brought
Photo.
In order to improve the aesthetic degree of photo, the existing function that software is beautified by a key of taking pictures, to the picture after shooting
Color, contrast etc. be adjusted so that image more meets Popular Aesthetics custom.But it carries out repairing figure using software of taking pictures
Processing mode, the promotion to image aesthetic degree is limited, can not be made up due to the influence of the factors such as shooting angle, focal length,
Photo caused by and it is imperfect.
The content of the invention
Problem present in for the above-mentioned prior art, the present invention provides a kind of patterning process of photographing device, devices
And photographing device, it the parameters such as the shooting angle to camera and focal length can be adjusted automatically, shoot and have artistic take the photograph
Shadow works.
In a first aspect, an embodiment of the present invention provides a kind of patterning process of photographing device, including:
Ambient condition information is obtained using the sensor on photographing device;
By ambient condition information, photographing information is determined;
Camera parameter is adjusted according to photographing information, controls image shot by camera.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiment of first aspect, wherein, profit
The step of ambient condition information being obtained with the sensor on photographing device, including:
The range information of surrounding objects is obtained by range sensor;
Alternatively, the luminance information of ambient enviroment is obtained by brightness sensor.
With reference to first aspect, an embodiment of the present invention provides second of possible embodiment of first aspect, wherein, profit
The step of ambient condition information being obtained with the sensor on photographing device, including:
The pre- captured image captured by camera, is handled to obtain ambient condition information.
Second of possible embodiment with reference to first aspect, an embodiment of the present invention provides the third of first aspect
Possible embodiment, wherein, the pre- captured image captured by camera is handled to obtain ambient condition information,
Including:
Multiple pictures to be evaluated are determined from the pre- captured image;
Using the esthetic evaluation model previously generated, score value assessment is carried out to every picture to be evaluated respectively.
The third possible embodiment with reference to first aspect, an embodiment of the present invention provides the 4th kind of first aspect
Possible embodiment, wherein, the generating process of the esthetic evaluation model includes:
For a series of training pictures with score value or classification results of acquisition, extract the trained picture with
The relevant characteristic value of image aesthetic feeling, composition characteristic vector;
The score value or classification results of described eigenvector and the trained picture are trained using SVM algorithm, obtained
Esthetic evaluation model.
The third possible embodiment with reference to first aspect, an embodiment of the present invention provides the 5th kind of first aspect
Possible embodiment, wherein, described the step of determining multiple pictures to be evaluated from the pre- captured image of camera capture,
Including:
Sliding window scanning is carried out by the step-length of setting to the pre- captured image of camera capture, to simulate the shooting of different angle
Effect;Change the size of sliding window window in each scan position, to simulate the shooting effect of different focal length;It is to be evaluated to obtain multiple
Picture.
The 5th kind of possible embodiment with reference to first aspect, an embodiment of the present invention provides the 6th kind of first aspect
Possible embodiment, wherein, to the pre- captured image that camera captures by setting step-length carry out sliding window scanning the step of
Before, the method further includes:
Determine shooting body region.
The 6th kind of possible embodiment with reference to first aspect, an embodiment of the present invention provides the 7th kind of first aspect
Possible embodiment, wherein it is determined that after shooting body region, the method further includes:
Camera angle is adjusted, obtains the image of four different angles;
By the image mosaic of four different angles into a width panoramic picture, as pre- captured image.
The 6th kind of possible embodiment with reference to first aspect, an embodiment of the present invention provides the 8th kind of first aspect
Possible embodiment, wherein, described definite the step of shooting body region, including:
Conspicuousness detection is carried out in the neighborhood of user's click on area;
The result detected according to conspicuousness carries out carrying out main body segmentation to pre- captured image, obtains shooting body region.
The 6th kind of possible embodiment with reference to first aspect, an embodiment of the present invention provides the 9th kind of first aspect
Possible embodiment, wherein, it is described using the esthetic evaluation model previously generated, every picture to be evaluated is divided respectively
The step of value assessment, including:
Position and area with reference to body region, extract picture to be evaluated with the relevant characteristic value of image aesthetic feeling, composition
Feature vector;
Using esthetic evaluation model as the evaluation index of described eigenvector, the score value of picture to be evaluated is obtained.
The possible embodiment of with reference to first aspect the first, an embodiment of the present invention provides the tenth kind of first aspect
Possible embodiment, wherein, by ambient condition information, the step of determining photographing information, including:
According to the range information of surrounding objects, shooting focal length is obtained;
Alternatively, according to the luminance information of ambient enviroment, light filling intensity is obtained;
Alternatively, using the esthetic evaluation model previously generated, score value assessment is carried out to every picture to be evaluated respectively;According to
Sliding window position and window size corresponding to the highest picture to be evaluated of score value determine the shooting angle and coke of the camera
Away from.
The tenth a kind of possible embodiment with reference to first aspect, an embodiment of the present invention provides the tenth of first aspect the
A kind of possible embodiment, wherein it is determined that after the step of shooting angle and focal length of the camera, the method is also wrapped
It includes:
To determining that the basic composition after shooting angle and focal length carries out landscaping treatment, the landscaping treatment includes adjustment and exposes
Compensation and focusing process.
With reference to first aspect, an embodiment of the present invention provides the 12nd kind of possible embodiment of first aspect, wherein,
The method is applied to unmanned plane photographing device.
Second aspect, the embodiment of the present invention additionally provide a kind of patterning apparatus of photographing device, including:
Environment information acquisition module, for obtaining ambient condition information using the sensor on photographing device;
Photographing information determining module for passing through ambient condition information, determines photographing information;
Shoot control module;For adjusting camera parameter according to photographing information, image shot by camera is controlled.
The third aspect, the embodiment of the present invention additionally provide a kind of photographing device, including:Processor connects with the processor
The memory and angle regulator connect, the camera being connected with the angle regulator;
The angle regulator is used for the control instruction according to processor, adjusts the shooting angle of the camera;
For storing the machine-executable instruction that can be performed by the processor, the processor performs the memory
The machine-executable instruction, to realize above-mentioned method.
The embodiment of the present invention brings following advantageous effect:
Patterning process, device and the photographing device of photographing device provided in an embodiment of the present invention, using on photographing device
Sensor obtains ambient condition information;By ambient condition information, photographing information is determined;Camera ginseng is adjusted according to photographing information
Number, determines the parameters such as optimal shooting angle and the focal length of camera, camera is adjusted according to definite parameter, is added
The patterning effect of captured image and image aesthetics.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and obtained in attached drawing.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in describing below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, can also be obtained according to these attached drawings other attached drawings.
The flow chart of the patterning process for the photographing device that Fig. 1 is provided by one embodiment of the invention;
The flow chart of the patterning process for the photographing device that Fig. 2 is provided by another embodiment of the present invention;
The schematic diagram for the picture to be evaluated that Fig. 3 is provided by one embodiment of the invention;
The flow chart of the patterning process for the photographing device that Fig. 4 is provided by further embodiment of this invention;
The structure diagram of the patterning apparatus for the photographing device that Fig. 5 is provided by one embodiment of the invention;
The structure diagram of the patterning apparatus for the photographing device that Fig. 6 is provided by another embodiment of the present invention;
The structure diagram for the photographing device that Fig. 7 is provided by one embodiment of the invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiment be part of the embodiment of the present invention rather than
Whole embodiments.The component of embodiments of the present invention, which are generally described and illustrated herein in the accompanying drawings can be matched somebody with somebody with a variety of
It puts to arrange and design.Therefore, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit below
The scope of claimed invention, but it is merely representative of the selected embodiment of the present invention.Based on the embodiments of the present invention, originally
Field those of ordinary skill all other embodiments obtained without making creative work, belong to the present invention
The scope of protection.
Although a variety of softwares of taking pictures set in existing mobile terminal have the function that a key beautifies, can be to image
Color, contrast etc. adjust, and image is made more to meet Popular Aesthetics.But existing software of taking pictures is that utilization can calculate aesthetics,
On the basis of having image, image is evaluated or is reconstructed, be confined to have in image frame, can not know the scape outside image
Object, does not account for and external environment is just made full use of when finding a view, and more has ignored composition than two elements of color and brightness to figure
As aesthetic feeling more value, therefore, it is impossible to obtain better photographic work.It is set for this purpose, taking pictures an embodiment of the present invention provides one kind
Standby patterning process, device and photographing device below first describes to the patterning process of the photographing device of the present invention in detail.
Embodiment one
A kind of patterning process of photographing device is present embodiments provided, as shown in Figure 1, including the following steps:
Step S101 obtains ambient condition information using the sensor on photographing device.
Specifically, the range information of surrounding objects can be obtained by range sensor;Alternatively, it is sensed by brightness
Device obtains the luminance information of ambient enviroment.The pre- captured image captured by camera can also be handled to obtain surrounding
Environmental information.For example, multiple pictures to be evaluated are determined from pre- captured image;Using the esthetic evaluation model previously generated,
The assessment carried out respectively to every picture to be evaluated point.
Step S102 by ambient condition information, determines photographing information.
With above-mentioned steps S101 correspondingly, can according to the range information of surrounding objects, obtain shooting focal length;Alternatively,
According to the luminance information of ambient enviroment, light filling intensity is obtained;Alternatively, using the esthetic evaluation model previously generated, respectively to every
It opens picture to be evaluated and carries out score value assessment;Sliding window position and window size according to corresponding to the highest picture to be evaluated of score value,
Determine the shooting angle and focal length of camera.
Step S103 adjusts camera parameter according to photographing information, controls image shot by camera.
This method is applied to the photographing device with regulating device.For example, holder camera.It is understood that this method
It can be applied to unmanned plane photographing device.When unmanned plane photographing device is shot using the above method, distance can be passed through
Sensor obtains the range information of surrounding objects;Alternatively, the luminance information of ambient enviroment is obtained by brightness sensor;Or
Person obtains the flight information of unmanned plane by velocity sensor.Then, according to the ambient condition information of sensor acquisition or flight
Information determines photographing information.And then camera parameter is adjusted according to photographing information, image shot by camera is controlled, realizes image oneself
Dynamic shooting, increases the patterning effect of captured image and image aesthetics.
Embodiment two
A kind of patterning process of photographing device is present embodiments provided, as shown in Fig. 2, including the following steps:
Step S201 determines multiple pictures to be evaluated from the pre- captured image of camera capture.
Following method may be employed and determine picture to be evaluated:To camera capture pre- captured image by setting step-length into
Row sliding window scans, to simulate the shooting effect of different angle;Change the size of sliding window window in each scan position, to simulate not
With the shooting effect of focal length;Obtain multiple pictures to be evaluated.
For example, according to the original dimension of the sliding window window of setting, by setting in the pre- captured image of camera capture
Step-length carries out sliding window scanning, obtains to position that count out be m to get to m scan position.Change sliding window window in each scan position
The size of mouth, the number for obtaining various sizes of sliding window window are n.Therefore, in the range of the pre- captured image of camera capture,
M*n pictures to be evaluated are obtained.
Step S202 using the esthetic evaluation model previously generated, carries out score value assessment to every picture to be evaluated respectively.
Wherein, the generating process of esthetic evaluation model, including:
For a series of training pictures with score value or classification results of acquisition, extract training picture and image
The relevant characteristic value of aesthetic feeling, composition characteristic vector;
To feature vector and picture is trained using SVM (support vector machine, support vector machines) algorithms
Score value or classification results are trained, and obtain esthetic evaluation model.
In view of the individual demand of different user, can be needed to generate two class esthetic evaluation models according to user.First
Class esthetic evaluation model is the esthetic evaluation model for meeting Popular Aesthetics standard, this class model gives a series of trained picture distributions
Several participants are given a mark or are classified, and then ask for the average of several participant's marking or classification, point as training picture
Value or classification results.Second class esthetic evaluation model is the esthetic evaluation model that is defined according to the aesthetical standard of user, this kind of mould
Type provides a series of trained pictures by software, and user is instructed to give a mark or classify a series of pictures, as training picture
Score value or classification results.
For training picture score value or classification results, can by normalization compress it or uniformly to [- 1,1] it
Between, to enhance convergence in training process afterwards.Extraction training picture with the relevant characteristic value of image aesthetic feeling, composition is special
Sign vector;SVM training is carried out to the score value or classification results of the training picture after feature vector and normalization, obtains esthetic evaluation
Model.
The step of carrying out score value assessment for any one picture to be evaluated, can include:
Extract picture to be evaluated with the relevant characteristic value of image aesthetic feeling, composition characteristic vector;
Using esthetic evaluation model as the evaluation index of described eigenvector, the score value of picture to be evaluated is obtained.
Specifically, can picture to be evaluated be extracted according to the preassigned and relevant series of features of image aesthetic feeling
Associated eigenvalue.These features include but not limited to:Brightness of image, picture tone, image saturation and former according to trichotomy
Then definite feature.Picture to be evaluated is converted to HSV (Hue, Saturation, Value, tone, saturation degree, brightness) color
Space, the average of each passage such as the brightness of image, picture tone and image saturation of picture to be evaluated is calculated, as to be evaluated
The characteristic value of picture.For picture to be evaluated shown in Fig. 3, according to trichotomy principle, entire scene has been divided into 9 parts in equal size,
Important element to be expressed needs to be placed on the position where horizontal line, vertical line or their four intersection points in picture.It calculates
The position of image length and width 3-point line intersection point, if intersection position is p1, p2, p3, p4.It determines the center p of picture main body, calculates
Min (d (p, p1), d (p, p2), d (p, p3), d (p, p4)) is used as a characteristic value.Wherein, d (p, p1) represent location point p with
The pixel distance of p1.
Using esthetic evaluation model as the evaluation index of described eigenvector, the score value of picture to be evaluated is obtained.According to U.S.
Feel evaluation model (or SVM classifier), be available for distinguishing the Optimal Separating Hyperplane of high artistic image and low artistic image,
Picture to be evaluated can be divided into high score and low point of two classes by the Optimal Separating Hyperplane.For the ease of being compared between multiple pictures to be evaluated
Compared with, it is also necessary to determine a score value for each picture to be evaluated, the method for obtaining score value is that (aesthetic feeling is commented according to SVM training results
Valency model) feature vector and the distance of svm classifier hyperplane are calculated, which is between (- ∞ ,+∞).- ∞ represents U.S.
The low extreme case of inductance value, on the contrary ,+∞ represents the high extreme case of aesthetic feeling value.The distance is converted using sigmoid functions
For the score value of picture to be evaluated, which is between (0,1).It is lower that aesthetic feeling value is represented closer to 0, and aesthetic feeling is represented closer to 1
Value is higher.
Step S203, sliding window position and window size according to corresponding to the highest picture to be evaluated of score value determine camera shooting
The shooting angle and focal length of head.
Step S204 according to the shooting angle and focal length of camera, controls image shot by camera.
In one more preferably embodiment, after the shooting angle of camera and focal length is determined, this method further includes:
To determining that the basic composition after shooting angle and focal length carries out landscaping treatment, at adjustment exposure compensating and focusing
Reason etc..
According to image overall effect, landscaping treatment is increased to basic composition.It is mended for example, adjusting exposure according to brightness of image
It repays, region that image is bright and dark region is made to have preferable shooting effect.Focusing process is carried out to basic composition so that image
Edge become apparent from.
The patterning process of photographing device provided in this embodiment carries out sliding window scanning to pre- captured image, obtains multiple and treat
Picture is evaluated, using esthetic evaluation model, score value assessment is carried out to picture to be evaluated, so that it is determined that the optimal shooting angle of camera
The parameters such as degree and focal length, are adjusted camera according to definite parameter, add the patterning effect and image of captured image
Aesthetics.
Embodiment three
A kind of patterning process for the photographing device being more highly preferred to is present embodiments provided, this method is applied to set angled
The photographing device of regulating device, such as holder camera can automatically adjust the photo angle of camera.As shown in figure 4, this method
Including:
Step S401 determines shooting body region.
Wherein, shooting body region can be according to user by click on body region that the image subject of selection determines or
Person is the body region that system automatically determines.It determines shooting body region, two kinds of situations can be divided into:If user has selected figure
As main body, then conspicuousness detection is carried out in the neighborhood of user's click on area, carried out according to the result that conspicuousness detects to shooting in advance
Image carries out main body segmentation, obtains shooting body region.If user does not select image subject, pre- captured image is carried out
Saliency is analyzed, and obtains the most strong region of conspicuousness, is determined as determining shooting body region.
Step S402 adjusts camera angle, obtains the image of four different angles.
Step S403, by the image mosaic of four different angles into a width panoramic picture, as pre- captured image.
Step S402 and step S403 make use of the advantage of holder camera, be rotated by cradle head control camera, can obtain
To a width panoramic picture.Step S402 and step S403 can be performed before step S401.
Step S404 carries out sliding window scanning, to simulate the shooting of different angle effect to pre- captured image by the step-length of setting
Fruit;Change the size of sliding window window in each scan position, to simulate the shooting effect of different focal length;Obtain multiple figures to be evaluated
Piece.
Step S405 using the esthetic evaluation model previously generated, carries out score value assessment to every picture to be evaluated respectively.
It is to be evaluated to every in the esthetic evaluation model that utilization previously generates in the case of shooting body region is determined
When valency picture carries out score value assessment, be referred to position and the area of body region, extract picture to be evaluated with image aesthetic feeling
Relevant characteristic value, composition characteristic vector.
For example, when determining characteristic value for picture to be evaluated shown in Fig. 3 using trichotomy principle, image length and width are calculated
The position of 3-point line intersection point, if intersection position is p1, p2, p3, p4.It determines the center p of shooting body region, calculates min
(d (p, p1), d (p, p2), d (p, p3), d (p, p4)) is used as a characteristic value.The area s of shooting body region can also be calculated
With the ratio of the entire area of picture to be evaluated, as a characteristic value.
Step S406, sliding window position and window size according to corresponding to the highest picture to be evaluated of score value determine camera shooting
The shooting angle and focal length of head.
Step S407, according to the shooting angle and focal length of camera, control camera is shot.
Identical with a upper embodiment, after the shooting angle of camera and focal length is determined, this method further includes:
To determining that the basic composition after shooting angle and focal length carries out landscaping treatment, at adjustment exposure compensating and focusing
Reason etc..
According to image overall effect, landscaping treatment is increased to basic composition.For example, according to brightness of image, particularly shoot
The brightness adjustment exposure compensating of body region makes region that image is bright and dark region have preferable shooting effect.According to master
The clarity of body region carries out focusing process to basic composition so that the edge of image becomes apparent from.
The patterning process of photographing device provided in this embodiment can be realized by following approach:In the control of photographing device
The function button of auto composition is added on end or control software, when taking pictures, user can click on this function button, open certainly
Dynamic composition model.Into auto composition pattern, user can not select image subject or selection one extremely multiple image subjects, boundary
Face provides the acquiescence composition style for meeting Popular Aesthetics standard and User Defined composition style is selective.User according to oneself
After hobby or demand selection composition style, processor utilizes corresponding esthetic evaluation model, and control holder camera Automatic-searching is most
Good shooting angle, focal length, light-inletting quantity etc., are shot.It prompts the user whether to preserve image after the completion of shooting.
The patterning process of photographing device provided in this embodiment make use of the advantage of holder camera, by image optimization by passing
Color of system etc. expands to the optimization of constructing elements;It is carried out for middle-and-high-ranking photography user using platforms such as hand-held holder, unmanned planes
It is convenient that photography provides, and provides preliminary shooting effect, user can be finely adjusted out figure on this basis or the later stage carries out different wind
The screening of lattice;Reduce the threshold that naive user is photographed using platforms such as hand-held holder, unmanned planes.
Example IV
A kind of and corresponding photographing device of above method embodiment patterning apparatus is present embodiments provided, such as Fig. 5 institutes
Show, which includes:
Environment information acquisition module 51, for obtaining ambient condition information using the sensor on photographing device;
Photographing information determining module 52 for passing through ambient condition information, determines photographing information;
Shoot control module 53;For adjusting camera parameter according to photographing information, image shot by camera is controlled.
Optionally, as shown in fig. 6, the device can also include:
Picture acquisition module 61, for determining multiple pictures to be evaluated from the pre- captured image that camera captures;
Score value evaluation module 62, for using the esthetic evaluation model that previously generates, respectively to every picture to be evaluated into
Row score value is assessed;
Parameter adjustment module 63, for the sliding window position according to corresponding to the highest picture to be evaluated of score value and window ruler
It is very little, determine the shooting angle and focal length of camera;
Control module 53 is shot, for the shooting angle and focal length according to camera, control camera is shot.
In one more preferably embodiment, parameter adjustment module 63, it may also be used for after determining shooting angle and focal length
Basic composition carries out landscaping treatment, and the landscaping treatment includes adjustment exposure compensating and focusing process.
In another more preferably embodiment, which can also include determining the body region of shooting body region
Determining module.
The patterning apparatus of photographing device provided in this embodiment carries out sliding window scanning to pre- captured image, obtains multiple and treat
Picture is evaluated, using esthetic evaluation model, score value assessment is carried out to picture to be evaluated, so that it is determined that the optimal shooting angle of camera
The parameters such as degree and focal length, are adjusted camera according to definite parameter, add the patterning effect and image of captured image
Aesthetics.
Embodiment five
A kind of photographing device for employing the patterning apparatus that example IV is provided is present embodiments provided, as shown in fig. 7,
The photographing device includes processor 71, and the memory 72 and angle regulator 73 being connected with processor 71 are filled with angular adjustment
Put the sensor 74 of 73 connections.
Angle regulator 73 is used for the control instruction according to processor, adjusts the shooting angle of camera 54.For example, angle
It can be holder to spend regulating device 73.
One or more machine-executable instruction that memory 72 can be performed for storage by processor 71, one or more
Machine-executable instruction is performed by processor 71, to realize above-mentioned patterning process.Memory 72 may include random at a high speed
Access memory (RAM, Random Access Memory), it is also possible to further include non-labile memory (non-
Volatile memory), a for example, at least magnetic disk storage.
Processor 71 may be a kind of IC chip, have the processing capacity of signal.During realization, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor 71 or the instruction of software form.Above-mentioned
Processor 71 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network
Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal
Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, referred to as
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable
Logical device, discrete gate or transistor logic, discrete hardware components.It can realize or perform in the embodiment of the present invention
Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor can also be appointed
What conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing
Device performs completion or performs completion with the hardware in decoding processor and software module combination.Software module can be located at
Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally
In the storage medium of field maturation.The storage medium is located at memory 72, and processor 71 reads the information in memory 72, with reference to
Its hardware completes the step of method of previous embodiment.
Further, the embodiment of the present invention additionally provides a kind of machine readable storage medium, which deposits
Machine-executable instruction is contained, when being called and being performed by processor, machine-executable instruction promotes the machine-executable instruction
Processor realizes above-mentioned patterning process, and specific implementation can be found in embodiment of the method, and details are not described herein.
The skill of the patterning apparatus and photographing device for the photographing device that the embodiment of the present invention is provided, realization principle and generation
Art effect is identical with preceding method embodiment, and to briefly describe, device embodiment part does not refer to part, can refer to preceding method
Corresponding contents in embodiment.
The patterning process of photographing device provided in an embodiment of the present invention, the patterning apparatus of photographing device and photographing device have
Identical technical characteristic so can also solve the technical issues of identical, reaches identical technique effect.
It should be noted that in embodiment provided by the present invention, it should be understood that disclosed system and method, it can
To realize by another way.The apparatus embodiments described above are merely exemplary, for example, the unit is drawn
Point, it is only a kind of division of logic function, there can be other dividing mode in actual implementation, in another example, multiple units or group
Part may be combined or can be integrated into another system or some features can be ignored or does not perform.It is described to be used as separation unit
The unit that part illustrates may or may not be physically separate, and the component shown as unit can be or also may be used
Not to be physical location, you can be located at a place or can also be distributed in multiple network element.It can be according to reality
Need some or all of unit therein is selected to realize the purpose of this embodiment scheme.
In addition, each functional unit in embodiment provided by the invention can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir, magnetic disc or CD.
Finally it should be noted that:Embodiment described above is only the specific embodiment of the present invention, to illustrate the present invention
Technical solution, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art
In the technical scope disclosed by the present invention, can still modify to the technical solution recorded in previous embodiment or can be light
It is readily conceivable that variation or equivalent substitution is carried out to which part technical characteristic;And these modifications, variation or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.
Claims (15)
1. a kind of patterning process of photographing device, which is characterized in that including:
Ambient condition information is obtained using the sensor on photographing device;
By ambient condition information, photographing information is determined;
Camera parameter is adjusted according to photographing information, controls image shot by camera.
2. according to the method described in claim 1, believe it is characterized in that, obtaining ambient enviroment using the sensor on photographing device
The step of breath, including:
The range information of surrounding objects is obtained by range sensor;
Alternatively, the luminance information of ambient enviroment is obtained by brightness sensor.
3. according to the method described in claim 1, believe it is characterized in that, obtaining ambient enviroment using the sensor on photographing device
The step of breath, including:
The pre- captured image captured by camera, is handled to obtain ambient condition information.
4. according to the method described in claim 3, it is characterized in that, the pre- captured image captured by camera, carries out
Processing obtains ambient condition information, including:
Multiple pictures to be evaluated are determined from the pre- captured image;
Using the esthetic evaluation model previously generated, score value assessment is carried out to every picture to be evaluated respectively.
5. according to the method described in claim 4, it is characterized in that, the generating process of the esthetic evaluation model includes:
For a series of training pictures with score value or classification results of acquisition, extract the trained picture and image
The relevant characteristic value of aesthetic feeling, composition characteristic vector;
The score value or classification results of described eigenvector and the trained picture are trained using SVM algorithm, obtain aesthetic feeling
Evaluation model.
6. it according to the method described in claim 4, it is characterized in that, is determined in the pre- captured image captured from camera
The step of multiple pictures to be evaluated, including:
Sliding window scanning is carried out by the step-length of setting to the pre- captured image of camera capture, to simulate the shooting of different angle effect
Fruit;Change the size of sliding window window in each scan position, to simulate the shooting effect of different focal length;Obtain multiple figures to be evaluated
Piece.
7. according to the method described in claim 6, it is characterized in that, in the step to the pre- captured image that camera captures by setting
Before long the step of carrying out sliding window scanning, the method further includes:
Determine shooting body region.
8. the method according to the description of claim 7 is characterized in that after determining shooting body region, the method further includes:
Camera angle is adjusted, obtains the image of four different angles;
By the image mosaic of four different angles into a width panoramic picture, as pre- captured image.
9. the method according to the description of claim 7 is characterized in that it is described it is definite shooting body region the step of, including:
Conspicuousness detection is carried out in the neighborhood of user's click on area;
The result detected according to conspicuousness carries out carrying out main body segmentation to pre- captured image, obtains shooting body region.
10. the method according to the description of claim 7 is characterized in that described utilize the esthetic evaluation model previously generated, difference
The step of score value assessment is carried out to every picture to be evaluated, including:
Position and area with reference to body region, extract picture to be evaluated with the relevant characteristic value of image aesthetic feeling, composition characteristic
Vector;
Using esthetic evaluation model as the evaluation index of described eigenvector, the score value of picture to be evaluated is obtained.
11. according to the method described in claim 2, it is characterized in that, by ambient condition information, the step of photographing information is determined
Suddenly, including:
According to the range information of surrounding objects, shooting focal length is obtained;
Alternatively, according to the luminance information of ambient enviroment, light filling intensity is obtained;
Alternatively, using the esthetic evaluation model previously generated, score value assessment is carried out to every picture to be evaluated respectively;According to score value
Sliding window position and window size corresponding to highest picture to be evaluated determine the shooting angle and focal length of the camera.
12. according to the method for claim 11, which is characterized in that determine the shooting angle of the camera and the step of focal length
After rapid, the method further includes:
To determining that the basic composition after shooting angle and focal length carries out landscaping treatment, the landscaping treatment includes adjustment exposure compensating
And focusing process.
13. according to the method described in claim 1, it is characterized in that, the method is applied to unmanned plane photographing device.
14. a kind of patterning apparatus of photographing device, which is characterized in that including:
Environment information acquisition module, for obtaining ambient condition information using the sensor on photographing device;
Photographing information determining module for passing through ambient condition information, determines photographing information;
Shoot control module;For adjusting camera parameter according to photographing information, image shot by camera is controlled.
15. a kind of photographing device, which is characterized in that including:Processor, the memory being connected to the processor and angle tune
Regulating device, the camera being connected with the angle regulator;
The angle regulator is used for the control instruction according to processor, adjusts the shooting angle of the camera;
The memory is for storing the machine-executable instruction that can be performed by the processor, described in the processor performs
Machine-executable instruction, to realize claim 1 to 13 any one of them method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711362698.1A CN108093174A (en) | 2017-12-15 | 2017-12-15 | Patterning process, device and the photographing device of photographing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711362698.1A CN108093174A (en) | 2017-12-15 | 2017-12-15 | Patterning process, device and the photographing device of photographing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108093174A true CN108093174A (en) | 2018-05-29 |
Family
ID=62176679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711362698.1A Pending CN108093174A (en) | 2017-12-15 | 2017-12-15 | Patterning process, device and the photographing device of photographing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108093174A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924405A (en) * | 2018-06-11 | 2018-11-30 | 北京航空航天大学 | Take pictures focusing amendment and image processing method, equipment based on distance |
CN110097539A (en) * | 2019-04-19 | 2019-08-06 | 贝壳技术有限公司 | A kind of method and device intercepting picture in virtual three-dimensional model |
CN110233968A (en) * | 2019-06-21 | 2019-09-13 | 上海摩象网络科技有限公司 | Image taking control metho and its device, image capturing apparatus |
WO2020007307A1 (en) * | 2018-07-03 | 2020-01-09 | 深圳岚锋创视网络科技有限公司 | Sky filter method for panoramic images and portable terminal |
CN112154653A (en) * | 2019-08-13 | 2020-12-29 | 深圳市大疆创新科技有限公司 | Shooting method based on handheld cloud deck, handheld cloud deck and storage medium |
WO2021135945A1 (en) * | 2019-12-31 | 2021-07-08 | Oppo广东移动通信有限公司 | Image processing method and apparatus, storage medium, and electronic device |
WO2022052944A1 (en) * | 2020-09-11 | 2022-03-17 | International Business Machines Corporation | Recommending location and content aware filters for digital photographs |
CN114359312A (en) * | 2022-03-17 | 2022-04-15 | 荣耀终端有限公司 | Image processing method and device |
CN116369362A (en) * | 2023-05-30 | 2023-07-04 | 乳山新达食品有限公司 | Control method and control system for seafood product classification extraction device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101990068A (en) * | 2009-07-31 | 2011-03-23 | 卡西欧计算机株式会社 | Image processing device and method |
CN103167232A (en) * | 2012-10-26 | 2013-06-19 | 苏州比特速浪电子科技有限公司 | Photographic device, picture synthesis device and image processing method |
CN103384304A (en) * | 2012-05-02 | 2013-11-06 | 索尼公司 | Display control device, display control method, program, and recording medium |
CN104717413A (en) * | 2013-12-12 | 2015-06-17 | 北京三星通信技术研究有限公司 | Shooting assistance method and equipment |
CN104717421A (en) * | 2013-12-13 | 2015-06-17 | 奥林巴斯株式会社 | IMAGING DEVICE, IMAGING SYSTEM, COMMUNICATION DEVICE and IMAGING METHOD |
-
2017
- 2017-12-15 CN CN201711362698.1A patent/CN108093174A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101990068A (en) * | 2009-07-31 | 2011-03-23 | 卡西欧计算机株式会社 | Image processing device and method |
CN103384304A (en) * | 2012-05-02 | 2013-11-06 | 索尼公司 | Display control device, display control method, program, and recording medium |
CN103167232A (en) * | 2012-10-26 | 2013-06-19 | 苏州比特速浪电子科技有限公司 | Photographic device, picture synthesis device and image processing method |
CN104717413A (en) * | 2013-12-12 | 2015-06-17 | 北京三星通信技术研究有限公司 | Shooting assistance method and equipment |
CN104717421A (en) * | 2013-12-13 | 2015-06-17 | 奥林巴斯株式会社 | IMAGING DEVICE, IMAGING SYSTEM, COMMUNICATION DEVICE and IMAGING METHOD |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924405B (en) * | 2018-06-11 | 2020-01-21 | 北京航空航天大学 | Photographing focus correction and image processing method and device based on distance |
CN108924405A (en) * | 2018-06-11 | 2018-11-30 | 北京航空航天大学 | Take pictures focusing amendment and image processing method, equipment based on distance |
WO2020007307A1 (en) * | 2018-07-03 | 2020-01-09 | 深圳岚锋创视网络科技有限公司 | Sky filter method for panoramic images and portable terminal |
US11887362B2 (en) | 2018-07-03 | 2024-01-30 | Arashi Vision Inc. | Sky filter method for panoramic images and portable terminal |
CN110097539A (en) * | 2019-04-19 | 2019-08-06 | 贝壳技术有限公司 | A kind of method and device intercepting picture in virtual three-dimensional model |
CN110097539B (en) * | 2019-04-19 | 2020-09-11 | 贝壳找房(北京)科技有限公司 | Method and device for capturing picture in virtual three-dimensional model |
CN110233968A (en) * | 2019-06-21 | 2019-09-13 | 上海摩象网络科技有限公司 | Image taking control metho and its device, image capturing apparatus |
CN110233968B (en) * | 2019-06-21 | 2021-04-06 | 上海摩象网络科技有限公司 | Image shooting control method and device and image shooting system |
CN112154653B (en) * | 2019-08-13 | 2022-07-29 | 深圳市大疆创新科技有限公司 | Shooting method based on handheld cloud deck, handheld cloud deck and storage medium |
CN112154653A (en) * | 2019-08-13 | 2020-12-29 | 深圳市大疆创新科技有限公司 | Shooting method based on handheld cloud deck, handheld cloud deck and storage medium |
WO2021135945A1 (en) * | 2019-12-31 | 2021-07-08 | Oppo广东移动通信有限公司 | Image processing method and apparatus, storage medium, and electronic device |
GB2614483A (en) * | 2020-09-11 | 2023-07-05 | Ibm | Recommending location and content aware filters for digital photographs |
US11778309B2 (en) | 2020-09-11 | 2023-10-03 | International Business Machines Corporation | Recommending location and content aware filters for digital photographs |
WO2022052944A1 (en) * | 2020-09-11 | 2022-03-17 | International Business Machines Corporation | Recommending location and content aware filters for digital photographs |
CN114359312A (en) * | 2022-03-17 | 2022-04-15 | 荣耀终端有限公司 | Image processing method and device |
CN114359312B (en) * | 2022-03-17 | 2022-08-23 | 荣耀终端有限公司 | Image processing method and device |
CN116369362A (en) * | 2023-05-30 | 2023-07-04 | 乳山新达食品有限公司 | Control method and control system for seafood product classification extraction device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108093174A (en) | Patterning process, device and the photographing device of photographing device | |
CN108495050B (en) | Photographing method, photographing device, terminal and computer-readable storage medium | |
CN108764091B (en) | Living body detection method and apparatus, electronic device, and storage medium | |
CN107808136B (en) | Image processing method, image processing device, readable storage medium and computer equipment | |
CN108933899B (en) | Panorama shooting method, device, terminal and computer readable storage medium | |
CN106056064B (en) | A kind of face identification method and face identification device | |
CN108810406B (en) | Portrait light effect processing method, device, terminal and computer readable storage medium | |
US9100678B2 (en) | Image display method, server, and image display system | |
CN107818305A (en) | Image processing method, device, electronic equipment and computer-readable recording medium | |
CN105120167A (en) | Certificate picture camera and certificate picture photographing method | |
CN107730444A (en) | Image processing method, device, readable storage medium storing program for executing and computer equipment | |
CN103369214A (en) | An image acquiring method and an image acquiring apparatus | |
CN108022206A (en) | Image processing method, device, electronic equipment and computer-readable recording medium | |
CN103369238B (en) | Image creating device and image creating method | |
CN107944420A (en) | The photo-irradiation treatment method and apparatus of facial image | |
CN107172354A (en) | Method for processing video frequency, device, electronic equipment and storage medium | |
CN103679767A (en) | Image generation apparatus and image generation method | |
CN107424117B (en) | Image beautifying method and device, computer readable storage medium and computer equipment | |
WO2022261828A1 (en) | Image processing method and apparatus, electronic device, and computer-readable storage medium | |
CN103997593A (en) | Image creating device, image creating method and recording medium storing program | |
CN112686820A (en) | Virtual makeup method and device and electronic equipment | |
CN114466133B (en) | Photographing method and device | |
CN107547789B (en) | Image acquisition device and method for photographing composition thereof | |
CN113673474A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
CN108833772A (en) | Taking pictures based on depth camera guides system and method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180529 |