CN106878631A - A kind of method for displaying image and device - Google Patents

A kind of method for displaying image and device Download PDF

Info

Publication number
CN106878631A
CN106878631A CN201710008677.3A CN201710008677A CN106878631A CN 106878631 A CN106878631 A CN 106878631A CN 201710008677 A CN201710008677 A CN 201710008677A CN 106878631 A CN106878631 A CN 106878631A
Authority
CN
China
Prior art keywords
window
code stream
display screen
wall
decoding
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.)
Granted
Application number
CN201710008677.3A
Other languages
Chinese (zh)
Other versions
CN106878631B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201710008677.3A priority Critical patent/CN106878631B/en
Publication of CN106878631A publication Critical patent/CN106878631A/en
Application granted granted Critical
Publication of CN106878631B publication Critical patent/CN106878631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of method for displaying image and device, including:In the first display screen uplifting window, and determine actual pixels point, the window of display image when the window is wall on image decoding shared by window of the window after second display screen synchronously windowing;Video source information according to the image for being intended to decoding on-wall determines image resolution ratio;Actual pixels point and image resolution ratio determine the selected code stream in dicode Flow Technique of decoding on-wall according to shared by the window;Wall shows on the image decoding that will be transmitted on the code stream.Can be automatically switched using the present invention, overcome the deficiency for manually selecting;Be not limited by single screen still merge screen, will not also be limited single segmentation or it is multi-split, be also applied for windowing;Network bandwidth resources and decoding resource can be saved, and does not influence wall effect on picture.

Description

A kind of method for displaying image and device
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of method for displaying image and device.
Background technology
In monitoring field, the quantity of front end is far longer than the quantity of Surveillance center's large-size screen monitors.In order to most on limited screen Display head end video more than possible, segmentation is a most frequently used method.Particularly market in overseas, be up to uses 64 segmentations 's.
Dicode Flow Technique is used to solve to be locally stored the picture quality taken into account with network transmission.Main bit stream is used to locally deposit Storage, auxiliary code stream is transmitted suitable for image in low-bandwidth network.
Dual code stream is stored using the code stream of code check high all the way for local high definition, such as QCIF (Quarter common Intermediate format, a quarter CLV Common Intermediate Format) and/CIF (common intermediate format, it is general Intermediate form)/D1 codings, the code stream of low bit- rate is for network transmission, such as QCIF/CIF codings, while take into account locally depositing all the way Storage and telecommunication network transmission.Dual code stream can realize two kinds of different bandwidth code stream needs of local transmission and remote transmission, local to pass Defeated use high code stream can obtain high definition video recording storage higher, and remote transmission uses relatively low code stream to adapt to CDMA (Code Division Multiple Access, CDMA) and/ADSL (Asymmetric Digital Subscriber Line, it is non- Symmetric Digital Subscriber Line) etc. various networks and obtain image fluency higher.
It is 1080P with a main bit stream, as a example by auxiliary code stream is for the front end of D1.Output resolution ratio is the single screen of 1080P more than 4 In the case of segmentation, it is duplicate that main bit stream and the effect of auxiliary code stream are solved in decoding on-wall.Wherein, so-called "enforce" is Refer to, by specific content displaying on large-size screen monitors, for example, the internet conference relevant microblog content that online friend sends, therein valuable Value or interesting content are transferred on Tengxun's microblogging screen of internet conference theatre and give public display etc..
During displaying, general scene is controlled by client softwares such as PC or PAD.With conventional PC End display is compared, and upper wall is equally displaying picture.But what perfect displaying will be complicated on large-size screen monitors is more, it is necessary first to by one piece one The screen of block does and splices.Then by integration technology a picture complete in whole screen display;And show phase with TV Than TV can be considered as one piece of screen in fusion screen, do not do to splice also not doing and split and open a window.
For this reason, it may be necessary to find a kind of mechanism to switch wall on main bit stream or auxiliary code stream.
However, in currently existing scheme, such as to realize the function.Must manually switch, once after way is more, Operating can be very cumbersome, and practical application is infeasible.Go to process somewhat by segmentation number, but in the case where screen is merged The situation that picture fogs is had, it is also unreasonable.
The content of the invention
The invention provides a kind of method for displaying image and device, it is used to solve to be cut automatically when wall shows on code stream The problem changed.
A kind of method for displaying image is provided in the embodiment of the present invention, including:
In the first display screen uplifting window, and determine actual pixels shared by window of the window after second display screen synchronously windowing Point, the window of display image when the window is wall on image decoding;
Video source information according to the image for being intended to decoding on-wall determines image resolution ratio;
Actual pixels point and image resolution ratio determine that decoding on-wall is selected in dicode Flow Technique according to shared by the window Code stream;
Wall shows on the image decoding that will be transmitted on the code stream.
It is preferred that the code stream selected by decoding on-wall is the main bit stream in dicode Flow Technique and auxiliary code stream, according to described When actual pixels point and image resolution ratio determine the code stream selected by decoding on-wall shared by window, if actual picture shared by the window The wide and high of vegetarian refreshments is both less than during equal to auxiliary code flow point resolution, code stream supplemented by the code stream selected by decoding on-wall is determined, if described Actual pixels point shared by window it is wide or tall and big when auxiliary code flow point resolution, determine that code stream selected by decoding on-wall is primary key Stream.
It is preferred that in the main bit stream in showing decoding on-wall selected code stream for dicode Flow Technique, according to described Actual pixels point and image resolution ratio determine the code stream selected by decoding on-wall shared by window.
It is preferred that further including:
If the code stream selected by current decoding on-wall is the auxiliary code stream in dicode Flow Technique, if actual shared by the window Pixel it is wide or tall and big when auxiliary code flow point resolution, by the bitstreams switching selected by decoding on-wall be main bit stream.
It is preferred that before determining actual pixels point shared by window of the window after second display screen synchronously windowing, further wrapping Include:
Determine the window size variation opened on the first display screen;
After it is determined that the window size opened on the first display screen is changed, determine the window after second display screen synchronously windowing Actual pixels point shared by window.
It is preferred that determine actual pixels point shared by window of the window after large-size screen monitors synchronously windowing, including:
It is determined that in the wide and height of the first display screen institute windowing;
It is determined that the wide and height of the window after second display screen synchronously windowing;
It is determined that the width and the ratio wide and high with analog block high in the first display screen institute windowing, wherein, institute It is the block that second display screen is simulated on the first display screen to state analog block, and the block is right with the resolution ratio of second display screen Answer;
According to the ratio, determine the window in second display screen by the image resolution ratio of the first display screen institute windowing Actual pixels point shared by the window of institute's windowing.
A kind of image display device is provided in the embodiment of the present invention, including:
Actual pixels point determining module, in the first display screen uplifting window, and determines the window in second display screen synchronization Actual pixels point shared by window after windowing, the window of display image when the window is wall on image decoding;
Image resolution ratio determining module, for determining image resolution according to the video source information of the image for being intended to decoding on-wall Rate;
Code stream determining module, determines that decoding on-wall exists for actual pixels point and image resolution ratio according to shared by the window Selected code stream in dicode Flow Technique;
Display module, for wall on the image decoding transmitted on the code stream to be shown.
It is preferred that code stream determining module is further used for the master in the code stream selected by decoding on-wall is dicode Flow Technique Code stream and auxiliary code stream, determine decoding on-wall in actual pixels point and image resolution ratio according to shared by the window selected by code stream When, if the wide and high of actual pixels point shared by the window is both less than during equal to auxiliary code flow point resolution, determine selected by decoding on-wall Code stream supplemented by code stream, if actual pixels point shared by the window is wide or tall and big when auxiliary code flow point resolution, it is determined that solution Code stream on code selected by wall is main bit stream.
It is preferred that code stream determining module is further used for for decoding on-wall showing that selected code stream is dicode Flow Technique In main bit stream when, actual pixels point and image resolution ratio according to shared by the window determine decoding on-wall selected by code stream.
If it is preferred that code stream determining module is further used for the code stream selected by current decoding on-wall in dicode Flow Technique Auxiliary code stream when, if actual pixels point shared by the window is wide or tall and big when auxiliary code flow point resolution, by decoding on-wall institute The bitstreams switching of selection is main bit stream.
It is preferred that actual pixels point determining module is further used for it is determined that the window is after second display screen synchronously windowing Before actual pixels point shared by window, the window size variation opened on the first display screen is determined;It is determined that the window opened on the first display screen After size is changed, actual pixels point shared by window of the window after second display screen synchronously windowing is determined.
It is preferred that actual pixels point determining module is further used for it is determined that window institute of the window after large-size screen monitors synchronously windowing When accounting for actual pixels point, including:
It is determined that in the wide and height of the first display screen institute windowing;
It is determined that the wide and height of the window after second display screen synchronously windowing;
It is determined that the width and the ratio wide and high with analog block high in the first display screen institute windowing, wherein, institute It is the block that second display screen is simulated on the first display screen to state analog block, and the block is right with the resolution ratio of second display screen Answer;
According to the ratio, determine the window in second display screen by the image resolution ratio of the first display screen institute windowing Actual pixels point shared by the window of institute's windowing.
The present invention has the beneficial effect that:
In technical scheme provided in an embodiment of the present invention, after in the first display screen uplifting window, determine the window second Actual pixels point shared by window after display screen synchronization windowing, it is then determined that being intended to the image resolution ratio of the image of decoding on-wall;Most Actual pixels point and image resolution ratio determine the selected code stream in dicode Flow Technique of decoding on-wall according to shared by window afterwards.By Determined according to image resolution ratio in the code stream of selection, therefore, it is possible to automatically switch, also overcome the deficiency for manually selecting;
Further, because being the code stream for determining to select with image resolution ratio rather than client the preview window area, because This be not limited by single screen still merge screen, will not also be limited single segmentation or it is multi-split, be also applied for windowing.
Further, by automatically switching, network bandwidth resources and decoding resource are saved so as to reach, and do not influence Wall effect on picture.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes a part of the invention, this hair Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is method for displaying image implementation process diagram in the embodiment of the present invention;
Fig. 2 is method for displaying image implementation process diagram when auxiliary code stream is D1 in the embodiment of the present invention;
Fig. 3 is fusion screen and viewing area relation schematic diagram in the embodiment of the present invention;
Fig. 4 is image display device structural representation in the embodiment of the present invention.
Specific embodiment
During invention, inventor notices:
In currently existing scheme, such as to realize automatically switching solves wall on main or auxiliary code stream, it is necessary to manually switch, one After denier way is more, operating can be very cumbersome, and practical application is infeasible.Go to process somewhat by segmentation number, but The situation that picture fogs is had in the case where screen is merged, it is also unreasonable.Because existing scheme is in multi-split feelings Just automatically switch under condition, such as more than 9 segmentations or 9 segmentations, automatically switch to auxiliary code stream.
With main bit stream 1080P, as a example by auxiliary code stream D1, if large-size screen monitors are 3 × 3 fusion screen, the resolution ratio of each screen now It is 1080P.This when is split to fusion screen 9, and it is screen display picture all the way that actual picture shows.Now show auxiliary code If stream, image quality can be obscured a lot.In addition, if if the major-minor code stream of switching manually all the way, way one Many very waste of manpower resources.And, during switching, operating personnel also can't see split window true resolution and The true resolution of code stream.Thus can there is unmatched situation, so as to the situation for causing picture to fog.
Based on this, a kind of image display pattern is provided in the embodiment of the present invention, realize automatically switch solution master or auxiliary code Wall on stream, be not only restricted to single screen still merge screen, also it is unrestricted be single segmentation or it is multi-split, be also applied for windowing.By certainly Dynamic switching, saves network bandwidth resources and decoding resource, and do not influence wall effect on picture so as to reach.Below in conjunction with the accompanying drawings Specific embodiment of the invention is illustrated.
The some technical characteristics such as the pixel and resolution ratio that are related to and its relation are briefly described first.
For pixel and resolution ratio the two features, it is mainly seen on picture and display device.Pixel is composition image Most basic unit key element:Point.Resolution ratio refers to the number of pixels respectively possessed in long and both direction wide.The size master of pixel The resolution ratio of display is depended on, the display screen of equal area different resolution, its pixel size is just differed.
Line is made up of numerous point, and face is constituted by without several lines, i.e., one plane is by numerous institute's group Into.But without technologically how advanced prosperity, the boundary that the mankind can not possibly always accomplish piece image by numerous point to constitute can only It is made up of limited point on long and direction wide.
These limited points are just called pixel, and the number of pixels on each length direction multiplies on each width The form of number of pixels represents, is known as the resolution ratio of picture.
Such as the picture of 640 × 480, represent that this pictures there are 640 pixels on the direction of each length, And 480 pixels on each width, sum is exactly 640 × 480=307200 (individual pixel), referred to as 300,000 pictures Element.
The more i.e. pixels of pixel are smaller in obvious unit area, the more clear exquisiteness of this picture.
It is merely that not can determine that this point has great from for picture for the size of pixel.This size and aobvious The resolution ratio of display screen is closely bound up.
For the resolution ratio of display screen, the size of display screen refers to its cornerwise length, is represented with inch, 1 inch= 25.4 millimeters.
This problem is illustrated by taking Mobile phone as an example.Its main screen size:4 cun, main screen resolution ratio:800 × 480 pixels, Calculated by Pythagorean theorem and understand that it grows a width of 3.430 cun × 2.058 cun (87.1 millimeters × 52.3 millimeters).800/3.430= 233, i.e. per inch length have 233 pixels, and each pixel has 87.1/800=0.109 millimeters big.
That is, the display screen of this mobile phone is altogether that 0.109 mm in size is equal by the 800 × 480=384000 length of side Pixel is constituted.When any pictures are absolutely displayed in full screen in this display, its pixel is all so big. If picture wants sliding-rolling bar just to see complete graph greater than display screen, if less than display screen, then can be shown centered on, nothing Figure shows that place shows for black surround.For the figure of 640 × 480 resolution ratio, here it is shown that can be shown centered in screen, in the longitudinal direction Two ends have one and are truncated into black surround and show.A length of 69.68 millimeters, a width of 52.3 millimeters of the size of this picture.
And for 4.3 cun of main screens, if its resolution ratio:1280 × 720 pixels, then (95.2 millis long and wide by 3.746 × 2.108 Rice × 53.5 millimeters), 1280/3.746=341, i.e. per inch length have 341 pixels, and each pixel has 95.2/1280= 0.074 millimeter big.Apparent this screen is more much better than the effect of 4 cun of foregoing screen displays.The figure of 640 × 480 resolution ratio Piece length herein and wide it is respectively 47.6 millimeters and 35.7 millimeters.
For 4.5 cun of main screens, if its resolution ratio is:1280 × 720 pixels, then (99.6 millis long and wide by 3.923 × 2.206 Rice × 56.0 millimeters), there are 326 pixels on 1280/3.923=326, i.e. per inch length, each pixel has 99.6/1280 =0.078 millimeter.It is similar with 4.3 cun of foregoing screens.
17 cun of liquid crystal displays (5:4), its resolution ratio:1280 × 1024, there are 96 pixels in per inch length;Each The length of side is 0.263 millimeter.
19 cun of general panel type displays (5:4), its resolution ratio:1280 × 1024, there are 86 pixels in per inch length;Each The length of side is 0.294 millimeter.
19 cun of widescreen displays (16:9), its resolution ratio:1366 × 768, there are 82 pixels in per inch length;Each The length of side is 0.308 millimeter.
19 cun of widescreen displays (16:10), its resolution ratio:1440 × 900, there are 89 pixels in per inch length;Often The individual length of side is 0.284 millimeter.
And the pixel count number in per inch length is referred to as PPI (pixeleperinch, image resolution).Such as per inch There are 82 pixels in length, i.e., represented with 82PPI.
Therefore, same pictures, its size is differed on different PPI display screens, the size and shadow of pixel As resolution ratio is relevant.
Fig. 1 is method for displaying image implementation process diagram, as illustrated, can include:
Step 101, in the first display screen uplifting window, and determine the window second display screen synchronously windowing after window shared by Actual pixels point, the window of display image when the window is wall on image decoding;
Step 102, image resolution ratio is determined according to the video source information of image for being intended to decoding on-wall;
Step 103, actual pixels point and image resolution ratio according to shared by the window determine decoding on-wall in dual code stream skill Selected code stream in art;
Wall shows on step 104, the image decoding that will be transmitted on the code stream.
In implementation, the code stream selected by decoding on-wall is the main bit stream in dicode Flow Technique and auxiliary code stream, according to described When actual pixels point and image resolution ratio determine the code stream selected by decoding on-wall shared by window, if actual picture shared by the window The wide and high of vegetarian refreshments is both less than during equal to auxiliary code flow point resolution, code stream supplemented by the code stream selected by decoding on-wall is determined, if described Actual pixels point shared by window it is wide or tall and big when auxiliary code flow point resolution, determine that code stream selected by decoding on-wall is primary key Stream.
In such scheme, by the major-minor code stream of wall code stream in calculation window resolution ratio and parsing front end, and according to window The wide and height of shared actual pixels point opens corresponding window on wall large-size screen monitors in correspondence, then determines whether need according to actual code stream Switch major-minor code stream, you can reach the effect of automatic switchover.Also, whether single screen or screen is merged, no matter each screen Output resolution ratio is how many, can accurately judge actual windowing size.
In implementation, determine the window large-size screen monitors synchronously windowing after window shared by actual pixels point, can include:
It is determined that in the wide and height of the first display screen institute windowing;
It is determined that the wide and height of the window after second display screen synchronously windowing;
It is determined that the width and the ratio wide and high with analog block high in the first display screen institute windowing, wherein, institute It is the block that second display screen is simulated on the first display screen to state analog block, and the block is right with the resolution ratio of second display screen Answer;
According to the ratio, determine the window in second display screen by the image resolution ratio of the first display screen institute windowing Actual pixels point shared by the window of institute's windowing.
For example, the first display screen is computer desktop (configuration end), second display screen is the large-size screen monitors that picture shows.It is aobvious first There is one piece of block of simulation second display screen in display screen.The resolution ratio of the block and second display screen is corresponding.And with Difference fusion screen, different cutout screen resolution ratio correspond switching.
Specifically, can simply be understood as, single screen or the whole resolution ratio of fusion screen are calculated first, in computer client On to a virtual TV wall should having the resolution ratio as large-size screen monitors.The window of many vast scales is so opened in computer client, it is real Border will open great window on large-size screen monitors, then according to this ratio, go to calculate windowing institute with reference to the overall resolution ratio of large-size screen monitors The resolution ratio for accounting for i.e. pixel.
It is true by the image resolution ratio in the first display screen institute windowing according to the ratio according to above-mentioned principle In the implementation process of actual pixels point shared by fixed window of the window in second display screen institute windowing, when using ratio, at least Following mode can be used.
If:
The resolution ratio of the whole virtual block of the first display screen is:(W*H);
The length and width of the whole virtual block of the first display screen are expressed as:C long, width K;
The length and width of the first display screen institute windowing are respectively:C1 long, width K1;
Actual pixels point is expressed as shared by window in second display screen institute windowing:(W2*H2).
Then:
W2=W*C1/C
H2=H*K1/K
Illustrated with example again below.
In practice, major-minor code stream can be arbitrary, therefore when calculating wide high, can first parse code stream and get reality Windowing resolution ratio go to compare again.In example by taking auxiliary code stream D1 as an example, the front end for allowing for current main flow is main bit stream 1080P, auxiliary code stream D1.Wherein, D1:480i forms (525i):720 × 480 (lines of level 480, interlacing scan), and NTSC simulations TV definition is identical, and line frequency is 15.25kHz, equivalent to 4CIF (704 × 576).
Method for displaying image implementation process diagram when code stream is D1 supplemented by Fig. 2, as illustrated, can include:
Step 201, selection cutout screen;
Specifically, selecting screen (namely second display screen) on video wall, display screen is configured, and select defeated in client Go out screen (namely first display screen).
Step 202, client windowing;
Specifically, (the single screen or fusion screen) windowing on the cutout screen for having selected.Large-size screen monitors synchronously open a window and calculation window institute Account for actual pixels point.
Step 203, the windowing of upper wall, and actual pixels point shared by calculation window;
Wall code stream information in step 204, acquisition;
Specifically, when obtaining video source information, the video source packet for obtaining wall on window includes code stream type, code stream passage Information etc..
Step 205, judge whether to be set to main bit stream, be to be transferred to step 206, be otherwise transferred to step 208;
Specifically, it is main bit stream (with main bit stream 1080P, as a example by auxiliary code stream D1) to judge whether, set according to step 204 Video source code stream type information, judges whether to need to carry out bitstreams switching judgement work, if not main bit stream, goes to step 208, if main bit stream goes to step 206.
Whether step 206, the pixel that judges to open a window are wide high high less than or equal to the width of auxiliary code stream, are to be transferred to step 207, no Then it is transferred to step 208;
Specifically, when whether window viewing area is judged less than or equal to D1, according to the window viewing area that step 202 is set Domain coordinate information, and equipment preserve actual physics screen resolution information calculate screen uplifting window true resolution, and then Judge the wide of viewing area and (pixel i.e. in screen uplifting window pixel quantity in the horizontal direction and vertical direction high Quantity) whether D1 is less than or equal to, if less than step 207 equal to D1, is gone to, otherwise, go to step 208.
In specific implementation, for the calculating for being related to window viewing area resolution ratio on actual physics screen, below again with 2 × 2 fusion screen, the true resolution often shielded is 1920 × 1080, has opened a quarter position that a window just covers screen 1 Be set to example to illustrate, it is necessary to illustrate, this place provides another implementation method, namely using a coordinate system (namely Following 8192 coordinate systems) come carry out ratio using conversion, it is also belonging to according to the ratio, by the first display screen institute The image resolution ratio of windowing determines that one kind of actual pixels point shared by window of the window in second display screen institute windowing is specific Implementation method.
Fig. 3 is fusion screen and viewing area relation schematic diagram, and the relationship of the two can be found in shown in Fig. 3, then have following relation:
Merge the physical resolution of screen:Width (a)=1920 × 2 wide, height (a)=1080 × 2 high;
The relative 8192 coordinate system resolution ratio of fusion screen:Width (b)=8192 wide, height (b)=8192 high;
The relative 8192 coordinate system coordinates of window:Rect (0,0,8192/4,8192/4), width (c)=8192/4 wide, Height (c)=8192/4 high;
Wherein, rect refers to create a rectangular object, and the horizontal stroke in the rectangle upper left corner is initialized by using four integers The width of coordinate, ordinate and rectangle, height.
Resolution ratio of the window on physics screen:
Width (d)=width (c) × width (a)/width (b)=960
Height (d)=height (c) × height (a)/height (b)=540
Here 8192 coordinate systems are for conversion, because the screen of control windowing has resolution ratio miscellaneous (including uncurrent fusion screen), therefore they are unified to change into this resolution ratio, finally it is converted into actual resolution in proportion again Rate.
Introduce 8192 coordinate systems and be intended merely to unified parameters and conveniently call, can so be seen in debugging, investigation problem It is apparent, similarly because the resolution ratio of actual fused screen is Protean (different fusion screens, different resolution Rate).
Using 8192 relative coordinate systems, done in client when also because of actual windowing, how to allow this coordinate In the corresponding coordinate position for being shown to physics screen in position that client shows, it is necessary to which a unified coordinate reference system turns Change.Client configuration distributing to equipment when, coordinate can be converted under 8192 coordinate systems from the coordinate system of client Coordinate, the coordinate rect in above-mentioned implementation is so to get.
Also it is readily appreciated that, the coordinate system is for convenience of description thus is named as 8192 coordinate systems, in specific implementation Can certainly using other names but the coordinate system that possesses These characteristics implement.
Code stream supplemented by step 207, renewal video source code stream type;
Specifically, the code stream type in video source information is updated into auxiliary code stream.
Step 208, application code stream;
Specifically, end equipment application video data forward.
Step 209, by the code stream of application send decoding show.
It can be seen that, by above-mentioned implementation, by the area coordinate of window, whether the viewing area for calculating window is less than or equal to D1, by with resolution ratio D1 relatively come the switching for judging whether to need to carry out code stream, so as to reach the effect of automatic switchover code stream.
In implementation, in the main bit stream in showing decoding on-wall selected code stream for dicode Flow Technique, can basis Actual pixels point and image resolution ratio determine the code stream selected by decoding on-wall shared by the window.
Specifically, code stream automatically switches be able to can just be opened after user is provided with main bit stream.If wall with user's sheet What is set is exactly auxiliary code stream, can not do and automatically switch.Such case is to adapt to some project field network bandwidth very Difference, so as to reach the purpose for sacrificing image quality to save bandwidth.
In implementation, can further include:
If the code stream selected by current decoding on-wall is the auxiliary code stream in dicode Flow Technique, if actual shared by the window Pixel it is wide or tall and big when auxiliary code flow point resolution, by the bitstreams switching selected by decoding on-wall be main bit stream.
Specifically, supplemented by the current code stream during code stream, can determine whether window on current screen it is wide and high whether Respectively greater than the wide and height of auxiliary code stream, if the determination result is YES, can switch to main bit stream by auxiliary code stream.
In implementation, before determining actual pixels point shared by window of the window after second display screen synchronously windowing, can also enter One step includes:
Determine the window size variation opened on the first display screen;
After it is determined that the window size opened on the first display screen is changed, determine the window after second display screen synchronously windowing Actual pixels point shared by window.
Specifically, when detecting the window size on screen and changing, repeating such scheme, carry out self adaptation and cut Change.
A kind of image display device is additionally provided based on same inventive concept, in the embodiment of the present invention, due to the device solution Certainly the principle of problem is similar to method for displaying image, therefore the implementation of the device may refer to the implementation of method, repeat part not Repeat again.
Fig. 4 is image display device structural representation, as illustrated, can include:
Actual pixels point determining module 401, in the first display screen uplifting window, and determines that the window is same in second display screen Actual pixels point, the window of display image when the window is wall on image decoding shared by window after step windowing;
Image resolution ratio determining module 402, for determining image point according to the video source information of the image for being intended to decoding on-wall Resolution;
Code stream determining module 403, decoding is determined for the actual pixels point according to shared by the window and image resolution ratio The selected code stream in dicode Flow Technique of wall;
Display module 404, for wall on the image decoding transmitted on the code stream to be shown.
In implementation, code stream determining module is further used for the master in the code stream selected by decoding on-wall is dicode Flow Technique Code stream and auxiliary code stream, determine decoding on-wall in actual pixels point and image resolution ratio according to shared by the window selected by code stream When, if the wide and high of actual pixels point shared by the window is both less than during equal to auxiliary code flow point resolution, determine selected by decoding on-wall Code stream supplemented by code stream, if actual pixels point shared by the window is wide or tall and big when auxiliary code flow point resolution, it is determined that solution Code stream on code selected by wall is main bit stream.
In implementation, code stream determining module is further used for for decoding on-wall showing that selected code stream is dicode Flow Technique In main bit stream when, actual pixels point and image resolution ratio according to shared by the window determine decoding on-wall selected by code stream.
In implementation, if code stream determining module is further used for the code stream selected by current decoding on-wall in dicode Flow Technique Auxiliary code stream when, if actual pixels point shared by the window is wide or tall and big when auxiliary code flow point resolution, by decoding on-wall institute The bitstreams switching of selection is main bit stream.
In implementation, actual pixels point determining module is further used for it is determined that the window is after second display screen synchronously windowing Before actual pixels point shared by window, the window size variation opened on the first display screen is determined;It is determined that the window opened on the first display screen After size is changed, actual pixels point shared by window of the window after second display screen synchronously windowing is determined.
In implementation, actual pixels point determining module is further used for it is determined that window institute of the window after large-size screen monitors synchronously windowing When accounting for actual pixels point, including:
It is determined that in the wide and height of the first display screen institute windowing;
It is determined that the wide and height of the window after second display screen synchronously windowing;
It is determined that the width and the ratio wide and high with analog block high in the first display screen institute windowing, wherein, institute It is the block that second display screen is simulated on the first display screen to state analog block, and the block is right with the resolution ratio of second display screen Answer;
According to the ratio, determine the window in second display screen by the image resolution ratio of the first display screen institute windowing Actual pixels point shared by the window of institute's windowing.
For convenience of description, each several part of apparatus described above is divided into various modules with function or unit is described respectively. Certainly, the function of each module or unit can be realized in same or multiple softwares or hardware when the present invention is implemented.
In sum, in such scheme, calculated by actual windowing resolution ratio, by taking auxiliary code stream D1 as an example, when windowing point Resolution is less than or equal to switch auxiliary code stream during D1.When window is widened to more than D1, main bit stream is automatically cut into again.It is implemented first may be used To accomplish to automatically switch, next be not limited by single screen still merge screen, will not also be limited it is single split or it is multi-split, also fit For opening a window.By automatically switching, network bandwidth resources and decoding resource are saved so as to reach, and do not influence wall on picture to imitate Really.
Go to judge whether that code stream will be switched with the existing size according to client the preview window area, area is more than threshold value, Switch to main bit stream, area switches to the advantage of the project plan comparison of auxiliary code stream, the program to have less than threshold value:
Existing scheme can only act on client preview, and this programme can act on wall and show.
Existing scheme needs to be manually entered major-minor code stream of the area-limit to adapt to various obstructed resolution ratio.This programme can be with Upper wall code stream is directly parsed, accomplishes self adaptation.
In addition, being had a problem that by the existing scheme of areal calculation, such as area is less than D1 (704 × 576), and real Possible window is 800 × 400 on border.In this case switching to auxiliary code stream can reduce picture quality.This programme is by differentiating Rate it is wide and it is high go to compare, can just judge exit window be wider than D1 width so as to keep main bit stream to show, it is ensured that image quality.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The shape of the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (12)

1. a kind of method for displaying image, it is characterised in that including:
In the first display screen uplifting window, and determine actual pixels point shared by window of the window after second display screen synchronously windowing, The window of display image when the window is wall on image decoding;
Video source information according to the image for being intended to decoding on-wall determines image resolution ratio;
Actual pixels point and image resolution ratio determine that decoding on-wall is selected in dicode Flow Technique according to shared by the window Code stream;
Wall shows on the image decoding that will be transmitted on the code stream.
2. the method for claim 1, it is characterised in that the code stream selected by decoding on-wall is the master in dicode Flow Technique Code stream and auxiliary code stream, determine decoding on-wall in actual pixels point and image resolution ratio according to shared by the window selected by code stream When, if the wide and high of actual pixels point shared by the window is both less than during equal to auxiliary code flow point resolution, determine selected by decoding on-wall Code stream supplemented by code stream, if actual pixels point shared by the window is wide or tall and big when auxiliary code flow point resolution, it is determined that solution Code stream on code selected by wall is main bit stream.
3. the method for claim 1, it is characterised in that decoding on-wall is being shown that selected code stream is dual code stream skill During main bit stream in art, actual pixels point and image resolution ratio according to shared by the window determine decoding on-wall selected by code Stream.
4. the method for claim 1, it is characterised in that further include:
If the code stream selected by current decoding on-wall is the auxiliary code stream in dicode Flow Technique, if actual pixels shared by the window That puts is wide or tall and big when auxiliary code flow point resolution, is main bit stream by the bitstreams switching selected by decoding on-wall.
5. the method for claim 1, it is characterised in that determine window institute of the window after second display screen synchronously windowing Before accounting for actual pixels point, further include:
Determine the window size variation opened on the first display screen;
After it is determined that the window size opened on the first display screen is changed, window of the window after second display screen synchronously windowing is determined Shared actual pixels point.
6. the method as described in claim 1 to 5 is any, it is characterised in that determine window of the window after large-size screen monitors synchronously windowing Shared actual pixels point, including:
It is determined that in the wide and height of the first display screen institute windowing;
It is determined that the wide and height of the window after second display screen synchronously windowing;
It is determined that the width and the ratio wide and high with analog block high in the first display screen institute windowing, wherein, the mould It is the block that second display screen is simulated on the first display screen to intend block, and the block is corresponding with the resolution ratio of second display screen 's;
According to the ratio, determine that the window is opened in second display screen by the image resolution ratio of the first display screen institute windowing Actual pixels point shared by the window of window.
7. a kind of image display device, it is characterised in that including:
Actual pixels point determining module, in the first display screen uplifting window, and determines that the window synchronously opens a window in second display screen Actual pixels point shared by window afterwards, the window of display image when the window is wall on image decoding;
Image resolution ratio determining module, for determining image resolution ratio according to the video source information of the image for being intended to decoding on-wall;
Code stream determining module, determines decoding on-wall in dicode for actual pixels point and image resolution ratio according to shared by the window Selected code stream in Flow Technique;
Display module, for wall on the image decoding transmitted on the code stream to be shown.
8. device as claimed in claim 7, it is characterised in that code stream determining module is further used for selected by decoding on-wall Code stream be the main bit stream in dicode Flow Technique and auxiliary code stream, in actual pixels point and image resolution ratio according to shared by the window When determining the code stream selected by decoding on-wall, if the wide and high of actual pixels point shared by the window is both less than equal to auxiliary code flow point During resolution, code stream supplemented by the code stream selected by decoding on-wall is determined, if actual pixels point is wide or tall and big shared by the window When auxiliary code flow point resolution, determine that the code stream selected by decoding on-wall is main bit stream.
9. device as claimed in claim 7, it is characterised in that code stream determining module is further used for being shown by decoding on-wall When selected code stream is the main bit stream in dicode Flow Technique, actual pixels point and image resolution ratio are true according to shared by the window Code stream on definite decoding selected by wall.
10. device as claimed in claim 7, it is characterised in that if code stream determining module is further used for current decoding on-wall When selected code stream is the auxiliary code stream in dicode Flow Technique, if actual pixels point shared by the window is wide or tall and big in auxiliary It is main bit stream by the bitstreams switching selected by decoding on-wall during code stream resolution ratio.
11. devices as claimed in claim 7, it is characterised in that actual pixels point determining module is further used for it is determined that should Before actual pixels point shared by window of the window after second display screen synchronously windowing, determine that the window size opened on the first display screen becomes Change;After it is determined that the window size opened on the first display screen is changed, window of the window after second display screen synchronously windowing is determined Shared actual pixels point.
12. device as described in claim 7 to 11 is any, it is characterised in that actual pixels point determining module is further used for When it is determined that the window is in actual pixels point shared by the window after large-size screen monitors synchronously windowing, including:
It is determined that in the wide and height of the first display screen institute windowing;
It is determined that the wide and height of the window after second display screen synchronously windowing;
It is determined that the width and the ratio wide and high with analog block high in the first display screen institute windowing, wherein, the mould It is the block that second display screen is simulated on the first display screen to intend block, and the block is corresponding with the resolution ratio of second display screen 's;
According to the ratio, determine that the window is opened in second display screen by the image resolution ratio of the first display screen institute windowing Actual pixels point shared by the window of window.
CN201710008677.3A 2017-01-05 2017-01-05 Image display method and device Active CN106878631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710008677.3A CN106878631B (en) 2017-01-05 2017-01-05 Image display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710008677.3A CN106878631B (en) 2017-01-05 2017-01-05 Image display method and device

Publications (2)

Publication Number Publication Date
CN106878631A true CN106878631A (en) 2017-06-20
CN106878631B CN106878631B (en) 2021-02-26

Family

ID=59165504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710008677.3A Active CN106878631B (en) 2017-01-05 2017-01-05 Image display method and device

Country Status (1)

Country Link
CN (1) CN106878631B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600834A (en) * 2018-04-13 2018-09-28 深圳银澎云计算有限公司 Video transmission system, reception/transmission/transmission method and device
CN108830322A (en) * 2018-06-15 2018-11-16 联想(北京)有限公司 A kind of image processing method and device, equipment, storage medium
CN110221802A (en) * 2019-06-12 2019-09-10 京东方科技集团股份有限公司 Display device and driving method thereof
CN110989949A (en) * 2019-11-13 2020-04-10 浙江大华技术股份有限公司 Method and device for special-shaped splicing display
US10798354B2 (en) 2018-03-20 2020-10-06 Delta Electronics, Inc. Projection display apparatus and method for controlling the same
CN112866712A (en) * 2019-11-12 2021-05-28 杭州海康威视数字技术股份有限公司 Display control method of image code stream data and decoding equipment
CN113496487A (en) * 2021-07-07 2021-10-12 中国人民解放军总医院第一医学中心 Multi-scale progressive focusing medical image depth learning method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0690433A1 (en) * 1994-06-30 1996-01-03 International Business Machines Corporation General purpose computer display adaptor
WO2005112448A2 (en) * 2004-05-07 2005-11-24 Cobalt Entertainment, Llc Stereoscopic television signal processing method, transmission system and viewer enhancements
CN101848382A (en) * 2010-05-31 2010-09-29 深圳市景阳科技股份有限公司 Method and system for adjusting video streaming image resolution ratio and code stream
US20120026303A1 (en) * 2008-12-25 2012-02-02 Stunny 3D, Llc Method for forming and observing stereo images having maximum spatial resolution and a device for carrying out said method
CN102364945A (en) * 2011-11-28 2012-02-29 杭州海康威视数字技术股份有限公司 Multi-picture image decoding display method and video monitoring terminal
CN103942024A (en) * 2014-04-11 2014-07-23 广东威创视讯科技股份有限公司 Method and system for opening window of high resolution touch screen
CN104079869A (en) * 2013-03-29 2014-10-01 杭州海康威视数字技术股份有限公司 Method and client side for previewing multi-channel code streams
CN104461295A (en) * 2014-12-03 2015-03-25 广东威创视讯科技股份有限公司 Method and system for regulating video display window of jointing wall
CN104731546A (en) * 2015-04-01 2015-06-24 宁波Gqy视讯股份有限公司 Method and system for capturing high-resolution picture to be displayed on large screen

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0690433A1 (en) * 1994-06-30 1996-01-03 International Business Machines Corporation General purpose computer display adaptor
WO2005112448A2 (en) * 2004-05-07 2005-11-24 Cobalt Entertainment, Llc Stereoscopic television signal processing method, transmission system and viewer enhancements
US20120026303A1 (en) * 2008-12-25 2012-02-02 Stunny 3D, Llc Method for forming and observing stereo images having maximum spatial resolution and a device for carrying out said method
CN101848382A (en) * 2010-05-31 2010-09-29 深圳市景阳科技股份有限公司 Method and system for adjusting video streaming image resolution ratio and code stream
CN102364945A (en) * 2011-11-28 2012-02-29 杭州海康威视数字技术股份有限公司 Multi-picture image decoding display method and video monitoring terminal
CN104079869A (en) * 2013-03-29 2014-10-01 杭州海康威视数字技术股份有限公司 Method and client side for previewing multi-channel code streams
CN103942024A (en) * 2014-04-11 2014-07-23 广东威创视讯科技股份有限公司 Method and system for opening window of high resolution touch screen
CN104461295A (en) * 2014-12-03 2015-03-25 广东威创视讯科技股份有限公司 Method and system for regulating video display window of jointing wall
CN104731546A (en) * 2015-04-01 2015-06-24 宁波Gqy视讯股份有限公司 Method and system for capturing high-resolution picture to be displayed on large screen

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10798354B2 (en) 2018-03-20 2020-10-06 Delta Electronics, Inc. Projection display apparatus and method for controlling the same
CN108600834A (en) * 2018-04-13 2018-09-28 深圳银澎云计算有限公司 Video transmission system, reception/transmission/transmission method and device
CN108830322A (en) * 2018-06-15 2018-11-16 联想(北京)有限公司 A kind of image processing method and device, equipment, storage medium
CN110221802A (en) * 2019-06-12 2019-09-10 京东方科技集团股份有限公司 Display device and driving method thereof
CN110221802B (en) * 2019-06-12 2021-11-12 京东方科技集团股份有限公司 Display device and driving method thereof
CN112866712A (en) * 2019-11-12 2021-05-28 杭州海康威视数字技术股份有限公司 Display control method of image code stream data and decoding equipment
CN112866712B (en) * 2019-11-12 2023-05-23 杭州海康威视数字技术股份有限公司 Display control method of image code stream data and decoding equipment
CN110989949A (en) * 2019-11-13 2020-04-10 浙江大华技术股份有限公司 Method and device for special-shaped splicing display
CN110989949B (en) * 2019-11-13 2023-04-11 浙江大华技术股份有限公司 Method and device for special-shaped splicing display
CN113496487A (en) * 2021-07-07 2021-10-12 中国人民解放军总医院第一医学中心 Multi-scale progressive focusing medical image depth learning method and device
CN113496487B (en) * 2021-07-07 2023-11-14 中国人民解放军总医院第一医学中心 Multi-scale progressive focused medical image deep learning method and device

Also Published As

Publication number Publication date
CN106878631B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN106878631A (en) A kind of method for displaying image and device
DE60316388T2 (en) Image display system, network interactive image display device, terminal and access control program
US6166772A (en) Method and apparatus for display of interlaced images on non-interlaced display
US10511803B2 (en) Video signal transmission method and device
CN100426340C (en) Method and apparatus to communicate graphics overlay information
US20130222386A1 (en) Image processing for projection on a projection screen
CN104813361B (en) The video size of perceived content adjusts
US20180357033A1 (en) Virtual video environment display systems
EP1815694A1 (en) Systems and methods for displaying multiple views of a single 3d rendering ("multiple views")
US20080278573A1 (en) Method and Arrangement for Monoscopically Representing at Least One Area of an Image on an Autostereoscopic Display Apparatus and Information Reproduction Unit Having Such an Arrangement
CN101778226B (en) High-definition image sawtooth-prevention method, device and digital television receiving terminal
EP2274909B1 (en) Video multiviewer system with switcher and distributed scaling
GB2287154A (en) Spatial interpolator for video format conversion
EP2279615B1 (en) Video multiviewer with scaling
CN105100870A (en) Screenshot method and terminal equipment
Denes et al. Temporal Resolution Multiplexing: Exploiting the limitations of spatio-temporal vision for more efficient VR rendering
CN109640051A (en) A kind of distributed splicing monitoring system of large scene
CN110928513A (en) Super-resolution synthesis command application system
CN110099224A (en) Premonitoring display methods, apparatus and system, computer equipment and storage medium
CN109144448A (en) A kind of image display method and its device of splicing large screen
CN116347016B (en) Matrix switcher for video conference
CN113709451A (en) Video contrast playing method and device
CN103152536A (en) Digital TV (Television) terminal capable of displaying advertisement
JPH0918798A (en) Video display device with character processing function
Kara et al. The perceived quality of light-field video services

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB03 Change of inventor or designer information

Inventor after: Lin Jing

Inventor after: Gao Pan

Inventor after: Zong Qinghua

Inventor after: Li Zhewei

Inventor before: Lin Jing

CB03 Change of inventor or designer information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant