A rectangle detection and extraction method based on contour matching optimization

A technology of rectangle detection and extraction method, which is applied in instruments, calculations, character and pattern recognition, etc., can solve the problems of missed detection of rectangles, failure of straight line detection, fractures, etc., and achieves the effect of preventing excessive shrinkage or expansion and achieving good robustness.

Active Publication Date: 2019-03-15
INST OF GEOGRAPHICAL SCI & NATURAL RESOURCE RES CAS
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method is slow due to the pixel-by-pixel sliding window strategy used in the method
In addition, conditions such as edge bending will also cause the failure of straight line detection, which in turn will lead to missed detection of rectangles.
Other strategies that rely on the combination of straight line detection results (Kawatani Yamato, Kosaka Kiyoto, Wu Teng Hiroyasu. Image processing device and rectangle detection method: China, 201210439013.X[P].2012-11-06.), usually also You will encounter missed inspections like edge bending and breakage

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A rectangle detection and extraction method based on contour matching optimization
  • A rectangle detection and extraction method based on contour matching optimization
  • A rectangle detection and extraction method based on contour matching optimization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The specific technical solutions of the present invention will be further described below in conjunction with the accompanying drawings.

[0030] as attached figure 1 As shown, the rectangular target extraction method in this embodiment is mainly divided into the following five main parts:

[0031] as attached figure 2 As shown, in this embodiment, the original image used is a high spatial resolution remote sensing image with a resolution of 1 meter and an image size of 1772 rows×2342 columns, and the target to be detected and extracted is the salt field.

[0032] Step 1: Detect and extract the edge contour of the original image to obtain the edge image. Conventional Sobel operator, Prewitt operator, Canny operator, and closed contour of image segmentation algorithm can be applied to edge extraction. Since a large number of edge detection and extraction algorithms are provided in existing software or computer vision open source libraries, such as Matlab and Open CV,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a rectangle detection and extraction method based on contour matching optimization, which is characterized in that it comprises the following steps: Step 1: Detect and extract the edge contour of the original image to obtain the edge image; Step 2: Calculate each non-edge pixel in the edge image The distance D(p) from the nearest edge pixel, and then perform normalized distance transformation to obtain the normalized distance S(p), where p is a non-edge pixel; Step 3: use a regular grid to cover the edge image, and Assign initial values ​​to the rectangles in the regular grid; step 4: calculate the comprehensive contour matching degree of each rectangle in the regular grid and the rectangles in the rectangle's neighborhood set, and select the rectangle with the largest contour matching degree as the initial rectangle extracted; step 5: Remove repeated rectangles and non-rectangles to obtain the final extraction rectangle of the edge image. The method of the invention regards the rectangle as a whole, expresses it as a five-dimensional vector parameter, and realizes high-precision detection and extraction of the rectangle by optimizing the matching degree between the outline of the rectangle and the edge extracted from the image.

Description

technical field [0001] The invention belongs to the technical field of digital image processing, in particular to a rectangle detection and extraction method based on contour matching optimization. Background technique [0002] The shapes of a large number of artificial objects appear as rectangular features, such as street signs and license plates in natural scene images, and cars, buildings, and salt fields in high-resolution remote sensing images. This rectangular feature is significantly different from the shape with fractal features in natural scene objects, and provides excellent features for automatic detection and extraction of these objects. Especially with the launch of a number of high-spatial-resolution remote sensing satellites such as my country's Ziyuan-3 and Gaofen-2, a large number of high-resolution remote sensing images that urgently need real-time processing have been obtained. However, the current object-oriented methods based on segmentation often enco...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06K9/46
CPCG06V10/443G06V10/44G06V2201/07
Inventor 王志华杨晓梅周成虎陆尘刘岳明
Owner INST OF GEOGRAPHICAL SCI & NATURAL RESOURCE RES CAS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products