The present invention relates to a method and an apparatus for information processing and a program storage medium. More particularly, the invention relates to a method and an apparatus for information processing whereby a GPS device stores position and time information which may later be used by a personal computer or the like to determine during image data editing where and when the images were captured, and a program storage medium for storing such a method.
Recent years have seen the widespread acceptance of apparatuses for capturing, storing and processing images through the use of digital technology. Generally, images such as those taken by digital camera are later arranged by date, grouped into predetermined categories or otherwise sorted out by users. Such follow-up classification of images requires information about where and when the images were captured.
The need for image-classifying information is met illustratively by methods for associating data representing images taken by digital camera or by other means with data about where and when the image data were acquired. One such method, proposed by Japanese Published Unexamined Patent Application Hei 10-2333985, utilizes a digital camera and a GPS (Global Positioning System) device to obtain (i.e., store) positions at which images were captured. According to this method, the GPS device is connected to the digital camera so that position information acquired by the GPS device is stored in association with the image data taken by camera.
Digital cameras connectable to or incorporating a GPS device are capable of associating image data with position data indicating where the images were captured. If a digital camera has no such function, there is no way for the camera to determine image capture positions.
The method disclosed in Japanese Published Unexamined Patent Application Hei 10-2333985 involves connecting a digital camera with a GPS device. That means one disadvantage of the disclosed method is that only the type of digital camera capable of connecting to a GPS device can be used. Another disadvantage is that where a GPS device is incorporated into a digital camera, the combined setup tends to become bulky.
The present invention has been made in view of the above circumstances and provides an information processing apparatus and method as well as a program storage medium allowing position and time-of-day information to be stored into a GPS device so that the stored information is later used by a personal computer or the like to determine during image data editing where and when the images were captured, whereby users may perform editing work more easily than before.
In carrying out the invention and according to one aspect thereof, there is provided an information processing method comprising the steps of: storing measured position information in association with first time information representing times of day at which the measured position information is obtained; storing video information in association with second time information representing times of day at which the video information is obtained; and associating the measured position information with the video information in accordance with degrees of difference between the first time information and the second time information.
According to another aspect of the invention, there is provided an information processing method comprising the steps of: reading stored log data associating measured position information with first time information representing times of day at which the measured position information is obtained; and plotting on a map the measured position information acquired from the log data.
According to a further aspect of the invention, there is provided an information processing method comprising the steps of: reading stored log data associating measured position information with first time information representing times of day at which the measured position information is obtained; and plotting, in the order of the first time information, the measured position information acquired from the log data.
According to an even further aspect of the invention, there is provided a program storage medium which stores a program for causing an information processing apparatus to execute the steps of: storing measured position information in association with first time information representing times of day at which the measured position information is obtained; storing video information in association with second time information representing times of day at which the video information is obtained; and associating the measured position information with the video information in accordance with degrees of difference between the first time information and the second time information.
According to a still further aspect of the invention, there is provided a program storage medium which stores a program for causing an information processing apparatus to execute the steps of: reading stored log data associating measured position information with first time information representing times of day at which the measured position information is obtained; and plotting on a map the measured position information acquired from the log data.
According to a yet further aspect of the invention, there is provided a program storage medium which stores a program for causing an information processing apparatus to execute the steps of: reading stored log data associating measured position information with first time information representing times of day at which the measured position information is obtained; and plotting, in the order of the first time information, the measured position information acquired from the log data.
According to another aspect of the invention, there is provided an information processing apparatus comprising: a first storing element for storing measured position information in association with first time information representing times of day at which the measured position information is obtained; a second storing element for storing video information in association with second time information representing times of day at which the video information is obtained; and an associating element for associating the measured position information with the video information in accordance with degrees of difference between the first time information and the second time information.
According to a further aspect of the invention, there is provided an information processing apparatus comprising: a reading element for reading stored log data associating measured position information with first time information representing times of day at which the measured position information is obtained; and a plotting element for plotting on a map the measured position information acquired from the log data.
According to an even further aspect of the invention, there is provided an information processing apparatus comprising: a reading element for reading stored log data associating measured position information with first time information representing times of day at which the measured position information is obtained; and a plotting element for plotting, in the order of the first time information, the measured position information acquired from the log data.
Other objects, features and advantages of the invention will become more apparent upon a reading of the following description and appended drawings.
Preferred embodiments of the present invention will be described in detail with reference to the following figures wherein:
Besides the floppy disk 3, other storage media such as a portable semiconductor memory 5 may be used to accommodate the images taken by the digital camera 2. If the digital camera is equipped with a communication function, the captured image data may be transmitted through the function to another device for storage therein.
A personal computer 4 is connected to the GPS device 1 through a USB (Universal Serial Bus) cable and is fed with log data from inside the GPS device 1. The personal computer 4 may also be connected to the digital camera 2 through a USB cable. Thus connected, the personal computer 4 may read image data from the digital camera 2. It is also possible for the personal computer 4 to retrieve image data from the floppy disk 3.
The PC hook 38, used to attach the GPS device 1 to a notebook type personal computer 4 (mobile computer), moves in an extendable and retractable manner with respect to the body 32. Although
The PC hook 38, extended from the body 32 as shown in
When the GPS device 1 is clipped onto the personal computer as shown in
The GPS device 1 may be carried around by a user. In such a case, the user may retract the PS hook 38 into the body 32 to avoid interference with nearby objects. A strap may be threaded through a strap buckle 39 (
As shown in
A control unit 53 generates log data based on signals received through the antenna 31, stores the log data thus generated, and performs processes to address signals coming through the USB port 42 or from the operation unit 51. A power supply unit 54 supplies the necessary components of the GPS device 1 with power derived from batteries or from the personal computer 4 via the USB port 42. A counter unit 55 performs time management, manages various counter values (to be described later), and feeds the management information to the control unit 53.
The GPS device 1 has three defined modes: GPS mode, PC mode, and storage mode. The GPS mode is selected when the GPS device 1 is connected to the personal computer 4 for use as a GPS signal receiving antenna of a navigation system. The PC mode is selected when the GPS device 1 outputs log data from the storage unit 52 or establishes various settings as instructed by the personal computer 4 connected to the GPS device 1. The storage mode is selected illustratively for the GPS device 1 to be carried around by the user with log data held in the storage unit 52.
The storage mode is further classified into three states: wake state, sleep state, and wake-up state. The wake state is a state in which data are being stored. In the sleep state, data storing operations are being halted. The wake-up state is a state in which the GPS device 1 is roused temporarily from its sleep state to perform a data storing operation before going back to the sleep state.
The GPS device 1 has switches built inside. These switches are operated by the control unit 53 depending on which of the three modes above is currently selected. More specifically, the GPS device 1 has switches 61 and 62 furnished as shown in
In the PC mode, the switch 61 is connected either to the terminal A1 or to a terminal A2 while the switch 62 is connected to a terminal B2. In the PC mode, the GPS device 1 operates in keeping with commands from the personal computer 4. If a command tells the GPS device 1 to act as a GPS instrument (i.e., to output signals received by the antenna 31), then the switch 61 is connected to the terminal A1; if a command instructs the GPS device 1 to output log data from the storage unit 52, then the switch 62 is connected to the terminal A2. The switch 61 is forcibly connected (as part of initialization) to the terminal A1 if the GPS device 1 is judged to be currently capable of communicating (data) with the personal computer 4; otherwise the switch 61 is connected to the terminal A2.
In the storage mode, the control unit 53 connects the switch 61 to the terminal A2. Since the GPS device 1 is disconnected from the personal computer 4 when the storage mode is in effect, the switch 62 may be connected either to the terminal B1 or to the terminal B2 with no operative difference resulting from the two settings. Thus the switch 62 is connected to the terminal B1 by default in the storage mode.
How the GPS device 1 works will now be described by referring to the flowchart of
In step S1 of
If in step S2 the wake state is judged to be in effect, i.e., if the GPS device 1 is already turned on and its power button 37 is operated with log data being stored, then step S3 is reached. In step S3, a check is made to see if the power button 37 is being actuated longer than three seconds. The period of three seconds is cited here merely as a typical reference value; other duration in seconds may be adopted instead. The reference value is established to serve as a criterion by which to pick one of several possibilities: the power button 37 may have been operated to turn on or off the GPS device 1; the power button 37 may have been actuated to execute a process of step S7 (to be described later); or the power button 37 may have been activated inadvertently while the device is being carried around strapped illustratively to the user's belt (operational error).
If in step S3 the power button 37 is not judged to be actuated longer than three seconds, an operational error is recognized and no action takes place. If the power button 37 is judged to be actuated longer than three seconds in step S3, then step S4 is reached in which a power-off process is carried out.
Of the 19 bytes making up each log data item, one byte is assigned to flag data, 17 bytes are allocated to a log data body, and the remaining one byte is apportioned to status data. The flag data have a data structure shown in
The start flag is set to 1 when indicating the first log data item recorded with the storage mode brought into effect; otherwise (i.e., when the data item in question is the second or subsequent data item recorded with the storage mode in effect), the start flag is set to 0. In like manner, the end flag is set to 1 when indicating the last log data recorded in the storage mode; otherwise the end flag is set to 0.
The mark flag is set to 1 when indicating a logo data item recorded by operation of the mark button 36 (to be described later in detail); otherwise the mark flag is set to 0.
If the O/G flag is set to 1 while the start flag is at 0, that means the log data item in question is not data stored in the current storage mode but the most recently stored data from the previous storage mode. If the O/G flag is set to 0 while the start flag is at 0, that means the stored log data item is data recorded in the current storage mode. If the O/G flag is set to 1 while the start flag is at 1 (i.e., if the flags indicate the first log data item recorded in the current storage mode), that means the log data are those recorded from beginning to end in the Tokyo geodetic system. If the O/G flag is set to 0 while the start flag is at 1, that means the log data are those stored from beginning to end in the World Geodetic System (WGS84).
The log data body is structured as shown in
The time of day is defined in terms of year, month, day, hours, minutes, and seconds based on UTC (Universal Time Coordinated). The latitudinal and longitudinal hemispheres are defined by the following data: if the most significant bit is 0, that means subsequent latitudes are in the north; if the MSB is 1, that means subsequent latitudes are in the south; if the bit next to the MSB is 0, that means subsequent longitudes are in the east; if the bit next to the MSB is 1, that means subsequent longitudes are in the west.
The latitude is given as seven-digit numeric data and the longitude is indicated as eight-digit numeric data. The velocity is given as three-digit numeric data in increments of one Km/h. The azimuth designates the direction in which the user is advancing and is defined by three-digit numeric data in increments of one degree in a clockwise 360-degree range with the true north set for 0.
Returning to the flowchart of
In step S32 of
If in step S31 the writable area of the storage unit 52 is judged to have sufficient space to accommodate the log data, step S33 is reached. In step S33, the above-described log data are generated and written to a designated address in the storage unit 52. In step S34, an address is set at which to store the next log data. Specifically, the address value is incremented by 19.
With the log data thus stored, step S35 is reached in which the REC lamp 34 is lit for 0.1 second to notify the user of the data storage. In step S36, a check is made to see if the writable area has fallen short of a caution level. If the available area in the storage unit 52 is judged to have dropped below the caution level, a process is carried out to notify the user thereof. The default caution level is set for 10 percent of the capacity of the storage unit 52 (i.e., space to store log data). The caution level may be modified by the user in a manner to be described later.
The storage unit 52 may illustratively have a capacity large enough to store log data every second for up to 7.5 hours. In that case, the capacity of the storage unit 52 amounts to 513,000 bytes (=19 bytes×60 seconds×60 minutes×7.5 hours). If the caution level is set for 10 percent of the capacity, the level is then established at 51,300 bytes.
If in step S36 the writable area is judged to be less than the caution level, step S37 is reached. In step S37, the REC lamp 34 keeps blinking at intervals of 0.3 seconds, informing the user that the available area in the storage unit 52 is being exhausted. In step S38, a beep sound is emitted as a warning. Although the beep may sound in any tone, in any volume and in whatever melody, the sound emission should preferably be characterized by different melodies and tones depending on the current status of the GPS device 1 so that the user immediately recognizes what is happening upon hearing the sound. Illustratively, a continuous beep emission “bleep, bleep, bleep, . . . ” may be used to warn that the capacity of the storage unit 52 is getting exhausted.
Suppose that the user is given such a warning of a shortage in the writable area of the storage unit 52 and still fails to take action such as one to end the storage operation or to erase unnecessary log data, thus continuously storing log data and eventually letting the writable capacity of the storage unit 52 be totally exhausted. In that case, the GPS device 1 is switched off, and the stored log data are held intact unless otherwise specified by the user. There is no possibility of any stored log data forcibly or inadvertently erased or made unavailable to the user at a later date.
If in step S36 the writable area is judged to be higher than the caution level, the processes of steps S37 and S38 are skipped, and the storage process is brought to and end.
With the storage process terminated, step S24 (FIG. 9) is reached in which all lamps are turned off. More specifically, the GPS lamp 33, REC lamp 34 and POWER lamp 35 are switched out of their lighted or blinking state. In step S25, a beep sound is emitted to notify the user that the power-off process has ended. The beep may illustratively have a melody of “(two consecutive) bleep, bleep.”
Returning to the flowchart of
If in step S6 the power button 37 is not judged to be actuated longer than three seconds, step S7 is reached in which a wake-up process is carried out.
In step S51 of
In step S52, the POWER lamp 35 is lit green to notify the user that the wake-up state is selected. The POWER lamp 35 is illuminated (or blinks) either green or red depending on the status of the device. Likewise the GPS lamp 33 is lit (or blinks) either green or red depending on the status of the device. Other colors may be adopted for the illumination. In this example, the colors of green and red are assumed to be used for purpose of illustration.
In step S53, a beep sound is emitted to notify the user that the wake-up state is now in effect. The beep may illustratively have a melody of “(a single) bleep”
When ready to store log data, the GPS device 1 enters the wake state for along as a predetermined wake time in which log data may be stored. The wake time is a period of time in which the sleep state is canceled (to continue the wake-up state). The user may set the sleep state for a desired period of time in a process to be described later. A default wake time period of, say, 10 minutes (600 seconds) may also be used if desired.
The storing of log data or other predetermined process is carried out until the wake time thus established elapses. Once the wake time has passed, the sleep state is resumed. The sleep state is restored either following the wake time or upon operation of the power button 37 by the user.
In step S55, the POWER lamp 35 blinks red at intervals of four seconds and the GPS lamp 33 is turned off, notifying the user that the sleep state is resumed (the POWER lamp keeps blinking at intervals of 4 seconds as long as the sleep state is in effect). In step S56, a single bleep sound is emitted.
In this manner, the sleep state may be interrupted for as long as needed by the user to perform the log data storage process.
Returning to the flowchart of
If in step S8 the power button 37 is judged to be actuated longer than three seconds, step S9 is reached. Since the wake state is negated in step S2 and the sleep state is denied in step S5, the GPS device 1 is deemed to be in a switched-off state. In that state, the user's obviously intentional operation of the power button 37 is interpreted as his or her desire to turn the device on. Thus a power-on process is carried out in step S9.
In step S73, the start flag is set to 1 and the O/G flag is set to 1 or 0. As discussed above, the O/G flag is set to 1 if the Tokyo geodetic system is in effect with the start flag at 1; the O/G flag is set to 0 if the WGS84 is in effect with the start flag at 1. When the flags are thus set, step S74 is reached in which a storage process is performed. The storage process was already discussed in reference to the flowchart of
In step S75, a single bleep sound is emitted to notify the user that the GPS device 1 is now switched on. In step S76, a check is made to see if the sleep time is set to zero. The sleep time is a designated period of time in which the sleep state is allowed to continue after the most recent storage of log data. In other words, the sleep time is a parameter that specifies when to store log data.
If the sleep time is set to zero, that means the wake state is allow to continue in the absence of the sleep state. If the sleep time is set to a value other than zero, then the sleep state is to continue for as long as the period of time defined by the value, to be replaced later by the wake state. In other words, the sleep state and the wake state are alternated so that log data are stored intermittently (i.e., only in each wake state). The wake state may continue for up to a period defined as a maximum wake time.
The sleep time and the wake time may be defined by the user as desired. By default, the sleep time is set illustratively to two minutes (120 seconds) and the wake time to 10 minutes (600 seconds).
If in step S76 the sleep time is judged to be other than zero, step S77 is reached in which an intermittent operation process is performed.
In step S92, GPS data are acquired, generally at intervals of one second. If the GPS data are derived from signals currently received from satellites, the data are used as new data. If no signal can be received from satellites for the movement, the most recently acquired data from satellites are utilized as old data. In step S93, a check is thus made to see if the GPS data obtained in step S92 are new data (based on signals from satellites).
If in step S93 the GPS data are not judged to be new data, step S94 is reached. In step S94, the value on the counter unit 55 is decremented by one (i.e., by 1 second). In step S95, a check is made to see if the counter value has reached zero. In other words, it is determined whether the wake time has expired. If in step S95 the counter value is not judged to be zero, step S92 is reached again and subsequent steps are repeated. If in step S95 the counter value is judged to be zero, step S97 is reached.
If in step S93 the GPS data are judged to be new data, step S96 is reached for a storage process. The storage process has already been discussed and thus will not be described here further. With the storage process completed, step S97 is reached in which the control unit stands by in a sleep state that may last for as long as a predetermined sleep time. Specifically, in intermittent operation, the storage process is carried out the moment GPS data are obtained from signals coming from satellites after the wake state has been brought into effect. Once the storage process is performed, the sleep state is resumed immediately. Power dissipation is minimized because the sleep state is restored immediately after new GPS data are acquired.
If the predetermined sleep time for the sleep state is two minutes, if the predetermined wake time for the wake state is one minute, and if the GPS device is indoors or otherwise located not to be able to receive signals from satellites, then log data are stored every three minutes. If the GPS device is outdoors or otherwise located to be able to receive signals from satellites easily and if log data are stored one second after the wake state is selected, then the log data are stored approximately every two minutes thereafter.
If no signal is received from satellites in the wake state (i.e., if no new data are obtained), then the process of step S96 is never carried out. In that case, no log data are stored.
If in step S97 the predetermined sleep time has expired in the sleep state, step S91 is reached again. The wake state is then selected again and subsequent steps are repeated.
The steps above constituting the flowchart of
Returning to the flowchart of
The processes in steps S112 through S116 are the same as those in steps S92 through S96 of
Log data are recorded only when signals can be received from satellites. If no signals are received from satellites, no log data are recorded and the standby state is selected. If the interval time is set for longer than one minute, the standby state is replaced by the sleep mode. This makes it possible to minimize power dissipation in the continuous operation process as in the case of the intermittent operation process.
As with the intermittent operation process, the above steps constituting the flowchart of
Below is a description of what takes place when the mark button 36 is operated. In the storage mode with the wake state or wake-up state in effect, operating the mark button 36 carries out a specific process. In the wake or wake-up state, GPS data may or may not be acquired (i.e., signals from satellites may or may not be received by the antenna 31).
If the mark button 36 is operated while GPS data are being acquired, position and time information in effect at the time of the button operation is stored as log data. In that case, any interval time set for the storage mode is disregarded. That is, log data are stored the moment the mark button 36 is operated; there is no specific timing for log data to be stored. The same holds when the current GPS data cannot be acquired. With no GPS data received from satellites, however, it is impossible to store (or generate) log data including position information based on the new GPS data. In such a case, log data are generated in a manner including the most recent position information (old data) based on signals from satellites.
Time information is supplied by the counter unit 55. In managing its own time, the counter unit 55 corrects the time on the basis of signals received from satellites. If the mark button 36 is operated with no signals acquired from satellites, the counter unit 55 supplies the self-managed time information to the control unit 53. In turn, the control unit 53 generates log data that include the supplied time information, and stores the generated log data into the storage unit 52.
As described, data to be stored by operation of the mark button 36 are accompanied by a mark flag (set to 1) when actually recorded. If the log data contain old data, they are stored with the O/G flag set to 1.
The storing of log data outlined above is described below in more detail with reference to timing charts in
In
When log data are normally stored, the REC lamp 34 is lit red. If no log data are recorded, the REC lamp 34 is not illuminated. If the power button 37 is operated to designate removal of power during log data storage, log data with an end flag are stored and the log data storage process comes to and end. The POWER lamp 35 keeps glowing green from the time the start flag is stored until the end flag is set.
The storing of log data by the intermittent operation process in the storage mode will now be described with reference to the timing chart of
If signals are normally received from satellites in the wake state, log data are stored (at P0, P1, P3). If the satellite signals are not normally received in the wake state (i.e., while the wake time elapses), no log data are stored (at P2). As soon as log data are stored, the sleep state is selected. The immediate resumption of the sleep state is designed to minimize battery power dissipation during the intermittent operation process.
Described below with reference to the timing chart of
The checks above may be carried out by viewing the POWER lamp 35. If the POWER lamp 35 is not lit, the user knows that power is still off. In that case, the power button 37 is operated to switch on the GPS device 1. If the POWER lamp 35 is seen blinking red at intervals of four seconds, the user recognizes the sleep state. The power button 37 is then actuated (for less than three seconds) to bring the GPS device 1 into the wake-up state.
Operating the mark button 37 stores the position information at that point in time. The timing chart of
In the latter case, the user presumably operates the mark button 36 in order to mark (i.e., store) at least the current time while being aware that position information is not obtainable because the GPS lamp 33 is glowing red. In that case, log data are stored which include, as position information applicable to the most recent log data, the time information managed by the counter unit 55 and supplemented by the old flag (with the O/G flag set to 1). Thus the position information is not made up of the data in effect just when the mark button 36 was operated, whereas the time information is constituted by the current time supplied by the counter unit 55.
As described, when certain information is stored by operation of the mark button 36, that information is recorded together with the mark flag (set to 1).
When the storing of log data storage is terminated by operation of the mark button 36, the wake-up state remains in effect until the predetermined wake time expires or until the user operates the power button 37. In the example of
The GPS device 1 is powered by batteries (located under the battery lid 40) while the above-described log data storing operation is being performed (i.e., when the GPS device 1 is operating alone). The batteries are exhausted progressively and drop eventually to a level too low to sustain log data storage or other operation. Prior to that eventuality, the user must be warned of the reduced battery level.
The control unit 53 (
The log data thus stored into the storage unit 52 are sent to the personal computer 4 through the USE port 42. Where the personal computer 4 is connected with the GPS device 1 by means of a USB cable, the GPS device 1 is powered by the personal computer 4. How the GPS device 1 works when connected to the personal computer 4 through the USB will now be described by referring to a flowchart in
In step S131 of
If in step S132 the relevant application program is not judged to be activated, step S133 is reached. In step S133, a check is made to see if the wake state is selected (including a wake state brought about while the wake-up state is in effect). If in step S133 the wake state is judged to be selected, step S135 is reached. If the wake state is not judged to be in effect in step S133, step S134 is reached.
In step S134, a check is made to see if the GPS device 1 is in the sleep state. If in step S134 the sleep state is judged to be in effect, step S135 is reached. Control is passed on to step S135 in one of two ways: when the wake state was judged to be selected in step S133, or when the sleep state was judged to be in effect in step S134. This is a stage where the GPS device 1 is being switched on.
When the user connects the GPS device 1 to the personal computer 4, it is presumed that the GPS device 1 is to be utilized in the GPS mode or in the PC mode. This necessitates terminating the wake state or sleep state that is a state for data storage. Thus a power-off process is carried out in step S135. The power-off process has already been discussed and will not be described here further.
If in step S134 the sleep state is not judged to be in effect, i.e., if the GPS device 1 is judged turned off, then the processing of
If in step S132 the relevant application program is judged to be active on the personal computer 4, step S136 is reached for a GPS mode process.
In step S151 of
In step S154, a check is made to see if any data are input from the personal computer 4. Basically, the GPS device 1 in the GPS mode only supplies position and time information to the personal computer 4 and receives no data therefrom. If in step S154 any data are judged to be output by the personal computer 4 to the GPS device 1, that means the user wants to operate the GPS device 1 by means of the personal computer 4. In other words, the user's desire to switch to the PC mode is recognized. Thus if any data from the personal computer 4 are detected in step S154, step S155 is reached.
In step S155, a check is made to see if the data from the personal computer 4 specify a switchover to the PC mode. If in step S155 the data from the personal computer 4 are not judged to be something designating a switchover to the PC mode, then the data are regarded as irrelevant to the GPS device 1 and step S156 is reached. Step S156 is also reached when no data are judged to be admitted from the personal computer 4.
In step S156, a check is made to see if the relevant application program has been activated. If control has been passed on to the GPS mode process outlined in
In judging that the relevant application program is off, the above check in step S156 allows the GPS device 1 to be turned off to minimize power dissipation since the GPS device is currently not needed. Turning off the GPS device 1 cuts off the supply of the currently unnecessary power from the personal computer 4, which translates into savings of power resources in the computer 4.
Thus if the relevant application program is judged to be inactive in step S156, step S157 is reached in which the GPS device 1 is switched off. If in step S156 the application program is judged to be on, step S152 is reached again and subsequent steps are repeated (i.e., the GPS mode is maintained).
If in step S155 the input data are judged to be those specifying a switchover to the PC mode, step S158 is reached in which a PC mode process is performed.
In step S172, a check is made to see if the application program relevant to the GPS device 1 has been started up on the personal computer 4. This process is the same as that in step S156 of
If in step S172 the relevant application program is judged to be on, step S171 is reached again and subsequent steps are repeated (i.e., the PC mode is maintained). If the relevant application program is judged to be off in step S172, step S157 (of
If in step S171 any data are judged to be input from the personal computer 4, a check is made to see if the input data constitute a command designating a switchover to the GPS mode. If in step S171 the data are judged to be the command specifying transition to the GPS mode, step S174 is reached for a GPS mode process. The GPS mode process is constituted by the steps making the flowchart in
If in step S173 the input data are not judged to constitute a command designating a switchover to the GPS mode, step S175 is reached for a command analysis and execution process in which the command from the personal computer 4 is analyzed and the operation specified thereby is carried out.
In step 3201 of
If in step S201 the command is not judged to be the reset command, step S203 is reached. In step S203, a check is made to see if the command is a USB power command. If in step S203 the command is judged to be one related to the supply of power through the USB, step S204 is reached. In step S204, the supply of power through the USB turned on or off as designated by the command.
If in step S203 the command is not judged to be the USB power command, step S205 is reached. In step S205, a check is made to see if the command is an antenna power command. If in step S205 the command is judged to be one related to the supply of power to the antenna 31, step S206 is reached. In step S206, the supply of power to the antenna 31 is turned on or off as specified by the command.
If in step S205 the command is not judged to be the antenna power command, step S207 is reached. In step S207, a check is made to see if the command is an ID output command. If in step S207 the command is judged to be one designating the output of a device ID, step S208 is reached in which an ID code unique to the GPS device 1 in question is output.
If in step S207 the command is not judged to be the ID output command, step S209 is reached. In step S209, a check is made to see if the command is a storage dump command. If in step S209 the command is judged to be one designating a dump of the storage unit 52, step S210 is reached in which a dump process is started. The dump may be halted halfway. Thus if in step S209 the command is not judged to be the storage dump command, step S211 is reached in which a check is made to see if the command is a dump halt command.
If in step S211 the command is judged to be the dump halt command, step S212 is reached for a dump halt process. If in step S211 the command is not judged to be the dump halt command, step S213 is reached. In step S213, a check is made to see if the command is a read command. If in step S213 the command is judged to be one designating a read operation from the storage unit 52, step S214 is reached. In step S214, the data designated by the command are read from the storage unit 52.
If in step S213 the command is not judged to be the read command, step S215 is reached. In step S215, a check is made to see if the command is a write command. If in step S215 the command is judged to be one designating the writing of data to the storing unit 52, step S216 is reached. In step S216, the data designated by the command are written to the storage unit 52.
The command analysis outlined in
The processing of
In order to output a desired command illustratively in the manner outlined in
On the display 19, a setting window 71 appears on which to operate (i.e., set) parameters for determining the way the GPS device 1 should operate. The setting window 71 is made up of three major portions: an operation setting area 72, a memory setting area 73, and a battery setting area 74. The operation setting area 72 comprises an interval setting field 75 in which to set a log storage interval, and an effective time setting field 76 in which to set an effective wake-up time.
The memory setting area 73 is constituted by an alarm setting field and a clear button 77. The alarm setting field allows the user to set a threshold percentage of the remaining memory capacity (of the storage unit 52) as a criterion below which an alarm is issued. The clear button 77 is operated to clear all stored log data. As described earlier, log data keep being written to the storage unit 52 unless erased intentionally by the user. To ensure a sufficient writable capacity, the user should operate the clear button 77 periodically to clear the storage unit 52.
The battery setting area 74 constitutes a field in which to set a threshold percentage of the remaining battery charges as a criterion below which an alarm is issued. Under the battery setting area 74 are three buttons: a reset-to-default button 78-1, an OK button 78-2, and a cancel button 78-3. The reset-to-default button 78-1 is operated to reset the user-established parameters to the default values. The OK button 78-2 is operated to confirm the end of the parameter setting. The cancel button 78-3 is operated to cancel any parameters that have been set so far but are considered unnecessary, or to close the setting window 71.
In setting parameters in various areas or fields, the user points a cursor where desired on the screen by operating the mouse 16 (
Illustratively, the log storage interval may be set for any one of 1 second, 3 seconds, 5 seconds, 10 seconds, 30 seconds, 1 minute, 3 minutes, 5 minutes, 10 minutes, 30 minutes, and 60 minutes (1 hour). The pull-down menu 81 may be arranged to contain a field in which any other time period may be set as desired. In setting the interval, the user should take into account the circumstances under which log data are to be stored. For example, if log data are expected to be recorded during walking, the moving speed is not very high so that a relatively long interval of, say, 10 or 30 minutes may be selected. If log data are expected to be stored during a trip by car, the moving speed is high and thus a relatively short period of, say, 30 seconds or 1 minute should be selected to keep frequent logs.
Other parameters may also be set in like manner. Obviously, arrangements may be made not merely to pick one of the values contained in the pull-down menu 81 but to point the cursor 81 to the field in question so that the currently displayed value may be directly changed as desired.
Every time the OK button 78-2 is operated, the data denoting the established parameter(s) are output from the personal computer 4 to the GPS device 1. In such a case, the GPS device 1 receives a write command requiring the old parameter value(s) to be replaced by the newly established parameter(s). More specifically, in step S215 of
In case an error occurs for some reason during data exchanges between the personal computer 4 and the GPS device 1, an error message such as is shown in
The setting window 71 is not limited in design to what is shown in
If the user operates the cancel button in the window of
As described, the log data including position and time information and stored in the GPS device 1 may be supplied to the personal computer 4. On the personal computer 4, the user can edit, in conjunction with the supplied log data, the image data captured by the digital camera 2 (
When recording image data, the digital camera 2 associates data making up each image with a time stamp illustratively using a digital camera format DCF (Design rule for Camera File) defined by the JEIDA (Japan Electronic Industry Development Association). More specifically, as shown in
Described below with reference to a flowchart of
The log data in
In step S232, the data constituting a target image to be processed are read. The read operation is performed as follows: from that floppy disk 3 in the FDD 17 (or from the portable semiconductor memory 5 or a remote source over a network) which holds image data taken by the digital camera 2, image data having the data structure shown in
In step S233, the counter value regarding the log data to be processed is initialized to zero. In step S234, a check is made to see if the counter value is less than the number of all log data items plus one. In other words, it is determined whether all log data items are subject to the processes in step S234 and subsequent steps. In this case, the counter value has just been set to zero and thus it is judged to be less than the total log data item count plus one, so that step S235 is reached.
In step S235, the “preceding” log data item is set to the counter value and the “next” log data item is set to the counter value plus one. The preceding and the next log data items are chronologically adjacent to each other (i.e., having consecutive counter values), the preceding log data item being earlier by one time increment than the next log data item. In step S236, a check is made to see if the time of the preceding log data item was earlier than the time at which the image was taken. In other words, it is determined whether the time stamp of the preceding log data item represents a time of day previous to the time included in the target image data to be processed read in step S232.
If in step S236 the time stamp of the preceding log data item is judged to be earlier than the time of the image capture, step S237 is reached. In step S237, a check is made to see if the time stamp of the next log data item is subsequent to the time of the image capture. If in step S237 the next log item is not judged to be subsequent to the time of the image capture, step S238 is reached in which the counter value is incremented by one. Regarding the log data having the newly established counter value, the processes of step S234 and subsequent steps are repeated.
If in step S237 the time stamp of the next log data item is judged to be later than the time of the image capture, step S239 is reached. In step S239, the position where the image was taken is estimated. How the position of the image capture is typically estimated is described below with reference to
When the counter value reaches 29 (i.e., when the preceding log data item is associated with the time stamp of “10:32:30” and the next log data item with “10:33:00”), the process of step S236 judges the time of the preceding log data item to be earlier than the time of the image capture. In step S237, the time of the next log data item is judged to be later than the time of the image capture. This is the state shown in
In this example, the time of the image capture is “10:32:40,” preceded by the preceding log data item with the time of “10:32:30” and followed by the next log data item with the time of “10:33:00.” Where the two log data items and the time of the image capture are plotted on the time base as sketched in
In the example above, the position information on the log data item with the time of “10:32:30” is constituted by N42° 32′35″ and E135° 12′20″, whereas the position information about the log data item having the time of “10:33:00” is made of N42° 35′35″ and E135° 00′40″. Because of the assumption that the position information spanning the two positions of the log data items is internally divided in proportions of 1:2, the north latitude (N) of the position of the image capture is estimated at N42° 33′35″. Based on the same assumption, the east longitude (E) of the position of the image capture is estimated at E135° 04′20″. The estimates carried out as described above in step S239 determine the position of the image capture corresponding to the image capture time.
There may be a case in which the time of the image capture matches the time of a given log data item, i.e., the case where the proportions of internal division are 0:X (X is a value contingent on the storage interval between log data items). In that case, the position information about the log data item in question is estimated to represent the position where the target image data were acquired.
In terms of log data storage intervals, the GPS device 1 works as described in one of two modes: continuous mode in which log data are stored every second, and intermittent mode in which log data are recorded at intervals of up to 3,600 seconds (1 hour). Due to obstacles, the GPS device 1 may sometimes be unable to receive signals normally from satellites (i.e., unable to store log data containing accurate position information). If signals from satellites are not received in the intermittent mode or because of obstacles, there are no log data available containing position information corresponding to (i.e., matching) the times of day at which image data were acquired. Such eventualities can be overcome by estimating the position of the image capture in the manner described above.
When the image capture position is estimated (i.e., determined) in step S239, step S241 is reached. In step S241, the data representing the image capture position are associated with the target image data to be processed before they are all written illustratively to the HDD 18.
Suppose that in step S234 the counter value is judged to be larger than the total log data item count plus one, or that in step S236 the time of the preceding log data item is not judged to be earlier than the time of the image capture (since comparison with the image capture times proceeds chronologically, the judgment that the time of the preceding log data item was not earlier than the time of the image capture signifies that all log data items are subsequent to the image capture time). In such cases, step S240 is reached.
In step S240, it is judged that the position of the target image data to be processed cannot be estimated. In step S241, the image data are stored together with a data item indicating the absence of estimates about the image capture position.
In the foregoing description, two log data items closest chronologically to the time of the image capture were shown retrieved before estimates of an image capture position were carried out. Alternatively, there may be provided a step in which to search for a log data item whose time matches an image capture time. Estimates of the image capture position are performed only in the absence of any matching log data item.
The image data thus associated with specific positions of the image capture may be displayed as thumbnail images at the corresponding positions on a digital map, or may be grouped into suitable zone categories according to the position information. Such editing work is carried out by use of an appropriate application program. If certain image data are displayed on the digital map and if the position information associated with that image has been acquired intentionally by the user (i.e., if the position information is derived from specific log data stored by the user's operation of the mark button 36), then an indication attesting to the user's choice may be displayed as needed.
The log data need not be limited in their use to being associated with image data. Alternatively, the log data may be sorted out chronologically and plotted on a digital map in the sorted order. The data thus plotted provide a track traveled by the user.
The examples above have been shown centering on how to deal with still pictures obtained by the digital camera 2. However, this is not limitative of the invention. The invention also applies to moving picture data captured by a digital video camera or like equipment. In practicing satellite-based position measurement, the GPS may be replaced by the GLONASS (Global Orbiting Navigation Satellite System).
The processes discussed above may be implemented either by hardware or by software. If a series of processes is implemented by software, programs constituting the software are loaded from a program storage medium into a computer having a hardware structure dedicated to the software or into a general-purpose personal computer capable of executing diverse functions based on various programs that may be installed therein.
The program storage medium from which to load programs into the personal computer 4 for execution may be any one of such media as magnetic disks 131 (including floppy disks), optical disks 132 (including CD-ROM (Compact Disc-Read Only Memory) and DVD (Digital Versatile Disc)), a semiconductor memory 134 or like package medium, and a hard disc drive constituting a ROM 112 or a storage unit 118 into which programs are stored temporarily or permanently. Programs are stored onto the program storage medium from wired or wireless communication media such as local area networks, the Internet, or digital satellite broadcast links through such interfaces as routers and modems where necessary.
In this specification, the steps in which to describe the programs offered by the program storage medium may or may not be carried out chronologically in the described sequence. These steps include processes that may be executed in parallel or on an individual basis.
In this specification, the term “system” refers to a totality of multiple devices configured.
To sum up, as described above and through the use of an information processing method, an information processing apparatus and a program storage medium according to the invention, measured position information is first stored in association with first time information representing times of day at which the measured position information was obtained. Video information is then stored in association with second time information representing times of day at which the video information was obtained. A search is made to retrieve the first time information closest to the second time information so that the measured position information corresponding to the retrieved first time information is associated with the video information corresponding to the second time information. The inventive method and apparatus thus allow users to edit video information more easily than before.
Furthermore, as described and through the use of another information processing apparatus, another information processing method and another program storage medium according to the invention, a command is provided to read log data from a device which stores the log data associating measured position data with time data. The command, when input, causes the log data to be retrieved from the device. Positions based on the measured position data included in the retrieved log data are then plotted on an electronic map. Users can thus trace measured positions on the map whenever desired.
As many apparently different embodiments of this invention may be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
11-264658 | Sep 1999 | JP | national |
This application is a continuation of U.S. patent application Ser. No. 13/785,341, filed Mar. 5, 2013, which is a continuation of U.S. patent application Ser. No. 11/585,848, filed Oct. 25, 2006, now U.S. Pat. No. 8,421,883, which is a divisional of U.S. patent application Ser. No. 11/017,728, filed Dec. 22, 2004, now U.S. Pat. No. 7,804,528, which is a divisional of U.S. patent application Ser. No. 09/661,994, filed Sep. 14, 2000, now U.S. Pat. No. 6,871,004, and which claims priority to Japanese Patent Application No. 11-264658, filed Sep. 17, 1999, the entire contents of each of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 11017728 | Dec 2004 | US |
Child | 11585848 | US | |
Parent | 09661994 | Sep 2000 | US |
Child | 11017728 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13785341 | Mar 2013 | US |
Child | 15051827 | US | |
Parent | 11585848 | Oct 2006 | US |
Child | 13785341 | US |