Movatterモバイル変換


[0]ホーム

URL:


CN106383679A - Locating method and terminal device using same - Google Patents

Locating method and terminal device using same
Download PDF

Info

Publication number
CN106383679A
CN106383679ACN201610798466.XACN201610798466ACN106383679ACN 106383679 ACN106383679 ACN 106383679ACN 201610798466 ACN201610798466 ACN 201610798466ACN 106383679 ACN106383679 ACN 106383679A
Authority
CN
China
Prior art keywords
image
equipment
information
subset
rgb
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610798466.XA
Other languages
Chinese (zh)
Other versions
CN106383679B (en
Inventor
杨大业
宋建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing LtdfiledCriticalLenovo Beijing Ltd
Priority to CN201610798466.XApriorityCriticalpatent/CN106383679B/en
Publication of CN106383679ApublicationCriticalpatent/CN106383679A/en
Application grantedgrantedCritical
Publication of CN106383679BpublicationCriticalpatent/CN106383679B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

An embodiment of the invention provides a locating method. The locating method is characterized in that a first device and a second device are in a connected state. The locating method comprises the steps that the first device obtains a first image, wherein the first image is a subset of a second image, the second image is a complete image displayed by the second device, the second image includes a foreground image and a background image, the first image comprises a subset of the foreground image, and the first image further comprises a subset of the background image; and the first device determines the position of the first device relative to the second device according to color information of the first image. According to the locating method provided by the embodiment of the invention, the image displayed on the second device is obtained through the first device, so that the position of the first device relative to the second device can be determined, and the user experience can be improved without adding hardware equipment.

Description

A kind of localization method and its terminal unit
Technical field
The present invention relates to terminal display field, more particularly, to a kind of localization method and its terminal unit.
Background technology
Enhancing with smart mobile phone function and popularization, it has become as after PC, second letter of userBreath center, due to the advantage of the intrinsic hardware of PC (such as screen) and software (such as large-scale application software data),Increasing people needs the combination between computer and mobile phone to interact, and this interaction needs to be seamlessly connected two equipment, canMeet the Consumer's Experience of flow process it is not required that increasing extra hardware cost and back-end data process service, and reach this friendshipA mutual premise is the positioning between mobile phone and PC screen.Therefore, how to determine the relative position between user equipment, be oneIndividual problem demanding prompt solution.
Content of the invention
This law embodiment provides a kind of localization method, can determine the relative position between equipment.
In a first aspect, providing a kind of localization method, the first equipment and the second equipment to be in connection status, including:DescribedOne equipment obtains the first image, and wherein, described first image is the subset of the second image, and described second image sets for described secondThe complete image of standby display, described second image includes foreground image and background image, and described first image includes described prospectThe subset of image, described first image also includes the subset of described background image;Described first equipment is according to described first imageColor information, determine the position that described first equipment is with respect to described second equipment.
In conjunction with a first aspect, in the first possible implementation of first aspect, described according to described first imageColor information, determine the position that described first equipment is with respect to described second equipment, including:Obtain the color of described second imageMultimedia message, and described second image RGB RGB information is determined according to the color information of described second image;According to described firstThe color information of image determines the RGB RGB information of described first image;RGB information according to described first image with describedThe RGB information of the second image, determines described first equipment position with respect to described second equipment in the horizontal direction.
In conjunction with first aspect and its above-mentioned implementation, in the possible implementation of the second of first aspect, describedAccording to the color information of described first image, determine the position that described first equipment is with respect to described second equipment, including:ObtainThe information of the 3rd image, wherein, described 3rd image is the subset of the second image, and described 3rd image includes described foreground imageSubset, described 3rd image also includes the subset of described background image, described first equipment obtain during described three image withWhen described first equipment obtains described first image, different from the vertical dimension of described second equipment;According to described first imageColor information determine the RGB information of described first image;Described 3rd figure is determined according to the color information of described 3rd imageThe RGB information of picture;The RGB information of the RGB information according to described first image and described 3rd image obtains described first imageWith the aberration of described 3rd image, and determine described first equipment and described second equipment in vertical direction according to described aberrationDistance.
In conjunction with first aspect and its above-mentioned implementation, in the third possible implementation of first aspect, describedFirst equipment obtains the first image, including:The photographic head of the first equipment described in described first equipment utilization obtains described first figurePicture.
In conjunction with first aspect and its above-mentioned implementation, in the 4th kind of possible implementation of first aspect, describedMethod also includes:Send the positional information that described first equipment is with respect to described second equipment to described second equipment.
In conjunction with first aspect and its above-mentioned implementation, in the 5th kind of possible implementation of first aspect, describedMethod also includes:Described first equipment obtains the 4th image, and wherein, described 4th image only includes the subset of described foreground imageOr the subset of described background image;
Described first equipment sends configured information to described second equipment, and described configured information is used for indicating that described second setsDescribed second image of standby renewal, determines according to described second image after updating in order to described first equipment and sets with described secondStandby relative position.
Second aspect, provides a kind of localization method, the first equipment and the second equipment to be in connection status, including:DescribedTwo equipment show the second image, and described second image includes foreground image and background image;Described second equipment is according to describedThe color information of the first image that one equipment obtains, determines the position that described first equipment is with respect to described second equipment, wherein,Described first image is the subset of the second image, and described first image includes the subset of described foreground image, described first imageAlso include the subset of described background image.
In conjunction with second aspect, in the first possible implementation of second aspect, described second equipment is according to describedThe color information of the first image that the first equipment obtains, determines the position that described first equipment is with respect to described second equipment, bagInclude:The color information of described first image is obtained at described first equipment;According to the acquisition of information of described first imageThe RGB RGB information of the first image;RGB information according to described first image and the RGB information of described second image, determineThe described first equipment position in the horizontal direction with described second equipment relatively, wherein, the color information bag of described second imageInclude the RGB information of described second image.
In conjunction with second aspect and its above-mentioned implementation, in the possible implementation of the second of second aspect, describedAccording to the color information of described first image, determine the position that described first equipment is with respect to described second equipment, including:From instituteState the color information obtaining the 3rd image at the first equipment, wherein, described 3rd image is the subset of the second image, the described 3rdImage includes the subset of described foreground image, and described 3rd image also includes the subset of described background image, described first equipmentObtain during described three image and when described equipment obtains described first image, different from the vertical dimension of described second equipment;The color information of described first image is obtained at described first equipment;According to the acquiring color information of described first imageThe RGB information of the first image;RGB information according to described 3rd image the 3rd image described in acquiring color information;According to instituteThe RGB information of the RGB information and described 3rd image of stating the first image obtains the color of described first image and described 3rd imageDifference, and the described first equipment and described second equipment distance in vertical direction is determined according to described aberration.
In conjunction with second aspect and its above-mentioned implementation, in the third possible implementation of second aspect, describedMethod also includes:When the 4th image that described first equipment obtains only includes the subset of described foreground image or described background imageSubset when, receive the configured information that described first equipment sends, described configured information is used for indicating described second renewal of the equipmentDescribed second image, in order to described first equipment according to the new image of described second Image Acquisition after updating.
The third aspect, provides a kind of equipment, described equipment and the second equipment to be in connection status, including:
Acquiring unit, described acquiring unit is used for obtaining the first image, and wherein, described first image is the son of the second imageCollection, described second image is the complete image that described second equipment shows, described second image includes foreground image and BackgroundPicture, described first image includes the subset of described foreground image, and described first image also includes the subset of described background image;ReallyOrder unit, described determining unit is used for the color information according to described first image, determines described equipment with respect to described secondThe position of equipment.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described acquiring unit is used for obtainingThe color information of described second image, and described second image RGB RGB is determined according to the color information of described second imageInformation;Described determining unit is used for:Determine the RGB RGB letter of described first image according to the color information of described first imageBreath;The RGB information of the RGB information according to described first image and described second image, determines described equipment with respect to described theTwo equipment position in the horizontal direction.
In conjunction with the third aspect and its above-mentioned implementation, in the possible implementation of the second of the third aspect, describedAcquiring unit is used for:Obtain the information of the 3rd image, wherein, described 3rd image is the subset of the second image, described 3rd figureAs including the subset of described foreground image, described 3rd image also includes the subset of described background image, and described equipment obtains instituteState during three images and when described equipment obtains described first image, different from the vertical dimension of described second equipment;Described trueOrder unit is used for:Determine the RGB information of described first image according to the color information of described first image;According to described 3rd figureThe color information of picture determines the RGB information of described 3rd image;RGB information according to described first image and described 3rd imageRGB information obtain the aberration of described first image and described 3rd image, and described equipment and institute are determined according to described aberrationState the distance in vertical direction for second equipment.
In conjunction with the third aspect and its above-mentioned implementation, in the third possible implementation of the third aspect, describedAcquiring unit is used for obtaining described first image using the photographic head of described equipment.
In conjunction with the third aspect and its above-mentioned implementation, in the 4th kind of possible implementation of the third aspect, describedEquipment also includes:Transmitting element, described transmitting element is used for sending described equipment with respect to described second to described second equipmentThe positional information of equipment.
In conjunction with the third aspect and its above-mentioned implementation, in the 5th kind of possible implementation of the third aspect, describedAcquiring unit is used for:Obtain the 4th image, wherein, described 4th image only includes the subset of described foreground image or described backgroundThe subset of image;Transmitting element is used for sending configured information to described second equipment, and described configured information is used for indicating described theSecond image described in two renewal of the equipment, determines according to described second image after updating in order to described equipment and sets with described secondStandby relative position.
Fourth aspect, provides a kind of equipment, and the first equipment and described equipment are in connection status, including:Display unit, instituteState display unit for show the second image, described second image includes foreground image and background image;Determining unit, described trueThe color information of the first image for being obtained according to described first equipment for the order unit, determines described first equipment with respect to describedThe position of equipment, wherein, described first image is the subset of the second image, and described first image includes the son of described foreground imageCollection, described first image also includes the subset of described background image.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, it is used in described determining unit:FromThe color information of described first image is obtained at described first equipment;The first figure according to the acquisition of information of described first imageThe RGB RGB information of picture;The RGB information of the RGB information according to described first image and described second image, determines described theThe one equipment position in the horizontal direction with described equipment relatively, wherein, the color information of described second image includes described secondThe RGB information of image.
In conjunction with fourth aspect and its above-mentioned implementation, in the possible implementation of the second of fourth aspect, describedDetermining unit is used for:Obtain the color information of the 3rd image at described first equipment, wherein, described 3rd image is the second figureThe subset of picture, described 3rd image includes the subset of described foreground image, and described 3rd image also includes described background imageSubset, described first equipment obtains when obtaining described first image with described equipment during described three image, with described equipmentVertical dimension is different;The color information of described first image is obtained at described first equipment;Color according to described first imageMultimedia message obtains the RGB information of described first image;According to described 3rd image the 3rd image described in acquiring color informationRGB information;The RGB information of the RGB information according to described first image and described 3rd image obtains described first image and instituteState the aberration of the 3rd image, and the described first equipment and described equipment distance in vertical direction is determined according to described aberration.
In conjunction with fourth aspect and its above-mentioned implementation, in the third possible implementation of fourth aspect, describedEquipment also includes:Receiving unit, described receiving unit be used for when described first equipment obtain the 4th image only include described beforeDuring the subset of the subset of scape image or described background image, receive the configured information that described first equipment sends, described instruction letterCease for indicating the second image described in described renewal of the equipment, in order to described first equipment according to described second image after updatingObtain new image.
Therefore, the embodiment of the present invention passes through the image that the first equipment obtains display on the second equipment, can determine that first setsThe standby position relatively with the second equipment, in the case of not increasing hardware device, it is possible to increase Consumer's Experience.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, will make to required in the embodiment of the present invention belowAccompanying drawing be briefly described it should be apparent that, drawings described below is only some embodiments of the present invention, forFor those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawingsAccompanying drawing.
Fig. 1 is the schematic diagram of the application scenarios of one embodiment of the invention.
Fig. 2 is the indicative flowchart of the method for one embodiment of the invention.
Fig. 3 is the indicative flowchart of the method for another embodiment of the present invention.
Fig. 4 is the indicative flowchart of the method for another embodiment of the present invention.
Fig. 5 is the indicative flowchart of another embodiment of the present invention.
Fig. 6 is the schematic diagram of the equipment of one embodiment of the invention.
Fig. 7 is the schematic diagram of the equipment of another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, completeSite preparation describes it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on thisEmbodiment in bright, the every other reality that those of ordinary skill in the art are obtained on the premise of not making creative workApply example, all should belong to the scope of protection of the invention.
Fig. 1 is the schematic diagram of the application scenarios of one embodiment of the invention.As shown in figure 1, when equipment (such as mobile phone) andWhen equipment (such as PC) needs to be combined being used interchangeably, bluetooth, infrared or Wireless Fidelity WiFi skill may be passed throughArt etc. is attached, and can carry out the transmission of data, but due between mobile phone and PC mutual alignment cannot determineWhen it is impossible to provide visual feedback information it is impossible to intuitively obtain the information that presents in PC using mobile phone.Existing mobile phoneBeing mutually located and giant-screen between, the method generally by physical markings is it is thus possible to need to transform hardware device.
Fig. 2 is the indicative flowchart of the method for one embodiment of the invention.As shown in Fig. 2 wherein, the first equipment andTwo equipment are in connection status, and the method includes:
Step 210, the first equipment obtains the first image, and wherein, the first image is the subset of the second image, and the second image isThe complete image that second equipment shows, the second image includes foreground image and background image, and the first image includes foreground imageSubset, the first image also includes the subset of background image.
Step 220, the first equipment, according to the color information of the first image, determines the position that the first equipment is with respect to the second equipmentPut.
Specifically, the first equipment and the second equipment are in connection status and refer to can enter between the first equipment and the second equipmentThe transmission of row data and communication, such as by technology such as bluetooth, WiFi to be attached by way of wireless or wired, Ying LiSolution, the invention is not restricted to this.
Specifically, the first equipment can be the intelligent terminal with camera function, and the second equipment can be for having screenThe terminal unit of curtain display function.
In step 210, the second image is the complete image that the second equipment shows, the second image is coloured image, and thisTwo images include foreground image and background image, and the such as second image can be for covering formula figure, and the first equipment is in advance or by disappearingThe mode of breath transmission knows the pattern of this second graph, and foreground image is different with the color of background image;
First image is that the first equipment shoots, by photographic head, the image obtaining during the second image, and this first image is similarlyColoured image, therefore, the first image is the subset of the second image, and specifically, the first image includes the prospect of above-mentioned second imageA part for image, that is, include the subset of foreground image, the first image also includes of the background image of the second imagePoint.
Specifically, in a step 220, because the first equipment knows the concrete pattern of the second image, therefore obtained by oneselfThe color information of the first image taking, is compared with known second image it may be determined that the first equipment is relative sets with secondStandby position.
Therefore, the embodiment of the present invention passes through the image that the first equipment obtains display on the second equipment, can determine that first setsThe standby relative position with the second equipment is such that it is able to improve Consumer's Experience.
Alternatively, as one embodiment of the invention, according to the color information of the first image, determine described first equipment phaseFor the position of described second equipment, including:Obtain the color information of the second image, and true according to the color information of the second imageFixed second image RGB RGB information;Determine the RGB RGB information of the first image according to the color information of the first image;RootAccording to the RGB information of RGB information and second image of the first image, determine the first equipment with respect to the second equipment in the horizontal directionPosition.
That is, the first equipment by way of receiving the second facility information, can obtain the color letter of the second imageBreath, further, by RGB information and the second image RGB information of the first image, determines the first equipment with respect to the second equipmentPosition on XY direction of principal axis.
For example, shown by computer screen and cover formula color graphics, mobile phone camera captures rgb value, to be obtained by calculatingMobile phone is with respect to the X of computer screen, Y-coordinate.
Alternatively, as one embodiment of the invention, according to the color information of the first image, determine the first equipment with respect toThe position of the second equipment, including:Obtain the information of the 3rd image, wherein, the 3rd image is the subset of the second image, the 3rd imageIncluding the subset of foreground image, the 3rd image also includes the subset of background image, with first during the first equipment acquisition three imageWhen equipment obtains the first image, different from the vertical dimension of the second equipment;First figure is determined according to the color information of the first imageThe RGB information of picture;Determine the RGB information of the 3rd image according to the color information of the 3rd image;RGB information according to the first imageObtain the aberration of the first image and the 3rd image with the RGB information of the 3rd image, and the first equipment and second are determined according to aberrationEquipment is in the distance of vertical direction.
That is, when the first equipment is different in the position in the second equipment vertical direction, two width of acquisitionImage, that is, the first image and the 3rd image be in diverse location photographs, then this two field pictures is passed through to calculate colorDeviation is assured that the first equipment with respect to the distance in the vertical direction of the second equipment.
For example, the first image be the first equipment from the second equipment closer when obtain, then this first image hasOne color contrast, the 3rd image be the first equipment from the second equipment farther out when obtain, then the 3rd image has secondColor contrast, the such a corresponding relation according to Z axis position and first, second color contrast is it becomes possible to determine firstEquipment is with respect to the second equipment in the position of vertical direction.
Alternatively, as one embodiment of the invention, above-mentioned first equipment obtains the first image, including:First equipment profitObtain the first image with the photographic head of the first equipment.
Alternatively, as one embodiment of the invention, said method also includes:Send the first equipment to the second equipment relativelyPositional information in described second equipment.
That is, after the first equipment determines with the relative position of the second equipment, can by this first equipment with respect toThe positional information of the second equipment is sent to the second equipment, in order to the second equipment according to the position of the first equipment, with the first equipmentEnter row data communication, more intuitively enter the interaction of row information.
Alternatively, said method also includes:First equipment obtains the 4th image, and wherein, the 4th image only includes foreground pictureThe subset of picture or the subset of background image;First equipment sends configured information to the second equipment, and configured information is used for instruction secondSecond image described in renewal of the equipment, determines the relative position with the second equipment in order to the first equipment according to the second image after updatingPut.
That is, the 4th image is similarly the first equipment shoots, by photographic head, the image obtaining during the second image, and4th image but only include the subset of foreground image in the second image or the subset of background image that is to say, that the 4th image onlyOnly it is made up of the foreground image of the second image or is only made up of background image, at this moment the first equipment utilization the 4th image may be noMethod knows the position with respect to the second equipment, and now, the first equipment sends configured information to the second equipment, and instruction the second equipment is moreNew second image, now, the first equipment shoots the second image after updating, and the image according to obtaining proceeds sentencing of positionDisconnected.
In other words, when first equipment obtain image only include foreground image or background image when it may be impossible toDetermine the first equipment and the relative position of the second equipment, therefore, the second equipment will update the image of display on screen.
Fig. 3 is the indicative flowchart of the method for another embodiment of the present invention.As shown in figure 3, wherein, the first equipment andTwo equipment are in connection status, and the method includes:
Step 310, the second equipment shows the second image, and the second image includes foreground image and background image.
Step 310, the color information of the first image that the second equipment obtains according to the first equipment, determine the first equipment relativelyIn the position of the second equipment, wherein, the first image is the subset of the second image, and the first image includes the subset of foreground image, theOne image also includes the subset of background image.
Specifically, the second image is coloured image, and the second equipment can be believed according to the color of the first image and the second imageBreath, judges the position that the first equipment is with respect to the second equipment.
Therefore, the color information of the first image that the second equipment obtains according to the first equipment, can determine the first equipment phaseFor the position of the second equipment, improve Consumer's Experience.
Alternatively, as one embodiment of the invention, the color of the first image that the second equipment obtains according to the first equipmentInformation, determines the position that the first equipment is with respect to the second equipment, including:The color letter of the first image is obtained at the first equipmentBreath;The RGB RGB information of acquisition of information first image according to the first image;RGB information according to the first image and secondThe RGB information of image, determines the first equipment position in the horizontal direction with the second equipment relatively, wherein, described second imageColor information includes the RGB information of described second image.
Alternatively, the color information according to the first image, determines the position that the first equipment is with respect to the second equipment, including:Obtain the color information of the 3rd image at the first equipment, wherein, the 3rd image is the subset of the second image, and the 3rd image includesThe subset of foreground image, the 3rd image also includes the subset of background image, and the first equipment is obtained and obtained with equipment during three imagesDuring described first image, different from the vertical dimension of the second equipment;The color information of the first image is obtained at the first equipment;RootRGB information according to acquiring color information first image of the first image;Acquiring color information the 3rd image according to the 3rd imageRGB information;The RGB information of the RGB information according to the first image and the 3rd image obtains the aberration of the first image and the 3rd image,And the first equipment and described second equipment distance in vertical direction is determined according to above-mentioned aberration.
Alternatively, as one embodiment of the invention, said method also includes:The 4th image obtaining when the first equipmentDuring the subset of the subset including foreground image or background image, receive the configured information that the first equipment sends, configured information is used forIndicate the second image described in described second renewal of the equipment, new according to described second Image Acquisition after updating in order to the first equipmentImage.
That is, when the 4th image that the first equipment obtains only includes the subset of foreground image or only of the second imageDuring the subset of the background image only including the second image, configured information can be sent to the second equipment, the second equipment will be according to thisConfigured information, updates the second image, that is, updates on the second equipment the image of display, in order to the first equipment according to updating afterThe new image of the second Image Acquisition, if the new image of acquisition includes foreground image subset and the background image of the second imageSubset, then the second equipment just can according to this new Image Acquisition first equipment with respect to the second equipment position.
Specifically, the second equipment can cover position and the size of formula color graphics by dynamic adjustment, that is, above-mentioned moreNew second image, to reach the position that dynamic tracking first equipment is with respect to the second equipment.
Therefore, the embodiment of the present invention is passed through to obtain the image of display on the second equipment that the first equipment shoots, and can determineFirst equipment, with respect to the position of the second equipment, is increased without hardware device, improves Consumer's Experience, and can provide and closely connectContact the positioning of 10-20CM distance.
Fig. 4 is the indicative flowchart of the method for another embodiment of the present invention.In the method, the first equipment is mobile phone, theTwo equipment are PC (English:Personal Computer, writes a Chinese character in simplified form:PC).
As shown in figure 4, on the screen of the method comprising the steps of 401, PC, formula coloured image is covered in display, that is, above-mentioned secondImage.
Step 402, mobile phone utilizes photographic head to obtain the second image of display on PC screen, shoots and obtains the first image.
Step 403, is calculated the rgb value of the first image.
Step 404, the rgb value according to the first image calculates 2D (X, the Y) coordinate with respect to PC for the mobile phone.
Step 405, acquisition mobile phone relative position in the horizontal direction with respect to PC.
Step 406, calculates the color in two frame the first images obtaining before the Z axis change in location of PC and after change for the mobile phoneDifference.
Step 407, according to above-mentioned Colorimetry mobile phone with respect to PC coordinate in vertical direction, obtain mobile phone with respect toThe relative position of PC.
Step 407, calculates the adjustment vector covering formula coloured image.
Step 409, size and/or the position of formula coloured image is covered in the second equipment adjustment.That is, the second equipment is carried outThe renewal of the second image.
Therefore, the embodiment of the present invention is passed through to obtain the image of display on the second equipment that the first equipment shoots, and can determineFirst equipment, with respect to the position of the second equipment, is increased without hardware device, improves Consumer's Experience, and can provide and closely connectContact the positioning of 10-20CM distance.
Fig. 5 is the indicative flowchart of another embodiment of the present invention.
As shown in figure 5, step 501, formula figure is covered in display one on a pc screen, that is, above-mentioned second equipment showsForeground image in second image, in the second image, the part in addition to covering formula figure is background image.
Step 502, mobile phone obtains image, that is, the first image that above-mentioned first equipment obtains by photographic head.
Step 503, mobile phone detects in the first image with the presence or absence of covering formula figure, that is, whether includes the in the first imageThe foreground image of two images, if there is change carry out step 504, otherwise carry out step 505.
Step 504, the image that opponent's machine examination measures carries out color sample, obtains sample point.
Step 505, PC updates the second image, that is, the size and location of formula image is covered in adjustment.
Step 506, according to step 504 color sample, calculates the X that mobile phone is with respect to PC, Y direction position, that is, schemesIn by interior point calculate position.
Step 507, by determining the aberration of the two field pictures of mobile phone acquisition, determines mobile phone with respect to the Z-direction of PCPosition.Specifically, by the aberration of two frames, can determine outlier, that is, outlier is determined by the aberration with previous frame.
Step 508, can determine adjustment vector by the position of outlier.
Step 509, can determine according to adjustment vector and modulates the size and location covering formula image on PC screen.
Therefore, the embodiment of the present invention is passed through to obtain the image of display on the second equipment that the first equipment shoots, and can determineFirst equipment, with respect to the position of the second equipment, is increased without hardware device, improves Consumer's Experience, and can provide and closely connectContact the positioning of 10-20CM distance.
Fig. 6 is the schematic diagram of the equipment of one embodiment of the invention.As shown in fig. 6, this equipment 600 includes:
Acquiring unit 610, described acquiring unit 610 is used for obtaining the first image, and wherein, described first image is the second figureThe subset of picture, described second image is the complete image that described second equipment shows, described second image include foreground image andBackground image, described first image includes the subset of described foreground image, and described first image also includes described background imageSubset.
Determining unit 620, described determining unit 620 is used for the color information according to described first image, sets described in determinationThe standby position with respect to described second equipment.
Alternatively, as one embodiment of the invention, described acquiring unit 610 is used for obtaining the color of described second imageInformation, and described second image RGB RGB information is determined according to the color information of described second image;Described determining unit is usedIn:Determine the RGB RGB information of described first image according to the color information of described first image;According to described first imageRGB information and described second image RGB information, determine described equipment position with respect to described second equipment in the horizontal directionPut.
Alternatively, as one embodiment of the invention, described acquiring unit 610 is used for:Obtain the information of the 3rd image, itsIn, described 3rd image is the subset of the second image, and described 3rd image includes the subset of described foreground image, described 3rd figureAs also including the subset of described background image, described equipment obtains and obtains described first figure with described equipment during described three imageDuring picture, different from the vertical dimension of described second equipment;Described determining unit 620 is used for:Color according to described first imageInformation determines the RGB information of described first image;Determine the RGB of described 3rd image according to the color information of described 3rd imageInformation;The RGB information of the RGB information according to described first image and described 3rd image obtains described first image and described theThe aberration of three images, and the described equipment and described second equipment distance in vertical direction is determined according to described aberration.
Alternatively, as one embodiment of the invention, described acquiring unit 610 is used for obtaining using the photographic head of described equipmentTake described first image.
Alternatively, as one embodiment of the invention, described equipment also includes:Transmitting element, described transmitting element is used forSend the positional information that described equipment is with respect to described second equipment to described second equipment.
Alternatively, as one embodiment of the invention, described acquiring unit 610 is used for:Obtain the 4th image, wherein, instituteState the 4th image and only include the subset of described foreground image or the subset of described background image;Transmitting element is used for described secondEquipment sends configured information, and described configured information is used for indicating the second image described in described second renewal of the equipment, in order to describedEquipment determines the relative position with described second equipment according to described second image after updating.
Fig. 7 is the schematic diagram of the equipment of another embodiment of the present invention.As shown in fig. 7, this equipment 700 includes:
Display unit 710, described display unit 710 is used for display the second image, and described second image includes foreground imageAnd background image;
Determining unit 720, described determining unit 720 is used for the color letter of the first image according to described first equipment acquisitionBreath, determines the position that described first equipment is with respect to described equipment, wherein, described first image is the subset of the second image, instituteState the subset that the first image includes described foreground image, described first image also includes the subset of described background image.
Alternatively, as one embodiment of the invention, described determining unit 720 is used for:Obtain at described first equipmentThe color information of described first image;The RGB RGB information of the acquisition of information described first image according to described first image;RGB information according to described first image and the RGB information of described second image, determine that described first equipment is set with described relativelyStandby position in the horizontal direction, wherein, the color information of described second image includes the RGB information of described second image.
Alternatively, as one embodiment of the invention, described determining unit 720 is used for:Obtain at described first equipmentThe color information of the 3rd image, wherein, described 3rd image is the subset of the second image, and described 3rd image includes described prospectThe subset of image, described 3rd image also includes the subset of described background image, and described first equipment obtains described 3rd imageWhen obtaining described first image with described equipment, different from the vertical dimension of described equipment;Obtain at described first equipmentThe color information of described first image;The RGB information of the acquiring color information described first image according to described first image;RootRGB information according to described 3rd image the 3rd image described in acquiring color information;RGB information according to described first image andThe RGB information of described 3rd image obtains the aberration of described first image and described 3rd image, and is determined according to described aberrationDescribed first equipment and described equipment are in the distance of vertical direction.
Alternatively, as one embodiment of the invention, described equipment also includes:Receiving unit, described receiving unit is used forWhen the 4th image that described first equipment obtains only includes the subset of the subset of described foreground image or described background image, connectReceive the configured information that described first equipment sends, described configured information is used for indicating the second image described in described renewal of the equipment, withIt is easy to described first equipment according to the new image of described second Image Acquisition after updating.
Those of ordinary skill in the art are it is to be appreciated that combine each method step described in the embodiments described hereinRapid and unit, can be with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and softThe interchangeability of part, generally describes step and the composition of each embodiment in the above description according to function.TheseFunction to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.AbilityDomain those of ordinary skill can use different methods to each specific application realize described function, but this realityExisting it is not considered that beyond the scope of this invention.
Method in conjunction with the embodiments described herein description or step can be with the software journeys of hardware, computing deviceSequence, or the combination of the two is implementing.Software program can be placed in random access memory (RAM), internal memory, read only memory (ROM),In electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field, institute is publicIn any other form of storage medium known.
Although by reference to accompanying drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present inventionIt is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present inventionEmbodiment carry out various equivalent modifications or replacement, and these modification or replace all should be in the covering scope of the present invention.

Claims (20)

CN201610798466.XA2016-08-312016-08-31Positioning method and terminal equipment thereofActiveCN106383679B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610798466.XACN106383679B (en)2016-08-312016-08-31Positioning method and terminal equipment thereof

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610798466.XACN106383679B (en)2016-08-312016-08-31Positioning method and terminal equipment thereof

Publications (2)

Publication NumberPublication Date
CN106383679Atrue CN106383679A (en)2017-02-08
CN106383679B CN106383679B (en)2020-03-24

Family

ID=57938943

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610798466.XAActiveCN106383679B (en)2016-08-312016-08-31Positioning method and terminal equipment thereof

Country Status (1)

CountryLink
CN (1)CN106383679B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109711398A (en)*2018-12-292019-05-03联想(北京)有限公司Sensor spatial relationship acquisition methods, device and electronic equipment
CN112947872A (en)*2019-12-102021-06-11上海品奇数码科技有限公司Method for placing detection equipment on display screen based on multilayer convolutional neural network

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102957877A (en)*2011-08-262013-03-06卡西欧计算机株式会社Image processing device and image processing method
CN103292779A (en)*2012-02-282013-09-11联想(北京)有限公司Method for measuring distance and image acquisition equipment
CN103365572A (en)*2012-03-262013-10-23联想(北京)有限公司Electronic equipment remote control method and electronic equipment
CN103377673A (en)*2012-04-202013-10-30联想(北京)有限公司Method for controlling electronic equipment and electronic equipment
CN103852066A (en)*2012-11-282014-06-11联想(北京)有限公司Equipment positioning method, control method, electronic equipment and system
WO2015188898A1 (en)*2014-06-122015-12-17Sony CorporationInput handover from a first device to a second device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102957877A (en)*2011-08-262013-03-06卡西欧计算机株式会社Image processing device and image processing method
CN103292779A (en)*2012-02-282013-09-11联想(北京)有限公司Method for measuring distance and image acquisition equipment
CN103365572A (en)*2012-03-262013-10-23联想(北京)有限公司Electronic equipment remote control method and electronic equipment
CN103377673A (en)*2012-04-202013-10-30联想(北京)有限公司Method for controlling electronic equipment and electronic equipment
CN103852066A (en)*2012-11-282014-06-11联想(北京)有限公司Equipment positioning method, control method, electronic equipment and system
WO2015188898A1 (en)*2014-06-122015-12-17Sony CorporationInput handover from a first device to a second device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109711398A (en)*2018-12-292019-05-03联想(北京)有限公司Sensor spatial relationship acquisition methods, device and electronic equipment
CN112947872A (en)*2019-12-102021-06-11上海品奇数码科技有限公司Method for placing detection equipment on display screen based on multilayer convolutional neural network

Also Published As

Publication numberPublication date
CN106383679B (en)2020-03-24

Similar Documents

PublicationPublication DateTitle
CN109426333B (en)Information interaction method and device based on virtual space scene
US20190158774A1 (en)Information processing apparatus, information processing method, and program
CN104102678B (en)The implementation method and realization device of augmented reality
EP2974509B1 (en)Personal information communicator
CN110998566A (en) Method and apparatus for generating and displaying 360-degree video based on eye tracking and physiological measurements
CN112862977B (en) Digital space management method, device and equipment
US20140192164A1 (en)System and method for determining depth information in augmented reality scene
EP3640889A1 (en)In situ creation of planar natural feature targets
US10848669B2 (en)Electronic device and method for displaying 360-degree image in the electronic device
US20240087157A1 (en)Image processing method, recording medium, image processing apparatus, and image processing system
CN113345108B (en)Augmented reality data display method and device, electronic equipment and storage medium
CN105847850A (en)Panorama video real time playing method and apparatus
CN108540542A (en)A kind of mobile augmented reality system and the method for display
JP2023504608A (en) Display method, device, device, medium and program in augmented reality scene
KR20210129360A (en)System for providing 3D model augmented reality service using AI and method thereof
US20220293066A1 (en)Rotational image viewer
CN113014960A (en)Method, device and storage medium for online video production
CN106383679A (en)Locating method and terminal device using same
CN114708407A (en) Virtual three-dimensional space information display method, device and program product
CN111899349B (en)Model presentation method and device, electronic equipment and computer storage medium
JP2017182681A (en) Image processing system, information processing apparatus, program
US20240169568A1 (en)Method, device, and computer program product for room layout
US11651529B2 (en)Image processing method, apparatus, electronic device and computer readable storage medium
CN106095935A (en)A kind of method and device of presenting programs interactive user
US20240196161A1 (en)Systems and methods of using wireless signatures

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp