The screen of the multiple different resolution of interactive projection system carries out the method for interactive display
Technical field
The screen that the present invention relates to the multiple different resolution of a kind of interactive projection system carries out the method for interactive display.
Background technology
Along with the development of science and technology, Digital Media arises at the historic moment.Digital Media as the media existed in a digital manner and propagate, be widely used with live in every aspect.The large screen system seamless spliced by multiple screen is also widely used in public arena and the building exposed walls etc. such as railway station, subway station, airport.The large-screen be spliced to form by display screen can be mutual mutually but cost is higher not easily to be built, projector's optical projection system display area is large still cannot be completed mutually alternately, by optical projection system and touch display jointly show the interaction display system that forms not only low being easy to of cost build, and meet people and the mutual mutually demand of system.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of conversion by resolution is provided, ensure that size that same display-object shows on different display device also can be consistent and display-object is connected closely between different display device, solve the method that screen that the display of different display device multi-screen splicing is connected the multiple different resolution of interactive projection system of the problem of weak effect carries out interactive display.
The object of the invention is to be achieved through the following technical solutions: the screen of the multiple different resolution of interactive projection system carries out the method for interactive display, and it comprises the following steps:
S1: obtain the first display device parameter, according to the pixel of the first display device resolution, display width, each pixel of display high computational first display device is high and pixel is wide;
S2: the first display device obtains display file, is shown by display file figure frame;
S3: obtain the second display device parameter, according to the pixel of the second display device resolution, display width, each pixel of display high computational second display device is high and pixel is wide;
S4: high according to the pixel of each pixel of the first display device, pixel is wide and the pixel of each pixel of the second display device is high, pixel wide to display file figure frame carry out size conversion and position conversion;
S5: the display file figure frame after conversion is sent to the second display device;
S6: the second display device obtains the display file after conversion, is shown by the display file figure frame after conversion.
The step of described size conversion comprises the following steps:
S40101: obtain the pixel height h_1 of each pixel of the first display device and the pixel height h_2 of the wide w_1 of pixel and each pixel of the second display device and the wide w_2 of pixel;
S40102: obtain the first display device display file figure frame information;
S40103: carry out the conversion of figure frame information with the wide ratio of pixel by according to pixels high for display-object pixel in display file figure frame information, when in former display file figure frame information, display-object is that a pixel is high, b pixel is wide, after then changing, in display file figure frame information, corresponding display-object is high into c pixel, d pixel is wide, wherein c=(a*h_1)/h_2, d=(b*w_1)/w_2;
The step of described position conversion comprises the following steps:
S40201: obtain that the pixel of each pixel of the first display device is high and pixel is wide and the pixel of the second display device each pixel height and pixel wide;
S40202: obtain the first display device display file figure frame information, according to the position of display-object in figure frame and the first display device pixel is high and each display-object pixel of the wide calculating of pixel physics displaing coordinate (g, k) in the first display device;
S40203: the high and position of each display-object of the wide calculating of pixel in figure frame according to each display-object pixel physics displaing coordinate (g, k) and second display device pixel in the first display device, and change.
The first described display device is touch display, and the second display device is projector.
The first described display device second display device can also be another kind of situation, and now the first display device is projector, and the second display device is projector.
The invention has the beneficial effects as follows:
The present invention is by the conversion of resolution, ensure that size that same display-object shows on different display device also can be consistent and display-object is connected closely between different display device, solve the problem that the display of different display device multi-screen splicing is connected weak effect.
Accompanying drawing explanation
Fig. 1 is process flow diagram of the present invention;
Flow path switch figure sized by Fig. 2;
Fig. 3 is position flow path switch figure.
Embodiment
Technical scheme of the present invention is described in further detail with reference to the accompanying drawings below: as shown in Figure 1, the screen of the multiple different resolution of interactive projection system carries out the method for interactive display, and it comprises the following steps:
S1: obtain the first display device parameter, according to the pixel of the first display device resolution, display width, each pixel of display high computational first display device is high and pixel is wide;
S2: the first display device obtains display file, is shown by display file figure frame;
S3: obtain the second display device parameter, according to the pixel of the second display device resolution, display width, each pixel of display high computational second display device is high and pixel is wide;
S4: high according to the pixel of each pixel of the first display device, pixel is wide and the pixel of each pixel of the second display device is high, pixel wide to display file figure frame carry out size conversion and position conversion;
S5: the display file figure frame after conversion is sent to the second display device;
S6: the second display device obtains the display file after conversion, is shown by the display file figure frame after conversion.
As shown in Figure 2, the step of described size conversion comprises the following steps:
S40101: obtain the pixel height h_1 of each pixel of the first display device and the pixel height h_2 of the wide w_1 of pixel and each pixel of the second display device and the wide w_2 of pixel;
S40102: obtain the first display device display file figure frame information;
S40103: carry out the conversion of figure frame information with the wide ratio of pixel by according to pixels high for display-object pixel in display file figure frame information, when in former display file figure frame information, display-object is that a pixel is high, b pixel is wide, after then changing, in display file figure frame information, corresponding display-object is high into c pixel, d pixel is wide, wherein c=(a*h_1)/h_2, d=(b*w_1)/w_2;
As shown in Figure 3, the step of described position conversion comprises the following steps:
S40201: obtain that the pixel of each pixel of the first display device is high and pixel is wide and the pixel of the second display device each pixel height and pixel wide;
S40202: obtain the first display device display file figure frame information, according to the position of display-object in figure frame and the first display device pixel is high and each display-object pixel of the wide calculating of pixel physics displaing coordinate (g, k) in the first display device;
S40203: the high and position of each display-object of the wide calculating of pixel in figure frame according to each display-object pixel physics displaing coordinate (g, k) and second display device pixel in the first display device, and change.
The first described display device is touch display, and the second display device is projector.
The first described display device second display device can also be another kind of situation, and now the first display device is projector, and the second display device is projector.