CN110531945A - A kind of method, system and electronic equipment for carrying out mirror image and throwing screen - Google Patents
A kind of method, system and electronic equipment for carrying out mirror image and throwing screen Download PDFInfo
- Publication number
- CN110531945A CN110531945A CN201910724549.8A CN201910724549A CN110531945A CN 110531945 A CN110531945 A CN 110531945A CN 201910724549 A CN201910724549 A CN 201910724549A CN 110531945 A CN110531945 A CN 110531945A
- Authority
- CN
- China
- Prior art keywords
- image
- equipment
- image data
- rotation
- screen
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000010586 diagram Methods 0.000 claims description 69
- 230000007704 transition Effects 0.000 claims description 30
- 230000005540 biological transmission Effects 0.000 claims description 8
- 241001269238 Data Species 0.000 claims description 6
- 230000006870 function Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention discloses method, system and the electronic equipment of a kind of progress mirror image throwing screen, is related to technical field of image processing, throwing screen image can be made to carry out Indivitual display in the display device.The described method includes: the first equipment, intermediate equipment or the second equipment are according to the first rotation angle and the first direction of rotation, rotation processing is carried out to the first image data, the second image data is generated, so that the second equipment is shown according to second image data throws screen image;Wherein, the first rotation angle is any angle, and first direction of rotation includes rotating clockwise and rotating counterclockwise.The present invention, which is suitable for throwing screen image to mirror image, to be handled.
Description
Technical field
The present invention relates to image processing techniques more particularly to a kind of method, system and electronic equipments for carrying out mirror image and throwing screen.
Background technique
With being widely used for mobile terminal, it is raw that people especially are increasingly becomed using smart phone as the mobile terminal of representative
Important component living, people are by smart phone with the display equipment progress mirror image throwing screen with large screen using also more next
It is more extensive that (mirror image throws screen and refers to that mobile terminal is connected to display equipment by wired or wireless mode, makes in mobile terminal
The picture of display throws screen into display equipment).
However, placed since the screen of current display equipment (such as LCD TV, computer monitor) is generally transverse screen,
Therefore existing mirror image throws screen method, equipment all defaults mobile terminal for transverse screen display, at this moment, when user passes through mobile terminal cross
When screen plays games, sees video, display equipment can carry out display all over the screen to image in mobile terminal;When aobvious on the screen of mobile terminal
When what is shown is vertical screen image, vertical screen image of the display equipment in the intermediate display mobile terminal of display screen, and in the vertical screen
The screen area of the two sides of image is filled with black (as shown in Figure 10).It follows that current display equipment is in display mirror image
Display mode when throwing the image of screen is relatively simple.
Summary of the invention
In view of this, the embodiment of the present invention provides method, system and the electronic equipment of a kind of progress mirror image throwing screen, can make
It throws screen image and carries out Indivitual display in the display device.
In a first aspect, the embodiment of the present invention provides a kind of method that progress mirror image throws screen, comprising: the first equipment is according to first
Angle and the first direction of rotation are rotated, rotation processing is carried out to the first image data, generates the second image data, and by described the
Two image datas are sent to the second equipment, so that second equipment is shown according to second image data throws screen image;Or
Person's intermediate equipment receives the first image data that the first equipment is sent, and according to the first rotation angle and the first direction of rotation, right
The first image data carry out rotation processing, generate the second image data, second image data is sent to second and is set
It is standby, so that the second equipment is shown according to second image data throws screen image;Or second equipment receive the first equipment or in
Between the first image data for sending of equipment, and according to the first rotation angle and the first direction of rotation, to the first image data
Rotation processing is carried out, the second image data is generated, is shown according to second image data and throws screen image;Wherein, described first
Rotation angle is any angle, and first direction of rotation includes rotating clockwise and rotating counterclockwise.
Optionally, described according to the first rotation angle and the first direction of rotation, the first image data are rotated
Processing generates the second image data, comprising: by the corresponding image of the first image data according to the display of second equipment
The size of screen zooms in and out, and generates First Transition image;According to the first rotation angle and the first direction of rotation, with described the
The central point of one transfer image acquisition is basic point, carries out rotation processing to the image data of the First Transition image, generates the second figure
As data.
Optionally, described using the central point of the First Transition image as basic point, to the image of the First Transition image
Data carry out rotation processing, generate the second image data, comprising: using the central point of the First Transition image as basic point, to institute
The image data for stating First Transition image carries out rotation processing, generates the second transfer image acquisition;According to the display of second equipment
The size of screen and the current rotation angle of second equipment generate and rotation identical with the display screen size of second equipment
Gyration is identical to cut block diagram;It cuts block diagram using described second transfer image acquisition is cut, generate the second image
Data, wherein the corresponding image of second image data is that second transfer image acquisition is located at the figure cut in block diagram
Picture, the central point for cutting block diagram are overlapped with the central point of second transfer image acquisition.
Optionally, described to show that throwing screen image includes: according to the aobvious of second equipment according to second image data
The size of display screen and the current rotation angle of second equipment, generate it is identical as the display screen size of second equipment and
Angle is identical cuts block diagram for rotation;It cuts block diagram using described the corresponding image of second image data is cut,
It generates and throws screen image, wherein the throwing screen image is that the corresponding image of second image data is located at described cut in block diagram
Image, the central point of the central point for cutting block diagram image corresponding with second image data is overlapped;Described aobvious
Show and throws screen image described in screen display.
Optionally, described that rotation processing is carried out to the first image data, generate the second image data, comprising: by described the
One image data carries out left and right mirror image processing, generates mirror image diagram data;Rotation processing is carried out to the mirror image diagram data, generates the
Two image datas.
Optionally, the method also includes: according to the second rotation angle and the second direction of rotation, to second equipment into
Row rotation;Wherein, the second rotation angle is any angle, and second direction of rotation is including rotating clockwise and counterclockwise
Rotation.
Optionally, during second equipment rotates to the second rotation angle by initial position, the throwing screen
Display position of the image in second equipment changes, and using the earth as referential, the current location for throwing screen image with
Angle between initial position keeps the first rotation angle constant.
Optionally, the first rotation angle is 0 degree, and the second rotation angle is 90 degree.
Second aspect, the embodiment of the present invention provide a kind of system that progress mirror image throws screen, the system comprises: first sets
It is standby, for carrying out rotation processing to the first image data, generating the second image according to the first rotation angle and the first direction of rotation
Data, and second image data is sent to the second equipment, so that second equipment is according to second image data
Screen image is thrown in display;Or intermediate equipment, for receiving the first image data of the first equipment transmission, and according to the first rotation angle
Degree and the first direction of rotation carry out rotation processing to the first image data, the second image data are generated, by second figure
As data are sent to the second equipment, so that the second equipment is shown according to second image data throws screen image;Or second set
The first image data that is standby, being sent for receiving the first equipment or intermediate equipment, and according to the first rotation angle and the first rotation
Direction carries out rotation processing to the first image data, generates the second image data, shown according to second image data
Throw screen image;Wherein, the first rotation angle is any angle, and first direction of rotation includes rotating clockwise and the inverse time
Needle rotation.
Optionally, adjusting key is provided in the intermediate equipment, the adjusting key is for being arranged the first rotation angle
With the first direction of rotation.
Optionally, first equipment, intermediate equipment or the second equipment include: Zoom module, are used for first figure
As the corresponding image of data is zoomed in and out according to the size of the display screen of second equipment, First Transition image is generated;First
Rotary module, for being according to the first rotation angle and the first direction of rotation, the central point with the First Transition image
Basic point carries out rotation processing to the image data of the First Transition image, generates the second image data.
Optionally, first rotary module includes: image generation unit, for the center of the First Transition image
Point is basic point, carries out rotation processing to the image data of the First Transition image, generates the second transfer image acquisition;Block diagram generates single
Member generates and institute for the rotation angle current according to the size of the display screen of second equipment and second equipment
State the second equipment display screen size is identical and rotation angle is identical cuts block diagram;Unit is cut, for cutting described in utilization
Block diagram cuts second transfer image acquisition, generates the second image data, wherein the corresponding figure of second image data
As being that second transfer image acquisition is located at the image cut in block diagram, the central point for cutting block diagram and second mistake
The central point for crossing image is overlapped.
Optionally, second equipment includes: block diagram generation module, for according to the big of the display screen of second equipment
The current rotation angle of small and described second equipment generates and rotation angle identical as the display screen size of second equipment
It is identical to cut block diagram;Module is cut, the corresponding image of second image data is carried out for cutting block diagram described in
It cuts, generates and throw screen image, wherein the throwing screen image is that the corresponding image of second image data is located at the trim box
The central point of image in figure, the central point for cutting block diagram image corresponding with second image data is overlapped;Display
Module, for showing the throwing screen image on the display screen.
Optionally, first equipment, intermediate equipment or the second equipment further include: mirror module is used for described first
Image data carries out left and right mirror image processing, generates mirror image diagram data;Second rotary module, for being carried out to the mirror image diagram data
Rotation processing generates the second image data.
Optionally, second equipment is rotated according to the second rotation angle and the second direction of rotation;Wherein, described
Two rotation angles are any angle, and second direction of rotation includes rotating clockwise and rotating counterclockwise.
Optionally, during second equipment rotates to the second rotation angle by initial position, the throwing screen
Display position of the image in second equipment changes, and using the earth as referential, the current location for throwing screen image with
Angle between initial position keeps the first rotation angle constant.
Optionally, the first rotation angle is 0 degree, and the second rotation angle is 90 degree.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, and the electronic equipment includes: shell, processor, deposits
Reservoir, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, processor and memory setting
On circuit boards;Power circuit, for each circuit or the device power supply for above-mentioned electronic equipment;Memory is for storing and can hold
Line program code;Processor is run and executable program code pair by reading the executable program code stored in memory
The program answered, for executing aforementioned any method for carrying out mirror image and throwing screen.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium
Matter is stored with one or more program, and one or more of programs can be executed by one or more processor, with reality
The method that progress mirror image throws screen described in existing aforementioned any embodiment.
Method, system and the electronic equipment provided in this embodiment for carrying out mirror image and throwing screen, can be according to the first rotation angle
With the first direction of rotation, rotation processing is carried out to the first image data, the second image data is generated, so that the second equipment root
It is shown according to second image data and throws screen image.In this way, since first rotation can be any angle, this implementation
The mirror image that example provides, which throws screen method, can make the throwing screen image carry out Indivitual display in the second equipment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram for carrying out mirror image and throwing the method for screen of the embodiment of the present invention one;
Fig. 2 is the flow diagram for carrying out mirror image and throwing the method for screen of the embodiment of the present invention two;
Fig. 3 is the flow diagram for carrying out mirror image and throwing the method for screen of the embodiment of the present invention three;
Fig. 4 is the data transmission relations between the first equipment, intermediate equipment and the second equipment in the embodiment of the present invention two
Schematic diagram;
Fig. 5 is the structural schematic diagram of the second equipment and adjusting key in the embodiment of the present invention two;
Fig. 6 is the schematic diagram of one of display mode of the throwing screen image in the second equipment in the embodiment of the present invention;
Fig. 7 is the postrotational schematic diagram of the second equipment in Fig. 6;
Fig. 8 is the schematic diagram of another display mode of the throwing screen image in the second equipment in the embodiment of the present invention;
Fig. 9 is the postrotational schematic diagram of the second equipment in Fig. 8;
The schematic diagram of another display mode of the throwing screen image in the second equipment in Figure 10 embodiment of the present invention;
Figure 11 postrotational schematic diagram in the second equipment for the throwing screen image in Figure 10;
Figure 12 is the postrotational schematic diagram of the second equipment in Figure 11;
Figure 13 is the postrotational schematic diagram of the second equipment in Figure 10;
Figure 14 is the structural schematic diagram of electronic equipment one embodiment of the embodiment of the present invention seven.
Specific embodiment
The embodiment of the present invention is described in detail with reference to the accompanying drawing.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
Fig. 1 is the method that a kind of carry out mirror image that the embodiment of the present invention one provides throws screen, is applied to the first equipment, such as Fig. 1
It is shown, this method comprises:
Step 101 rotates angle and the first direction of rotation according to first, carries out rotation processing to the first image data, raw
At the second image data, wherein the first rotation angle is any angle, and first direction of rotation includes rotating clockwise
With rotation counterclockwise;
In this step, first equipment can be the intelligent terminals such as host computer, mobile phone, tablet computer;Described first
Rotation angle and the first direction of rotation can be preset by system, can also be by user's self-setting.When first rotation
When angle and the first direction of rotation are by user setting, an interactive interface, the interaction can be set on said first device
The first rotation angle and the first direction of rotation can be previously provided on interface, for selection by the user, such as: it is inverse by picture is exported
Hour hands are rotated by 90 °, output picture are rotated clockwise 180 degree etc.;Input frame can also be set on the interactive interface, for
The customized first rotation angle of user's input and/or the first direction of rotation.
The present embodiment, the image data to the first image carries out rotation processing and refers to, to the first image
The coordinate of image data do rotation processing, the image data of second image by the first image image data according to
It is obtained after first rotation angle and the rotation of the first direction of rotation.
Second image data is sent to the second equipment by step 102, so that second equipment is according to described second
Screen image is thrown in image data display.
In this step, second equipment can be display equipment, such as LCD TV, computer monitor etc..Described
When transmitting image data between one equipment and the second equipment, it can be transmitted by wired mode, such as pass through HDMI wire
Transmission;It can also wirelessly be transmitted, such as wirelessly throw screen transmission according to DLNA, AirPlay, Miracast etc.
Agreement carries out Wireless transceiver.
The present embodiment carries out rotation processing to the first image data by first equipment, in this way, due to described the
One equipment (intelligent terminal) usually has good data processing function, therefore, can greatly improve the processing effect of image data
Rate promotes the experience that user uses mirror image screen projection function.
Fig. 2 is a kind of method for carrying out mirror image and throwing screen provided by Embodiment 2 of the present invention, is applied to intermediate equipment, such as Fig. 2
It is shown, this method comprises:
Step 201 receives the first image data that the first equipment is sent;
In this step, first equipment can be the intelligent terminals such as mobile phone, tablet computer;
Step 202 rotates angle and the first direction of rotation according to first, carries out at rotation to the first image data
Reason generates the second image data, wherein the first rotation angle is any angle, and first direction of rotation includes up time
Needle rotation and counterclockwise rotation;
In this step, it is described first rotation angle and the first direction of rotation can be preset by system, can also by with
Family self-setting.When the first rotation angle and the first direction of rotation are by user setting, as shown in figure 4, can be described
Adjusting key is set in intermediate equipment 22, and the adjusting key is for being arranged the first rotation angle and the first direction of rotation.As
One optional embodiment of the present embodiment, the adjusting key can be direction of rotation switching switch, and there are two states for the switch: figure
As being rotated by 90 ° or without any processing.As shown in figure 5, another optional embodiment as the present embodiment, the adjusting key
It may be 360 degree of adjustable knobs, the intermediate equipment is according to the rotation angle of the adjustable knob and direction of rotation pair
The first image data are rotated;It optionally, can be by described in pressing after rotating 360 degree of adjustable knobs
360 degree of adjustable knobs trigger the intermediate equipment according to the rotation angle and direction of rotation of the adjustable knob to first figure
As data are rotated, in this way, the side for more easily handling image can be provided for image show staff and Plot Work person
Formula.
As shown in figure 4, optional, the intermediate equipment 22 can be connected by data line with first equipment 21, institute
The one end for stating data line can be connected by interfaces such as Type C/Micro USB/Lighting with first equipment 21, institute
The other end for stating data line can be connected by USB interface with the intermediate equipment 22, the intermediate equipment 22 and described second
It can be connected by HDMI wire between equipment 23.
Second image data is sent to the second equipment by step 203, so that the second equipment is according to second image
Screen image is thrown in data display.
The present embodiment is merely with the intermediate equipment without improving to existing first equipment and the second equipment
The rotation processing of achievable image data facilitates user and realizes that the personalized of image throws screen display on the basis of existing equipment
Show.
Fig. 3 is the method that a kind of carry out mirror image that the embodiment of the present invention three provides throws screen, is applied to the second equipment, such as Fig. 3
It is shown, this method comprises:
Step 301 receives the first image data that the first equipment or intermediate equipment are sent;
In this step, second equipment can be display equipment, such as LCD TV, computer monitor etc.;Described
One equipment can be the intelligent terminals such as host computer, mobile phone, tablet computer;The intermediate equipment can be to be connected to described first
Data line or data transmission set between equipment and the second equipment.
Step 302 rotates angle and the first direction of rotation according to first, carries out at rotation to the first image data
Reason generates the second image data, wherein the first rotation angle is any angle, and first direction of rotation includes up time
Needle rotation and counterclockwise rotation;
In this step, it is described first rotation angle and the first direction of rotation can be preset by system, can also by with
Family self-setting.It, can be in second equipment when the first rotation angle and the first direction of rotation are by user setting
Adjusting key is set, and the adjusting key is for being arranged the first rotation angle and the first direction of rotation.One as the present embodiment
Optional embodiment, the adjusting key include direction of rotation switch key ,+key and-key, and the direction of rotation switch key is for switching
Direction of rotation ,+key is for increasing rotation angle;Key is for reducing rotation angle.Another optional embodiment party as the present embodiment
Formula, the adjusting key may be 360 degree of adjustable knobs, and the intermediate equipment is according to the rotation angle of the adjustable knob
The first image data are rotated with direction of rotation.
Step 303 shows according to second image data and throws screen image.
The present embodiment, since the second equipment is commonly used in display image, will deliver the treatment process of image is the
Two equipment make second equipment that can not only show image, rotation processing can also be carried out to image, in such manner, it is possible to improve
Degree of specialization of second equipment about processing and the display of image, enriches the function of the second equipment.
In above-described embodiment one, embodiment two and embodiment three, the throwing screen image has relative to second equipment
There is the first rotation angle, when user watches second image with different viewing visual angle, obtained experience also very much not phase
Together, the interest that image is shown is effectively increased to which the user experience is improved;For example, viewing is by unmanned plane in the second equipment
It when the photo taken photo by plane, generally requires to carry out the photo 360 rotations, at this moment, the mirror image provided in this embodiment that carries out throws screen
Method can greatly facilitate user to watch photo.
It is understood that the first rotation angle and the first direction of rotation can be arranged in user in real time, if described
It carries out mirror image in first equipment and the second equipment and throws screen display to be video pictures, then when good first rotation angle of user setting
After degree and the first direction of rotation, the video pictures carry out in second equipment according to the angle and direction of user setting
Display.
It is described according to the first rotation angle and the first rotation side in above-described embodiment one, embodiment two or embodiment three
To the first image data progress rotation processing, the second image data of generation, may include: by the first image number
It is zoomed in and out according to corresponding image according to the size of the display screen of second equipment, generates First Transition image;According to described
First rotation angle and the first direction of rotation, using the central point of the First Transition image as basic point, to the First Transition figure
The image data of picture carries out rotation processing, generates the second image data.
The present embodiment, it is described by the corresponding image of the first image data according to second equipment display screen it is big
Small zoom in and out may include: to carry out equal proportion scaling to the corresponding image of the first image data, make the first image
Two short sides (or long side) of the corresponding image of data are overlapped with two short sides (or long side) of the display screen.With described
The central point of one transfer image acquisition is that basic point carries out rotation processing, the second figure of generation to the image data of the First Transition image
It, will not compared to the preceding throwing screen image being once shown in second equipment when being shown in second equipment as data
Occur up and down or left and right play can obtain good visual experience for users.
Further, described using the central point of the First Transition image as basic point, to the figure of the First Transition image
As data progress rotation processing, the second image data is generated, may include: using the central point of the First Transition image as base
Point carries out rotation processing to the image data of the First Transition image, generates the second transfer image acquisition;According to second equipment
Display screen size and the current rotation angle of second equipment, generate and the display screen size phase of second equipment
With and rotation angle is identical cuts block diagram;It cuts block diagram using described second transfer image acquisition is cut, generate the
Two image datas, wherein the corresponding image of second image data is that second transfer image acquisition is located at and described cuts block diagram
Interior image, the central point for cutting block diagram are overlapped with the central point of second transfer image acquisition.
The present embodiment, if second transfer image acquisition is shown when in second equipment, second transfer image acquisition
On a part of image may exceed second equipment indication range, at this moment, using the block diagram that cuts to the second mistake
It crosses image to be cut, second image data of generation can be located exactly in the display screen of second equipment, convenient
Display of second image data in second equipment.
It, can also be by the after generating second image data as an optional embodiment of above-described embodiment
The two equipment rotation angle current according to the size of the display screen of second equipment and the second equipment generates and described second
The display screen size of equipment is identical and rotation angle is identical cuts block diagram;Using the block diagram that cuts to second picture number
It is cut according to corresponding image, generates and throw screen image, wherein the throwing screen image is the corresponding figure of second image data
Image position in the image cut in block diagram, the central point for cutting block diagram image corresponding with second image data
Central point is overlapped;The throwing screen image is shown on the display screen.
It is described that rotation processing is carried out to the first image data in above-described embodiment one, embodiment two or embodiment three, it is raw
At the second image data, it may include: that the first image data are subjected to left and right mirror image processing, generate mirror image diagram data;It is right
The mirror image diagram data carries out rotation processing, generates the second image data.
The present embodiment carries out left and right mirror image processing to the image data of the first image, on the one hand can increase in institute
The special efficacy for stating the throwing screen image shown in the second equipment, meets the individual demand of user;On the other hand, some special
Application, such as play in the second equipment self-timer picture or when shooting the video certainly, the picture or video that obtain due to self-timer
For the mirror image of practical scenery, therefore, the image data to shoot the video to self-timer picture or certainly is broadcast again after carrying out left and right mirror image
It puts, user can be allowed to watch actual scenery effect.
It is understood that after rotation processing can also being carried out to the image data of the first image, then to through overwinding
The image data for turning processing carries out left and right mirror image processing.
In above-described embodiment one, embodiment two or embodiment three, the method can also include: according to the second rotation angle
Degree and the second direction of rotation, rotate second equipment;Wherein, the second rotation angle is any angle, described
Second direction of rotation includes rotating clockwise and rotating counterclockwise.
The present embodiment, since the throwing screen image has rotated the first rotation angle relative to second equipment, show
Show that the throwing screen image in second equipment may be not easy to user and watch (referring to Fig. 6), at this moment, user can be manually rotated
Second equipment makes the throwing screen image rotate to user with second equipment convenient for the angle of viewing (referring to Fig. 7).
Certainly, if second equipment is connected with rotation drive device (such as servo motor or stepper motor), user can lead to
The rotation angle that the rotation drive device is set and direction of rotation are crossed, rotates the throwing screen image with second equipment
To user convenient for the angle of viewing.It at this moment, can be in the interaction if being provided with the interactive interface in first equipment
The second rotation angle and the second direction of rotation are preset on interface, for selection by the user, or can also be on the interactive boundary
Input frame is set on face, for the customized second rotation angle of user's input and/or the second direction of rotation;It is of course also possible to
Setting is for adjusting the adjusting key of the second rotation angle and the second direction of rotation in the intermediate equipment or the second equipment.
For example, second equipment is the equipment of transverse screen display, institute as shown in figure 8, the throwing screen image is vertical screen image
It states and throws screen image display all over the screen in second equipment, at this moment, then can set 90 degree for the second rotation angle, the second rotation
Turn direction to be set as rotating counterclockwise, at this moment, second equipment is vertically arranged, and the second image in second equipment is perpendicular
To display (referring to Fig. 9), the throwing screen image shown in the second equipment at this time facilitates user and watches.
As an optional embodiment of above-described embodiment, second equipment rotates to second rotation by initial position
During gyration, the display position for throwing screen image in second equipment changes, and using the earth as referential, institute
Stating the angle between the current location and initial position of throwing screen image keeps the first rotation angle constant.
The present embodiment, user for referential greatly to watch the throwing screen figure in second equipment and second equipment
When picture, the throwing screen image is remained stationary relative to earth coordinates, and second equipment is rotated with certain speed, institute
It states the relative position thrown between screen image and second equipment persistently to change, enriches the effect that mirror image throws screen display.
Also, according to above embodiment, the first rotation angle, the first rotation can be arranged in user according to self-demand
Turn direction, the second rotation angle and the second direction of rotation, to reach special viewing effect;Such as: the second current equipment
For transverse screen place equipment, current throwing screen image be vertical screen image and in second equipment vertical screen display (referring to figure
10) when, at this moment, user watches the throwing screen image in the second equipment with the posture lain on one's side, it is desirable to which the throwing screen image is clockwise
60 degree of rotation then can set 60 degree for the first rotation angle at this time, and the first direction of rotation is set as rotating clockwise, this
When, the throwing screen image is rotated relative to second equipment, and the posture to tilt 60 degree is shown in the second equipment (ginseng
See Figure 11).
Further, if the user wish the throwing screen image currently shown can the display all over the screen in second equipment,
Then 30 degree can be set by the second rotation angle, second direction of rotation is set as rotating counterclockwise, at this moment described
Second equipment is rotated with certain speed, until the width direction of second equipment is parallel to the height side of throwing screen image
To, at this point, the throwing screen image can in second equipment display all over the screen (referring to Figure 12).In this way, due to the place of image
Reason speed is significantly faster than the rotation speed of the second equipment, therefore, method provided in this embodiment can by the display image with
The speed being exceedingly fast is supplied to user, facilitates user and is watched with the posture lain on one's side;Also, work as the width side of second equipment
When slowly becoming smaller to the angle between the short transverse for throwing screen image, the display image is in second equipment
Display area is increasing, after the width direction of second equipment is parallel with the throwing short transverse of screen image, institute
It states and throws screen image display all over the screen in second equipment;In this way, not only increasing the display for throwing screen image in the second equipment
Area also improves the experience that user throws screen technology using mirror image.
As another optional embodiment of above-described embodiment, the first rotation angle can be set to 0 degree, it is described
Second rotation angle is set as 90 degree.At this moment, the throwing screen image is remained stationary relative to earth coordinates, second equipment
It is rotated by 90 ° with certain speed, until the second equipment is vertically arranged, at this moment, the throwing screen image is full in second equipment
Screen display (referring to Figure 13).
The method for carrying out mirror image and throwing screen that above-described embodiment one, embodiment two and embodiment three provide, can be according to first
Angle and the first direction of rotation are rotated, rotation processing is carried out to the first image data, generates the second image data, so that described the
Two equipment are shown according to second image data throws screen image.In this way, since first rotation can be any angle, because
This mirror image provided in this embodiment, which throws screen method, can make the throwing screen image carry out Indivitual display in the second equipment.
The embodiment of the present invention four provides a kind of system that progress mirror image throws screen display, and the system comprises the first equipment, uses
According to the first rotation angle and the first direction of rotation, rotation processing is carried out to the first image data, generates the second image data,
And second image data is sent to the second equipment, it is thrown so that second equipment is shown according to second image data
Screen image.
The embodiment of the present invention five provides a kind of system that progress mirror image throws screen display, and the system comprises intermediate equipments, uses
In the first image data for receiving the transmission of the first equipment, and according to the first rotation angle and the first direction of rotation, to described first
Image data carries out rotation processing, generates the second image data, second image data is sent to the second equipment, so that the
Two equipment are shown according to second image data throws screen image.
The embodiment of the present invention six provides a kind of system that progress mirror image throws screen display, and the system comprises the second equipment, uses
Angle and the first direction of rotation are rotated in the first image data for receiving the first equipment or intermediate equipment transmission, and according to first,
Rotation processing is carried out to the first image data, generates the second image data, is shown according to second image data and throws screen
Image;Wherein, the first rotation angle is any angle, and first direction of rotation includes rotating clockwise and revolving counterclockwise
Turn.
In above-described embodiment five, optionally, adjusting key is provided in the intermediate equipment, the adjusting key is for being arranged
The first rotation angle and the first direction of rotation.
In above-described embodiment four, embodiment five or embodiment six, optionally, first equipment, intermediate equipment or
Two equipment include: Zoom module, for the display screen by the corresponding image of the first image data according to second equipment
Size zoom in and out, generate First Transition image;First rotary module, for according to the first rotation angle and the first rotation
Turn direction, using the central point of the First Transition image as basic point, the image data of the First Transition image is rotated
Processing generates the second image data.
In above-described embodiment four, embodiment five or embodiment six, optionally, first rotary module includes: image
Generation unit, for using the central point of the First Transition image as basic point, to the image data of the First Transition image into
Row rotation processing generates the second transfer image acquisition;Block diagram generation unit, for according to the size of the display screen of second equipment with
And the rotation angle that second equipment is current, it generates identical with the display screen size of second equipment and to rotate angle identical
Cut block diagram;Unit is cut, second transfer image acquisition is cut for cutting block diagram described in, generates the second figure
As data, wherein the corresponding image of second image data is that second transfer image acquisition is located at described cut in block diagram
Image, the central point for cutting block diagram are overlapped with the central point of second transfer image acquisition.
In above-described embodiment four, embodiment five or embodiment six, optionally, second equipment includes: that block diagram generates
Module, for the rotation angle current according to the size of the display screen of second equipment and second equipment, generate with
The display screen size of second equipment is identical and rotation angle is identical cuts block diagram;Module is cut, for utilizing the sanction
It cuts block diagram to cut the corresponding image of second image data, generates and throw screen image, wherein the throwing screen image is institute
It states the corresponding image of the second image data and is located at the image cut in block diagram, the central point for cutting block diagram and described the
The central point of the corresponding image of two image datas is overlapped;Display module, for showing the throwing screen image on the display screen.
In above-described embodiment four, embodiment five or embodiment six, optionally, first equipment, intermediate equipment or
Two equipment further include: mirror module generates mirror image diagram data for the first image data to be carried out left and right mirror image processing;
Second rotary module generates the second image data for carrying out rotation processing to the mirror image diagram data.
In above-described embodiment four, embodiment five or embodiment six, optionally, second equipment is according to the second rotation angle
Degree and the second direction of rotation are rotated;Wherein, the second rotation angle is any angle, and second direction of rotation includes
It rotates clockwise and rotates counterclockwise.
In above-described embodiment four, embodiment five or embodiment six, optionally, second equipment is rotated by initial position
During the second rotation angle, the display position for throwing screen image in second equipment changes, and with big
Ground is referential, and the angle between the current location and initial position for throwing screen image keeps the first rotation angle not
Become.
In above-described embodiment four, embodiment five or embodiment six, optionally, the first rotation angle is 0 degree, described
Second rotation angle is 90 degree.
The system for carrying out mirror image and throwing screen that above-described embodiment four, embodiment five and embodiment six provide, can be according to first
Angle and the first direction of rotation are rotated, rotation processing is carried out to the first image data, generates the second image data, so that described the
Two equipment are shown according to second image data throws screen image.In this way, since first rotation can be any angle, because
This mirror image provided in this embodiment, which throws screen system, can make the throwing screen image carry out Indivitual display in the second equipment.
Correspondingly, the embodiment of the present invention seven provides a kind of electronic equipment, throwing screen image can be made to carry out in the display device
Indivitual display.
Figure 14 is the structural schematic diagram of electronic equipment one embodiment of the present invention, and as shown in figure 14, above-mentioned electronic equipment can
To include: shell 41, processor 42, memory 43, circuit board 44 and power circuit 45, wherein circuit board 44 is placed in shell
41 space interiors surrounded, processor 42 and memory 43 are arranged on circuit board 44;Power circuit 45, for being above-mentioned electronics
The each circuit or device of equipment are powered;Memory 43 is for storing executable program code;Processor 42 is by reading storage
The executable program code stored in device 43 runs program corresponding with executable program code, for executing aforementioned any reality
Apply method described in example.
Processor 42 to the specific implementation procedures of above-mentioned steps and processor 42 by operation executable program code come
The step of further executing may refer to the description of previous embodiment, and details are not described herein.
Above-mentioned electronic equipment exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function
Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy
Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic equipments with data interaction function.
Correspondingly, the embodiment of the present invention also provides a kind of computer readable storage medium, the computer-readable storage
Media storage has one or more program, and one or more of programs can be executed by one or more processor, with
It realizes any method that previous embodiment provides, therefore is also able to achieve corresponding technical effect, have been carried out above in detail
Illustrate, details are not described herein again.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that
There is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.
For Installation practice, since it is substantially similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
For convenience of description, description apparatus above is to be divided into various units/modules with function to describe respectively.Certainly, In
Implement to realize each unit/module function in the same or multiple software and or hardware when the present invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a method of it carries out mirror image and throws screen characterized by comprising
First equipment carries out rotation processing to the first image data according to the first rotation angle and the first direction of rotation, generates the
Two image datas, and second image data is sent to the second equipment, so that second equipment is according to second figure
As screen image is thrown in data display;Or
Intermediate equipment receives the first image data that the first equipment is sent, and rotates angle and the first direction of rotation according to first,
Rotation processing is carried out to the first image data, the second image data is generated, second image data is sent to second
Equipment, so that the second equipment is shown according to second image data throws screen image;Or
Second equipment receives the first image data that the first equipment or intermediate equipment are sent, and according to the first rotation angle and first
Direction of rotation carries out rotation processing to the first image data, the second image data is generated, according to second image data
Screen image is thrown in display;
Wherein, the first rotation angle is any angle, and first direction of rotation includes rotating clockwise and revolving counterclockwise
Turn.
2. the method according to claim 1, wherein described according to the first rotation angle and the first direction of rotation,
Rotation processing is carried out to the first image data, generates the second image data, comprising:
The corresponding image of the first image data is zoomed in and out according to the size of the display screen of second equipment, generates the
One transfer image acquisition;
According to the first rotation angle and the first direction of rotation, using the central point of the First Transition image as basic point, to institute
The image data for stating First Transition image carries out rotation processing, generates the second image data.
3. according to the method described in claim 2, it is characterized in that, described using the central point of the First Transition image as base
Point carries out rotation processing to the image data of the First Transition image, generates the second image data, comprising:
Using the central point of the First Transition image as basic point, the image data of the First Transition image is carried out at rotation
Reason generates the second transfer image acquisition;
According to the current rotation angle of the size of the display screen of second equipment and second equipment, generate and described the
The display screen size of two equipment is identical and rotation angle is identical cuts block diagram;
It cuts block diagram using described second transfer image acquisition is cut, generate the second image data, wherein described second
The corresponding image of image data is that second transfer image acquisition is located at the image cut in block diagram, described to cut in block diagram
Heart point is overlapped with the central point of second transfer image acquisition.
4. the method according to claim 1, wherein described shown according to second image data throws screen image
Include:
According to the current rotation angle of the size of the display screen of second equipment and second equipment, generate and described the
The display screen size of two equipment is identical and rotation angle is identical cuts block diagram;
It cuts block diagram using described the corresponding image of second image data is cut, generate and throw screen image, wherein institute
To state and throw screen image be that the corresponding image of second image data is located at the image cut in block diagram, the block diagram that cuts
The central point of central point image corresponding with second image data is overlapped;
The throwing screen image is shown on the display screen.
5. being generated the method according to claim 1, wherein described carry out rotation processing to the first image data
Second image data, comprising:
The first image data are subjected to left and right mirror image processing, generate mirror image diagram data;
Rotation processing is carried out to the mirror image diagram data, generates the second image data.
6. the method according to claim 1, wherein the method also includes:
According to the second rotation angle and the second direction of rotation, second equipment is rotated;Wherein, second rotation angle
Degree is any angle, and second direction of rotation includes rotating clockwise and rotating counterclockwise.
7. according to the method described in claim 6, it is characterized in that, second equipment rotates to described second by initial position
During rotating angle, the display position for throwing screen image in second equipment changes, and using the earth as referential,
Angle between the current location and initial position for throwing screen image keeps the first rotation angle constant.
8. the method according to the description of claim 7 is characterized in that it is described first rotation angle be 0 degree, second rotation angle
Degree is 90 degree.
9. a kind of system for carrying out mirror image and throwing screen, which is characterized in that the system comprises:
First equipment, it is raw for carrying out rotation processing to the first image data according to the first rotation angle and the first direction of rotation
It is sent to the second equipment at the second image data, and by second image data, so that second equipment is according to described
Screen image is thrown in the display of two image datas;Or
Intermediate equipment, for receiving the first image data of the first equipment transmission, and according to the first rotation angle and the first rotation
Direction carries out rotation processing to the first image data, generates the second image data, second image data is sent to
Second equipment, so that the second equipment is shown according to second image data throws screen image;Or
Second equipment, the first image data sent for receiving the first equipment or intermediate equipment, and according to the first rotation angle
With the first direction of rotation, rotation processing is carried out to the first image data, the second image data is generated, according to second figure
As screen image is thrown in data display;
Wherein, the first rotation angle is any angle, and first direction of rotation includes rotating clockwise and revolving counterclockwise
Turn.
10. system according to claim 9, which is characterized in that be provided with adjusting key, the adjusting in the intermediate equipment
Key is for being arranged the first rotation angle and the first direction of rotation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910724549.8A CN110531945A (en) | 2019-08-06 | 2019-08-06 | A kind of method, system and electronic equipment for carrying out mirror image and throwing screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910724549.8A CN110531945A (en) | 2019-08-06 | 2019-08-06 | A kind of method, system and electronic equipment for carrying out mirror image and throwing screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110531945A true CN110531945A (en) | 2019-12-03 |
Family
ID=68662193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910724549.8A Pending CN110531945A (en) | 2019-08-06 | 2019-08-06 | A kind of method, system and electronic equipment for carrying out mirror image and throwing screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110531945A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565839A (en) * | 2020-11-23 | 2021-03-26 | 青岛海信传媒网络技术有限公司 | Display method and display device of screen projection image |
CN113556591A (en) * | 2020-04-24 | 2021-10-26 | 青岛海信传媒网络技术有限公司 | Display equipment and projection screen image rotation display method |
WO2022077428A1 (en) * | 2020-10-16 | 2022-04-21 | Arris Enterprises Llc | Dynamically controlling media content orientation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446085A (en) * | 2018-03-14 | 2018-08-24 | 维沃移动通信有限公司 | A kind of throwing screen display methods and mobile terminal |
US20190058862A1 (en) * | 2017-08-16 | 2019-02-21 | Samsung Electronics Co., Ltd. | Display apparatus and server, and control methods thereof |
CN109814828A (en) * | 2019-01-31 | 2019-05-28 | 深圳市炬力北方微电子有限公司 | Mirror image expires frame method with screen automatically |
CN210804375U (en) * | 2019-08-06 | 2020-06-19 | 王东 | Mirror image screen projection switching device |
-
2019
- 2019-08-06 CN CN201910724549.8A patent/CN110531945A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190058862A1 (en) * | 2017-08-16 | 2019-02-21 | Samsung Electronics Co., Ltd. | Display apparatus and server, and control methods thereof |
CN108446085A (en) * | 2018-03-14 | 2018-08-24 | 维沃移动通信有限公司 | A kind of throwing screen display methods and mobile terminal |
CN109814828A (en) * | 2019-01-31 | 2019-05-28 | 深圳市炬力北方微电子有限公司 | Mirror image expires frame method with screen automatically |
CN210804375U (en) * | 2019-08-06 | 2020-06-19 | 王东 | Mirror image screen projection switching device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113556591A (en) * | 2020-04-24 | 2021-10-26 | 青岛海信传媒网络技术有限公司 | Display equipment and projection screen image rotation display method |
WO2022077428A1 (en) * | 2020-10-16 | 2022-04-21 | Arris Enterprises Llc | Dynamically controlling media content orientation |
CN112565839A (en) * | 2020-11-23 | 2021-03-26 | 青岛海信传媒网络技术有限公司 | Display method and display device of screen projection image |
CN112565839B (en) * | 2020-11-23 | 2022-11-29 | 青岛海信传媒网络技术有限公司 | Display method and display device of screen projection image |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112104594B (en) | Immersive interactive remote participation in-situ entertainment | |
CN108810576B (en) | Live wheat-connecting method and device and storage medium | |
US20170195650A1 (en) | Method and system for multi point same screen broadcast of video | |
CN106803966B (en) | Multi-user network live broadcast method and device and electronic equipment thereof | |
CN110531945A (en) | A kind of method, system and electronic equipment for carrying out mirror image and throwing screen | |
CN107029429B (en) | System, method, and readable medium for implementing time-shifting tutoring for cloud gaming systems | |
CN113633973B (en) | Game picture display method, device, equipment and storage medium | |
CN106791906B (en) | Multi-user network live broadcast method and device and electronic equipment thereof | |
CN110971925B (en) | Display method, device and system of live broadcast interface | |
CN106686397A (en) | Multi-person network broadcasting method and device and electronic equipment thereof | |
CN109803154B (en) | Live broadcast method, equipment and storage medium for chess game | |
CN103425401B (en) | Method of adjustment and the electric terminal of angle play by a kind of file | |
CN113274729B (en) | Interactive observation method, device, equipment and medium based on virtual scene | |
US20170154469A1 (en) | Method and Device for Model Rendering | |
CN106303493B (en) | Image processing method and device | |
CN110324653A (en) | Game interaction exchange method and system, electronic equipment and the device with store function | |
CN106792237A (en) | A kind of message display method and system | |
CN210804375U (en) | Mirror image screen projection switching device | |
CN114827647B (en) | Live broadcast data generation method, device, equipment, medium and program product | |
CN206792036U (en) | Intelligent platform | |
WO2019104533A1 (en) | Video playing method and apparatus | |
CN210072615U (en) | Immersive training system and wearable equipment | |
CN110166825B (en) | Video data processing method and device and video playing method and device | |
CN111084493A (en) | Shielding box for interactive table and electronic interactive table system | |
CN106817616A (en) | Information is generated and display methods, device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |