Background technology
Camera is various in style, can be divided into landscape photography camera, plate making camera, the miniature phase of digital camera document by purposes
Machine, micro- camera, underwater camera, aerial camera, high speed camera etc.;According to phase film size, 110 cameras (picture 13 can be divided into
× 17 millimeters), 126 cameras (28 × 28 millimeters of picture), 135 cameras (24 × 18,24 × 36 millimeters of picture), 127 camera (pictures
45x45 millimeters), 120 cameras (including 220 cameras, 60 × 45,60 × 60,60 × 90 millimeters of picture), disk camera (picture
8.2x10.6 millimeters);It is divided into perspective by the mode of finding a view to find a view camera, two-lens reflex camera, single lens reflex camera.
Any sorting technique can not all include all cameras, can be divided into some classifications again to a certain camera, such as
The difference of the modes such as 135 cameras are found a view by it, shutter, light-metering, film trasport, exposure, flash lamp, focusing, self-timer, just form one again
Miscellaneous type spectrum.Camera utilizes the straightline propagation property of light and refraction and the reflexive property of light, using photon as carrier, certain in a flash
Subject optical information amount, photosensitive material is passed to through photographic film with energy mode, eventually becomes visual image.Phase
The optical imaging system of machine is designed according to geometric optical theory, and by camera lens, the straight line that scenic imagery is passed through light
Propagate, refraction or reflection are focused in image plane exactly.During photography, it is necessary to control suitable light exposure, that is, control to arrive
Up to the suitable photon amount on photosensitive material.Because silver sensitive material receives the how rare restriction scope of photon amount, photon
Measure it is very few can not form latent image core, photon amount excessively forms overexposure, and image can not be differentiated again.
Camera is to change camera lens clear aperture size with aperture, to control the unit interval to reach the photon amount of photosensitive material,
Simultaneously the length of time for exposure is controlled with the opening/closing time for changing shutter.
The content of the invention
Currently, in camera shooting, most commonly seen scene of taking pictures be to the crowd of more people group photo, due to place limitation and
The limitation of capture frame size, the group photo taken generally occur the feeding-up or excessively thin situation of density, have impact on group photo effect, then
The image procossing of phase inevitably causes distortion to image.In order to solve the above problems, the invention provides one kind to be based on people
The camera camera system of body distance stretching, the adjustment for crowd density of taking a group photo is placed on shooting front end and carried out.
The present invention at least has following two important inventive points:
(1) when the crowd density of shooting is feeding-up, position is carried out to each human body target in the picture and draws high processing, to expand
The distance between big each human body target, to reduce the real time personnel density, and using the image drawn high after handling as camera
Output image, so as to ensure that effect that camera is shot to crowd;
(2) various targetedly image processing equipments are introduced, improve the accuracy and speed of image procossing.
According to an aspect of the present invention, there is provided a kind of camera camera system based on human body distance stretching, the system
Including:
WIFI communication interfaces, it is connected for establishing two-way WIFI communication links with neighbouring WIFI communication equipments;
Bluetooth communication interface, it is connected for establishing two-way bluetooth communications link with neighbouring Bluetooth communication equipment;
Signal detection apparatus, the real time data handling capacity of data transmit-receive is carried out for detecting WIFI communication interfaces, and in institute
When stating real time data handling capacity and being less than or equal to pre-set bandwidths threshold value, the not smooth signal of communication is sent, is additionally operable in the real time data
When handling capacity is more than pre-set bandwidths threshold value, the smooth signal of communication is sent;
MS storage cards, are arranged in camera, are connected with the signal detection apparatus, and the pre-set bandwidths are stored for running
Threshold value;
Interface switches equipment, communicates and connects with the signal detection apparatus, the bluetooth communication interface and the WIFI respectively
Mouth connection, for when receiving the communication not smooth signal, present communications interface being switched into the bluetooth communication interface, also
For when receiving the smooth signal of the communication, present communications interface to be switched into the WIFI communication interfaces;
Image sensing apparatus, it is arranged in front of camera, for carrying out realtime image data sensing to camera frontal scene, with
Obtain and export real-time sensing image;
Density of personnel detection device, it is connected with the normalized equipment, for receiving the normalized image, to institute
State the crowd of taking pictures in normalized image and carry out the instant detection based on default human body gray threshold scope, to obtain and export bat
According to crowd's subgraph, human body target quantity is identified based on default human body contour outline from crowd's subgraph of taking pictures, to determine
And real time personnel density is exported, and when the real time personnel density is feeding-up, to the people that takes pictures in the normalized image
Each human body target in group's subgraph carries out position and draws high processing, to expand the distance between each human body target, to reduce
The real time personnel density, and using the normalized image drawn high after handling as camera output image.
Embodiment
The embodiment of the camera camera system based on human body distance stretching of the present invention is carried out below with reference to accompanying drawings
Describe in detail.
In order to overcome above-mentioned deficiency, the present invention has built a kind of photograph camera system based on human body distance stretching, specifically
Embodiment is as follows.
Fig. 1 is the structure square frame of the camera camera system based on human body distance stretching according to embodiment of the present invention
Figure, the system include:
WIFI communication interfaces, it is connected for establishing two-way WIFI communication links with neighbouring WIFI communication equipments;
Bluetooth communication interface, it is connected for establishing two-way bluetooth communications link with neighbouring Bluetooth communication equipment.
Then, continue to carry out further the concrete structure of the camera camera system based on human body distance stretching of the present invention
Explanation.
In the camera camera system stretched based on human body distance, in addition to:
Signal detection apparatus, the real time data handling capacity of data transmit-receive is carried out for detecting WIFI communication interfaces, and in institute
When stating real time data handling capacity and being less than or equal to pre-set bandwidths threshold value, the not smooth signal of communication is sent, is additionally operable in the real time data
When handling capacity is more than pre-set bandwidths threshold value, the smooth signal of communication is sent.
In the camera camera system stretched based on human body distance, in addition to:
MS storage cards, are arranged in camera, are connected with the signal detection apparatus, and the pre-set bandwidths are stored for running
Threshold value.
In the camera camera system stretched based on human body distance, in addition to:
Interface switches equipment, communicates and connects with the signal detection apparatus, the bluetooth communication interface and the WIFI respectively
Mouth connection, for when receiving the communication not smooth signal, present communications interface being switched into the bluetooth communication interface, also
For when receiving the smooth signal of the communication, present communications interface to be switched into the WIFI communication interfaces;
Image sensing apparatus, it is arranged in front of camera, for carrying out realtime image data sensing to camera frontal scene, with
Obtain and export real-time sensing image;
Restoration disposal equipment, it is connected with described image sensing equipment, for receiving the real-time sensing image, it is determined that described
Background complexity in real-time sensing image, determine to carry out average mark to the real-time sensing image based on the background complexity
The images fragment quantity cut, the background complexity is higher, and the images fragment of average segmentation is carried out to the real-time sensing image
Quantity is more, and it is each to obtain to perform the processing of the restoration disposal based on images fragment degree of degeneration operation respectively to each images fragment
Individual restoration disposal fragment, images fragment degree of degeneration is higher, and the restoration disposal processing manipulation strength performed to images fragment is bigger,
Each restoration disposal fragment is combined to obtain recovery combination image;
Gamma correction processing equipment, it is connected with the restoration disposal equipment, for receiving the recovery combination image, is based on
Described restore is combined image averaging point by the combination mean picture brightness of restoring apart from the far and near of predetermined luminance range central value
Each piecemeal of corresponding block size is cut into, to each piecemeal, different power corresponding to the pixel value variance selection based on the piecemeal
The gamma correction of degree is handled to obtain gamma correction piecemeal, each gamma correction piecemeal of acquisition is spliced to obtain correction splicing
Image;
Signal analysis equipment, it is connected with the gamma correction processing equipment, for receiving the correction stitching image, to institute
The extraction that the characteristic quantity of correlation is normalized in correction stitching image 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 entering line number to the characteristic quantity of input layer input
According to analysis, output layer is connected with last hidden layer, for the result of the progress data analysis of last hidden layer is defeated
Go out, wherein, the output quantity type of output layer is normalized type, and the normalized type is gray scale normalization class
Type, geometrical normalization type or transform normalization type;
Normalized equipment, it is connected, is used for the gamma correction processing equipment and the signal analysis equipment respectively
The normalized type is received, and the normalization based on the normalized type is performed to the correction stitching image
Operation, to obtain and export normalized image;
Density of personnel detection device, it is connected with the normalized equipment, for receiving the normalized image, to institute
State the crowd of taking pictures in normalized image and carry out the instant detection based on default human body gray threshold scope, to obtain and export bat
According to crowd's subgraph, human body target quantity is identified based on default human body contour outline from crowd's subgraph of taking pictures, to determine
And real time personnel density is exported, and when the real time personnel density is feeding-up, to the people that takes pictures in the normalized image
Each human body target in group's subgraph carries out position and draws high processing, to expand the distance between each human body target, to reduce
The real time personnel density, and using the normalized image drawn high after handling as camera output image.
Described based in the camera camera system of human body distance stretching:
The predetermined luminance range is the brightness model limited out by predetermined luminance upper limit threshold and predetermined luminance lower threshold
Enclose, the predetermined luminance upper limit threshold is more than the predetermined luminance lower threshold.
Described based in the camera camera system of human body distance stretching:
The MS storage cards are also connected with the gamma correction processing equipment, for prestoring the predetermined luminance model
Enclose.
And described based in the camera camera system of human body distance stretching:
In the gamma correction processing equipment, the combination mean picture brightness of restoring is apart from the predetermined luminance range
Central value it is nearer, restore that to combine the relevant block that is divided into of image averaging bigger by described;
Wherein, in the gamma correction processing equipment, to each piecemeal, the pixel value variance of the piecemeal is bigger, choosing
The dynamics for the gamma correction processing selected is smaller.
In addition, bluetooth is a kind of wireless technology standard, can be achieved between fixed equipment, mobile device and building personal area network
Short-range data exchange (using 2.4-2.485GHz ISM band UHF radio waves).Bluetooth technology is initially by telecommunications
Giant Ericsson formulated in 1994, was the alternative solution as RS232 data wires at that time.Bluetooth can connect multiple set
It is standby, overcome the problem of data syn-chronization.
Nowadays bluetooth is managed by bluetooth sig (Bluetooth Special Interest Group, abbreviation SIG).
Bluetooth sig has more than 25,000 member company in the whole world, and they are distributed in telecommunications, computer, network and consumption
The multiple field such as electronics.Bluetooth technology is classified as IEEE 802.15.1 by IEEE, but nowadays no longer maintains the standard.Bluetooth skill
Art alliance is responsible for supervising the exploitation of Bluetooth specification, administrative authentication project, and safeguards trademark right.The equipment of manufacturer has to comply with
The standard of bluetooth sig could enter market with the name of " bluetooth equipment ".Bluetooth technology possesses a set of patent network, can
It is issued to standard compliant equipment.
, can only for density of taking a group photo in the prior art using the camera camera system based on human body distance stretching of the present invention
The technical problem of later stage adjustment, when the crowd density of shooting is feeding-up, position is carried out to each human body target in the picture and drawn high
Processing, to expand the distance between each human body target, to reduce the real time personnel density, and the image after handling will be drawn high
As camera output image, so as to ensure that effect that camera is shot to crowd, particular, it is important that also introducing various has pin
To the image processing equipment of property, the accuracy and speed of image procossing is improved so that front end adjustment crowd density is possibly realized.
It is understood that although the present invention is disclosed as above with preferred embodiment, but above-described embodiment and it is not used to
Limit the present invention.For any those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all 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 change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.