CN100589173C - Multi-picture splicing method and device - Google Patents

Multi-picture splicing method and device Download PDF

Info

Publication number
CN100589173C
CN100589173C CN200810112795A CN200810112795A CN100589173C CN 100589173 C CN100589173 C CN 100589173C CN 200810112795 A CN200810112795 A CN 200810112795A CN 200810112795 A CN200810112795 A CN 200810112795A CN 100589173 C CN100589173 C CN 100589173C
Authority
CN
China
Prior art keywords
storage space
sub
piece
write
data
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.)
Expired - Fee Related
Application number
CN200810112795A
Other languages
Chinese (zh)
Other versions
CN101286314A (en
Inventor
晋兆虎
吴苏萍
俞柏峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN200810112795A priority Critical patent/CN100589173C/en
Publication of CN101286314A publication Critical patent/CN101286314A/en
Application granted granted Critical
Publication of CN100589173C publication Critical patent/CN100589173C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a multi-image splicing method. The method includes the following steps: a memory space corresponding to a whole display screen is divided into more than two sub-blocks; the corresponding relationship between each source-video and the sub-block is defined; wherein, one source-video corresponds to more than one sub-block which can just correspond to one source-video; the sumof each sub-block corresponding to each source-video is regarded as a sub-memory-space corresponding to the source-video; the image of the source-video is scaled into a target image according to the size of the sub-memory-space corresponding to each source-video; the target image data of each source-video is written into the sub-memory-space corresponding to the source-video; an video image is read from the memory space corresponding to the whole display screen and displayed on the display screen. The invention also discloses a multi-image splicing device. The technical proposal of the invention can be flexibly realized and can save memory source.

Description

A kind of multi-picture splicing method and device
Technical field
The present invention relates to technical field of image processing, refer to a kind of multi-picture splicing method and device especially.
Background technology
In applications such as video monitoring and video conferences, after regular meeting dwindles processing with the picture signal of the different resolution of multiple source video, on same display terminal, present the effect of many pictures, thereby the quantity of information of maximum is provided for the user for the user.For example, in video monitoring system, often the signal of multichannel camera need be spliced into various many pictures,, on a monitor, show then as 4 pictures, 9 pictures, 12 pictures etc.
In order to finish the splicing of many pictures, more common have a dual mode: a kind of is to finish by the mode of software; Another kind is to adopt special IC (ASIC, Application Specific IntegratedCircuit) framework, as the multichannel dispenser of comparative maturity in the market.
Multi-picture splicing technology based on software is more flexible, but that shortcoming is a bandwidth ratio is less, more for a long time, can consume more cpu resource in the video source that participates in splicing.Because ASIC has more stable serviceability, so advantage such as it is short to have a R﹠D cycle based on the multi-picture splicing scheme of ASIC, and risk is low; But ASIC manufacturer generally can adopt redundant design for the maximization of target market, like this for specific user's specific needs, dirigibility is relatively poor, and all provides independent memory headroom for each multi-picture splicing mode, has the waste of storage resources.
In sum, existing multi-picture splicing technology very flexible and have the waste of storage resources.
Summary of the invention
The invention provides a kind of multi-picture splicing method, this method realizes flexibly and saves storage resources.
The present invention also provides a kind of multi-picture splicing device, and storage resources is realized flexibly and saved to this device.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
The invention discloses a kind of multi-picture splicing method, this method comprises:
The pairing storage space of entire display screen is divided into plural sub-piece;
Determine the corresponding relation between each source video and the described sub-piece; Wherein, the corresponding more than one sub-piece of source video, a sub-piece can only be corresponding to a source video; With sub-storage space pairing each the sub-piece of each source video and that be called this source video correspondence;
According to the pairing sub-storage size of each source video, be target image with the image zoom of this source video;
The destination image data of each source video is write in the sub-storage space of this source video correspondence;
From described and the pairing storage space of entire display screen, read video image and show at display screen;
Wherein, described destination image data with each source video writes in the sub-storage space of this source video correspondence and comprises:
When the sub-storage space of described correspondence current writes first burst of the view data that can store corresponding to this sub-storage space the address, judge whether the current data that write are first data of a frame destination image data, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write; And/or
When the sub-storage space of described correspondence current writes first burst of any delegation in the view data that sub-storage space can be stored corresponding to this of address, judge whether the current data that write are first data of the delegation in the frame destination image data, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write; And/or
Current when to write data are first data in the frame destination image data, current first burst that writes in the view data that whether can store corresponding to this sub-storage space the address of judging the sub-storage space of described correspondence, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write; And/or
Current when writing data and being first data of any delegation in the frame destination image data, current first burst that writes the delegation in the view data that whether can store corresponding to this sub-storage space the address of judging the sub-storage space of described correspondence, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write.
The invention also discloses a kind of multi-picture splicing device, this device comprises: administrative unit, unit for scaling, write control unit, storage unit and read-out control unit, wherein,
Administrative unit is used for storage unit is divided into plural sub-piece with the pairing storage space of entire display screen; Be used for the corresponding relation between definite each source video and the described sub-piece; Wherein, the corresponding more than one sub-piece of source video, a sub-piece can only be corresponding to a source video, with sub-storage space pairing each the sub-piece of each source video and that be called this source video correspondence; Be used for the size information of the pairing sub-storage space of described each source video is notified to unit for scaling, the corresponding relation between described each source video and each the sub-storage space is notified to write control unit;
Unit for scaling is used for the reception sources video, and according to the pairing sub-storage size of each source video, is to export write control unit to behind the target image with the image zoom of this source video;
Write control unit is used for the destination image data of each source video is write the sub-storage space of this source video correspondence;
Storage unit is used to preserve the data that write control unit writes;
Read-out control unit, be used for from storage unit with the pairing storage space of described entire display screen read video image and export display screen to;
Wherein, the said write control module comprises: address administration module and write control module;
Described address administration module, be used for when the pairing sub-storage space of target image current writes first burst of the view data that can store corresponding to this sub-storage space the address, judging whether the current data that write are first data of a frame destination image data; And/or, when the pairing sub-storage space of target image current writes first burst of any delegation in the view data that sub-storage space can be stored corresponding to this of address, judge whether the current data that write are first data of the delegation in the frame destination image data; And/or, current when to write data are first data in the frame destination image data, current first burst that writes in the view data that whether can store corresponding to this sub-storage space the address of judging corresponding sub-storage space; And/or, current when writing data and being first data of any delegation in the frame destination image data, current first burst that writes the delegation in the view data that whether can store corresponding to this sub-storage space the address of judging corresponding sub-storage space;
The said write control module is used in the judged result according to described address administration module, and the current data that write are write the current address that writes, and perhaps abandons the current data that write.
As seen from the above technical solution, the present invention is this to be divided into plural sub-piece with the pairing storage space of entire display screen, determine the corresponding relation between each source video and the described sub-piece, destination image data behind each source video scaling is write in the sub-storage space (with sub-storage space pairing each the sub-piece of each source video and that be called this source video correspondence) of this source video correspondence, then from the pairing storage space of entire display screen read video image and the technique for displaying scheme can realize multiple mode flexibly on display screen picture splicing scheme, and can save memory cost.
Description of drawings
Fig. 1 is the process flow diagram of a kind of multi-picture splicing method of the embodiment of the invention;
Fig. 2 is the synoptic diagram of the embodiment of the invention a kind of display screen indication range dividing mode and corresponding memory headroom;
Fig. 3 is based on the synoptic diagram of the several frequently seen multi-picture splicing mode of Fig. 2;
Fig. 4 is the process synoptic diagram that the embodiment of the invention determines to write the fastest video;
Fig. 5 is the structured flowchart of a kind of multi-picture splicing device of the embodiment of the invention.
Embodiment
The present invention mainly adopt field programmable gate array (FPGA, Field-Programmable GateArray realizes the splicing of many pictures, its main thought is as shown in Figure 1.
Fig. 1 is the process flow diagram of a kind of multi-picture splicing method of the embodiment of the invention.As shown in Figure 1, this method may further comprise the steps:
Step 101 is divided into plural sub-piece with the pairing storage space of entire display screen.
Step 102 is determined the corresponding relation between each source video and the described sub-piece; Wherein, the corresponding more than one sub-piece of source video, a sub-piece can only be corresponding to a source video; With sub-storage space pairing each the sub-piece of each source video and that be called this source video correspondence.
Step 103 according to the pairing sub-storage size of each source video, is a target image with the image zoom of this source video.
Step 104 writes the destination image data of each source video in the sub-storage space of this source video correspondence.
Step 105 reads video image and shows at display screen from described and the pairing storage space of entire display screen.
Can realize the picture splicing mode of various ways flexibly by such scheme shown in Figure 1, as 4 picture splicings, 9 picture splicings, 16 picture splicings or the like, and all use identical storage space for various forms of multi-picture splicing modes, this all provides the scheme of independent storage space with respect to the multi-picture splicing mode to every kind of form of the prior art, can save storage resources greatly.
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing preferred embodiment that develops simultaneously, the present invention is described in more detail.
Because the corresponding relation in display position on the display screen and the storage space between the memory address, described in Fig. 1 step 101 the pairing storage space of entire display screen is divided into plural sub-piece, is equivalent to entire display screen has been divided into the submodule of corresponding number in fact.That is to say whole screen (or storage space) is divided a plurality of basic submodules earlier, when realizing that many pictures show, be unit then with basic submodule, with whole screen divider is the module that equates with many pictures number, below being that 16 basic submodules (16 split screen) are that example describes with whole screen divider.
Fig. 2 is the synoptic diagram of the dividing condition of the embodiment of the invention a kind of display screen indication range dividing mode and corresponding memory headroom.As shown in Figure 2, the entire display screen corresponding memory space is divided into 16 sub-pieces, the numeral with 1-16 is numbered respectively; Submodule on then corresponding with each the sub-piece display screen is also numbered with 1-16, it is corresponding mutually to number identical display screen submodule and the sub-piece in the memory headroom, be the data that to preserve 1 image that can show of submodule in the sub-piece 1, can preserve the data of 2 images that can show of submodule in the sub-piece 2, by that analogy.
Fig. 3 is based on the synoptic diagram of the several frequently seen multi-picture splicing mode of Fig. 2.As shown in Figure 3, the multi-picture splicing mode that can realize based on 16 split screen schemes shown in Figure 2 comprises: 4 pictures, 16 pictures, 12+1 picture, 2 pictures, 3 pictures and 7+1 picture.But need to prove that the multi-picture splicing mode that can realize based on 16 split screens shown in Figure 2 is not limited to 6 kinds shown in Figure 3, can realize multiple other multi-picture splicing mode, give an example no longer one by one here according to the combination in any of 16 submodules.It can also be seen that from Fig. 3 the pairing storage space of entire display screen is divided into many more sub-pieces, and then the multi-picture splicing mode that can realize is many more.
From Fig. 2 and 3 as can be seen, in 4 picture splicing modes, first via source video is corresponding to submodule 1,2,5 and 6 (being equivalent to corresponding to sub-piece 1,2,5 and 6), then need the image of first via source video is narrowed down to the summation area size of submodule 1,2,5 and 6, promptly be reduced into the summation storage size of sub-piece 1,2,5 and 6, the destination image data after will dwindling then is written in the sub-storage space of being made up of sub-piece 1,2,5 and 6; The second tunnel source video is corresponding to submodule 3,4,7 and 8 (being equivalent to corresponding to sub-piece 3,4,7 and 8), after then needing the second tunnel source video narrowed down to the summation area size of submodule 3,4,7 and 8, the destination image data after will dwindling is written in the sub-storage space of being made up of sub-piece 3,4,7 and 8; Third Road source video is corresponding to submodule 9,10,13 and 14 (being equivalent to corresponding to sub-piece 9,10,13 and 14), after then needing Third Road source video narrowed down to the summation area size of submodule 9,10,13 and 14, the destination image data after will dwindling is written in the sub-storage space of being made up of sub-piece 9,10,13 and 14; The four tunnel source video is corresponding to submodule 11,12,15 and 16 (being equivalent to corresponding to sub-piece 11,12,15 and 16), after then needing the four tunnel source video narrowed down to the summation area size of submodule 11,12,15 and 16, the destination image data after will dwindling is written in the sub-storage space of being made up of sub-piece 11,12,15 and 16.When four tunnel source videos respectively write a frame destination image data in each self-corresponding sub-storage space after, from the pairing storage space of entire display screen, read a frame video image, promptly from the storage space of forming by sub-piece 1-16, read a frame video image and show the image promptly can obtain one 4 picture splicing at display screen.For example, in video monitoring scene, when 4 road cameras are imported the image of 4 road D1 forms respectively, need be the image of CIF form (resolution be D1 form 1/2) with every road image zoom, the CIF format-pattern that to not go the same way then is written in its each self-corresponding sub-storage space, when reading the image of each road CIF form is read by whole frame and shown the effect that can present many pictures on display device.Other multi-picture splicing modes by that analogy.
Adopting hardware logic that the address of the pairing sub-piece of each submodule is managed in embodiments of the present invention, and do not have absolute corresponding relation between input source video and the sub-piece, can be the sub-piece of each source video distribution according to actual conditions.For example, in 4 picture splicing modes, first via source video is corresponding to sub-piece 1,2,5 and 6, and in 16 picture splicing modes, first via source video is corresponding to sub-piece 1.This mode makes that each logic control element can be multiplexing, has saved the expense of logical resource greatly, and can realize the splicing of many pictures of mixed-resolution, can also save memory headroom, reduces hardware cost.
When realizing scheme shown in Figure 1, also need to consider following two problems with FPGA:
1, prevents memory overwriting
The reason of memory overwriting has a lot, includes but not limited to undesired back-pressure that the logic inter-process is unusual, interface signal is unusual, the instantaneous deficiency of memory bandwidth causes etc.The signal that can occur not going the same way in case cross the border influences each other, thereby has a strong impact on image quality, so logic must possess certain protective capability of crossing the border.
The protection of crossing the border writes data and the current address that writes determines jointly by current; the result of decision have two kinds may: 1) current writing effectively; in this case address administration module in the logic is provided a writeable current address that writes, the current data that write are write the current address that writes.2) currently write invalidly, the address administration module provides one and abandons sign in this case, and logic abandons the current data that write.
The foundation of obvious above-mentioned decision-making has directly determined the address administration module to resist various unusual abilities.When in the present embodiment the destination image data of each source video being write the sub-storage space of this source video correspondence, the decision-making foundation that is adopted comprises:
A, when the sub-storage space of described correspondence current writes first burst of the view data that can store corresponding to this sub-storage space the address, judge whether the current data that write are first data of a frame destination image data, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write.This rule can be controlled at mistake within one frame, can not allow mistake accumulate in interframe.
B, when the sub-storage space of described correspondence current writes first burst of any delegation in the view data that sub-storage space can be stored corresponding to this of address, judge whether the current data that write are first data of the delegation in the frame destination image data, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write.This rule can be controlled at mistake within the delegation, can not allow wrong in accumulation in the ranks.
C, current when to write data are first data in the frame destination image data, current first burst that writes in the view data that whether can store corresponding to this sub-storage space the address of judging the sub-storage space of described correspondence, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write.This rule can allow new Frame from the position of a new frame, prevents wrong screen.
D, current when writing data and being first data of any delegation in the frame destination image data, current first burst that writes the delegation in the view data that whether can store corresponding to this sub-storage space the address of judging described sub-corresponding stored space, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write.This rule can allow new data line from new delegation, prevents that the mistake of turning round in the frame from appearring in image.
2, read-write stationary problem
The read-write stationary problem is the mistake screen phenomenon that occurs in order to prevent to read while write same memory headroom.Because the difference of read-write on the clock, might appear at synchronization and read clock than the fast or slow situation of writing clock, if do not do synchronous protection between the read-write, the problem of the same address space of read-write very likely appears.
At first in order to prevent to read while write same memory headroom, steering logic to be written in the present embodiment begins to carry out read operation write some two field pictures in memory headroom after again, therefore, have N piece storage space corresponding with described entire display screen respectively, every storage space can be preserved the data of the frame image identical with the whole indication range size of display screen at least; N is the natural number greater than 1.Certainly this N piece storage space can be the continuous memory headroom of a monoblock, just will store each frame here for convenience and be considered as a storage space in the memory headroom of the identical image of display screen size.
Then described in Fig. 1 the pairing storage space of entire display screen being divided into plural sub-piece comprises: for every storage space in the described N piece storage space, all this storage space is divided into plural sub-piece, wherein, the described sub-piece dividing mode to N piece storage space is identical; For example, wherein a storage space is divided into 12 sub-pieces, and then the N-1 piece storage space with other also all is divided into 12 identical sub-pieces respectively.Corresponding relation between described definite each source video and the described sub-piece comprises: for every storage space in the described N piece storage space, all determine the corresponding relation between the sub-piece in each source video and this storage space, wherein, the corresponding relation between the sub-piece in each source video and the every storage space is all identical; For example, the first source video is corresponding with 1,2 work song pieces in the storage space, and then this first source video is also corresponding with 1,2 work song pieces in other the N-1 piece storage space; Other source video also by that analogy.Described destination image data with each source video writes in the sub-storage space of this source video correspondence and comprises: with the destination image data of each source vedio data is that unit writes in the sub-storage space corresponding with this source video image in the described N piece storage space successively with the frame, and when having write N piece storage space, write since first storage space again; Described from the pairing storage space of entire display screen read video image and show and comprise at display screen: from described N piece storage space, obtain successively with the corresponding two field picture of entire display screen and at display screen and show, and behind the two field picture in having obtained N piece storage space, obtain since first storage space again.
In said process, in order to prevent to read while write same memory headroom,, from described N piece storage space, read a two field picture corresponding successively with entire display screen to lag behind the current speed that writes the fastest target image M frame, M is a natural number.Be logic inside by seeking current which the fastest video that writes, to obtain current position that can read data.M can get 2 in the present embodiment.
Since the sequencing difference of the different images of the multi-channel video that writes, and a road fast video may appear writing originally certain section situation that the time writing speed is slack-off, so that the fastest road video council dynamic change of writing.And reading steering logic one side, and need to guarantee that the position of reading lags behind the fastest Frame two frames of writing, so both protected read-write can not guarantee that again all many pictures of current this frame of reading have all obtained refreshing at same frame.
Fig. 4 is the process synoptic diagram that the embodiment of the invention determines to write the fastest video.As shown in Figure 4, be example with 4 picture splicings, promptly be input as example with 4 tunnel source videos, be analyzed as follows:
Suppose that 1,2,3,4 four road videos all are being written into the frame corresponding memory space No. 0 at t0 constantly, write the fastest video this moment and be initially set in described four road videos any one;
At t1 constantly, No. 1 video is gone in four road videos at first to No. 1 pairing storage space of frame, and then at t1 constantly, No. 1 video is to write the fastest video;
At t2 constantly, 2,3,4 three road videos also are written to the pairing storage space of frame No. 1 thereupon;
At t3 constantly, No. 2 videos are gone in four road videos at first to No. 2 pairing storage spaces of frame, and then at t3 constantly, No. 2 video is exactly to write the fastest video.
Can real-time servicing is current write that the fastest road video by above-mentioned process, can be thereby read steering logic as benchmark, read a whole two field picture and show with the speed that falls behind two frames, guaranteed read-write synchronously.
Fig. 5 is the structured flowchart of a kind of multi-picture splicing device of the embodiment of the invention.As shown in Figure 5, this device comprises: administrative unit 501, unit for scaling 502, write control unit 503, storage unit 504 and read-out control unit 505, wherein:
Administrative unit 501 is used for storage unit 504 is divided into plural sub-piece with the pairing storage space of entire display screen; Be used for the corresponding relation between definite each source video and the described sub-piece; Wherein, the corresponding more than one sub-piece of source video, a sub-piece can only be corresponding to a source video, with sub-storage space pairing each the sub-piece of each source video and that be called this source video correspondence; Be used for the size information of the pairing sub-storage space of described each source video is notified to unit for scaling 502, the corresponding relation between described each source video and each the sub-storage space is notified to write control unit 503;
Unit for scaling 502 is used to receive the source video of input, and according to the pairing sub-storage size of each source video, is to export write control unit 503 to behind the target image with the image zoom of this source video;
Write control unit 503 is used for the destination image data of each source video is write the pairing sub-storage space of display position of this source video correspondence;
Storage unit 504 is used to preserve the data that write control unit 503 writes;
Read-out control unit 505, be used for from storage unit 504 with the pairing storage space of described entire display screen read video image and export display screen to.
In the embodiment shown in fig. 5, administrative unit 501 is used for determining the corresponding relation between this source video and the sub-piece according to corresponding relation between the display position on each source video and the display screen and the pairing sub-piece of this display position.
In the embodiment shown in fig. 5, write control unit 503 comprises: address administration module 506 and write control module 507, wherein: address administration module 506, be used for when the pairing sub-storage space of target image current writes first burst of the view data that can store corresponding to this sub-storage space the address, judging whether the current data that write are first data of a frame destination image data; And/or, when the pairing sub-storage space of target image current writes first burst of any delegation in the view data that sub-storage space can be stored corresponding to this of address, judge whether the current data that write are first data of the delegation in the frame destination image data; And/or, current when to write data are first data in the frame destination image data, current first burst that writes in the view data that whether can store corresponding to this sub-storage space the address of judging that storage space answered in antithetical phrase; And/or, current when writing data and being first data of any delegation in the frame destination image data, current first burst that writes the delegation in the view data that whether can store corresponding to this sub-storage space the address of judging corresponding sub-storage space; Write control module 507, be used for, the current data that write are write the current address that writes, perhaps abandon the current data that write in judged result according to described address administration module.
In the embodiment shown in fig. 5, have N piece storage space corresponding with described entire display screen respectively in the storage unit 504, every storage space can be preserved the data of the frame image identical with the whole indication range size of display screen at least; N is the natural number greater than 1.Administrative unit 501 is used for every storage space in the N piece storage space of described storage unit all is divided into plural sub-piece, and is wherein, identical to the described sub-piece dividing mode of N piece storage space; Be used for determining the corresponding relation between the sub-piece of each source video and described every storage space, wherein, the corresponding relation between the sub-piece in each source video and the every storage space is all identical.Write control unit 503, the destination image data that is used for each source vedio data is that unit writes in the sub-storage space corresponding with this source video image of described N piece storage space successively with the frame, and when having write N piece storage space, write since first storage space again.Read-out control unit 505 is used for successively obtaining a two field picture corresponding with entire display screen and showing at display screen from described N piece storage space, and behind the two field picture in having read N piece storage space, obtains since first storage space and read.
In the embodiment shown in fig. 5, read-out control unit 505 comprises: determination module 508 and read control module 509, wherein: determination module 508, be used for determining the current the fastest target image that writes, and notice is read control module; Read control module 509, be used for reading a two field picture corresponding with entire display screen successively from described N piece storage space to lag behind the current speed that writes the fastest target image M frame, M is a natural number.
By the technical scheme of the foregoing description as seen, the present invention is this to be divided into plural sub-piece with the pairing storage space of entire display screen, determine the corresponding relation between each source video and the described sub-piece, destination image data behind each source video scaling is write in the sub-storage space (with sub-storage space pairing each the sub-piece of each source video and that be called this source video correspondence) of this source video correspondence, then from the pairing storage space of entire display screen read video image and the technique for displaying scheme can realize multiple mode flexibly on display screen picture splicing scheme, and can save memory cost.Prevent the strategy protocol of memory overwriting in addition, can eliminate multiple unusual interference, mistake is controlled at moment, can not produce cumulative effect; Read and write the separation that different controlling schemes can guarantee to read and write frame per second, avoid the conflict of read/write address simultaneously.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1, a kind of multi-picture splicing method is characterized in that, this method comprises:
The pairing storage space of entire display screen is divided into plural sub-piece;
Determine the corresponding relation between each source video and the described sub-piece; Wherein, the corresponding more than one sub-piece of source video, a sub-piece can only be corresponding to a source video; With sub-storage space pairing each the sub-piece of each source video and that be called this source video correspondence;
According to the pairing sub-storage size of each source video, be target image with the image zoom of this source video;
The destination image data of each source video is write in the sub-storage space of this source video correspondence;
From described and the pairing storage space of entire display screen, read video image and show at display screen;
Wherein, described destination image data with each source video writes in the sub-storage space of this source video correspondence and comprises:
When the sub-storage space of described correspondence current writes first burst of the view data that can store corresponding to this sub-storage space the address, judge whether the current data that write are first data of a frame destination image data, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write; And/or
When the sub-storage space of described correspondence current writes first burst of any delegation in the view data that sub-storage space can be stored corresponding to this of address, judge whether the current data that write are first data of the delegation in the frame destination image data, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write; And/or
Current when to write data are first data in the frame destination image data, current first burst that writes in the view data that whether can store corresponding to this sub-storage space the address of judging the sub-storage space of described correspondence, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write; And/or
Current when writing data and being first data of any delegation in the frame destination image data, current first burst that writes the delegation in the view data that whether can store corresponding to this sub-storage space the address of judging the sub-storage space of described correspondence, be then the current data that write to be write the current address that writes, otherwise abandon the current data that write.
2, the method for claim 1, it is characterized in that, corresponding relation between described definite each source video and the sub-piece comprises: according to corresponding relation between the display position on each source video and the display screen and the pairing sub-piece of this display position, determine the corresponding relation between this source video and the sub-piece.
3, method as claimed in claim 1 or 2 is characterized in that, has N piece storage space corresponding with described entire display screen respectively, and every storage space can be preserved the data of the frame image identical with the whole indication range size of display screen at least; N is the natural number greater than 1;
Describedly the pairing storage space of entire display screen is divided into plural sub-piece comprises:, all this storage space is divided into plural sub-piece for every storage space in the described N piece storage space; Wherein, the described sub-piece dividing mode to N piece storage space is identical;
Corresponding relation between described definite each source video and the described sub-piece comprises: for every storage space in the described N piece storage space, all determine the corresponding relation between the sub-piece in each source video and this storage space; Wherein, the corresponding relation between the sub-piece in each source video and the every storage space is all identical;
Described destination image data with each source video writes in the sub-storage space of this source video correspondence and comprises: with the destination image data of each source vedio data is that unit writes in the sub-storage space corresponding with this source video image in the described N piece storage space successively with the frame, and when having write N piece storage space, write since first storage space again;
Described from the pairing storage space of entire display screen read video image and show and comprise at display screen: from described N piece storage space, read successively with the corresponding two field picture of entire display screen and at display screen and show, and behind the two field picture in having read N piece storage space, read since first storage space again.
4, method as claimed in claim 3, it is characterized in that, describedly from described N piece storage space, read a two field picture corresponding successively and comprise: to lag behind the current speed that writes the fastest target image M frame with entire display screen, read a two field picture corresponding with entire display screen successively from described N piece storage space, M is a natural number.
5, a kind of multi-picture splicing device is characterized in that, this device comprises: administrative unit, unit for scaling, write control unit, storage unit and read-out control unit, wherein,
Administrative unit is used for storage unit is divided into plural sub-piece with the pairing storage space of entire display screen; Be used for the corresponding relation between definite each source video and the described sub-piece; Wherein, the corresponding more than one sub-piece of source video, a sub-piece can only be corresponding to a source video, with sub-storage space pairing each the sub-piece of each source video and that be called this source video correspondence; Be used for the size information of the pairing sub-storage space of described each source video is notified to unit for scaling, the corresponding relation between described each source video and each the sub-storage space is notified to write control unit;
Unit for scaling is used for the reception sources video, and according to the pairing sub-storage size of each source video, is to export write control unit to behind the target image with the image zoom of this source video;
Write control unit is used for the destination image data of each source video is write the sub-storage space of this source video correspondence;
Storage unit is used to preserve the data that write control unit writes;
Read-out control unit, be used for from storage unit with the pairing storage space of described entire display screen read video image and export display screen to;
Wherein, the said write control module comprises: address administration module and write control module;
Described address administration module, be used for when the pairing sub-storage space of target image current writes first burst of the view data that can store corresponding to this sub-storage space the address, judging whether the current data that write are first data of a frame destination image data; And/or, when the pairing sub-storage space of target image current writes first burst of any delegation in the view data that sub-storage space can be stored corresponding to this of address, judge whether the current data that write are first data of the delegation in the frame destination image data; And/or, current when to write data are first data in the frame destination image data, current first burst that writes in the view data that whether can store corresponding to this sub-storage space the address of judging corresponding sub-storage space; And/or, current when writing data and being first data of any delegation in the frame destination image data, current first burst that writes the delegation in the view data that whether can store corresponding to this sub-storage space the address of judging corresponding sub-storage space;
The said write control module is used in the judged result according to described address administration module, and the current data that write are write the current address that writes, and perhaps abandons the current data that write.
6, device as claimed in claim 5, it is characterized in that, described administrative unit is used for determining the corresponding relation between this source video and the sub-piece according to corresponding relation between the display position on each source video and the display screen and the pairing sub-piece of this display position.
7, as claim 5 or 6 described devices, it is characterized in that, have N piece storage space corresponding with described entire display screen respectively in the described storage unit, every storage space can be preserved the data of the frame image identical with the whole indication range size of display screen at least; N is the natural number greater than 1;
Described administrative unit is used for every storage space in the N piece storage space of described storage unit all is divided into plural sub-piece, and is wherein, identical to the described sub-piece dividing mode of N piece storage space; Determine the corresponding relation between the sub-piece in each source video and the described every storage space, wherein, the corresponding relation between the sub-piece in each source video and the every storage space is all identical;
The said write control module, the destination image data that is used for each source vedio data is that unit writes in the sub-storage space corresponding with this source video image of described N piece storage space successively with the frame, and when having write N piece storage space, write since first storage space again;
Described read-out control unit is used for successively obtaining a two field picture corresponding with entire display screen and showing at display screen from described N piece storage space, and behind the two field picture in having read N piece storage space, reads since first storage space again.
8, device as claimed in claim 7 is characterized in that, described read-out control unit comprises: determination module and read control module, wherein,
Described determination module be used for determining the current the fastest target image that writes, and notice is read control module;
The described control module of reading is used for reading a two field picture corresponding with entire display screen successively from described N piece storage space to lag behind the current speed that writes the fastest target image M frame, and M is a natural number.
CN200810112795A 2008-05-26 2008-05-26 Multi-picture splicing method and device Expired - Fee Related CN100589173C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810112795A CN100589173C (en) 2008-05-26 2008-05-26 Multi-picture splicing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810112795A CN100589173C (en) 2008-05-26 2008-05-26 Multi-picture splicing method and device

Publications (2)

Publication Number Publication Date
CN101286314A CN101286314A (en) 2008-10-15
CN100589173C true CN100589173C (en) 2010-02-10

Family

ID=40058478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810112795A Expired - Fee Related CN100589173C (en) 2008-05-26 2008-05-26 Multi-picture splicing method and device

Country Status (1)

Country Link
CN (1) CN100589173C (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420534B (en) * 2008-11-07 2011-02-02 华为终端有限公司 Multiple image display method and apparatus
CN101562706B (en) * 2009-05-22 2012-04-18 杭州华三通信技术有限公司 Method for splicing images and equipment thereof
CN102025891B (en) * 2009-09-11 2012-11-07 华为终端有限公司 Image processing method and device
EP2355037A1 (en) * 2009-12-18 2011-08-10 Nxp B.V. Method of and system for determining an average colour value for pixels
CN102111605A (en) * 2009-12-28 2011-06-29 杭州华三通信技术有限公司 Micro controller unit (MCU) and method for implementing multipicture split screen by using MCU
CN102263930B (en) * 2010-05-24 2014-02-26 杭州华三通信技术有限公司 Method and device for broadcasting multiple pictures in video conference
CN101976558B (en) * 2010-11-12 2013-01-23 华亚微电子(上海)有限公司 Method and device for scaling video images
CN102123208A (en) * 2011-03-22 2011-07-13 深圳桑菲消费通信有限公司 Method for supporting display of a plurality of sub display screens on mobile phone display screen
CN102833518B (en) 2011-06-13 2015-07-08 华为终端有限公司 Method and device for optimally configuring MCU (multipoint control unit) multipicture
CN103297809B (en) * 2012-02-28 2017-06-20 华为技术有限公司 Media content encrypting and decrypting method, apparatus and system
KR101955202B1 (en) * 2012-10-31 2019-03-07 삼성에스디에스 주식회사 Device for multipoing video conference and method for displaying multi-party image using the device
CN103024363B (en) * 2013-01-10 2019-01-01 深圳市长江力伟股份有限公司 A kind of multi-channel video joining method, system and electronic device
CN104601935A (en) * 2013-10-31 2015-05-06 深圳市朗驰欣创科技有限公司 Frame splicing method and device
CN103618869B (en) * 2013-11-25 2017-07-18 广东威创视讯科技股份有限公司 Many picture video joining methods and device
CN104363508B (en) * 2014-11-21 2018-03-23 浙江宇视科技有限公司 A kind of image split-joint method and device that prevent video from retracting
CN106200229B (en) * 2015-05-04 2019-01-08 深圳市光峰光电技术有限公司 Splicing display device and tiled display control method
CN105005438B (en) * 2015-07-24 2018-03-20 广东欧珀移动通信有限公司 A kind of file selection method and device
CN105139792B (en) * 2015-08-18 2018-04-20 京东方科技集团股份有限公司 Display methods and display device
CN106331553B (en) * 2016-08-26 2020-03-24 北京金山安全软件有限公司 Video storage method and device and electronic equipment
CN106331822B (en) * 2016-08-26 2020-02-07 北京金山安全软件有限公司 Method and device for playing multiple videos and electronic equipment
CN106775516B (en) * 2016-11-16 2020-05-19 浙江宇视科技有限公司 Cross-screen window display method and device
CN108234947B (en) * 2018-01-03 2020-09-15 广州禄博易信息技术有限公司 Multi-picture image array display system
CN108881743B (en) * 2018-07-19 2020-10-09 威创集团股份有限公司 Video image processing method, device and system based on splicing wall
CN109164997B (en) * 2018-08-22 2021-08-24 南京南瑞信息通信科技有限公司 Distributed picture rendering and picture playing control method, device and equipment
CN111681595A (en) * 2019-03-07 2020-09-18 西安诺瓦电子科技有限公司 Display unit, display equipment, screen matching method and screen matching system
CN112529823B (en) * 2019-09-19 2023-08-25 杭州海康威视数字技术股份有限公司 Image processing method, device and equipment
CN112785973B (en) * 2019-11-05 2022-07-15 西安诺瓦星云科技股份有限公司 Image splicing method and device
CN111010600A (en) * 2019-12-05 2020-04-14 深圳市创维群欣安防科技股份有限公司 Tiled fusion windowing method based on distributed cloud splicing and display screen
CN111885410B (en) * 2020-07-30 2022-08-30 京东方科技集团股份有限公司 Image data processing device, method and display device
CN112583821A (en) * 2020-12-09 2021-03-30 威创集团股份有限公司 Display method, display system, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN101286314A (en) 2008-10-15

Similar Documents

Publication Publication Date Title
CN100589173C (en) Multi-picture splicing method and device
EP0642690B1 (en) Multi-source video synchronization
US8384825B2 (en) Video image transfer device and display system including the device
US8749667B2 (en) System and method for maintaining maximum input rate while up-scaling an image vertically
TWI442376B (en) Semiconductor integrated circuit and data processing system
JP2003298938A5 (en)
US20190364237A1 (en) Dynamic vision sensor, electronic device and data transfer method thereof
CN101364403B (en) Image processing apparatus and method for controlling the same
CN102036038A (en) Multi-channel OSD video superposition controller
US20120002009A1 (en) Video signal processing apparatus and video signal processing method
US20180173482A1 (en) Display Device and Display Signal Input System and Display Signal Input Method Thereof
CN101093644A (en) LCD control circuit and method for picture in picture function supported under multiple output formats
CN114125328B (en) Multi-source input multi-screen splicing system and method and display device
CN101577822B (en) Image compensating method and image compensating device in video mosaics
US8494253B2 (en) Three-dimensional (3D) image processing method and system
CN104469241A (en) Device for achieving video frame rate change
US20010014853A1 (en) Decoding synchronous control apparatus, decoding apparatus, and decoding synchronous control method
WO2014013657A1 (en) Video signal processing device and video signal processing method
US20090092376A1 (en) Video reproduction apparatus
CN217388784U (en) Internal image processing architecture of chip
US8035595B2 (en) Liquid crystal panel, driving method for liquid crystal panel, and program
JP2010263394A (en) Video signal processor
CN115314644A (en) Video data processing system based on FPGA
US8983276B2 (en) Apparatus and method for temporary storage of image-encoding data
JPH03114096A (en) Image decoding device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100210

Termination date: 20200526

CF01 Termination of patent right due to non-payment of annual fee