[go: up one dir, main page]

CN104951049A - Method for achieving automatic contraction and expansion of image and map by using infrared distance sensor - Google Patents

Method for achieving automatic contraction and expansion of image and map by using infrared distance sensor Download PDF

Info

Publication number
CN104951049A
CN104951049A CN201410111665.XA CN201410111665A CN104951049A CN 104951049 A CN104951049 A CN 104951049A CN 201410111665 A CN201410111665 A CN 201410111665A CN 104951049 A CN104951049 A CN 104951049A
Authority
CN
China
Prior art keywords
map
picture
infrared
shelter
distance sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410111665.XA
Other languages
Chinese (zh)
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.)
SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD
Original Assignee
SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO 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 SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD filed Critical SHANGHAI THREE FLAG COMMUNICATION TECHNOLOGY CO LTD
Priority to CN201410111665.XA priority Critical patent/CN104951049A/en
Publication of CN104951049A publication Critical patent/CN104951049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

The invention provides a method for achieving automatic contraction and expansion of an image and a map by using an infrared distance sensor. According to an infrared range sensor principle, by detecting the intensity of infrared light rays emitted from an infrared emitting tube, the distance between embedded mobile equipment and a blocking object is calculated, the moving direction of the blocking object is judged, and therefore contraction and expansion functions of the map and the image are achieved. According to the method, by means of motions when a human hand carries out downward pressing or upward pulling on the embedded mobile equipment, and the contraction and expansion functions of the image and the map can be conveniently achieved. The method has the advantages of being simple in operation, convenient and the like.

Description

The method of picture and map auto zoom is realized by infrared distance sensor
Technical field
The present invention relates to the method realizing picture and map convergent-divergent, particularly relate to a kind of method being realized picture and map auto zoom in embedded mobile device by infrared distance sensor perception shelter moving direction.
Background technology
The classic method realizing picture and map convergent-divergent, mainly based in PC Application Program Interface, has been come by the action of clicking the mouse.But in embedded mobile device (as mobile phone, PDA etc.) in, due to small volume and portability, the overwhelming majority all can not configure mouse, mitigation and amplification button generally by clicking Application Program Interface realizes picture and map zoom function, make inconvenient operation, and Consumer's Experience sense is not strong yet.
Summary of the invention
For the deficiency realizing picture and map convergent-divergent classic method in embedded mobile device, goal of the invention of the present invention is to provide a kind of method being realized picture and map auto zoom by infrared distance sensor perception shelter moving direction.The power of the Infrared that the method is sent by detection infrared transmitting tube, calculate the distance between embedded mobile device to shelter, when shelter deviates from embedded mobile device gradually, apart from increasing, picture and map reduce gradually; Otherwise when shelter is gradually near embedded mobile device, distance is more and more less, and picture and map amplify gradually.The shelters such as people's palm can be placed on a certain height above embedded mobile device like this, upwards to be stretched or racking realizes picture and map reduces and enlarging function automatically downwards by doing of the palm of people, the method operation intuitive and convenient, the experience sense of user is also very strong.
The principle that realizes of described the method is: by detecting the power of the Infrared that infrared transmitting tube sends, calculate the distance between embedded mobile device to shelter, and then judge that the moving direction of shelter is to realize picture and map reduces or enlarging function automatically.First infrared transmitting tube is driven to send Infrared, after Infrared runs into and blocks object, can be reflected back, this time, infrared light dependent sensor can detect infrared light, and calculates embedded mobile device according to the power of light and block the distance between object.When shelter is gradually near embedded mobile device, infrared sensor can detect embedded mobile device and the distance of blocking between object more and more less, system call programmed algorithm realizes the reduction capability of picture and map; Otherwise, when shelter is gradually away from embedded mobile device, infrared sensor can detect embedded mobile device and the distance of blocking between object increasing, system call programmed algorithm realizes the enlarging function of picture and map.
Described the method flow process is made up of three parts: the bee-line setting infrared perception according to infrared sensor performance parameter and maximum distance , identify shelter moving direction, realize picture and map zooms in or out function automatically.First the program interface of picture or map view is entered, infrared induction program just normal startup enters duty, extremely far moved above shelter (palm as people) embedded mobile device gradually by near, when the first time of infrared sensor can detect Infrared, receive Infrared the strongest, by the distance now between embedded mobile device to shelter, be set as bee-line , when infrared sensor last Infrared being detected, the Infrared received is the most weak, by the distance now between embedded mobile device to shelter, is set as maximum distance .Then by shelter in bee-line and maximum distance between movement arbitrarily, when shelter upwards does pulling action, when the distance between embedded mobile device to shelter becomes large gradually, reducing gradually of picture and map; Otherwise, when shelter does racking downwards, when the distance between embedded mobile device to shelter diminishes gradually, the amplification gradually of picture and map.
Accompanying drawing explanation
Fig. 1 is the hardware frame schematic diagram that the present invention realizes;
Fig. 2 is the software flow schematic diagram that the present invention realizes;
Fig. 3 is picture of the present invention and map enlarging function schematic diagram;
Fig. 4 is picture of the present invention and map reduction capability schematic diagram.
Number in the figure explanation
1-embedded mobile device, 2-infrared light emission pipe, 3-infrared light transducer[sensor
4-isolation arranges 5-Infrared, 6-shelter, 7-picture.
Embodiment
Further illustrate the present invention below in conjunction with accompanying drawing how to realize.
Embodiment
As shown in Figure 1, in hardware implementations of the present invention, comprising: embedded mobile device 1, infrared transmitting tube 2, infrared sensor 3, spacer assembly 4, shelter 6 etc.Picture 7 or electronic map data and convergent-divergent algorithm routine are kept in embedded mobile device in Flash, be automatically loaded into SDRAM and run after system boot.Infrared transmitting tube 2 has good light gathering degree, launches Infrared 5, after shelter 6 reflects, is received by infrared sensor 3, according to the power of the Infrared 5 received, calculates the distance between infrared sensor 3 and shelter 6.Spacer assembly plays a protective role, for isolating the device such as infrared transmitting tube 2 and infrared sensor 3.Shelter 6, for Infrared 5 being reflected back, is convenient to infrared sensor 3 and is received.
As shown in Figure 2, software flow of the present invention mainly comprises three parts: the bee-line of infrared sensor 3 perception and maximum distance setting, the identification of moving direction of shelter 6, picture 7 and map zoom in or out the realization of function.After system normally starts, first set out the bee-line of infrared sensor 3 perception and maximum distance , then by the distance change between embedded mobile device 1 to shelter 6, judge the moving direction of shelter 6, finally realize picture 7 and map zooms in or out function.
As shown in Figure 3, when the shelters 6 such as people's palm upwards do pulling action, along with the distance between embedded mobile device 1 and shelter 6 becomes greatly, reducing gradually of picture 7 and map.
As shown in Figure 4, when the shelters 6 such as people's palm do racking downwards, along with the distance between embedded mobile device 1 and shelter 6 diminishes, the amplification gradually of picture 7 and map.

Claims (3)

1. the method for picture and map convergent-divergent is realized by infrared distance sensor, the method flow process mainly comprises three parts: the bee-line of setting infrared sensor perception and maximum distance, identify the moving direction of shelter, realize picture and map zooms in or out function, it is characterized in that: described the principle of infrared distance sensor and picture or map convergent-divergent algorithm routine closely to be combined, the distance between embedded mobile device to shelter is calculated according to the power of Infrared, thus confirm the moving direction of shelter, and then realize picture by the moving direction of shelter and map reduces or enlarging function.
2. the method being realized picture and map convergent-divergent by infrared distance sensor according to claim 1, be is characterized in that: upwards stretched by shelters such as people's palms, realize the reduction capability gradually of picture and map.
3. the method being realized picture and map convergent-divergent by infrared distance sensor according to claim 1, be is characterized in that: described is pushed downwards by shelters such as people's palms, realizes the enlarging function gradually of picture and map.
CN201410111665.XA 2014-03-25 2014-03-25 Method for achieving automatic contraction and expansion of image and map by using infrared distance sensor Pending CN104951049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410111665.XA CN104951049A (en) 2014-03-25 2014-03-25 Method for achieving automatic contraction and expansion of image and map by using infrared distance sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410111665.XA CN104951049A (en) 2014-03-25 2014-03-25 Method for achieving automatic contraction and expansion of image and map by using infrared distance sensor

Publications (1)

Publication Number Publication Date
CN104951049A true CN104951049A (en) 2015-09-30

Family

ID=54165756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410111665.XA Pending CN104951049A (en) 2014-03-25 2014-03-25 Method for achieving automatic contraction and expansion of image and map by using infrared distance sensor

Country Status (1)

Country Link
CN (1) CN104951049A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080230598A1 (en) * 2002-01-15 2008-09-25 William Kress Bodin Free-space Gesture Recognition for Transaction Security and Command Processing
CN102193708A (en) * 2010-03-03 2011-09-21 上海三旗通信科技有限公司 Method of realizing automatic zoom of pictures and maps through infrared distance sensor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080230598A1 (en) * 2002-01-15 2008-09-25 William Kress Bodin Free-space Gesture Recognition for Transaction Security and Command Processing
CN102193708A (en) * 2010-03-03 2011-09-21 上海三旗通信科技有限公司 Method of realizing automatic zoom of pictures and maps through infrared distance sensor

Similar Documents

Publication Publication Date Title
WO2017071093A1 (en) Electronic device control method and apparatus
KR102085766B1 (en) Method and Apparatus for controlling Auto Focus of an photographing device
US20160156837A1 (en) Alternative camera function control
EP3461112A1 (en) Mobile terminal and method for starting shooting on mobile terminal
CN107450817B (en) Proximity detection method, device, storage medium and electronic device
US20190020803A1 (en) Controlling flash behavior during capture of image data
CN103595919A (en) Manual focusing method and shooting device
CN113721758B (en) Body-building guiding method and electronic equipment
WO2015188503A1 (en) Terminal control method and device
CN107241552A (en) A kind of image acquiring method, device, storage medium and terminal
CN104618654A (en) Mobile electronic device continuous focusing method and system based on sway detection
CN105955051A (en) Intelligent household equipment control method and apparatus
CN105204052A (en) User terminal positioning mode switching method and user terminal
KR102673041B1 (en) The System, Apparatus And MethodFor Searching Event
CN104765441B (en) A kind of method and apparatus that renewal of the page is realized based on eye movement
CN105845090B (en) Backlight adjusting method and device
CN102193708A (en) Method of realizing automatic zoom of pictures and maps through infrared distance sensor
CN105848061B (en) Control method and electronic equipment
CN103729069A (en) Method and device for controlling cursor in smart television
CN110718039A (en) Fire alarm method, fire alarm device, household equipment and control terminal
KR20150026423A (en) Method and apparatus for controlling screen on mobile device
CN104951049A (en) Method for achieving automatic contraction and expansion of image and map by using infrared distance sensor
US9335827B2 (en) Gesture input systems and methods using 2D sensors
CN105335180A (en) Control method and electronic device
CN107361707A (en) Intensity signal processing method and processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150930