The ZW edition · Halcon-delphi Series Original Tutorial "Carrier aircraft and visual positioning symbol identification code

Source: Internet
Author: User

The ZW edition · Halcon-delphi Series Original Tutorial "Carrier aircraft and visual positioning symbol identification code

What does the sign of the yellow-black circle on the carrier-borne machine mean, radiation? Nuclear power? Tactical Nuke?


"Baidu Encyclopedia" introduced as follows
It's a manual sign for industrial digital photogrammetry.
Digital Photogrammetry (basic concept of digital photogrammetry) is a multi-disciplinary theory and method, which is based on the basic principles of image and photogrammetry, using computer technology, digital image processing, image matching, pattern recognition, etc. To extract photographic measurements of geometric and physical information expressed in digital form.
The mark used on the fighter -15 is the -15 in the takeoff and landing process, when they are photographed, these signs will help to treat the location of the position for accurate positioning.



In fact, Halcon built-in Demo:saddle_points_sub_pix.hdev
There's a similar example.


Here is the full script code, very simple, only 20 lines
PS, interested users, you can change their own Delphi, VC, VB version,

In fact, the OPENCV version is not difficult, whether it is template matching (cvmatchtemplate), or contour similarity hu moment Matching (cvmatchshapes), can be achieved

However, the OPENCV version of the code should be no less than 200 lines, this shows Halcon

1*This example program shows how to use Saddle_points_sub_pix.2*3Read_image (Image,'Landmarks')4 get_image_size (image, Width, Height)5 Dev_close_window ()6Dev_open_window (0,0, Width, Height,'Black', WindowHandle)7*8*Saddle_points_sub_pix works single channel images. Thus we have9* To convert the input image into a gray value image beforeusingTheoperator.Ten* One Rgb1_to_gray (Image, Grayimage) A* -Sigma: =1.5 -Threshold: = A theSaddle_points_sub_pix (Grayimage,'facet', Sigma, Threshold, Row, Col) -GEN_CROSS_CONTOUR_XLD (Crosses, Row, Col, A,0.785398) -* - Dev_display (grayimage) +Dev_set_color ('Red') -Dev_display (crosses)




"ZW Edition · Halcon-delphi series of original tutorials, website, cnblogs.com/ziwang/"

The ZW edition · Halcon-delphi Series Original Tutorial "Carrier aircraft and visual positioning symbol identification code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.