Color image edge detection method based on quaternion theory and canny algorithm

A color image and edge detection technology, applied in the field of image processing and computer vision, can solve problems such as poor robustness, low positioning accuracy, and missing edges of color jumps

Inactive Publication Date: 2014-02-26
NANJING HUICHUAN IND VISUAL TECH DEV +1
View PDF2 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing grayscale algorithm for color image edge detection has many defects, such as literature 1 (Li Haiyang, Wen Yongge. An improved color image edge detection method [J]. Journal of Mianyang Normal University, 2013, 32(8 )) mentioned in the Roberts algorithm is very sensitive to noise in edge detection, document 2 (Wang Xuan. Research and implementation of liquid level detection system based on image edge extraction [D]. Hunan University, 2010) and document 3 (Jin Pengfei. An Improved Sobel Image Edge Detection Algorithm[J][J]. Applied Optics, 2008, 29(4):625-628) Although the prewitt algorithm and the sobel algorithm mentioned can filter out part of the noise, the anti-noise performance is still Very poor, entraining more noise edges, and the edges are thicker, document 4 (Huang Jianling, Zheng Xuemei. An improved image edge extraction al

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
  • Color image edge detection method based on quaternion theory and canny algorithm
  • Color image edge detection method based on quaternion theory and canny algorithm
  • Color image edge detection method based on quaternion theory and canny algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0088] Based on the traditional Canny algorithm, the algorithm of the present invention is gradually realized, such as figure 1 As shown, the specific process is as follows:

[0089] 1) The original color image is represented by a quaternion. First, a color image to be processed is taken, and each pixel of the color image is converted into a mixture of the three primary color components of R, G, and B in proportion, that is, each A pixel can be represented by a combination of R, G, and B components. At this time, each pixel of the color image is represented by a pure quaternion q whose real part is 0. r To represent:

[0090] q r =Ri+Gj+Bk

[0091] Wherein, i, j, k are three-dimensional space unit vectors perpendicular to each other, R, G, B respectively represent the gray value of the three primary colors of red, green, and blue in an image;

[0092] 2) Smooth filtering of color images

[0093] Use a Gaussian filter to smooth the image and remove noise. The realization o...

Embodiment 2

[0147] Similar to Embodiment 1, the difference is that the Gaussian filtering of the image is realized by one-time convolution of a two-dimensional Gaussian kernel; those skilled in the art can realize it according to the foregoing description, and will not repeat it here.

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 discloses a color image edge detection method based on a quaternion theory and a canny algorithm, and belongs to the field of image processing and computer vision. The method comprises the steps that 1) an original color image is represented by a quaternion; 2) smooth filtering is carried out on the color image; 3) a color quaternion edge characteristic matrix is built and used for analyzing the edge characteristics and the structural characteristics of the color image; 4) non-maximum value restraining is carried out on the gradient magnitude of the image obtained at the step 3); 5) dual threshold method detection and edge connection are carried out. The algebraic operation and the spatial characteristic of the quaternion are utilized, all the pixel points of the color image are represented by the pure quaternion, the color quaternion edge characteristic matrix is built and used for analyzing the edge characteristics and the structural characteristics of the color image, edge neighbourhood brightness hopping and color hopping are fused, color information missing in a traditional algorithm is avoided, the introduction of noise is reduced, and locating precision and anti-noise performance are improved.

Description

technical field [0001] The invention belongs to the field of image processing and computer vision, and in particular relates to a quaternion, an algebraic tool, combined with its theory and the traditional grayscale Canny algorithm, which has good anti-noise performance and high positioning accuracy. A method for edge detection in color images. Background technique [0002] The edge of the image is defined as a discontinuous point in the image function, which contains a large amount of image feature information, and is the key to distinguish between objects and backgrounds, regions of interest and surrounding information. The traditional edge detection algorithm is mainly to grayscale the image to be processed and then process it, so that the edge of the image to be obtained is regarded as a collection of pixels with sudden changes in the gray value in the neighborhood. Traditional classic algorithms include Roberts operator, Prewitt operator, Sobel operator, Canny operator...

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
IPC IPC(8): G06T7/00
Inventor 李勃龚俊王云烨钱亚枫史德飞李晓春马卫宁陈启美
Owner NANJING HUICHUAN IND VISUAL TECH DEV
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