CN101482863A - Interest point information storage method - Google Patents

Interest point information storage method Download PDF

Info

Publication number
CN101482863A
CN101482863A CNA2008100004670A CN200810000467A CN101482863A CN 101482863 A CN101482863 A CN 101482863A CN A2008100004670 A CNA2008100004670 A CN A2008100004670A CN 200810000467 A CN200810000467 A CN 200810000467A CN 101482863 A CN101482863 A CN 101482863A
Authority
CN
China
Prior art keywords
interest
descriptor
poi
field
point
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
CNA2008100004670A
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.)
Autonavi Software Co Ltd
Original Assignee
Autonavi Software 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 Autonavi Software Co Ltd filed Critical Autonavi Software Co Ltd
Priority to CNA2008100004670A priority Critical patent/CN101482863A/en
Publication of CN101482863A publication Critical patent/CN101482863A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention discloses an interested point information storing method which comprises storing the picture of interested point with image file, wherein the image file comprises picture field and data field. The description information of interested point is stored in the data field. The technical solution adopting the interested point information storing method of the invention can save resource.

Description

Interest point information storage method
Technical field
The present invention relates to the electronic map technique field, refer to a kind of interest point information storage method that is used for the picture data storage especially.
Background technology
In the electronic chart field, (POI PointofInterest) generally includes the picture (perhaps photo) and the descriptor of this point of interest to each point of interest.Described POI refers to the visual description object except that road in the electronic chart.Described descriptor comprises title, classification, longitude and latitude and supplemental instruction document or the like.Generally, the collection of POI photo is found a view with digital camera, and form is jpeg format normally, leaves in storage card or other storage medium.
As shown in Figure 1, this is the storage mode of the POI information of prior art, the photo of the POI that shooting is finished leaves on the hard disk through after the Computer Processing, the descriptor of this POI leaves in separately in the POI database, between this POI photo and descriptor (as " the POI literal " among Fig. 1), set up one and be connected (as ' Link ' among the figure), POI photo and POI characters matching are got up by this connection.
From the above, there is following shortcoming in the prior art interest point information storage method:
At first, if the POI Word message that leaves in the POI database has been lost, the POI photo just becomes the data of no any description, therefore just exists a large amount of useful photos by phenomenon on the shelf.If memoriter remove to recover the POI Word message, then be a very arduous job, and memory is insecure, along with time lapse, memory will be blured, the thing that brings ...back and actual deviation arranged.
Secondly,, not only to exchange the photo binary message, also want exchange of texts descriptor (POI literal),, really can cause the waste of bandwidth and cpu resource though accomplish that technically everything is no problem if when the POI photo exchanged.
Summary of the invention
The problem to be solved in the present invention provides a kind of interest point information storage method that economizes on resources.
In order to address the above problem, the technical scheme of interest point information storage method of the present invention comprises:
The photo of point of interest is deposited with image file, and described image file comprises picture field and data field;
Leave the descriptor of point of interest in described data field.
Described step leaves the descriptor of point of interest in described data field and further comprises:
Described image file is left under the catalogue;
Edit the descriptor of described point of interest;
Described descriptor is write the data field of described image file.
Compared with prior art, the beneficial effect of interest point information storage method of the present invention is:
Because interest point information storage method of the present invention leaves the descriptor of point of interest in the data field of the image file of depositing the point of interest photo in, make the descriptor of point of interest and the photo of point of interest leave one in, binary data and the descriptor (lteral data) of just depositing photo bind together, and do not need to connect again and they could be coupled together.Bandwidth of using when therefore transmitting and cpu resource have all seldom been saved resource.
Description of drawings
Fig. 1 is the data flow synoptic diagram of prior art interest point information storage method;
Fig. 2 is the process flow diagram of interest point information storage method of the present invention;
Fig. 3 is the data flow synoptic diagram of interest point information storage method of the present invention;
Fig. 4 is the signal of a point of interest photo;
Fig. 5 is a Canon camera typical case output picture item of information synoptic diagram;
Fig. 6 adopts the synoptic diagram of interest point information storage method of the present invention in the preflood EXIF field of information;
Fig. 7 is the synoptic diagram that adopts the EXIF field after interest point information storage method of the present invention injects the POI descriptor;
Fig. 8 is the specifying information dialog box synoptic diagram of the User comment field in the described EXIF field of Fig. 7.
Embodiment
As shown in Figure 2, interest point information storage method of the present invention comprises:
Step 1) is deposited the photo of point of interest with image file, described image file comprises picture field and data field;
Step 2) descriptor with point of interest leaves described data field in.
Wherein, step 2) also can further comprise the steps:
Described image file is left under the catalogue;
Edit the descriptor of described point of interest;
Described descriptor is write the data field of described image file.
For image file, commonly used is jpeg format now, and it is by associating photo expert group (JointPhotographic Experts Group) exploitation and called after " ISO10918-1 ", and JPEG only is a kind of being commonly called as.The expansion of jpeg file .jpg by name or .jpeg, its compress technique is very advanced, it removes redundant image and color data with the lossy compression method mode, can represent very abundant lively image when obtaining highly compressibility, in other words, can obtain the better image quality with minimum disk space exactly.
Jpeg format is by so-called Marker Segments (marker field, data in the JPEG are fragmented storage, each section all has paragraph header and correlation range information) relevant information of coming document image, this mode has extraordinary dirigibility and expandability, than PCX in one's early years, GIF, the mode of employing document with fixed format heads such as BMP records will get well much that (PCX is former to be that 16 color images design before this, after 256 color images occur, just destroyed original formal definition, palette has been continued at tail of file; Though and also there is fragmentation scheme GIF inside, was extended for the realization animated function afterwards, but still was the file header record essential information that adopts set form).
Usually the jpeg format file is made up of three fields: picture pixel field, picture field and data field, wherein:
Picture pixel field is deposited the data that are used for describing the picture pixel; The picture field is deposited thumbnail (thumbnail generally in jpeg file, all can have a small thumbnails, and this small thumbnails has just generated, and can directly derive and browse) thumbnail in photograph taking; Data field is used for depositing text description information, and this field is called EXIF (Exchangeable image file format) again.
EXIF is the abbreviation of exchangeable image file, is to set for the photo of digital camera specially, can write down the attribute information and the photographed data of digital photos.EXIF is formulated in 1996 by Japanese Electronic Industries Development Association, and version is 1.0.1998, be upgraded to 2.1, increased support to audio file.In March, 2002,2.2 editions have been delivered.EXIF can be additional among the files such as JPEG, TIFF, RIFF, for it increases the content of relevant digital camera photographing information and the version information of key map or image processing software.
Each Marker Segments in the jpeg file is that the numerical value with a WORD type begins that (note: this records of values is that upper byte is preceding hereof the time, low byte is in the back), this numerical value is so-called Marker, each Marker is representing the meaning of corresponding Segment, if this Segment is meaningful (to be that length is greater than 0, whether meaningfully decide) on concrete Marker, the numerical value of an ensuing WORD type is exactly the length (byte order of this numerical value is identical with Marker) of this Segment, as for the particular content of Segment, then the difference according to Marker has different definition.Be called SOI as this Marker of FFD8, the beginning of presentation video, this section is sleazy; As FFE0 then is APP0, it is application program section 0, belonging to can self-defining data, it has been used to JFIF (JPEG File Interchange Format, be a kind of storage format of JPEG), this section then is substantial, and an ensuing WORD is exactly a segment length, and the definition of section content is defined by the JFIF standard.
EXIF is similar to JFIF, it used jpeg file APP1 (No. 1 section of expression storage application message, this section is different from the section of picture vector data, be the external information of a storage as the camera aperture size section.) and these two Marker Segments of APP2 (No. 2 sections of expression storage application message, the same APP1 of meaning).The length of Segment is to represent that with a WORD promptly maximum is no more than 64K.Because EXIF supports the lossless image form of a kind of Flashpix of being called as (the novel archives framework that is developed jointly by Kodak, Live Picture, HP and Microsoft (R)), its data surpass 64K probably, so used APP2, wherein APP2 can have a plurality of, but because the expanded function that the support of Flashpix is belonged to EXIF is seldom used usually, this paper does not discuss.
As shown in Figure 5, the paragraph header of the data field of a correspondence in the data representation EXIF field that the black wire frame surrounds, interest point information storage method of the present invention will leave descriptor in these data fields in exactly.Table 1 the right is the name and the value of the paragraph header of these data fields.The APP1 section of EXIF definition is the JPEG Marker of a standard
Segment。The value of APP1Marker wherein is FFE1, and Length is the length of this section, and its value comprises two bytes that Length itself is shared, but does not comprise two bytes that Marker is shared.Part remaining in the section is the data content of this field of EXIF.
Interest point information storage method of the present invention is exactly the EXIF field the inside of the descriptor of point of interest being left in the original photo file, i.e. data field the inside.The descriptor of POI and POI photo store together like this, rather than on two media, no longer need to connect and they could be coupled together.Can not exist the descriptor of POI to lose yet, and not know that this POI photo is and so on a problem.
As shown in Figure 3, will deposit into image file, the POI descriptor will be injected in the EXIF data field of jpeg file then, just realize the binding of descriptor and picture data with the photo that camera is taken.
As shown in Figure 4, be a meeting building of Beijing railway system.This photo is deposited with the formatted file of jpg.Then the descriptor of this POI is injected into the EXIF field (as section User comment) of photo files.
As shown in Figure 6, it is the synoptic diagram of the preflood EXIF field of information, and wherein, User comment field does not have content.
As shown in Figure 7, this figure is the synoptic diagram of the EXIF field after the POI descriptor is injected.
Click User comment zone User comment field is launched to amplify, then show dialog box as shown in Figure 8.Wherein, the descriptor of this POI is: N43.26.01 represents ...; E88.55.28 represents ....; Address: No. 12, grand celebration road, Fengtai District, Beijing; Title is a Beijing Railway Administration training center.
The c++ code that the POI descriptor is write the Exif field is as follows:
CImage*pImage=*it;
// it is handled, after handling, actual load point of interest photo
CString?strBackup=pImage->DSP();
// Load Image
CxImageJPG*pImageJPG=pImage->GetImage();
if(!pImageJPG)
{
pImage->CreateSTThumbnail(pImage->GetImageName());
pImageJPG=pImage->GetImage();
if(!pImageJPG)
{
Log (L " CSend::ImageDSP: generate thumbnail failure ", TRUE);
continue;
}
}
bool?bSaveSuccess=false;
If (! PImage-〉IsCompressed ()) // do not need to compress
{
bSaveSuccess=pImageJPG->BeginModifyExif(strBackup);
if(!bSaveSuccess)
{
CancelSend(strBackup);
if(DeleteFile(strBackup))
{
}
CString?strLog;
(L " %s pre-service failure is asked vacating space retry ", strBackup) to strLog.Format;
Log(strLog.GetBuffer(0),TRUE);
Continue; // in case current picture is skipped in failure, handle the picture of back
}
}
// check the POI descriptor is ready to?
if(!SetExfComment())
{
EndWaitCursor();
pImage->LoadThumbnail();
return?FALSE;
}
// the POI descriptor is write the comment field (User_comment) of picture
pImageJPG->SetComments(m_strExfComment.GetBuffer(0));
if(!pImage->IsCompressed())
BSaveSuccess=pImageJPG-〉EndModifyExif (strBackup); // do not need to compress
else
{
BSaveSuccess=pImageJPG-〉Save (strBackup); // need to compress
}
If (! BSaveSuccess) // compression is unsuccessful, reminds the user, deletes this file simultaneously
{
CancelSend(strBackup);
if(DeleteFile(strBackup))
{
}
CString?strFailed;
(L " %s aftertreatment failure is asked vacating space retry ", strBackup) to strFailed.Format;
Log(strFailed.GetBuffer(0),TRUE);
}
pImage->LoadThumbnail();
For the descriptor of POI, as shown in table 1, can also increase other descriptors certainly, decide according to actual conditions.
The POI descriptor Explanation
Gps coordinate Precision, latitude, highly
Title The title of this POI descriptor
Explanation This POI Short Description information
The address The address of this POI object
Table 1
In sum, because interest point information storage method of the present invention leaves the descriptor of point of interest in the data field of the image file of depositing the point of interest photo in, make the descriptor of point of interest and the photo of point of interest leave one in, binary data and the descriptor (lteral data) of just depositing photo bind together, and do not need to connect again and they could be coupled together.Bandwidth of using when therefore transmitting and cpu resource have all seldom been saved resource.

Claims (2)

1, a kind of interest point information storage method is characterized in that, comprising:
The photo of point of interest is deposited with image file, and described image file comprises picture field and data field;
Leave the descriptor of point of interest in described data field.
2, interest point information storage method as claimed in claim 1 is characterized in that, described step leaves the descriptor of point of interest in described data field and further comprises:
Described image file is left under the catalogue;
Edit the descriptor of described point of interest;
Described descriptor is write the data field of described image file.
CNA2008100004670A 2008-01-11 2008-01-11 Interest point information storage method Pending CN101482863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100004670A CN101482863A (en) 2008-01-11 2008-01-11 Interest point information storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100004670A CN101482863A (en) 2008-01-11 2008-01-11 Interest point information storage method

Publications (1)

Publication Number Publication Date
CN101482863A true CN101482863A (en) 2009-07-15

Family

ID=40879980

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100004670A Pending CN101482863A (en) 2008-01-11 2008-01-11 Interest point information storage method

Country Status (1)

Country Link
CN (1) CN101482863A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339220A (en) * 2010-07-27 2012-02-01 高德软件有限公司 Method and device for generating point of interest (POI) attribute collection box
CN102694829A (en) * 2011-03-23 2012-09-26 腾讯科技(深圳)有限公司 Method for displaying information, device thereof and background server
CN104199673A (en) * 2014-09-22 2014-12-10 联想(北京)有限公司 Information processing method and device
CN106403983A (en) * 2010-08-12 2017-02-15 星克跃尔株式会社 Apparatus and method for displaying a point of interest
CN107870713A (en) * 2016-09-27 2018-04-03 洪晓勤 The image processing method of Graphic-Attributes with compatibility

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339220A (en) * 2010-07-27 2012-02-01 高德软件有限公司 Method and device for generating point of interest (POI) attribute collection box
CN106403983A (en) * 2010-08-12 2017-02-15 星克跃尔株式会社 Apparatus and method for displaying a point of interest
CN102694829A (en) * 2011-03-23 2012-09-26 腾讯科技(深圳)有限公司 Method for displaying information, device thereof and background server
CN102694829B (en) * 2011-03-23 2016-06-22 腾讯科技(深圳)有限公司 A kind of method of exhibition information, device and background server
CN104199673A (en) * 2014-09-22 2014-12-10 联想(北京)有限公司 Information processing method and device
CN104199673B (en) * 2014-09-22 2018-01-26 联想(北京)有限公司 A kind of information processing method and device
CN107870713A (en) * 2016-09-27 2018-04-03 洪晓勤 The image processing method of Graphic-Attributes with compatibility

Similar Documents

Publication Publication Date Title
JP6566330B2 (en) Video editing method
US8271544B2 (en) Data file having more than one mode of operation
KR100608004B1 (en) File management method and file management apparatus for controlling assets in multimedia appliances and the information recording medium thereof
CN101282446B (en) Image recording device, player device, imaging device, player system, method of recording image, and computer program
JP4416606B2 (en) Display control apparatus, display control method, program, and storage medium
US20070250526A1 (en) Using speech to text functionality to create specific user generated content metadata for digital content files (eg images) during capture, review, and/or playback process
JP2009177253A (en) Data processing apparatus, image pickup apparatus and data processing program
US20020135685A1 (en) Digital camera device
US20060212794A1 (en) Method and system for creating a computer-readable image file having an annotation embedded therein
JP7483102B2 (en) Image file generating device and method, image file reproducing device, and program
US7889967B2 (en) Information editing and displaying device, information editing and displaying method, information editing and displaying program, recording medium, server, and information processing system
CN110248116B (en) Picture processing method and device, computer equipment and storage medium
CN103902664A (en) Page image rendering method and information providing method and device
US20040047615A1 (en) Image recording/reproducing device and method,disk, and image reproducing device
CN101482863A (en) Interest point information storage method
JP2005327257A (en) File management method and apparatus for controlling asset in multimedia appliance and information recording medium therefor
KR20040042612A (en) Methods for fixing-up lastURL representing path name and file name of asset in MPV environment
CN101221567B (en) File creation method and file search method
WO2012092901A2 (en) Media storage system and method
US20050240626A1 (en) Method and apparatus for fixing up LastURL, and computer readable recording medium storing program for performing the method
JP4693735B2 (en) Still image file recording and editing device
JP2010537492A (en) Embedded message in image
JP5153054B2 (en) File generation method and file search method
CN106294600A (en) The multimedia editing method of a kind of digital photograph, methods of exhibiting and system
CN118012656A (en) Damaged PDF document repairing method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090715