The content of the invention
To solve the above-mentioned problems, the present invention provides a kind of parallel image binary processing system, set see at the scene
Many seat image capture devices complete the extraction to auditorium image, introduce various image processing equipments and image analysis equipment judges
It whether there is the suspicious person of taking on the sly in auditorium image, in the case of there are the suspicious person of taking on the sly, extract suspicious take on the sly
The numbering at seat where person, then also at the scene detects environmental parameter or current performance content, with according to suspicious in real time
The person of taking on the sly information and Site Detection result determine the person that really do not take on the sly, it is even more important that establish it is a set of can according to steal
Bat person position is oriented the mechanism of prompting, so as to completely automatically realize the electronic type detection and warning to the person of taking on the sly.
According to an aspect of the present invention, there is provided a kind of parallel image binary processing system, the system comprises multiple
High in the clouds application apparatus, each high in the clouds application apparatus include a threshold value and select sub- equipment and the sub- equipment of binary conversion treatment,
Threshold value selects sub- equipment to be used to select the threshold data for binary conversion treatment, and the sub- equipment of binary conversion treatment is set with threshold value selection
Standby connection, for performing binary conversion treatment to image based on threshold data.
More specifically, in the parallel image binary processing system, including:Ambient brightness detection device, is arranged on
Cinema roof middle position, for detecting the real-time luminosity of cinema's internal environment to be exported as real time environment brightness;Screen
Curtain brightness detection device, is arranged in the Background control room of cinema, is connected with sub-screen analytical equipment to receive each screen
Curtain subgraph seat numbering corresponding with its, the gray value for each pixel based on each screen subgraph calculates each
The screen intensity of a screen subgraph as real time screen brightness to export;Brightness matching equipment, is arranged on the backstage of cinema
In control room, be connected respectively with ambient brightness detection device and screen intensity detection device, for receive real time environment brightness with
And the real time screen brightness of each screen subgraph is received, by the real time screen brightness of each screen subgraph and real-time ring
Border brightness is matched, when the difference that real time environment brightness is subtracted there are the real time screen brightness of screen subgraph is more than or equal in advance
If during luminance threshold, the corresponding seat numbering of screen subgraph is numbered as targeted seat and is exported;DSP process chips, are set
In the Background control room of cinema, it is connected with brightness matching equipment, for being sent based on targeted seat numbering including target seat
The driving control signal of bit number;Orientation equipment, is arranged in the Background control room of cinema, is connected with DSP process chips, uses
In driving control signal is parsed with determine targeted seat number, based on targeted seat number to targeted seat numbering pair
The prompting mechanism and two-way speaker answered send alarm signal of taking pictures;Prompting mechanism, one is set on each spectators seat,
Position is in the rear that spectators seat corresponds to the chair back, including spring, expansion controller and wooden protrusion member, wooden protrusion member
The front of spring is arranged on, expansion controller is connected with orientation equipment, for controlling the stretching, extension and contraction of spring;Wherein, stretch
Controller stretches spring to realize that wooden protrusion member touches the point of spectators' back when receiving and taking pictures alarm signal;Two-channel
Loudspeaker, one is set on each spectators seat, and position be in spectators seat and corresponds in handrail, is connected with orientation equipment, use
Voice document corresponding with no photographing is played when receiving and taking pictures alarm signal;High-definition camera, is arranged on cinema
Roof middle position, for exporting high-definition image to the auditorium progress Image Acquisition on cinema's curtain opposite;Data are split
Equipment, positioned at high in the clouds, is connected with high-definition camera, and for high-definition image to be divided into N number of image block, N is the nature more than 1
Number;High in the clouds command channel management equipment, positioned at high in the clouds, for carrying out channel management to high in the clouds order;N number of high in the clouds storage device,
Positioned at high in the clouds, it is connected with data splitting equipment, for storing N number of image block respectively;Cloud service central apparatus, positioned at cloud
End, is connected with N number of high in the clouds storage device, and M high in the clouds application is distributed to for concentrating N number of image block, and by N number of image block
Equipment, M is the natural number more than 1 and M is less than or equal to N;M high in the clouds application apparatus, positioned at high in the clouds, with cloud service central apparatus
Connection, for receiving image block be assigned to, more than one, each high in the clouds application apparatus includes:Gray processing processing
Equipment, including channel parameters extraction unit, weighted value storage unit and gray value computing unit, channel parameters extraction unit are used for
Each image block is received, R passages pixel value, G passages pixel value and the B for extracting each pixel in image block lead to
Road pixel value, weighted value storage unit are used to prestore R channel weightings value, G channel weightings value and channel B weighted value, ash
Angle value computing unit is connected with channel parameters extraction unit and weighted value storage unit respectively, for each picture in image block
Vegetarian refreshments, by the product of R passages pixel value and R channel weighting values, G passages pixel value and the product and channel B of G channel weighting values
The gray value for the pixel that pixel value and the product addition of channel B weighted value are directed to obtaining, and based on each in image block
The gray value of pixel obtains the corresponding gray level image of image block;Wherein, R channel weightings value value is led to for 0.298839, G
Higher value is 0.586811, and channel B weighted value value is 0.114350;Histogram distribution detects sub- equipment, with gray scale
Change and handle the connection of sub- equipment, for receiving gray level image, and grey level histogram processing is carried out to gray level image to obtain pair
The histogram image answered, when bimodal distribution is presented in histogram image, sends global threshold selection signal, otherwise, sends non-complete
Office's threshold value selection signal;Threshold value selects sub- equipment, and detecting sub- equipment with histogram distribution is connected, for receiving global threshold
During selection signal, exported global threshold 128 as threshold data, will be adjacent when receiving non-global threshold selection signal
Pixel gray level difference threshold value 40 is exported as threshold data;The sub- equipment of binary conversion treatment, selects sub- equipment and directly with threshold value respectively
Side's figure distribution detects the connection of sub- equipment, for when receiving global threshold selection signal, for each in gray level image
A pixel, when gray value is more than or equal to threshold data, by for pixel be arranged to white level pixel, work as gray value
During less than threshold data, by for pixel be arranged to black level pixel, and the corresponding binaryzation of output gray level image
Image;The sub- equipment of binary conversion treatment is additionally operable to when receiving non-global threshold selection signal, for every in gray level image
One pixel, calculate vertical direction upwards apart from its 3 pixels pixel gray value as upper grey scale pixel value, meter
Calculate vertical direction downwards apart from its 3 pixels pixel gray value as lower grey scale pixel value, calculated level direction to
The gray value of the left pixel apart from its 3 pixels is as left grey scale pixel value, and calculated level direction is to the right apart from its 3 pictures
The gray value of the pixel of vegetarian refreshments is as right grey scale pixel value, when upper grey scale pixel value and the absolute value of the difference of lower grey scale pixel value
, will when being less than or equal to threshold data less than or equal to threshold data and the absolute value of the difference of left grey scale pixel value and right grey scale pixel value
For pixel be arranged to white level pixel, when upper grey scale pixel value and the absolute value of the difference of lower grey scale pixel value are more than threshold
When Value Data or the absolute value of the difference of left grey scale pixel value and right grey scale pixel value are more than threshold data, by for pixel set
It is set to black level pixel, and the corresponding binary image of output gray level image;The sub- equipment of picture smooth treatment, with binaryzation
Sub- equipment connection is handled, for receiving binary image, for each pixel in binary image, when adjacent is owned
There are during the trip point of more than half in pixel, then by for the gray value of pixel retain, otherwise, by for pixel
The gray value of point is arranged to white level pixel, and exports the corresponding smoothed image of binary image;Adaptive recursive filtering
Equipment, is connected with the sub- equipment of image balance processing, for receiving smoothed image, smoothed image is performed at adaptive recursive filtering
Manage to obtain filtering image;Data merge equipment, positioned at high in the clouds, are connected with M high in the clouds application apparatus, for by each high in the clouds
The filtering image of the sub- equipment output of adaptive recursive filtering of application apparatus is spliced to obtain filtering integral image;Sub-screen
Analytical equipment, is arranged in the Background control room of cinema, and merging equipment with data is connected to obtain filtering integral image, will filter
Ripple integral image is matched with the screen pattern of the various mobile terminals prestored to detect and be partitioned into filtering integration map
Each screen subgraph as in, for each screen subgraph, for its location determination pin in integral image is filtered
To screen subgraph corresponding seat numbering;Wherein, for screen subgraph corresponding seat numbering hold and be directed to
Movie theatre seat numbering where the spectators of the corresponding mobile terminal of screen subgraph.
More specifically, in the parallel image binary processing system, further include:The sub- equipment of gray processing processing is by CPLD
Chip is realized.
More specifically, in the parallel image binary processing system, further include:Histogram distribution detect sub- equipment by
CPLD chips are realized.
More specifically, in the parallel image binary processing system, further include:The sub- equipment of binary conversion treatment is by CPLD
Chip is realized.
More specifically, in the parallel image binary processing system, further include:The sub- equipment of picture smooth treatment by
CPLD chips are realized.
More specifically, in the parallel image binary processing system, further include:DSP process chips further include timing
Unit.
Embodiment
The embodiment of the parallel image binary processing system of the present invention is described in detail below with reference to accompanying drawings.
The existing anti-electronic jamming device taken on the sly is that a kind of infrared facility is placed in the back side of curtain or stage,
Infrared facility sends the sightless infrared ray of human eye, infrared if the person of taking on the sly is carrying out mobile terminal or video camera shooting
Line will disturb the video camera imaging of the person of taking on the sly, and the image or lower picture quality for causing the person of taking on the sly to obtain, can not commercially sell
Sell and propagated on network, so as to effectively safeguard copyright interest.
But this mode needs to launch infrared ray always, and the transmitting of infrared ray is large-scale, it is necessary to from each
Infrared ray is all launched in position, and cost is higher and poor feasibility.Therefore the electronics at scene prevent taking on the sly equipment also need to find it is other
Break through direction.
In order to overcome above-mentioned deficiency, the present invention has built a kind of parallel image binary processing system, can be by existing
The behavioral value of spectators and determine whether deposited in audience seat by the parameter extraction to site environment in auditorium
In the person of taking on the sly, and the position where the person of taking on the sly can be positioned in time, in order to take corresponding orientation warning measure, carried
The person of taking on the sly that wakes up abandons the behavior of taking on the sly.
Fig. 1 is the block diagram of the parallel image binary processing system according to embodiment of the present invention, described
System includes multiple high in the clouds application apparatus, each high in the clouds application apparatus includes a threshold value and selects sub- equipment and a binaryzation
Handle sub- equipment, threshold value selects sub- equipment to be used to selecting the threshold data for binary conversion treatment, the sub- equipment of binary conversion treatment with
Threshold value selects sub- equipment connection, for performing binary conversion treatment to image based on threshold data.
Then, continue that the concrete structure of the parallel image binary processing system of the present invention is further detailed.
The system comprises:Ambient brightness detection device, is arranged on cinema roof middle position, for detecting cinema
The real-time luminosity of internal environment as real time environment brightness to export.
The system comprises:Screen intensity detection device, is arranged in the Background control room of cinema, is analyzed with sub-screen
Equipment connection is numbered with receiving each screen subgraph seat corresponding with its, for based on each of each screen subgraph
The gray value of a pixel calculates the screen intensity of each screen subgraph to be exported as real time screen brightness.
The system comprises:Brightness matching equipment, is arranged in the Background control room of cinema, is examined respectively with ambient brightness
Measurement equipment is connected with screen intensity detection device, for receiving real time environment brightness and receiving the reality of each screen subgraph
When screen intensity, the real time screen brightness of each screen subgraph is matched with real time environment brightness, when there are screen
When the difference that the real time screen brightness of subgraph subtracts real time environment brightness is more than or equal to predetermined luminance threshold value, by screen subgraph
Corresponding seat numbering is as targeted seat numbering output.
The system comprises:DSP process chips, are arranged in the Background control room of cinema, connect with brightness matching equipment
Connect, the driving control signal of targeted seat numbering is included for being sent based on targeted seat numbering;Orientation equipment, is arranged on film
In the Background control room of institute, it is connected with DSP process chips, is compiled for being parsed to driving control signal with definite targeted seat
Number, numbered based on targeted seat and warning letter of taking pictures is sent to corresponding with targeted seat numbering prompting mechanism and two-way speaker
Number.
The system comprises:Prompting mechanism, one is set on each spectators seat, position is in spectators seat and corresponds to chair
The rear of the back of the body, including spring, expansion controller and wooden protrusion member, wooden protrusion member are arranged on the front of spring, stretch
Controller is connected with orientation equipment, for controlling the stretching, extension and contraction of spring;Wherein, expansion controller is receiving warning of taking pictures
Spring is stretched during signal to realize that wooden protrusion member touches the point of spectators' back.
The system comprises:Two-way speaker, one is set on each spectators seat, position is in spectators seat pair
Answer in handrail, be connected with orientation equipment, for playing voice text corresponding with no photographing when receiving and taking pictures alarm signal
Part;High-definition camera, is arranged on cinema roof middle position, is adopted for carrying out image to the auditorium on cinema's curtain opposite
Collect to export high-definition image.
The system comprises:Data splitting equipment, positioned at high in the clouds, is connected with high-definition camera, for high-definition image to be divided
N number of image block is cut into, N is the natural number more than 1;High in the clouds command channel management equipment, positioned at high in the clouds, for high in the clouds order
Carry out channel management;N number of high in the clouds storage device, positioned at high in the clouds, is connected with data splitting equipment, for storing N number of image respectively
Piecemeal.
The system comprises:Cloud service central apparatus, positioned at high in the clouds, are connected, for concentrating with N number of high in the clouds storage device
N number of image block, and N number of image block is distributed to M high in the clouds application apparatus, M is the natural number more than 1 and M is less than or equal to
N;M high in the clouds application apparatus, positioned at high in the clouds, is connected with cloud service central apparatus, being assigned to, more than one for receiving
Image block.
Each high in the clouds application apparatus includes:The sub- equipment of gray processing processing, including channel parameters extraction unit, weighted value are deposited
Storage unit and gray value computing unit, channel parameters extraction unit are used to receive each image block, extract image block
In each pixel R passages pixel value, G passages pixel value and channel B pixel value, weighted value storage unit be used for deposit in advance
Stored up R channel weightings value, G channel weightings value and channel B weighted value, gray value computing unit respectively with channel parameters extraction unit
Connected with weighted value storage unit, for each pixel in image block, by R passages pixel value and R channel weighting values
The product addition of product, the product of G passages pixel value and G channel weighting values and channel B pixel value and channel B weighted value is to obtain
The gray value for the pixel being directed to is taken, and the gray value based on each pixel in image block obtains the corresponding ash of image block
Degreeization image;Wherein, R channel weightings value value is that 0.298839, G channel weighting values value is 0.586811, channel B weighted value
Value is 0.114350.
Each high in the clouds application apparatus includes:Histogram distribution detects sub- equipment, is connected, uses with the sub- equipment of gray processing processing
In reception gray level image, and grey level histogram processing is carried out to gray level image to obtain corresponding histogram image, straight
When bimodal distribution is presented in square figure image, global threshold selection signal is sent, otherwise, sends non-global threshold selection signal.
Each high in the clouds application apparatus includes:Threshold value selects sub- equipment, and detecting sub- equipment with histogram distribution is connected, and is used for
When receiving global threshold selection signal, exported global threshold 128 as threshold data, receiving non-global threshold choosing
When selecting signal, exported neighbor pixel gray difference threshold 40 as threshold data.
Each high in the clouds application apparatus includes:The sub- equipment of binary conversion treatment, selects sub- equipment and histogram with threshold value respectively
Distribution detects the connection of sub- equipment, for when receiving global threshold selection signal, for each picture in gray level image
Vegetarian refreshments, when gray value is more than or equal to threshold data, by for pixel be arranged to white level pixel, when gray value is less than
During threshold data, by for pixel be arranged to black level pixel, and the corresponding binary image of output gray level image;
The sub- equipment of binary conversion treatment is additionally operable to when receiving non-global threshold selection signal, for each picture in gray level image
Vegetarian refreshments, it is vertical as upper grey scale pixel value, calculating to calculate gray value of the vertical direction upwards apart from the pixel of its 3 pixels
Direction downwards apart from its 3 pixels pixel gray value as lower grey scale pixel value, calculated level direction distance to the left
The gray value of the pixel of its 3 pixels is as left grey scale pixel value, and calculated level direction is to the right apart from its 3 pixels
The gray value of pixel is as right grey scale pixel value, when upper grey scale pixel value and the absolute value of the difference of lower grey scale pixel value are less than etc.
When threshold data and the absolute value of the difference of left grey scale pixel value and right grey scale pixel value are less than or equal to threshold data, by for
Pixel is arranged to white level pixel, when upper grey scale pixel value and the absolute value of the difference of lower grey scale pixel value are more than threshold data
Or the absolute value of the difference of left grey scale pixel value and right grey scale pixel value is when being more than threshold data, by for pixel be arranged to black
Level pixel point, and the corresponding binary image of output gray level image.
Each high in the clouds application apparatus includes:The sub- equipment of picture smooth treatment, is connected with the sub- equipment of binary conversion treatment, is used for
Receive binary image, for each pixel in binary image, when in adjacent all pixels point there are half with
On trip point when, then by for the gray value of pixel retain, otherwise, by for the gray value of pixel be arranged to white
Level pixel point, and export the corresponding smoothed image of binary image.
Each high in the clouds application apparatus includes:The sub- equipment of adaptive recursive filtering, is connected with the sub- equipment of image balance processing,
For receiving smoothed image, adaptive recursive filtering processing is performed to smoothed image to obtain filtering image.
The system comprises:Data merge equipment, positioned at high in the clouds, be connected with M high in the clouds application apparatus, for by each
The filtering image of the sub- equipment output of adaptive recursive filtering of high in the clouds application apparatus is spliced to obtain filtering integral image.
The system comprises:Sub-screen analytical equipment, is arranged in the Background control room of cinema, merges equipment with data
Connection will filter the screen pattern progress of integral image and the various mobile terminals prestored to obtain filtering integral image
Be equipped with each screen subgraph for detecting and being partitioned into filtering integral image, for each screen subgraph, for its
The corresponding seat numbering of screen subgraph that location determination in filtering integral image is directed to;Wherein, for screen subgraph
Corresponding seat numbering be hold for the corresponding mobile terminal of screen subgraph spectators where movie theatre seat number.
Alternatively, in the platform:The sub- equipment of gray processing processing is realized by CPLD chips;Histogram distribution detection
Equipment is realized by CPLD chips;The sub- equipment of binary conversion treatment is realized by CPLD chips;The sub- equipment of picture smooth treatment by
CPLD chips are realized;And DSP process chips further include timing unit.
In addition, dsp chip, also referred to as digital signal processor is a kind of particularly suitable for carrying out Digital Signal Processing computing
Microprocessor, its mainly application be to realize various digital signal processing algorithms real-time.
According to the requirement of Digital Signal Processing, dsp chip generally has following main feature:(1) in an instruction cycle
It is interior to complete a multiplication and a sub-addition;(2) program and data space is separated, can at the same time access instruction and data;(3) piece
It is interior that there is quick RAM, it can usually be accessed at the same time in two pieces by independent data/address bus;(4) there is low overhead or without expense
The hardware supported for circulating and redirecting;(5) quickly interrupt processing and Hardware I/O are supported;(6) it is more with being operated within the monocycle
A hardware address generator;(7) multiple operations can be performed parallel;(8) support pile line operation, make instruction fetch, decode and hold
The operations such as row can be with Overlapped Execution.
Parallel image binary processing system using the present invention, friendship can not be provided for the prior art for taxi driver
The technical problem of the instant passenger flow information of path mouth, passes through.
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.