Method and apparatus for detecting edge
An edge detection and edge direction technology, applied in the multimedia field, can solve the problem of poor edge detection effect, achieve the effect of shielding noise, retaining image information, and good image information
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 2 A schematic flow chart of an edge detection method provided by an embodiment of the present invention, the method includes:
[0038] S1. Determine the decision window, the decision window is a pixel block of N*N size, wherein N is an odd number, and N is greater than 1;
[0039] In the embodiment of the present invention, a square window with an odd number of sizes is used as a decision window to determine whether the center pixel of the decision window is an edge pixel. The selection of the decision window can be determined by resource consumption and application scenarios. The larger the window, the more resources are consumed, but the shielding effect on large particle noise is also better. For example, a judgment window with a size of 5×5, 7×7 or 9×9 can be used, where the size is represented by pixels, and a judgment window of 5×5 means that the window contains 25 pixels with 5 rows and 5 columns. pixels.
[0040] S2. Divide the decision window into d...
Embodiment 2
[0082] The edge detection method of the present invention is introduced below with a specific application example.
[0083] Take the detection of the 0 degree, 90 degree, 45 degree and 135 degree edge of the image with post-noise with a 5×5 decision window as an example. The original image is shown in Figure 5, which is polluted by certain Gaussian noise.
[0084] Step 1. Select a 5×5 decision window;
[0085] Step 2, the division of edge blocks in the decision window, the specific division method is the same as that shown in Figure 3:
[0086] Step 3. Calculate the block variance of each edge direction, which is the same as described above.
[0087] Step 4. Judging the result according to the block variance. A unified threshold T=10000 is set here, and the judgment results for each direction are shown in Figure 6, Figure 6(a) is the horizontal edge judgment result, Figure 6(b) is the vertical edge judgment result, and Figure 6(c) is 45 Figure 6(d) shows the judgment result...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com