Summary of the invention
Based on this, it is necessary to provide a kind of scaled results and the lesser image-scaling method of anticipation deviation and terminal.
A kind of image display control method, the method includes:
It receives user and passes through the multiple control points for performing image display control that posture action is inputted, described image is shown
Control is image scaling control and/or picture contrast control and/or image sharpness control and/or color saturation of image control
System;
According to the multiple control point, fixed position relative corresponding to user's limbs and phase in the posture action are detected
To shift position, control point corresponding to the fixed position relative is determined as to control anchor point, by the relative movement position
Corresponding control point is set to be determined as controlling change point;
Centered on the control anchor point, believed according to the change in location between the control anchor point and control change point
Breath carries out display control to described image;
When detecting that the control anchor point disappears, and detected in the preset time after the control anchor point disappears
The change information of the control change point, then centered on position corresponding before the control anchor point disappearance, according to described
The change in location information for controlling anchor point and controlling between change point carries out display control to described image.
In one embodiment, described image display control is image scaling control, and the control anchor point is scaling
Anchor point, the control change point is scaling change point, described centered on the control anchor point, is positioned according to the control
The step of change in location information between point and control change point carries out display control to described image specifically includes:
The change information for detecting the scaling change point, when detecting the scaling change point far from the scaling anchor point
When, then described image is zoomed in or out centered on the scaling anchor point;When detecting that the scaling change point leans on
When the nearly scaling anchor point, then described image is zoomed in or out centered on the scaling anchor point.
In one embodiment, described image display control be picture contrast control and/or image sharpness control and/
Or color saturation of image control, the control anchor point are to adjust datum mark, the control change point is to adjust change point, institute
It states centered on the control anchor point, according to the change in location information between the control anchor point and control change point to institute
The step of image carries out display control is stated to specifically include:
The change information for adjusting change point is detected, when detecting the adjusting change point far from the adjusting datum mark
When, then increase or reduce described image contrast and/or image sharpness and/or color saturation of image;When detecting the tune
When saving change point close to the adjusting datum mark, then described image contrast and/or image sharpness and/or image is decreased or increased
Color saturation.
In one embodiment, the posture action includes gesture motion, fixed hand in the gesture motion
Refer to that corresponding fixed position relative, the fixed position relative correspond to the control anchor point, the hand moved in the gesture motion
Refer to that corresponding displaced posi, the displaced posi correspond to the control change point;The control anchor point and/or control
Change point is located in described image, or is located at except described image.
In one embodiment, described image is three-dimensional image or hologram, and the multiple control point is located at
In solid space.
A kind of terminal, the terminal include:
Input module passes through the multiple controls for performing image display control that posture action is inputted for receiving user
Point;
Detection module, for detecting phase corresponding to user's limbs in the posture action according to the multiple control point
To fixed position and displaced posi, control point corresponding to the fixed position relative is determined as to control anchor point, it will
Control point corresponding to the displaced posi is determined as controlling change point;
Image processing module, for being changed centered on the control anchor point according to the control anchor point and control
Change in location information between point carries out display control to described image;
Described image processing module is also used to work as the detection module and detects that the control anchor point disappears, and described
The change information that the control change point is detected in preset time after control anchor point disappearance, then with the control anchor point
Before disappearing centered on corresponding position, according to the change in location information between the control anchor point and control change point to institute
It states image and carries out display control.
In one embodiment, described image display control is image scaling control, and the control anchor point is scaling
Anchor point, the control change point is scaling change point, described centered on the control anchor point;
The detection module is also used to detect the change information of the scaling change point,
Described image processing module is used to detect that the scaling change point is fixed far from the scaling when the detection module
When site, then described image is zoomed in or out centered on the scaling anchor point;When the detection module detects
When the scaling change point is close to the scaling anchor point, then described image is reduced centered on the scaling anchor point
Or amplification.
In one embodiment, described image display control be picture contrast control and/or image sharpness control and/
Or color saturation of image control, the control anchor point are to adjust datum mark, the control change point is to adjust change point,
It is described centered on the control anchor point, according to it is described control anchor point and control change point between position become
Change the step of information carries out display control to described image to specifically include:
The detection module is also used to detect the change information for adjusting change point,
Described image processing module is used to detect the adjusting change point far from the adjusting base when the detection module
When on schedule, then described image contrast and/or image sharpness and/or color saturation of image are increased or reduced;When the detection
When module detects the adjusting change point close to the adjusting datum mark, then be decreased or increased described image contrast and/or
Image sharpness and/or color saturation of image.
In one embodiment, the posture action includes gesture motion, fixed hand in the gesture motion
Refer to that corresponding fixed position relative, the fixed position relative correspond to the control anchor point, the hand moved in the gesture motion
Refer to that corresponding displaced posi, the displaced posi correspond to the control change point;The control anchor point and/or control
Change point is located in described image, or is located at except described image.
In one embodiment, described image is three-dimensional image or hologram, and the multiple control point is located at
In solid space.
By above-mentioned image-scaling method and device, user only need to disposably be operated, can be with the scaling center of anticipation
Display controls are zoomed in and out etc. to image, solve the problems, such as that conventional zoom center is uncontrollable, so that the image after scaling
It is smaller with the result error of anticipation.
Specific embodiment
As shown in Figure 1, its step flow chart for being a preferred embodiment of the present invention image-scaling method, including walk as follows
Suddenly:
Step S101 receives user and passes through the multiple control points for performing image display control that posture action is inputted.
Described image can be three-dimensional image, be also possible to two-dimensional image.Described image is 3 dimensional drawing
When picture or hologram, the multiple control point is located in solid space.Hologram can by projection enhancing system realize,
It is made of two spectacle lens and one " desktop ", and two micro projectors are installed on each frame.Each projector
It transmits on solid 3D fluoroscopy images to this reflex reflection plane (using interference and diffraction principle), is installed with one between projector
Micro-camera can be identified with the infrared identification on the plane of scanning motion.The camera has a built-in tracking and identifying system, can detect
To the mild action of player's glasses and hand.The infrared identification mark is the control point of user's input, using with infrared head
Operating stick realize, for the infrared head such as mouse pointer, user can choose any coordinate points in 3-D image.Two dimensional image can
Being shown by touch screen, touch screen can be with condenser type, resistance-type or infrared touch panel.User is touched with multiple finger touch
Multiple control points can be inputted by touching screen.
Step S102 is detected relatively solid corresponding to user's limbs in the posture action according to the multiple control point
Positioning is set and displaced posi, and control point corresponding to the fixed position relative is determined as to control anchor point, will be described
Control point corresponding to displaced posi is determined as controlling change point.
The fixed limbs of fixed position relative corresponding to user's limbs and displaced posi, i.e. user or shifting
Fixed position relative caused by dynamic limbs and displaced posi, both positions can be located immediately at the limbs of user
On, it is also possible to every the empty limbs for corresponding to user;Correspondingly, control anchor point and control change point can be located at user's limbs
On, it can also be located on image.Such as flat image, if the positive user oriented of flat image, control point is either located at
On user's limbs, or it is located on image, it is the same for finally carrying out the effect of display control to image.
The posture action includes gesture motion, the corresponding relatively fixed position of fixed finger in the gesture motion
It sets, the fixed position relative generates the control anchor point, the corresponding relative movement position of the finger moved in the gesture motion
It sets, the displaced posi generates the control change point;The control anchor point and/or control change point are located at the figure
As upper, or it is located at except described image.
Posture action is the three-dimensional motion track of multiple infrared marks in three-dimensional image.The posture action of touch screen is
The motion track of multiple touch points.
About the multi-point touch of touch screen, (also known as multiplex touch control, multiple spot induction, multiplex induction, English is translated into Multi-
Touch) be the technology realized jointly using human-computer interaction technology and hardware device, can no conventional input device (such as:Mouse
Mark, keyboard etc.) under carry out computer man-machine interactive operation.Multiple point touching technology, can constitute a touch screen (screen, desktop,
Wall etc.) or Trackpad, the man-machine interactive operation that multiple points on screen carry out computer can be received simultaneously.
Step S103, centered on the control anchor point, according between the control anchor point and control change point
Change in location information carries out display control to described image.
Described image display control is zoom control and/or picture contrast control and/or image sharpness control and/or figure
As color saturation controls.
By taking described image display control is image scaling control as an example, the control anchor point is scaling anchor point, described
Controlling change point is scaling change point, described centered on the control anchor point, is become according to the control anchor point and control
Change the step of change in location information between point carries out display control to described image to specifically include:
The change information for detecting the scaling change point, when detecting the scaling change point far from the scaling anchor point
When, then described image is zoomed in or out centered on the scaling anchor point;When detecting that the scaling change point leans on
When the nearly scaling anchor point, then described image is zoomed in or out centered on the scaling anchor point.
The scaling anchor point refer to the control point without mobile or moving range within preset range, determining should
Control point is scaling anchor point.
It is more than preset range that the scaling change point, which refers to that mobile or moving range occurs for the control point, then determines the control
System point is scaling change point.
There are many modes zoomed in and out according to distance change, in the present embodiment, detects the movement of the scaling change point,
When detecting the scaling change point far from the scaling anchor point, then described image is amplified, it is described when detecting
When scaling change point close to the scaling anchor point, then described image is reduced.When image is three-dimensional image, contracting
Site blow-down and scaling change point can be located in three-dimensional space, and scale anchor point and scaling change point and do not go out in same plane
Interior, scaling change point moves in space relative to scaling anchor point, to control the scaling to three-dimensional image.
As shown in Figures 2 and 3, using image-scaling method shown in FIG. 1, the effect of image scaling is carried out using two o'clock touch-control
Fruit schematic diagram.
Please referring initially to Fig. 2, pattern 300 is shown on touch screen 200, A point and B point are the initial position at two control points.
When detecting that A point is motionless, as scaling anchor point, B are determined as that image scaling refers to the position movement far from A point
It enables.
Scaling is calculated according to default A point and B point distance change size and scaling relationships.The present embodiment
In, distance becomes larger, and corresponding scaling is amplification, and distance becomes smaller, and corresponding scaling is to reduce.And the distance change value with
The scaling is proportional.For example, the amplification of pattern 300 1% increases by two millimeters if B point increases by one millimeter at a distance from A point,
The amplification of pattern 300 2%.If B point reduces one millimeter at a distance from A point, pattern 300 reduces 1%, and so on.It is appreciated that
Scaling can be arbitrarily arranged on demand.
Please refer to Fig. 3, after B point is far from the movement of A point, pattern 300 is centered on A point, i.e. the corresponding pattern content of A point
Coordinate on touch screen 200 remains unchanged, and pattern 300 is amplified.
In this way, user only needs disposably to operate (while pressing two fingers), just by above-mentioned image display control method
Image can be zoomed in and out with the scaling center of anticipation, solve the problems, such as that conventional zoom center is uncontrollable, so that contracting
The result error of image and anticipation after putting is smaller.And using fixed point as described image contrast and/or image sharpness and/
Or the adjusting datum mark of color saturation of image, another mobile finger can complete described image contrast and/or image
The adjusting of acutance and/or color saturation of image operates, and provides convenience for user's operation.
When control point is more than two, the calculating of scaling can be calculated according to biggish control point is displaced, can also root
It is calculated according to lesser control point is displaced, can also be according to the line mid-point computation, etc. at the control point of multiple movements, calculation can
It is set as needed.
It is controlled using described image display control as picture contrast and/or image sharpness controls and/or image color saturation
For degree control, the control anchor point is to adjust datum mark, and the control change point is to adjust change point, described with the control
Centered on formulating site, described image is carried out according to the change in location information between the control anchor point and control change point
The step of display control, specifically includes:
The change information for adjusting change point is detected, when detecting the adjusting change point far from the adjusting datum mark
When, then increase or reduce described image contrast and/or image sharpness and/or color saturation of image;When detecting the tune
When saving change point close to the adjusting datum mark, then described image contrast and/or image sharpness and/or image is decreased or increased
Color saturation.
In other embodiments, above-mentioned image display control method may also include the steps of:
When detecting that the control anchor point disappears, and detected in the preset time after the control anchor point disappears
The change information of the control change point, then centered on position corresponding before the control anchor point disappearance, according to described
The change in location information for controlling anchor point and controlling between change point carries out display control to described image.
It is shown relative to 3 D stereo, the scaling anchor point, which disappears, can be the infrared mark closed as scaling anchor point
Know.Relative to touch screen, the scaling anchor point disappearance is user as the finger of scaling anchor point and leaves touch screen, below
It is illustrated by taking touch screen as an example.
User as the finger of scaling anchor point leaves touch screen or after all fingers leaves touch screen, in preset time
It is interior, in 0.5-3 seconds, detect that single control point or multiple control points are moved on the touchscreen, then still with original contracting
Centered on site location blow-down, described image is scaled with the distance change of the control point of new movement and original scale anchor point.
Parts of images is blocked in this way, avoiding scaling anchor point finger, allows users to see more complete image scaling in real time
As a result.
As shown in figure 4, its functional block diagram for being a preferred embodiment of the present invention terminal 40, including:
Input module 401 passes through the multiple controls for performing image display control that posture action is inputted for receiving user
Point processed.
Described image is two dimensional image, and on the multiple control point and image, described image is for three-dimensional image or entirely
Retire into private life picture, the multiple control point is located in solid space.
Detection module 402, for detecting in the posture action corresponding to user's limbs according to the multiple control point
Control point corresponding to the fixed position relative is determined as controlling anchor point by fixed position relative and displaced posi,
Control point corresponding to the displaced posi is determined as to control change point.
The fixed limbs of fixed position relative corresponding to user's limbs and displaced posi, i.e. user or shifting
Fixed position relative caused by dynamic limbs and displaced posi, both positions can be located immediately at the limbs of user
On, it is also possible to every the empty limbs for corresponding to user;Correspondingly, control anchor point and control change point can be located at user's limbs
On, it can also be located on image.Such as flat image, if the positive user oriented of flat image, control point is either located at
On user's limbs, or it is located on image, it is the same for finally carrying out the effect of display control to image.
The posture action includes gesture motion, the corresponding relatively fixed position of fixed finger in the gesture motion
It sets, the fixed position relative generates the control anchor point, the corresponding relative movement position of the finger moved in the gesture motion
It sets, the displaced posi generates the control change point;The control anchor point and/or control change point are located at the figure
As upper, or it is located at except described image.
Image processing module 403, for being become centered on the control anchor point according to the control anchor point and control
The change in location information changed between point carries out display control to described image.
Described image display control is zoom control and/or picture contrast control and/or image sharpness control and/or figure
As color saturation controls.
By taking described image display control is image scaling control as an example, the control anchor point is scaling anchor point, described
Controlling change point is scaling change point, described centered on the control anchor point;
The detection module 402 is also used to detect the change information of the scaling change point.
Described image processing module 403 is used to detect the scaling change point far from described when the detection module 402
When scaling anchor point, then described image is zoomed in or out centered on the scaling anchor point;When the detection module
402 when detecting the scaling change point close to the scaling anchor point, then to the figure centered on the scaling anchor point
As being zoomed in or out.
It is controlled using described image display control as picture contrast and/or image sharpness controls and/or image color saturation
For degree control, the control anchor point is to adjust datum mark, and the control change point is to adjust change point,
It is described centered on the control anchor point, according to it is described control anchor point and control change point between position become
Change the step of information carries out display control to described image to specifically include:
The detection module 402 is also used to detect the change information for adjusting change point.
Described image processing module 403 is used to detect the adjusting change point far from described when the detection module 402
When adjusting datum mark, then described image contrast and/or image sharpness and/or color saturation of image are increased or reduced;Work as institute
When stating detection module 402 and detecting the adjusting change point close to the adjusting datum mark, then described image pair is decreased or increased
Than degree and/or image sharpness and/or color saturation of image.
By above-mentioned terminal 40, user only needs disposably to operate (while pressing two fingers), can be with the contracting of anticipation
It puts center to zoom in and out image, solves the problems, such as that conventional zoom center is uncontrollable, so that image after scaling and pre-
The result error thought is smaller.And it is saturated using fixed point as described image contrast and/or image sharpness and/or image color
The adjusting datum mark of degree, another mobile finger can complete described image contrast and/or image sharpness and/or pattern colour
The adjusting of color saturation degree operates, and provides convenience for user's operation.
In other embodiments, described image processing module 403 is used to detect that the control is fixed when the detection module 402
Site disappears, and the change information of the control change point is detected in the preset time after the control anchor point disappears,
Then centered on position corresponding before the control anchor point disappearance, according between the control anchor point and control change point
Change in location information to described image carry out display control.In this way, avoiding scaling anchor point finger or infrared mark to portion
Partial image blocks, and allows users to see more complete image scaling result in real time.
In the present embodiment, when the detection module 402 detects the scaling change point far from the scaling anchor point,
Then described image processing module 403 amplifies described image, when the detection module 402 detects the scaling variation
When point is close to the scaling anchor point, then described image processing module 403 reduces described image.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.