Summary of the invention
In order to solve rhythm grade and film that run-out in the prior art is dubbed in background music movement rank can not matched technology ask
Topic, the present invention provides a kind of movie contents matching mechanism for seedlings.
For this purpose, the present invention at least has the important inventive point of following two:
(1) run-out that various different rhythm grades are stored in advance is dubbed in background music, and the run-out of various difference rhythm grades is dubbed in background music interior
The content of the cinematic data of Rong Douyu pin-saving chip storage matches;The movement rank of film is in the classification storage equipment
It is middle to search corresponding with the movement rank of film run-out and dub in background music, the rhythm grade that the run-out found is dubbed in background music with it is described
The movement rank of film is corresponding, and updates run-out and dub in background music so that the run-out found to be dubbed in background music and is used for the data storage core
The next time of the cinematic data of piece storage plays;
(2) depth of field value and size of target each in image are parsed, with the target phase based on most shallow depth of field value
Pixel sum corresponding to the target pattern answered determines the pixel sum that sliding window occupies, also based on most shallow depth of field value
The shape of the corresponding target pattern of target determine the shape of the sliding window, to realize the specific aim of image content-based
Image procossing.
According to an aspect of the present invention, a kind of movie contents matching mechanism for seedlings is provided, the mechanism includes:
Classification storage equipment, the run-out for various different rhythm grades to be stored in advance are dubbed in background music, various difference rhythm grades
Content of the content dubbed in background music of run-out all with the cinematic data of pin-saving chip storage match.
More specifically, in the movie contents matching mechanism for seedlings, further includes:
It dubs in background music and selects equipment, connect with the classification storage equipment, for receiving the movement rank of film, and based on described
The movement rank of film searches run-out corresponding with the movement rank of the film in the classification storage equipment and dubs in background music, described
The rhythm grade that the run-out found is dubbed in background music is corresponding with the movement rank of the film.
More specifically, in the movie contents matching mechanism for seedlings, further includes:
Dub in background music replacement equipment, select equipment to connect with described dub in background music, for dubbed in background music based on the run-out found update it is described
Run-out in pin-saving chip is dubbed in background music, so that the run-out found is dubbed in background music for pin-saving chip storage
The next time of cinematic data plays.
More specifically, in the movie contents matching mechanism for seedlings, further includes:
Overflow checking equipment is connect with live buffer memory device, is overflow for detecting the buffering inside the live buffer memory device
Artificial situation, and when there is Buffer Overflow situation, issue corresponding alarm signal;Chip reads interface, stores respectively with data
Chip and the live buffer memory device are separately connected, and the cinematic data for storing the pin-saving chip reads and sends
Into the live buffer memory device;Live buffer memory device, for caching the cinematic data that will be played, the cinematic data is by more
A moving-picture frame composition, wherein each moving-picture frame has corresponding frame number, and the moving-picture frame played at first is cached at first and corresponded to
Frame number it is smaller;Run-out intercepts equipment, connect with the live buffer memory device, for grab frame number rank behind it is each
Moving-picture frame grabs image for use as run-out, and exports each run-out crawl image;Entropy analyzing device is cut with the run-out
It takes equipment to connect, for receiving each run-out crawl image, parses the entropy of each run-out crawl image, and compare
Each entropy of each run-out crawl image is exported using the smallest run-out crawl image of entropy as high value image;Mesh
Extract equipment is marked, connect with the entropy analyzing device, for receiving the high value image, obtains in the high value image
Each edge line, each target in the high value image is synthesized based on each group of edge lines, and in the high price
The corresponding target pattern of each target for only including single target is determined in value image respectively;Depth of field analyzing device,
It is connect with the Objective extraction equipment, for receiving each target pattern, and determines that each target pattern is corresponding respectively
Target depth of field value in the high value image exports the corresponding each depth of field value of each target;Size analyzing device, with
The Objective extraction equipment connection, for receiving each target pattern, and determines the composition of each target pattern respectively
The sum of pixel, and the corresponding each pixel sum of each target pattern;Window shaping device, respectively with the scape
Deep analyzing device is connected with the size analyzing device, for receiving the corresponding each depth of field value of each target and each mesh
The corresponding each pixel of case of marking on a map is total, picture corresponding to the corresponding target pattern of target based on most shallow depth of field value
Vegetarian refreshments sum determines the pixel sum that sliding window occupies, the corresponding target pattern of target also based on most shallow depth of field value
Shape determines the shape of the sliding window;Weighted filtering equipment shapes with the Objective extraction equipment and the window respectively
Equipment connection, it is dynamic for executing following weighted filtering for the color component value of each of high value image pixel
Make: determining each pixel nearby of each of high value image pixel based on the sliding window, obtain each
Each color component value of a pixel nearby is weighted filtering to each color component value of each pixel nearby
It handles to obtain the amendment color component value of each of high value image pixel;Output equipment is filtered, and it is described
The connection of weighted filtering equipment, obtains simultaneously for the amendment color component value based on each of high value image pixel
Output amendment image;Performer's identification apparatus is connect with the filtering output equipment, for receiving the amendment image, based on pre-
If benchmark human body pattern identifies from the amendment image and is partitioned into each performer's subgraph;Grade acquire equipment, respectively with
Described dub in background music selects equipment to connect with performer's identification apparatus, for receiving each performer's subgraph, drills each
Member's subgraph carries out posture detection to determine corresponding movement rank, each movement grade corresponding to each performer's subgraph
Not carry out mean value computation to obtain the movement rank of the film of the live buffer memory device caching.
More specifically, in the movie contents matching mechanism for seedlings: the weighted filtering equipment is to each pixel nearby
Each color component value of point is weighted filtering processing to obtain the amendment of each of high value image pixel
Color component value include: apart from each of high value image pixel it is closer near pixel, color component
It is bigger that value participates in weighted value used in weighted filtering processing.
More specifically, in the movie contents matching mechanism for seedlings: the weighted filtering equipment is to each pixel nearby
Each color component value of point is weighted filtering processing to obtain the amendment of each of high value image pixel
Color component value further include: each power based on each each color component value of pixel nearby and each pixel nearby
Weight values execute weighted median processing, to obtain the amendment color component value of each of high value image pixel.
More specifically, in the movie contents matching mechanism for seedlings: in the window shaping device, based on the most shallow depth of field
The shape of the corresponding target pattern of the target of value determines that the shape of the sliding window includes: the mesh to the most shallow depth of field value
The shape for marking corresponding target pattern is zoomed in and out to obtain the sliding window.
More specifically, in the movie contents matching mechanism for seedlings: in run-out interception equipment, frame number ranks behind
The play time section that occupies of each moving-picture frame be 10 minutes.
More specifically, in the movie contents matching mechanism for seedlings: being selected in equipment in described dub in background music, the movement of the film
Rank is higher, and the rhythm faster grade that the run-out found is dubbed in background music.
Specific embodiment
The embodiment of movie contents matching mechanism for seedlings of the invention is described in detail below with reference to accompanying drawings.
Film is to combine a kind of continuous image frame to grow up by activity photography and diaprojection art, is one
Door vision and the sense of hearing modern art and one can accommodate drama, photography, drawing, music, dancing, text, sculpture, build
The modern science and technology of a variety of art and the synthesis of art such as build.But he has feature alone again, and film is on artistic expression
Not only with the feature of various other art, and the electricity because montage (French: Montage) this artistry jumping can be used
Shadow group connects skill, has the expression means for surmounting all other art, and film can be shown with massive duplication, with modern society
The development of meeting, it is the indispensable a part of people's daily life that film, which has been deep into the every aspect of human society life,.
In order to overcome above-mentioned deficiency, the present invention has built a kind of movie contents matching mechanism for seedlings, can effectively solve the problem that corresponding
Technical problem.
Fig. 1 is more to be stored according to the live buffer memory device of the movie contents matching mechanism for seedlings shown in embodiment of the present invention
Frame cinematic data.
The movie contents matching mechanism for seedlings shown according to an embodiment of the present invention includes:
Classification storage equipment, the run-out for various different rhythm grades to be stored in advance are dubbed in background music, various difference rhythm grades
Content of the content dubbed in background music of run-out all with the cinematic data of pin-saving chip storage match.
Then, continue that the specific structure of movie contents matching mechanism for seedlings of the invention is further detailed.
In the movie contents matching mechanism for seedlings, further includes:
It dubs in background music and selects equipment, connect with the classification storage equipment, for receiving the movement rank of film, and based on described
The movement rank of film searches run-out corresponding with the movement rank of the film in the classification storage equipment and dubs in background music, described
The rhythm grade that the run-out found is dubbed in background music is corresponding with the movement rank of the film.
In the movie contents matching mechanism for seedlings, further includes:
Dub in background music replacement equipment, select equipment to connect with described dub in background music, for dubbed in background music based on the run-out found update it is described
Run-out in pin-saving chip is dubbed in background music, so that the run-out found is dubbed in background music for pin-saving chip storage
The next time of cinematic data plays.
In the movie contents matching mechanism for seedlings, further includes:
Overflow checking equipment is connect with live buffer memory device, is overflow for detecting the buffering inside the live buffer memory device
Artificial situation, and when there is Buffer Overflow situation, issue corresponding alarm signal;
Chip reads interface, is separately connected respectively with pin-saving chip and the live buffer memory device, and being used for will be described
The cinematic data of pin-saving chip storage reads and is sent in the live buffer memory device;
Live buffer memory device, for caching the cinematic data that will be played, the cinematic data is made of multiple moving-picture frames,
Wherein, each moving-picture frame has corresponding frame number, and the moving-picture frame played at first caches at first and corresponding frame number is smaller;
Run-out intercepts equipment, connect with the live buffer memory device, each film to rank behind for grabbing frame number
Frame grabs image for use as run-out, and exports each run-out crawl image;
Entropy analyzing device is connect with run-out interception equipment, for receiving each run-out crawl image, parsing
The entropy of each run-out crawl image out, and each entropy of each run-out crawl image, entropy is the smallest
Run-out grabs image and exports as high value image;
Objective extraction equipment is connect with the entropy analyzing device, for receiving the high value image, obtains the height
The each edge line being worth in image, synthesizes each target in the high value image based on each group of edge lines, and
Determine the corresponding target pattern of each target for only including single target respectively in the high value image;
Depth of field analyzing device is connect with the Objective extraction equipment, true for receiving each target pattern, and respectively
Each fixed target pattern corresponds to target depth of field value in the high value image, exports the corresponding each scape of each target
Deep value;
Size analyzing device is connect with the Objective extraction equipment, true for receiving each target pattern, and respectively
The sum of the composition pixel of each fixed target pattern, and the corresponding each pixel sum of each target pattern;
Window shaping device is connect with the depth of field analyzing device and the size analyzing device respectively, each for receiving
A corresponding each depth of field value of target and the corresponding each pixel sum of each target pattern, based on most shallow scape
Pixel sum corresponding to the corresponding target pattern of the target being worth deeply determines the pixel sum that sliding window occupies, and is also based on
The shape of the corresponding target pattern of the target of most shallow depth of field value determines the shape of the sliding window;
Weighted filtering equipment is connect with the Objective extraction equipment and the window shaping device respectively, for being directed to institute
The color component value for stating each of high value image pixel executes following weighted filtering movement: based on the sliding window
The each pixel nearby for determining each of high value image pixel, obtains each face of each pixel nearby
Colouring component value is weighted filtering processing to each color component value of each pixel nearby to obtain the high value
The amendment color component value of each of image pixel;
Output equipment is filtered, is connect with the weighted filtering equipment, for based on each of described high value image
The amendment color component value of pixel obtains and exports amendment image;
Performer's identification apparatus is connect with the filtering output equipment, for receiving the amendment image, is based on preset reference
Human body pattern identifies from the amendment image and is partitioned into each performer's subgraph;
Grade acquires equipment, selects equipment and performer's identification apparatus to connect with described dub in background music respectively, for receiving
Each performer's subgraph is stated, posture detection is carried out to each performer's subgraph to determine corresponding movement rank, is drilled each
The corresponding each movement rank of member's subgraph carries out mean value computation to obtain the film of the live buffer memory device caching
Act rank.
In the movie contents matching mechanism for seedlings: each face of the weighted filtering equipment to each pixel nearby
Colouring component value is weighted filtering processing to obtain the amendment color component value of each of high value image pixel
Include: apart from each of high value image pixel it is closer near pixel, color component value participate in weighting
Weighted value used in being filtered is bigger.
In the movie contents matching mechanism for seedlings: each face of the weighted filtering equipment to each pixel nearby
Colouring component value is weighted filtering processing to obtain the amendment color component value of each of high value image pixel
Further include: each weighted value based on each each color component value of pixel nearby and each pixel nearby, which executes, to be added
Intermediate value processing is weighed, to obtain the amendment color component value of each of high value image pixel.
In the movie contents matching mechanism for seedlings: in the window shaping device, the target based on most shallow depth of field value
The shape of corresponding target pattern determines that the shape of the sliding window includes: corresponding to the target of the most shallow depth of field value
The shape of target pattern is zoomed in and out to obtain the sliding window.
In the movie contents matching mechanism for seedlings: being intercepted in equipment in the run-out, each electricity that frame number ranks behind
The play time section that shadow frame occupies is 10 minutes.
In the movie contents matching mechanism for seedlings: it is selected in equipment in described dub in background music, the movement rank of the film is higher,
The rhythm faster grade that the run-out found is dubbed in background music.
Furthermore it is possible to realize the grade acquisition equipment using dsp chip.The inside of dsp chip uses program sum number
According to separated Harvard structure, there is special hardware multiplier, pile line operation is widely used, special DSP instruction is provided, it can
To be used to quickly realize various digital signal processing algorithms.
According to the requirement of Digital Signal Processing, dsp chip generally has following some main features: (1) referring at one
Enable an achievable multiplication and a sub-addition in the period.(2) program and data space is separated, can simultaneously access instruction sum number
According to.(3) there is quick RAM in piece, can usually be accessed simultaneously in two pieces by independent data/address bus.(4) there is low overhead
Or without overhead loop and the hardware supported jumped.(5) quickly interrupt processing and Hardware I/O are supported.(6) have within the monocycle
Multiple hardware address generators of operation.(7) multiple operations can be executed parallel.(8) it supports pile line operation, makes fetching, translates
The operations such as code and execution can be with Overlapped Execution.
Classified according to the data format of dsp chip work.Data are known as pinpointing with the dsp chip that fixed point format works
Dsp chip, TMS320C1X/C2X, TMS320C2XX/C5X, TMS320C54X/C62XX such as TI company are serial, AD company
ADSP21XX series, the DSP16/16A of AT & T Corp., the MC56000 etc. of Motolora company.What is worked in a floating-point format is known as
Float-point DSP, the ADSP21XXX such as the TMS320C3X/C4X/C8X of TI company, AD company is serial, AT & T Corp.
The MC96002 etc. of DSP32/32C, Motolora company.
Using movie contents matching mechanism for seedlings of the invention, the rhythm grade dubbed in background music for run-out in the prior art and film
The technical issues of movement rank can not match, the run-out by the way that various different rhythm grades are stored in advance are dubbed in background music, various different sections
The content of content that the run-out of grade is dubbed in background music all with the cinematic data of pin-saving chip storage is played to match;The movement grade of film
It searches run-out corresponding with the movement rank of the film not in the classification storage equipment to dub in background music, the run-out found
The rhythm grade dubbed in background music is corresponding with the movement rank of the film, and updates run-out and dub in background music to match the run-out found
The next time of the happy cinematic data for pin-saving chip storage plays;It is particularly critical, to target each in image
Depth of field value and size parsed, it is total with pixel corresponding to the corresponding target pattern of target based on most shallow depth of field value
Number determines the pixel sum that sliding window occupies, and the shape of the corresponding target pattern of target also based on most shallow depth of field value is true
The shape of the fixed sliding window, to realize the specific aim image procossing of image content-based.
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, anything that does not depart from the technical scheme of the invention are 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.