Summary of the invention
The technical issues of technical solution of the present invention is solved are as follows: how according to the equipment installation environment of X-ray shooting system
Different user interfaces is shown, to improve the operating efficiency of X-ray shooting system.
In order to solve the above-mentioned technical problem, technical solution of the present invention provides a kind of display methods of user interface, described
User interface includes operation interface, and the operation interface is for receiving user instructions to control remote equipment, the display methods
Include:
It is obtained between remote equipment and user interface according to location information relevant to the remote equipment and user interface
Feasible path;
Operating position of the user relative to the user interface is determined based on the feasible path;
The operation interface of user interface is set according to the operating position.
Optionally, the location information relevant to the remote equipment and user interface is the whether feasible letter of subregion
Breath, the subregion are to divide region relevant to the remote equipment and user interface to be formed;
The feasible path passes through feasible subregion.
Optionally, the subregion is average divides obtained by region relevant to the remote equipment and user interface.
Optionally, the area of the subregion is related to remote equipment region and user interface region.
Optionally, the area of the user interface region is equal to the area of the subregion or is the subregion
The integral multiple of area, the area of the remote equipment region are the integral multiple of the area of the subregion.
Optionally, the subregion includes the first subregion and the second subregion, and first subregion constitutes the use
Family interface region, second subregion constitute the remote equipment region;Described and the remote equipment and use
The relevant location information in family interface includes the infeasible information of first subregion and the infeasible letter of the second subregion
Breath.
Optionally, the subregion further includes third subregion, and the third subregion is construed as limiting region;Described and institute
It states remote equipment and the relevant location information of user interface includes the infeasible information of third subregion.
Optionally, the region relevant to the remote equipment and user interface includes corresponding user interface region
First area, the second area of corresponding remote equipment region, corresponding restricted area third region and other regions;Institute
State that first area, second area, third region are consistent with the length in other regions and are equal to the remote equipment region
Length, width be respectively the width of user interface region, the width of remote equipment region, restricted area width and
Other width;
The subregion includes the first subregion for averagely dividing the first area in length, averagely draws in length
Second subregion of point second area averagely divides the third subregion in the third region and in length in length
Average other subregions for dividing other regions;
The location information relevant to the remote equipment and user interface includes that first subregion is infeasible
Information, the whether feasible information of second subregion, the whether feasible information of the third subregion and other described sub-districts
The feasible information in domain.
Optionally, described to determine that user includes: relative to the operating position of the user interface based on the feasible path
According to the feasible subregion that the feasible path passes through obtain the feasible subregion to user interface away from
Walk-off angle degree;
It selects close to user interface and angle meets the feasible subregion in the visual field as the operating position.
Optionally, described to determine that user includes: relative to the operating position of the user interface based on the feasible path
The distance and angle in the region near feasible path to user interface are obtained according to the feasible path;
It selects close to user interface and angle meets region near the feasible path in the visual field as the operating position.
Optionally, the operation interface that user interface is set according to the operating position includes: according to the operative position
It sets selection and has stored one of user interface.
Optionally, the operation interface that user interface is set according to the operating position further include: based on selected
User interface adjusts at least one in the location and shape of operation interface.
Optionally, at least one packet in the location and shape based on selected user interface adjustment operation interface
It includes:
According to the distance between the operating position and user interface and angle, setting user in the user interface can
Opereating specification;
So that the operation interface is placed in shown user in opereating specification and can form operation interface adjusted.
In order to solve the above-mentioned technical problem, technical solution of the present invention additionally provides a kind of display device of user interface, institute
Stating user interface includes operation interface, and the operation interface controls remote equipment, the display dress for receiving user instructions
It sets and includes:
Feasible path acquiring unit, it is remote for being obtained according to location information relevant to the remote equipment and user interface
Feasible path between journey equipment and user interface;
Operating position determination unit, for determining operation of the user relative to the user interface based on the feasible path
Position;
Operation interface setup unit, for setting the operation interface of user interface according to the operating position.
Optionally, the location information relevant to the remote equipment and user interface is the whether feasible letter of subregion
Breath, the subregion are to divide region relevant to the remote equipment and user interface to be formed;
The feasible path passes through feasible subregion.
Optionally, the operating position determination unit includes:
First distance angle acquiring unit, feasible subregion for being passed through according to the feasible path obtain described in can
Capable subregion to user interface distance and angle;
Subregion selecting unit, for selecting close to user interface and angle meets the feasible subregion in the visual field as institute
State operating position.
Optionally, the operating position determination unit includes:
Second distance angle acquiring unit, for obtaining the region near feasible path according to the feasible path to user
The distance and angle at interface;
Area selecting unit, for selecting the region that close to user interface and angle meets near the feasible path in the visual field to make
For the operating position.
Optionally, the operation interface setup unit includes: user interface selecting unit, for according to the operating position
Selection has stored one of user interface.
Optionally, the operation interface setup unit further include: position/shape adjustment unit, for based on selected
User interface adjusts at least one in the location and shape of operation interface.
Optionally, the position/shape adjustment unit includes:
Range setting module is used for according to the distance between the operating position and user interface and angle, in the use
Setting user on the interface of family can opereating specification;
Sub- adjustment unit in opereating specification and can form behaviour adjusted for making the operation interface be placed in shown user
Make interface.
The beneficial effect of technical solution of the present invention includes at least:
The user interface of display, technical solution of the present invention are set according only to user's handedness different from the prior art
A kind of method that can show user interface according to user movement track is realized, can adapt to different equipment installation environments,
Operating position of the user relative to user interface can be determined according to the feasible path of user in specific equipment installation environment, with
This resets the operation interface of user interface and shows the user interface;Technical solution of the present invention being capable of optimized user interface
Layout can adaptively show difference according to the equipment installation environment of X-ray shooting system to shorten user's operation moving distance
User interface, and then improve according to X-ray shooting system operating efficiency.
Technical solution of the present invention is further by equipment installation environment with described related to the remote equipment and user interface
Region measure, and the location information in region relevant to the remote equipment and user interface will be carried out at binaryzation
Reason, to obtain the feasible path in equipment installation environment.Technical solution of the present invention can directly simulate equipment installation environment, mention
The respond of high system self-adaption.
It is several subregions by region division relevant to the remote equipment and user interface in optinal plan, and
The location information relevant to the remote equipment and user interface is the whether feasible information of the subregion, further fixed
The justice feasible path is the path by feasible subregion, and system can adaptively identify to obtain for equipment installation environment
Feasible path.
In optinal plan, infeasible region, including remote equipment region, user interface region are also defined
(i.e. station region) and other restricted areas.The region in simultaneously replacement system can be directly inputted as the case may be
Location information, to further provide for the precision of system judgement.
It, can be according to the distance and angle initialization operative position of feasible subregion opposing user interfaces in optinal plan
It sets, can also directly calculate the distance and angle initialization operating position of feasible path near zone opposing user interfaces.Suitably
Operating position contributes meaning for reasonable user interface layout: can be according to the proper operation position looked for, directly
It connects and selects one kind in stored user interface, the range of user interface can also can be operated according to user on suitable position,
At least one in the location and shape of operation interface is adjusted, is wanted with meeting operation of the user on the proper operation position
It asks, improves the treatment effeciency of system.
Specific embodiment
In order to keep the purpose of the present invention, feature and effect more obvious and easy to understand, with reference to the accompanying drawing to of the invention
Specific embodiment elaborates.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, but the present invention can be with
Implemented using other than the one described here other modes, therefore the present invention is not by the limit of following public specific embodiment
System.
In place of from the defect of the prior art it is found that in clinical use, the equipment installation environment of X-ray shooting system for
The operation of system is very important, this is embodied in emphatically operating position and is appropriate for that user manipulates user interface.The present invention
The thinking of the solution the technical problem of technical solution is to simulate equipment installation environment in a computer, and find out this phase
A kind of user interface or adjustment user interface are selected to suitable operating position, and according to suitable operating position, then shows choosing
It selects or user interface adjusted.
Based on above-mentioned analysis, a kind of display methods of user interface is present embodiments provided, the user interface includes behaviour
Make interface, the operation interface is for receiving user instructions to control remote equipment, as shown in Figure 1, the display methods includes:
Step S100 obtains remote equipment and user according to location information relevant to the remote equipment and user interface
Feasible path between interface.
In this step, the remote equipment can refer to that rack etc. needs to issue control instruction by user interface by user
With the equipment of the X-ray shooting system of operation, and the user interface can refer to touching display screen or control on station
Shield, there are many instruction key and selection menus in user interface, to receive the instruction of user to control and operate X-ray
The equipment of system, the application is by all or part of instruction key and selection menu in the portion of user interface in the form of operation interface
Divide on display screen and shown, to improve control efficiency.It generally, can also be by usual instructions key and selection menu to operate
The form at interface is shown.In this application, due to consideration that in equipment installation environment, user interface (station) is taken the photograph with X-ray
The equipment of shadow system is the distance having on certain space, also for the application is highlighted is proposed for equipment installation environment
A kind of scheme, so the equipment of X-ray shooting system is known as remote equipment.
It in this application, is by the equipment installation environment in computer simulation reality, this analog form can join
Fig. 2 to Fig. 3 is examined, specifically simulates equipment installation environment with the two-dimensional surface region 10 of certain area, then two dimension is flat
Face region 10 is divided into several subregions, further according to the available information in equipment installation environment on the spot, believes the position of subregion
Breath carries out binary conversion treatment, i.e., is labeled as 1 or 0 wherein to the location information of above-mentioned subregion, 1, which represents the sub-window position, object
Body, be it is infeasible, it is feasible that 0, which represents the subregion, which does not have object,.
According to different division modes, can be between subregion it is impartial, be also possible to be not mutually equal:
Referring to FIG. 2, the subregion is that average division two-dimensional surface region 10 is resulting in Fig. 2.Subregion 101 is
One of resulting subregion of equal part.Since the application is for the simulation of infeasible region and remote equipment region and use
Family interface (station) region is related, it may be considered that the area of the resulting subregion of equal part is remote equipment location
The one of the integer of domain and user interface (station) region area point, it is generally the case where user interface (station)
Region area is less than remote equipment region area, thus, it is also possible to the area of the resulting subregion of equal part is to use
Family interface (station) region area.In other words, the area of the user interface region is equal to the subregion
Area or the area for the subregion integral multiple, the area of the remote equipment region is the face of the subregion
Long-pending integral multiple.
Referring to FIG. 3, the subregion not averagely divides 10 gained of two-dimensional surface region in Fig. 3.Subregion 102 is
One of them non-resulting subregion of equal part, which represent remote equipment region, subregion 103 is one of them non-equal part
Resulting subregion, which represent user interface (station) regions.The division mode of Fig. 3 is based on equipment installation environment
In, what the size in region shared by object divided, be a sub-regions without region shared by object.If in Fig. 3, equipment peace
The object in environment is filled other than remote equipment, user interface (station), further includes other objects, such as radiation chamber
Door wall, subregion 104 represent the region Men Qiang (i.e. because door wall leads to infeasible subregion), i.e. restricted area, and sub
Region 105 is area of feasible solutions.
Based on described above, it can classify to application-defined subregion: where can representing user interface
The subregion in region is labeled as the first subregion in a computer, represents the subregion of remote equipment region in a computer
Labeled as the second subregion, thus, it includes the first subregion and the second subregion that the type of the subregion, which is at least,.It is described
Location information relevant to the remote equipment and user interface at least include the infeasible information of first subregion and
The infeasible information of second subregion.
And there is likely to be other objects in addition to remote equipment and user interface (station) for equipment installation environment, such as
The subregion for representing other object regions can be labeled as third subregion by above-mentioned door wall in a computer, i.e., described
The type of subregion may further include third subregion, other above-mentioned object regions can also be known as restricted area;It is right
It answers, the location information relevant to the remote equipment and user interface further includes the infeasible letter of third subregion
Breath.
Certainly, since the region of remote equipment, user interface (station) and other object limited objects is all tool
There is length and width, in other embodiments, the length and width for being also based on above-mentioned limited object goes definition to be divided
Subregion:
The resulting two-dimensional surface region of analog machine installation environment can be redefined: the two-dimensional surface region packet
Include the first area of corresponding user interface region, the second area of corresponding remote equipment region, corresponding restricted area
Third region and other regions;The first area, second area, third region is consistent with the length in other regions and is equal to
The length of the remote equipment region, width are respectively the width of user interface region, remote equipment region
Width, restricted area width and other width.It will be appreciated that being only according to remote equipment, user interface (operation here
Platform) and the length and width of region of other object limited objects go to define first area in two-dimensional surface region, the
Two regions, third region and other regions, and the first area, second area, third region include but are not equal to use
Family interface region, remote equipment region and restricted area;
Type corresponding to above-mentioned subregion, it is known that the type of subregion further includes the type of other subregions, but first
Subregion averagely divides the first area in length and obtains, and the second subregion is that described the is averagely divided in length
What two regions obtained, third subregion is that obtaining for the third region is averagely divided in length, other subregions be
Averagely divide what other described regions obtained in length;At this point, the position relevant to the remote equipment and user interface
Information includes the infeasible information of first subregion, the whether feasible information of second subregion, the third sub-district
The whether feasible information in domain and the feasible information of other subregions.
It should be understood that
Due to the presence of each object correlation in equipment installation environment, it is straight that object correlation region refers not only to object correlation
Region is captured in the space connect, further includes the region impassable because of object correlation, these regions are not because object correlation occupies
Space and can not be passed through, but the blocking indirectly of object correlation, hinder and caused by current obstacle, the application thinks, can be with
These the region impassable because of object correlation are classified as object correlation region indirectly, certainly, in other embodiments,
Object correlation region can only include that region is captured in the direct space of object correlation, and will indirectly can not because of object correlation
Current region carries out simulation calculating as the restricted area.
In addition, the mode that the equipment installation environment of the application is user's operation user interface impacts, and in X-ray
During the operation of camera chain, user is moved between operation user interface and adjustment remote equipment, therefore can walking along the street
Diameter is between remote equipment and user interface;The equipment installation environment that the application thinks is and the remote equipment and user
Interface is relevant, can go to define the equipment installation environment with region relevant to the remote equipment and user interface.Cause
And Fig. 2 is into Fig. 3, two-dimensional surface region 10 is also the region relevant to the remote equipment and user interface.
Based on above-mentioned analysis, in this step, the location information relevant to the remote equipment and user interface is
The whether feasible information of subregion:
It, can be with if subregion 101 is the remote equipment (or user interface or other objects) region for Fig. 2
If the location information of subregion 101 is 1, i.e. the subregion is infeasible;If subregion 101 is area existing for no any object
Domain can set the location information of subregion 101 as 0, i.e. the subregion is feasible.
It is directed to Fig. 3, subregion 102 is remote equipment region, and the location information of subregion 102 is 1, the i.e. sub-district
Domain is infeasible;Subregion 103 is user interface (station) region, and the location information of subregion 103 is 1, the i.e. sub-district
Domain is infeasible;Subregion 104 is the region Men Qiang, and the location information of subregion 104 is 1, i.e. the subregion is infeasible;Sub-district
Domain 105 is area of feasible solutions, location information 0.
Computer will recognise that the matrix based on location information according to above-mentioned location information:
Fig. 2 and Fig. 3 illustrates that the same equipment installation environment in the present embodiment, can refer to Fig. 4, is formed one 4 and multiplies 3
Matrix 20.It, can be with matrix shown in Fig. 4 in computer either with the division mode of Fig. 3 or the division mode of Fig. 2
It stores above-mentioned location information, in Fig. 4, the unit area of setting is represented with an element in matrix, by unit area in equipment
The position of installation environment is modeled as the position of corresponding element in a matrix, and the numerical value of element can be in 1 or 0, such as corresponding diagram 2
Subregion 101, the element of the first row first row is 1 in the matrix of Fig. 4.Unit area is defined similarly as subregion in Fig. 2
Definition, the unit area in the subregion and Fig. 4 in Fig. 2 is equal by the present embodiment.Certainly, in other embodiments, matrix
In the element of different location can also represent different subregions, i.e., by the element of position a certain in matrix and equipment installation environment
In the set subregion not equal to unit area it is corresponding, this corresponding relationship can be functional relation or directly map, but
In fact, the case where subregion can also being different from unit area, being further added by a division subregion is several unit areas
Process, according to be divided subregion location information label unit area location information, still with following mistakes of the present embodiment
Journey is implemented.
The acquisition modes of feasible path in this step are discussed below:
Firstly the need of being more explicitly that the feasible path between remote equipment and user interface is by feasible sub-district
Domain, with reference to Fig. 5, the matrix of matrix shown in fig. 5 based on shown in Fig. 4:
Element on the first row position of matrix represents remote equipment region, is shown with 200 circle of ellipse;
Element on the first row and the second column position of second row of matrix represents the region Men Qiang, is enclosed with ellipse 201
It shows;
Element on second column position of the third line of matrix represents user interface (station) region, with ellipse
202 circles are shown;
The second row of matrix third column, the first row of the third line and third column and fourth line position on element (this part
The element numerical value of position is that 0, Fig. 5 is not shown), represent the feasible path.
Certainly, herein described feasible path can be the concept in region, or the concept of track.
When the feasible path is region, it is believed that the third column of the second row, the first row of the third line and third column in Fig. 5
And constituent parts region constitutes area of feasible solutions in the equipment installation environment of the element representative of fourth line, i.e., the described feasible path;
When the feasible path be track, can in Fig. 5 the second row third column, the first row of the third line and third column and
In the area of feasible solutions of equipment installation environment representated by the element of fourth line, seek obtaining feasible path (being equivalent to feasible trajectory).
In Fig. 5, the feasible path 30 and feasible path 40 between remote equipment and user interface are illustrated.Wherein, feasible
The closed region that path 30 is illustrated by black thick line, the track that feasible path 40 is illustrated by black thick line, when feasible path is
It, can be using any bar track in area of feasible solutions as the feasible trajectory when track.
It continues to refer to figure 1, the display methods of user interface provided in this embodiment further include:
Step S101 determines operating position of the user relative to the user interface based on the feasible path.
It in view of user to user interface carries out operation is only found based on the operating position relative to user interface
One suitable operating position, operating position relative to the angle of station user interface meet the visual field require, it is between the two
Distance relatively and is suitable for operating (the arm distance that distance is at least less than user) again, then, then it can determine and be adapted to this
When equipment installation environment a better position.
It based on the above principles, can be for the specific implementation procedure of the equipment installation environment illustrative step S101 of Fig. 5:
From above-mentioned analysis it is found that each element position of matrix represents the unit in equipment installation environment in Fig. 5
Subregion in region namely Fig. 2 can directly determine the preferable operating position of user using the feasible path 30 in Fig. 5:
Obtain the distance and angle of all subregion on the feasible path to user interface;
It selects close to user interface and angle meets the feasible subregion in the visual field as the preferable operating position.
Here, it can be appreciated that in Fig. 5 the second row third column, the first row of the third line and third column and fourth line member
Constituent parts region constitutes the feasible path in the equipment installation environment that element represents, it is understood that, on the feasible path
All subregion be subregion (feasible path pass through subregion be certainly feasible subregion) that the feasible path passes through.
Since unit area is equal by the present embodiment with the definition of subregion in Fig. 2, it is believed that it is above-mentioned acquire operating position during,
The subregion is unit area.
In the calculating of distance and angle to all subregion to user interface, can using the central point of all subregion as
Point is calculated, makees all subregion on each feasible path and is calculated and compared, most to the line of user interface region central point
The subregion on the feasible path for having preferable distance and angle is calculated eventually, using the subregion as the preferable operative position
It sets.
Certainly, in other embodiments, the preferable operation of user can also be directly determined using the feasible path 40 in Fig. 5
Position:
The distance and angle in the region near feasible path to user interface are obtained according to the feasible path;
It selects close to user interface and angle meets region near the feasible path in the visual field as the operating position.
Here, feasible path is that a track can in the calculating of distance and angle to all subregion to user interface
To make on feasible path each position point to user interface region center using each position point on feasible path as point is calculated
The line of point, is calculated and compared, the location point on the feasible path for having preferable distance and angle is finally calculated, will
Region near the location point is as preferable operating position.
It continues to refer to figure 1, the display methods of user interface provided in this embodiment further include:
Step S102 sets the operation interface of user interface according to the operating position.
The user interface that plurality of display modes can be set in computer in advance, sets user according to the operating position
The operation interface at interface includes: to have stored one of user interface according to operating position selection.
And according to identified preferable operating position, it can also be pressed in design by user interface different subregions sub-module
Carry out the final display pattern at organizing user interface according to the layout structure of optimization.The behaviour of user interface is set according to the operating position
At least one of make interface further include: in the location and shape based on selected user interface adjustment operation interface.
The present embodiment is also provided with a kind of adjustment mode of more specifically user interface:
According to the distance between the operating position and user interface and angle, setting user in the user interface can
Opereating specification;
So that the operation interface is placed in shown user in opereating specification and can form operation interface adjusted.
Above-mentioned adjustment mode based on technical idea are as follows: suitable operating position limit by equipment installation environment, use
The visual field at family and apart from the attainable certain customers' interface zone of institute, can be set to common operation interface, make user can
Interface operation can be effectively performed on walking along the street diameter.
It will be understood by those skilled in the art that all or part of the display methods of the user interface of above-described embodiment is can
It is completed with instructing relevant hardware by program, the program can store in computer readable storage medium, institute
Stating storage medium can be ROM, RAM, magnetic disk, CD etc..
Although the invention has been described by way of example and in terms of the preferred embodiments, but it is not for limiting the present invention, any this field
Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair
Bright technical solution makes possible variation and modification, therefore, anything that does not depart from the technical scheme of the invention, and according to the present invention
Technical spirit any simple modifications, equivalents, and modifications to the above embodiments, belong to technical solution of the present invention
Protection scope.