Summary of the invention
Based on this, be necessary the image-scaling method and the terminal that provide a kind of scaled results less with anticipation deviation.
An image display control method, described method comprises:
Receive a plurality of reference mark of carrying out image demonstration control that user inputs by posture action;
According to described a plurality of reference mark, detect the corresponding relative fixed position of user's limbs and the position that relatively moves in described posture action, corresponding reference mark, described relative fixed position is defined as controlling anchor point, and the corresponding reference mark, position that relatively moves described in inciting somebody to action is defined as controlling change point;
Centered by described control anchor point, according to the change in location information between described control anchor point and control change point, described image is shown to control.
In one of them embodiment, described image shows to be controlled as image scaling control, described control anchor point is convergent-divergent anchor point, described control change point is convergent-divergent change point, described centered by described control anchor point, according to the change in location information between described control anchor point and control change point, described image is shown to the step of controlling specifically comprises:
Detect the change information of described convergent-divergent change point, when described convergent-divergent change point being detected away from described convergent-divergent anchor point, centered by described convergent-divergent anchor point, described image is zoomed in or out; When described convergent-divergent change point being detected near described convergent-divergent anchor point, centered by described convergent-divergent anchor point, described image is dwindled or amplified.
In one of them embodiment, described image shows to be controlled as picture contrast control and/or image sharpness control and/or color saturation of image control, described control anchor point is for regulating reference point, described control change point is for regulating change point, described centered by described control anchor point, according to the change in location information between described control anchor point and control change point, described image is shown to the step of controlling specifically comprises:
Detect the change information of described adjusting change point, when described adjusting change point being detected away from described adjusting reference point, increase or reduce described picture contrast and/or image sharpness and/or color saturation of image; When described adjusting change point being detected near described adjusting reference point, reduce or increase described picture contrast and/or image sharpness and/or color saturation of image.
In one of them embodiment, described posture action comprises gesture motion, the corresponding fixed position relatively of fixed finger in described gesture motion, the corresponding described control anchor point in described relative fixed position, the mobile finger correspondence position that relatively moves in described gesture motion, described in the corresponding described control change point in position that relatively moves; Described control anchor point and/or control change point are positioned on described image, or are positioned at outside described image.
In one of them embodiment, described image is three-dimensional image or hologram, and described a plurality of reference mark are positioned at solid space.
A terminal, described terminal comprises:
Load module, a plurality of reference mark of carrying out image demonstration control of inputting by posture action for receiving user;
Detection module, be used for according to described a plurality of reference mark, detect the corresponding relative fixed position of user's limbs and the position that relatively moves in described posture action, corresponding reference mark, described relative fixed position is defined as controlling anchor point, and the corresponding reference mark, position that relatively moves described in inciting somebody to action is defined as controlling change point;
Image processing module, for centered by described control anchor point, shows control according to the change in location information between described control anchor point and control change point to described image.
In one of them embodiment, described image shows to control as image scaling to be controlled, and described control anchor point is convergent-divergent anchor point, and described control change point is convergent-divergent change point, described centered by described control anchor point;
Described detection module is also for detection of the change information of described convergent-divergent change point,
Described image processing module, for when described detection module detects described convergent-divergent change point away from described convergent-divergent anchor point, zooms in or out described image centered by described convergent-divergent anchor point; When described detection module detects described convergent-divergent change point near described convergent-divergent anchor point, centered by described convergent-divergent anchor point, described image is dwindled or amplified.
In one of them embodiment, described image shows to control as picture contrast to be controlled and/or image sharpness control and/or color saturation of image control, and described control anchor point is for regulating reference point, and described control change point is adjusting change point,
Described centered by described control anchor point, according to the change in location information between described control anchor point and control change point, described image is shown to the step of controlling specifically comprises:
Described detection module is also for detection of the change information of described adjusting change point,
Described image processing module, for when described detection module detects described adjusting change point away from described adjusting reference point, increases or reduces described picture contrast and/or image sharpness and/or color saturation of image; When described detection module detects described adjusting change point near described adjusting reference point, reduce or increase described picture contrast and/or image sharpness and/or color saturation of image.
In one of them embodiment, described posture action comprises gesture motion, the corresponding fixed position relatively of fixed finger in described gesture motion, the corresponding described control anchor point in described relative fixed position, the mobile finger correspondence position that relatively moves in described gesture motion, described in the corresponding described control change point in position that relatively moves; Described control anchor point and/or control change point are positioned on described image, or are positioned at outside described image.
In one of them embodiment, described image is three-dimensional image or hologram, and described a plurality of reference mark are positioned at solid space.
By above-mentioned image-scaling method and device, user only needs disposable operation, just can to image, carry out convergent-divergent etc. with the convergent-divergent center of anticipation and show and control, solve the uncontrollable problem in traditional convergent-divergent center, thereby make the result error of image after convergent-divergent and anticipation less.
Embodiment
As shown in Figure 1, the flow chart of steps of its image-scaling method that is a preferred embodiment of the present invention, comprises the steps:
Step S101, receives a plurality of reference mark of carrying out image demonstration control that user inputs by posture action.
Described image can be three-dimensional image, can be also two-dimensional image.When described image is three-dimensional image or hologram, described a plurality of reference mark are positioned at solid space.Hologram can realize by projection enhancing system, and it consists of two lenses and one " desktop ", and two micro projectors are installed on each frame.Each projector transmits three-dimensional 3D fluoroscopy images and (utilize interference and diffraction principle) to this reflex reflection plane, and a micro-camera is installed between projector, the infrared identification marking on can the plane of scanning motion.This camera has a built-in tracking and identifying system, can detect the mild action of player's glasses and hand.Described infrared identification marking is the reference mark of user's input, adopts with the control lever of infrared head and realizes, and this infrared head is as mouse pointer, and user can choose arbitrary coordinate points in 3-D view.Two dimensional image can be to show by touch-screen, and touch-screen can condenser type, resistance-type or infrared touch panel.User can input a plurality of reference mark with a plurality of finger touch touch-screens.
Step S102, according to described a plurality of reference mark, detect the corresponding relative fixed position of user's limbs and the position that relatively moves in described posture action, corresponding reference mark, described relative fixed position is defined as controlling anchor point, and the corresponding reference mark, position that relatively moves described in inciting somebody to action is defined as controlling change point.
The corresponding relative fixed position of user's limbs and the position that relatively moves, be relative fixed position and the position that relatively moves that the fixed limbs of user or mobile limbs produce, these two kinds of positions can be located immediately on user's limbs, can be also the limbs corresponding to user every sky; Accordingly, control anchor point and can be positioned on user's limbs with control change point, also can be positioned on image.Plane picture for example, if the positive user oriented of plane picture, reference mark, no matter be to be positioned on user's limbs, is still positioned on image so, finally image is shown to the effect of control is the same.
Described posture action comprises gesture motion, the corresponding fixed position relatively of fixed finger in described gesture motion, described relative fixed position produces described control anchor point, the mobile finger correspondence position that relatively moves in described gesture motion, described in the position that relatively moves produce described control change point; Described control anchor point and/or control change point are positioned on described image, or are positioned at outside described image.
The three-dimensional motion track that in three-dimensional image, posture action is a plurality of infrared signs.The posture action of touch screen is the motion track of a plurality of touch points.
Multi-point touch about touch-screen (claims again multiplex touch control, multiple spot induction, multiplex induction, English is translated into Multi-Touch) be to adopt human-computer interaction technology and the common technology realizing of hardware device, can be in the man-machine interactive operation that there is no to carry out under traditional input equipment (as: mouse, keyboard etc.) computing machine.Multiple point touching technology, can form a touch-screen (screen, desktop, wall etc.) or Trackpad, can both accept to carry out from a plurality of points on screen the man-machine interactive operation of computing machine simultaneously.
Step S103, centered by described control anchor point, shows control according to the change in location information between described control anchor point and control change point to described image.
Described image shows control for convergent-divergent control and/or picture contrast is controlled and/or image sharpness is controlled and/or color saturation of image is controlled.
The described image of take shows that it is example that control is controlled as image scaling, described control anchor point is convergent-divergent anchor point, described control change point is convergent-divergent change point, described centered by described control anchor point, according to the change in location information between described control anchor point and control change point, described image is shown to the step of controlling specifically comprises:
Detect the change information of described convergent-divergent change point, when described convergent-divergent change point being detected away from described convergent-divergent anchor point, centered by described convergent-divergent anchor point, described image is zoomed in or out; When described convergent-divergent change point being detected near described convergent-divergent anchor point, centered by described convergent-divergent anchor point, described image is dwindled or amplified.
Described convergent-divergent anchor point refers to that the not mobile or moving range at this reference mark, within preset range, judges that this reference mark is as convergent-divergent anchor point.
Described convergent-divergent change point refers to that this reference mark is moved or moving range surpasses preset range, judges that this reference mark is as convergent-divergent change point.
The mode of carrying out convergent-divergent according to change of distance has multiple, in the present embodiment, detect the action of described convergent-divergent change point, when described convergent-divergent change point being detected away from described convergent-divergent anchor point, described image is amplified, when described convergent-divergent change point being detected near described convergent-divergent anchor point, described image is dwindled.When image is three-dimensional image, convergent-divergent anchor point and convergent-divergent change point can be positioned at three dimensions, and convergent-divergent anchor point and convergent-divergent change point do not go out in same plane, and convergent-divergent change point moves in space with respect to convergent-divergent anchor point, to control the convergent-divergent to three-dimensional image.
As shown in Figures 2 and 3, adopt the image-scaling method shown in Fig. 1, utilize 2 touch-controls to carry out the effect schematic diagram of image scaling.
Please first consult Fig. 2, show pattern 300 on touch screen 200, A point and B point are the reference position at two reference mark.
When detecting, A point is motionless, is convergent-divergent anchor point, and B moves to the position of ordering away from A, is judged to be image scaling instruction.
Scaling is according to default A point and B point change of distance is big or small and scaling relationships calculates.In the present embodiment, it is large that distance becomes, and corresponding scaling is for amplifying, and distance diminishes, and corresponding scaling is for dwindling.And described change of distance value and described scaling are proportional.For example, if the distance that B point and A are ordered increases by one millimeter, pattern 300 amplifies 1%, increases by two millimeters, and pattern 300 amplifies 2%.If the distance that B point and A are ordered reduces one millimeter, pattern 300 dwindles 1%, by that analogy.Be appreciated that scaling can be arbitrarily by demand setting.
Please refer to Fig. 3, after B point is mobile away from A point, pattern 300 is centered by A point, and the coordinate of the pattern content that A point is corresponding on touch-screen 200 remains unchanged, and pattern 300 is exaggerated.
So, by above-mentioned image display control method, user only needs disposable operation (simultaneously pressing two fingers), just can to image, carry out convergent-divergent with the convergent-divergent center of anticipation, solve the uncontrollable problem in traditional convergent-divergent center, thereby made the result error of image after convergent-divergent and anticipation less.And using the adjusting reference point of fixed point as described picture contrast and/or image sharpness and/or color saturation of image, mobile another finger just can complete the adjustment operation of described picture contrast and/or image sharpness and/or color saturation of image, for user's operation provides convenience.
When reference mark surpasses two, the calculating of scaling can be calculated according to the larger reference mark of displacement, also can calculate according to the less reference mark of displacement, also can be according to the line mid-point computation at the reference mark of a plurality of movements, etc., account form can be set as required.
The described image of take shows control as picture contrast control and/or image sharpness is controlled and/or color saturation of image control is example, described control anchor point is for regulating reference point, described control change point is for regulating change point, described centered by described control anchor point, according to the change in location information between described control anchor point and control change point, described image is shown to the step of controlling specifically comprises:
Detect the change information of described adjusting change point, when described adjusting change point being detected away from described adjusting reference point, increase or reduce described picture contrast and/or image sharpness and/or color saturation of image; When described adjusting change point being detected near described adjusting reference point, reduce or increase described picture contrast and/or image sharpness and/or color saturation of image.
In other embodiment, above-mentioned image display control method also can comprise the steps:
When described control anchor point being detected, disappear, and the change information of described control change point in the Preset Time after described control anchor point disappears, detected, before disappearing, described control anchor point centered by corresponding position, according to the change in location information between described control anchor point and control change point, described image is shown to control.
With respect to 3 D stereo, show, it can be the infrared sign of closing as convergent-divergent anchor point that described convergent-divergent anchor point disappears.With respect to touch-screen, described convergent-divergent anchor point disappears, and to be user leave touch-screen as the finger of convergent-divergent anchor point, and the touch-screen of take below describes as example.
User leaves touch-screen as the finger of convergent-divergent anchor point or all fingers leave after touch-screen, in Preset Time, if 0.5-3 is in second, single reference mark detected or a plurality of reference mark is moved on touch-screen, still centered by original scale locating point position, with image described in the reference mark of new movement and the change of distance convergent-divergent of original scale anchor point.So, avoided convergent-divergent anchor point finger to the blocking of parts of images, made the user can see in real time more complete image scaling result.
As shown in Figure 4, the functional block diagram of its terminal that is a preferred embodiment of the present invention 40, comprising:
Load module 401, a plurality of reference mark of carrying out image demonstration control of inputting by posture action for receiving user.
Described image is two dimensional image, and on described a plurality of reference mark and image, described image is three-dimensional image or hologram, and described a plurality of reference mark are positioned at solid space.
Detection module 402, be used for according to described a plurality of reference mark, detect the corresponding relative fixed position of user's limbs and the position that relatively moves in described posture action, corresponding reference mark, described relative fixed position is defined as controlling anchor point, and the corresponding reference mark, position that relatively moves described in inciting somebody to action is defined as controlling change point.
The corresponding relative fixed position of user's limbs and the position that relatively moves, be relative fixed position and the position that relatively moves that the fixed limbs of user or mobile limbs produce, these two kinds of positions can be located immediately on user's limbs, can be also the limbs corresponding to user every sky; Accordingly, control anchor point and can be positioned on user's limbs with control change point, also can be positioned on image.Plane picture for example, if the positive user oriented of plane picture, reference mark, no matter be to be positioned on user's limbs, is still positioned on image so, finally image is shown to the effect of control is the same.
Described posture action comprises gesture motion, the corresponding fixed position relatively of fixed finger in described gesture motion, described relative fixed position produces described control anchor point, the mobile finger correspondence position that relatively moves in described gesture motion, described in the position that relatively moves produce described control change point; Described control anchor point and/or control change point are positioned on described image, or are positioned at outside described image.
Image processing module 403, for centered by described control anchor point, shows control according to the change in location information between described control anchor point and control change point to described image.
Described image shows control for convergent-divergent control and/or picture contrast is controlled and/or image sharpness is controlled and/or color saturation of image is controlled.
The described image of take shows that it is example that control is controlled as image scaling, and described control anchor point is convergent-divergent anchor point, and described control change point is convergent-divergent change point, described centered by described control anchor point;
Described detection module 402 is also for detection of the change information of described convergent-divergent change point.
Described image processing module 403, for when described detection module 402 detects described convergent-divergent change point away from described convergent-divergent anchor point, zooms in or out described image centered by described convergent-divergent anchor point; When described detection module 402 detects described convergent-divergent change point near described convergent-divergent anchor point, centered by described convergent-divergent anchor point, described image is dwindled or amplified.
The described image of take shows control as picture contrast control and/or image sharpness is controlled and/or color saturation of image control is example, and described control anchor point is adjusting reference point, and described control change point is to regulate change point,
Described centered by described control anchor point, according to the change in location information between described control anchor point and control change point, described image is shown to the step of controlling specifically comprises:
Described detection module 402 is also for detection of the change information of described adjusting change point.
Described image processing module 403, for when described detection module 402 detects described adjusting change point away from described adjusting reference point, increases or reduces described picture contrast and/or image sharpness and/or color saturation of image; When described detection module 402 detects described adjusting change point near described adjusting reference point, reduce or increase described picture contrast and/or image sharpness and/or color saturation of image.
By above-mentioned terminal 40, user only needs disposable operation (simultaneously pressing two fingers), just can to image, carry out convergent-divergent with the convergent-divergent center of anticipation, solve the uncontrollable problem in traditional convergent-divergent center, thereby make the result error of image after convergent-divergent and anticipation less.And using the adjusting reference point of fixed point as described picture contrast and/or image sharpness and/or color saturation of image, mobile another finger just can complete the adjustment operation of described picture contrast and/or image sharpness and/or color saturation of image, for user's operation provides convenience.
In other embodiment, described image processing module 403 disappears for described control anchor point detected when described detection module 402, and the change information of described control change point in the Preset Time after described control anchor point disappears, detected, before disappearing, described control anchor point centered by corresponding position, according to the change in location information between described control anchor point and control change point, described image is shown to control.So, avoided convergent-divergent anchor point finger or infrared sign to the blocking of parts of images, made the user can see in real time more complete image scaling result.
In the present embodiment, when described detection module 402 detects described convergent-divergent change point away from described convergent-divergent anchor point, 403 pairs of described images of described image processing module amplify, when described detection module 402 detects described convergent-divergent change point near described convergent-divergent anchor point, 403 pairs of described images of described image processing module dwindle.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.