CN108387235A - A kind of efficient method for drafting of flight path - Google Patents
A kind of efficient method for drafting of flight path Download PDFInfo
- Publication number
- CN108387235A CN108387235A CN201810118619.0A CN201810118619A CN108387235A CN 108387235 A CN108387235 A CN 108387235A CN 201810118619 A CN201810118619 A CN 201810118619A CN 108387235 A CN108387235 A CN 108387235A
- Authority
- CN
- China
- Prior art keywords
- flight path
- drafting
- bounding box
- path section
- efficient method
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Image Generation (AREA)
Abstract
The efficient method for drafting of a kind of flight path disclosed by the invention, include according to optimization it needs to be determined that track points in each flight path section, directly draw the bounding box of flight path section, so that pixel quantity shared by the bounding box diagonal line of the flight path section is less than a setting value P, all bounding boxs are then connected into composition track line.The present invention can greatly improve flight path and draw efficiency under the premise of avoiding flight path from being distorted.
Description
Technical field
The present invention relates to a kind of efficient method for drafting of flight path.
Background technology
Flight path is a kind of user data critically important in navigation equipment peculiar to vessel, the navigation rail passed through for recording ship
Mark.As memory storage capabilities are increasing, the points that navigation equipment can be supported recording flight path are more and more.This also brings
One problem, the drafting of flight path allow equipment increasingly to block with increasing of counting of flight path in use.
The storage organization of flight path is generally made of flight path section one by one, and flight path section is made of a certain amount of track points again.
Whether each flight path section has corresponding bounding box information, bounding box information to be used to judge current flight path section in the screen for needing to draw
In range, the flight path section not in screen ranges is skipped to improve flight path and draws efficiency.But it is bigger in chart scale
When, a large amount of flight path is shown in screen ranges, and the method for bounding box filtering at this time can not improve drafting efficiency well.
The present invention is based on above-mentioned deficiencies to be studied, and spy proposes a kind of efficient method for drafting of flight path.
Invention content
The purpose of the present invention is to provide a kind of efficient method for drafting of flight path, under the premise of avoiding flight path from being distorted, significantly
It improves flight path and draws efficiency.
To reach above-mentioned technical purpose, technical method of the invention is as follows:
A kind of efficient method for drafting of flight path, including:According to optimization it needs to be determined that track points in each flight path section, directly draw
The bounding box of flight path section so that pixel quantity shared by the bounding box diagonal line of the flight path section is less than a setting value P, then by institute
There is bounding box to connect composition track line.
Setting value p=5.
Filling can be used in the mode for drawing the bounding box of flight path section, dot is drawn, diagonal line is drawn or rectangular edges are drawn.
After the above method, the positive effect of the present invention is:By directly drawing flight path section bounding box, then pass through packet
It encloses box and draws out flight path, flight path shape and traditional track points one by one flight path connected are substantially similar, in flight path section packet
Enclose box it is sufficiently small in the case of, the flight path of the two, which is visually seen, reaches identical, without the drafting line put one by one
Track points substantially increase drafting efficiency.
Description of the drawings
Fig. 1 is the Bounding Box schematic diagram that the drafting mode of existing flight path is drawn out;
Fig. 2 is the comparison diagram that existing way draws out flight path with the present invention;
Fig. 3 is bounding box diagonal line schematic diagram;
The track plot that Fig. 4 is drawn out when being p=5.
Specific implementation mode
The drafting mode of existing flight path is simple track points one by one of drawing track points will connect one by one again,
To form a complete flight path section, as shown in Figure 1, rectangle frame is the bounding box of the flight path section.
When chart scale is bigger, the point in a flight path section all piles up in the region of very little, the packet drawn out
Enclose one piece of region that box is also very little.It is that will normally draw flight path under certain chart scale and only draw and surround shown in Fig. 2
Box is compared, and the flight path of the two, which is visually seen, reaches identical.
Therefore, the present invention discloses a kind of efficient method for drafting of flight path, including:According to optimization it needs to be determined that each flight path section
In track points, directly draw flight path section bounding box so that pixel quantity is less than shared by the bounding box diagonal line of the flight path section
Then all bounding boxs are connected composition track line by one setting value P.Figure it is seen that using the present invention efficient
The flight path shape that method for drafting obtains is substantially similar to Fig. 1, if flight path section bounding box is sufficiently small, the flight path of the two is visually
See it can is identical, and directly drawing bounding box can be more many soon than the efficiency of line after the track points of drafting one by one.Draw boat
Filling can be used in the mode of the bounding box of mark section, dot is drawn, diagonal line is drawn or rectangular edges are drawn.
Accordingly, it is determined that can the size in bounding box region be the key that directly to obtain flight path by drawing bounding box, and lead to
The size in bounding box region can be judged by crossing the cornerwise length d of bounding box rectangle;As shown in figure 3, when the packet of flight path section
It encloses box catercorner length d and is less than certain pixel p, it will be able to filling flight path section bounding box is directly drawn, without point one by one
Drafting line track points, under the premise of p value setting is rational, the flight path image of drafting and the flight path image of ordinary drawn can not
By visually seeing difference.
As shown in figure 4, as setting value p=5, flight path has no distortion phenomenon, but P values, depending on optimizing intensity, p is bigger, excellent
Change intensity is bigger, and image fault is more, and P is not limited to this example, can be adjusted according to actual needs.
It is filling bounding box rectangle that the present embodiment, which is taken and draws the mode of bounding box, can also be wrapped by drawing in software realization
It encloses box diagonal line or other modes is waited to be drawn.
Claims (3)
1. a kind of efficient method for drafting of flight path, which is characterized in that including:According to optimization it needs to be determined that boat in each flight path section
Mark point directly draws the bounding box of flight path section so that pixel quantity shared by the bounding box diagonal line of the flight path section is set less than one
Then all bounding boxs are connected composition track line by definite value P.
2. a kind of efficient method for drafting of flight path as described in claim 1, it is characterised in that:Setting value p=5.
3. a kind of efficient method for drafting of flight path as described in claim 1, it is characterised in that:Draw the side of the bounding box of flight path section
Filling can be used in formula, dot is drawn, diagonal line is drawn or rectangular edges are drawn.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810118619.0A CN108387235A (en) | 2018-02-06 | 2018-02-06 | A kind of efficient method for drafting of flight path |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810118619.0A CN108387235A (en) | 2018-02-06 | 2018-02-06 | A kind of efficient method for drafting of flight path |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108387235A true CN108387235A (en) | 2018-08-10 |
Family
ID=63075242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810118619.0A Withdrawn CN108387235A (en) | 2018-02-06 | 2018-02-06 | A kind of efficient method for drafting of flight path |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108387235A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070140526A1 (en) * | 1997-07-22 | 2007-06-21 | Patrick Pirim | Image processing method |
CN102467742A (en) * | 2010-10-29 | 2012-05-23 | 华晶科技股份有限公司 | Object tracking method |
US20130051613A1 (en) * | 2011-08-29 | 2013-02-28 | International Business Machines Corporation | Modeling of temporarily static objects in surveillance video data |
CN104992145A (en) * | 2015-06-15 | 2015-10-21 | 山东大学 | Moment sampling lane tracking detection method |
-
2018
- 2018-02-06 CN CN201810118619.0A patent/CN108387235A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070140526A1 (en) * | 1997-07-22 | 2007-06-21 | Patrick Pirim | Image processing method |
CN102467742A (en) * | 2010-10-29 | 2012-05-23 | 华晶科技股份有限公司 | Object tracking method |
US20130051613A1 (en) * | 2011-08-29 | 2013-02-28 | International Business Machines Corporation | Modeling of temporarily static objects in surveillance video data |
CN104992145A (en) * | 2015-06-15 | 2015-10-21 | 山东大学 | Moment sampling lane tracking detection method |
Non-Patent Citations (4)
Title |
---|
ZDENEK KALAL等: "Forward-Backward ErrorAutomatic Detection of Tracking Failures", 《2010 INTERNATIONAL CONFERENCE PATTERN RECOGNITION》 * |
熊志辉等: "嵌入式应用中加速图像投影变换的Cache包围盒方法", 《计算机工程与科学》 * |
王雅光: "基于多直线简化方法的二维CAD显示优化研究", 《中国优秀硕士学位论文全文数据库》 * |
胡勤友等: "一种提高电子海图上船舶航迹显示速度的方法", 《中国航海》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102855232B (en) | A kind of tabular analysis adapts job operation | |
CN101833542B (en) | Method and device for rendering fonts of user interface | |
CN102929572B (en) | A kind of realize the seamless spliced method of the many projections of giant-screen and splicing fusion device | |
CN103605506B (en) | The display packing of a kind of graphical user interface resource and terminal | |
CN105005461A (en) | Icon display method and terminal | |
CN102289840B (en) | Volume rendering method for designing color transmission function for color blindness | |
CN103209326A (en) | PNG (Portable Network Graphic) image compression method | |
CN103177419A (en) | Caching method for vector diagram converted bitmap and special image processing device | |
CN104919490B (en) | For the structured descriptor of image procossing | |
CN104407384B (en) | Seismic section display method | |
CN107402734A (en) | A kind of method that text definition is automatically adjusted with screen resolution | |
CN105959799A (en) | Video compression method and device and electronic equipment | |
CN108737875A (en) | Image processing method and device | |
CN109655010A (en) | A kind of camera Dynamic Networks are formatted the method for taking the photograph object measurement | |
CN103631824B (en) | A kind of Webpage display process and device | |
CN105791764A (en) | Video monitoring image display method based on three-dimensional image | |
CN114827718A (en) | Method and device for self-adaptive alignment display of real-time video screen-combining characters in cloud conference | |
CN104185000B (en) | A kind of automatic calibrating method interactive across screen | |
WO2022095595A1 (en) | Image recognition method, apparatus, electronic device, and storage medium | |
CN102572207B (en) | Color space transformation method suitable for joint photographic experts group (JPEG) image | |
CN108387235A (en) | A kind of efficient method for drafting of flight path | |
CN109635729A (en) | A kind of Table recognition method and terminal | |
TW201123886A (en) | Look up table update method. | |
CN105224268B (en) | A kind of method and apparatus that screen is shown | |
CN110351562A (en) | A kind of 10 bit YUV image storage formats |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180810 |