Invention content
Currently, camera is all to obtain imaging picture according to outdoor scene, and the personnel due to participating in taking a group photo are high to the shooting of group photo
It is low irregular, thus the imaging picture obtained is ineffective.To solve the above-mentioned problems, the present invention provides a kind of bats of camera
Take the photograph mode adjusting method.
According to an aspect of the present invention, a kind of camera shooting mode method of adjustment is provided, the method includes:Use mould
Formula adjusting device is connect with the shutter of camera, is used for the triggering rate based on the shutter to camera, by the pattern of camera in dynamic
Switch between screening-mode and static screening-mode;Wherein, camera is under dynamic screening-mode, to the triggering speed of the shutter of camera
Rate is faster than camera under static screening-mode to the triggering rate of the shutter of camera.
Preferably, under dynamic screening-mode, the imaging resolution of camera is less than camera and is shot under model in static state camera
The imaging resolution of camera.
Preferably, further include:Using blue color filter, it is arranged in front of the optical lens of camera, for entering in light
Filtering operation is carried out to light before the optical lens of camera.
Preferably, further include:
Using exposure detection device, the front of the cmos sensor at the rear of the optical lens of camera, camera is set,
It is measured in real time for the exposure to environment where camera;
Using cmos sensor, it is arranged at the rear of the optical lens of camera, for carrying out image taking to camera front end,
To obtain the current front-end image of continuous multiframe on simultaneously output time;
It using image sharpening equipment, is connect with the cmos sensor, before continuously multiframe is current in receiving time
Image is held, following processing is executed to the current front-end image of each frame:Based on default point of the current front-end image resolution ratio distance
The current front-end image is averagely divided into each piecemeal of relevant block size by the distance of resolution threshold value, to each piecemeal,
Fog-level size based on the piecemeal selects the image sharpening of corresponding varying strength to handle to obtain sharpening piecemeal, will obtain
Each sharpening piecemeal splice to obtain sharpening image, the current front-end image resolution ratio is apart from the default resolution threshold
Closer, the relevant block that the current front-end image is averagely divided into is bigger, and to each piecemeal, the fuzzy journey of the piecemeal
Degree is bigger, and the intensity of the image sharpening processing of selection is bigger;
It using GAMMA processing equipments, sharpens equipment with described image and connect, sharpened for continuous multiframe in receiving time
Image matches to obtain image overall jitter value current sharpening image with previous frame sharpening image, is based on described image
Overall jitter value determines the image-region quantity that average segmentation is carried out to the current sharpening image, described image overall jitter value
Higher, the image-region quantity that average segmentation is carried out to the current sharpening image is more, is executed respectively to each image-region
Based on the GAMMA correction process of image-region contrast to obtain each processing region, image-region contrast is smaller, to image
The GAMMA correction process intensity that region executes is bigger, and each processing region is combined to obtain processed combination image;
Using parameter extraction equipment, it is connect with the GAMMA processing equipments, for receiving the processed combination image,
The extraction that the relevant characteristic quantity of interpolation processing is carried out to the processed combination image, the characteristic quantity after extraction is input to by defeated
In the Data Analysis Model for entering layer, output layer and multiple hidden layers composition, for successively being carried out to the characteristic quantity of input layer input
Data analysis, output layer are connect with the last one hidden layer, are used for the result of the progress data analysis of the last one hidden layer
Output, wherein the output quantity type of output layer is interpolation processing type;
Using adaptive-interpolation equipment, it connect, is used for the GAMMA processing equipments and the parameter extraction equipment respectively
The interpolation processing type is received, and the interpolation based on the interpolation processing type is executed to the processed combination image and is grasped
Make, to obtain and export image after interpolation;
Using self-adapted white balance equipment, it is connect with the adaptive-interpolation equipment, for receiving image after the interpolation,
Self-adapted white balance processing is executed to image after the interpolation, to obtain and export white balance image;
Using target identification equipment, it is connect with the self-adapted white balance equipment, for receiving the white balance image, from
The height of each human body target is identified in the white balance image, based on height to each human body target in the white balance image
In position be ranked up, and each human body target in the white balance image is reapposed according to ordering structure, to obtain
And export image after sequence;
It using display equipment, is connect with the target identification equipment, for image after sorting described in reception and real-time display.
Preferably, the interpolation processing type is arest neighbors interpolation type or bilinear interpolation type.
It can be seen that the present invention at least has following important inventive point:
(1) using identifying the height of each human body target from image, based on height to each human body target in the picture
Position be ranked up, and each human body target in image is reapposed according to ordering structure, after obtaining and export sequence
Image meets the photograph demand of user;
(2) the image sharpening equipment of unconventional formula and various auxiliary pre-processing devices have been used, image has been improved and locates in advance
Effect is managed, the recognition efficiency of follow-up human body target is improved.
Specific implementation mode
The embodiment of the camera shooting mode method of adjustment of the present invention is described in detail below with reference to accompanying drawings.
In order to overcome above-mentioned deficiency, the present invention to build a kind of camera shooting mode method of adjustment, specific embodiment is such as
Under.
Fig. 1 is the block diagram that system is adjusted according to the camera shooting mode shown in embodiment of the present invention, the system
System includes:
Mode adjustment equipment is connect with the shutter of camera, the triggering rate based on the shutter to camera is used for, by camera
Pattern switches between dynamic screening-mode and static screening-mode;
Wherein, camera is faster than camera to the triggering rate of the shutter of camera and shoots mould in static state under dynamic screening-mode
To the triggering rate of the shutter of camera under formula.
Then, the concrete structure for continuing to adjust the camera shooting mode of the present invention system is further detailed.
In the camera shooting mode adjustment system:
Camera under dynamic screening-mode, the imaging resolution of camera be less than camera it is static shoot camera under model at
As resolution ratio.
Can also include in the camera shooting mode adjustment system:
Blue color filter is arranged in front of the optical lens of camera, for light enter camera optical lens it
It is preceding that filtering operation is carried out to light.
Can also include in the camera shooting mode adjustment system:
Exposure detection device is arranged the front of the cmos sensor at the rear of the optical lens of camera, camera, is used for
The exposure of environment where camera is measured in real time;
Cmos sensor is arranged at the rear of the optical lens of camera, for carrying out image taking to camera front end, to obtain
Obtain the current front-end image of continuous multiframe on simultaneously output time;
Image sharpening equipment is connect with the cmos sensor, for the current front end figure of continuous multiframe in receiving time
Picture executes following processing to the current front-end image of each frame:Resolution ratio is preset based on the current front-end image resolution ratio distance
The current front-end image is averagely divided into each piecemeal of relevant block size to be based on each piecemeal by the distance of threshold value
The fog-level size of the piecemeal selects the image sharpening of corresponding varying strength to handle to obtain sharpening piecemeal, by each of acquisition
To obtain sharpening image, the current front-end image resolution ratio is got over apart from the default resolution threshold for a sharpening piecemeal splicing
Closely, the relevant block current front-end image being averagely divided into is bigger, and to each piecemeal, the fog-level of the piecemeal
Bigger, the intensity of the image sharpening processing of selection is bigger;
GAMMA processing equipments sharpen equipment with described image and connect, and figure is sharpened for continuous multiframe in receiving time
Picture matches to obtain image overall jitter value current sharpening image with previous frame sharpening image, whole based on described image
Body jitter value determines that the image-region quantity that average segmentation is carried out to the current sharpening image, described image overall jitter value are got over
Height, the image-region quantity that average segmentation is carried out to the current sharpening image is more, and base is executed respectively to each image-region
In the GAMMA correction process of image-region contrast to obtain each processing region, image-region contrast is smaller, to image district
The GAMMA correction process intensity that domain executes is bigger, and each processing region is combined to obtain processed combination image;
Parameter extraction equipment is connect with the GAMMA processing equipments, for receiving the processed combination image, to institute
The extraction that processed combination image carries out the relevant characteristic quantity of interpolation processing is stated, the characteristic quantity after extraction is input to by inputting
In the Data Analysis Model of layer, output layer and multiple hidden layers composition, for successively to the characteristic quantity of input layer input into line number
According to analysis, output layer is connect with the last one hidden layer, for the result of the progress data analysis of the last one hidden layer is defeated
Go out, wherein the output quantity type of output layer is interpolation processing type;
Adaptive-interpolation equipment is connect respectively with the GAMMA processing equipments and the parameter extraction equipment, for receiving
The interpolation processing type, and the interpolation operation based on the interpolation processing type is executed to the processed combination image, with
It obtains and exports image after interpolation;
Self-adapted white balance equipment is connect with the adaptive-interpolation equipment, for receiving image after the interpolation, to institute
Image executes self-adapted white balance processing after stating interpolation, to obtain and export white balance image;
Target identification equipment is connect with the self-adapted white balance equipment, for receiving the white balance image, from described
The height that each human body target is identified in white balance image, based on height to each human body target in the white balance image
Position is ranked up, and reapposes each human body target in the white balance image according to ordering structure, with obtain and it is defeated
Go out image after sorting;
It shows equipment, is connect with the target identification equipment, for image after sorting described in reception and real-time display.
And in the camera shooting mode adjustment system:
The interpolation processing type is arest neighbors interpolation type or bilinear interpolation type.
Fig. 2 is the step flow chart according to the camera shooting mode method of adjustment shown in embodiment of the present invention, the side
Method includes:
Use pattern adjusting device is connect with the shutter of camera, the triggering rate based on the shutter to camera is used for, by phase
The pattern of machine switches between dynamic screening-mode and static screening-mode;
Wherein, camera is faster than camera to the triggering rate of the shutter of camera and shoots mould in static state under dynamic screening-mode
To the triggering rate of the shutter of camera under formula.
Then, continue that the specific steps of the camera shooting mode method of adjustment of the present invention are further detailed.
In the camera shooting mode method of adjustment:
Camera under dynamic screening-mode, the imaging resolution of camera be less than camera it is static shoot camera under model at
As resolution ratio.
The camera shooting mode method of adjustment can also include:
Using blue color filter, it is arranged in front of the optical lens of camera, for entering the optical frames in camera in light
Filtering operation is carried out to light before head.
The camera shooting mode method of adjustment can also include:
Using exposure detection device, the front of the cmos sensor at the rear of the optical lens of camera, camera is set,
It is measured in real time for the exposure to environment where camera;
Using cmos sensor, it is arranged at the rear of the optical lens of camera, for carrying out image taking to camera front end,
To obtain the current front-end image of continuous multiframe on simultaneously output time;
It using image sharpening equipment, is connect with the cmos sensor, before continuously multiframe is current in receiving time
Image is held, following processing is executed to the current front-end image of each frame:Based on default point of the current front-end image resolution ratio distance
The current front-end image is averagely divided into each piecemeal of relevant block size by the distance of resolution threshold value, to each piecemeal,
Fog-level size based on the piecemeal selects the image sharpening of corresponding varying strength to handle to obtain sharpening piecemeal, will obtain
Each sharpening piecemeal splice to obtain sharpening image, the current front-end image resolution ratio is apart from the default resolution threshold
Closer, the relevant block that the current front-end image is averagely divided into is bigger, and to each piecemeal, the fuzzy journey of the piecemeal
Degree is bigger, and the intensity of the image sharpening processing of selection is bigger;
It using GAMMA processing equipments, sharpens equipment with described image and connect, sharpened for continuous multiframe in receiving time
Image matches to obtain image overall jitter value current sharpening image with previous frame sharpening image, is based on described image
Overall jitter value determines the image-region quantity that average segmentation is carried out to the current sharpening image, described image overall jitter value
Higher, the image-region quantity that average segmentation is carried out to the current sharpening image is more, is executed respectively to each image-region
Based on the GAMMA correction process of image-region contrast to obtain each processing region, image-region contrast is smaller, to image
The GAMMA correction process intensity that region executes is bigger, and each processing region is combined to obtain processed combination image;
Using parameter extraction equipment, it is connect with the GAMMA processing equipments, for receiving the processed combination image,
The extraction that the relevant characteristic quantity of interpolation processing is carried out to the processed combination image, the characteristic quantity after extraction is input to by defeated
In the Data Analysis Model for entering layer, output layer and multiple hidden layers composition, for successively being carried out to the characteristic quantity of input layer input
Data analysis, output layer are connect with the last one hidden layer, are used for the result of the progress data analysis of the last one hidden layer
Output, wherein the output quantity type of output layer is interpolation processing type;
Using adaptive-interpolation equipment, it connect, is used for the GAMMA processing equipments and the parameter extraction equipment respectively
The interpolation processing type is received, and the interpolation based on the interpolation processing type is executed to the processed combination image and is grasped
Make, to obtain and export image after interpolation;
Using self-adapted white balance equipment, it is connect with the adaptive-interpolation equipment, for receiving image after the interpolation,
Self-adapted white balance processing is executed to image after the interpolation, to obtain and export white balance image;
Using target identification equipment, it is connect with the self-adapted white balance equipment, for receiving the white balance image, from
The height of each human body target is identified in the white balance image, based on height to each human body target in the white balance image
In position be ranked up, and each human body target in the white balance image is reapposed according to ordering structure, to obtain
And export image after sequence;
It using display equipment, is connect with the target identification equipment, for image after sorting described in reception and real-time display.
And in the camera shooting mode method of adjustment:
The interpolation processing type is arest neighbors interpolation type or bilinear interpolation type.
In addition, the cmos sensor is passive type element sensor, concrete operating principle is as follows.
Passive type element sensor (Passive Pixel Sensor, abbreviation PPS), is called passive type element sensor,
He is made of the photodiode of reverse bias and a switching tube.Photodiode is substantially one is partly led by p-type
The PN junction of body and N-type semiconductor composition, he can be equivalent to reverse bias diode and a mos capacitance parallel connection.When opening
When closing pipe unlatching, photodiode is connected to vertical alignment (Column bus).Charge integration positioned at alignment end amplifies
Device reading circuit (Charge integrating amplifier) holding column line voltage is a constant, when photodiode stores
Signal charge when being read, voltage is reset to column line voltage level, at the same time, the charge directly proportional to optical signal by
Charge integration amplifier is converted to charge output.
Camera shooting mode using the present invention adjusts system and method, for shoot in the prior art come photo people
The irregular technical problem of member's height, by using the height for identifying each human body target from image, based on height to each
The position of human body target in the picture is ranked up, and reapposes each human body target in image according to ordering structure, with
Obtain and export sequence after image, meet the photograph demand of user, and also use the image sharpening equipment of unconventional formula with
And various auxiliary pre-processing devices, image preprocessing effect is improved, the recognition efficiency of follow-up human body target is improved.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of variation.Therefore, every content without departing from technical solution of the present invention is right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.