Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Mean filtering method and system

A mean value filtering and mean value technology, applied in the field of mean value filtering methods and systems, can solve the problems of indistinguishable defects, missed product detection, false detection, etc., and achieve the effect of good pre-processing effect.

Pending Publication Date: 2022-04-26
昂视智能(深圳)有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of this kind of processing are as follows. First, the processing area can only be a rectangle or the whole image, and the effect is not good for processing complex images with arbitrary shapes.
The second is that because the image boundary is processed by filling pixels, when processing the image boundary pixels, it will be affected by pixels outside the image or outside the area, and the boundary pixels will be processed as defects, which will make it indistinguishable from the actual defects on the boundary, resulting in missed inspection of products and false positives

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
  • Mean filtering method and system
  • Mean filtering method and system
  • Mean filtering method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation manners of the present invention will now be described in detail with reference to the accompanying drawings.

[0042] It should be noted that the flow charts shown in the drawings are only exemplary illustrations, and do not necessarily include all content and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partly combined, so the actual order of execution may be changed according to the actual situation.

[0043] The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or proces...

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 mean filtering method and system. The method comprises the following steps: S1, obtaining a detection area image, a filtering kernel width and a filtering kernel height; s2, traversing pixel points of a to-be-detected area in the detection area image; s3, taking the current pixel point as an anchor point, establishing a rectangular detection frame with the width of a filtering kernel and the height of the filtering kernel, traversing pixel coordinates in the rectangular detection frame, judging whether the pixel coordinates are in an area needing to be detected or not, and if yes, executing S4; if not, traversing the next pixel coordinate; s5 is executed until the rectangular detection frame of one pixel point is traversed; s4, accumulating the pixel gray value and the point number of the pixel coordinate to obtain a total pixel gray value and a total point number; and S5, dividing the total pixel gray value by the total point number to obtain a mean value until the pixel points of the area needing to be detected are traversed to obtain a mean value map. According to the method, the area needing to be detected at any position and in any shape can be flexibly set, the influence of other images outside the area and the boundary is avoided, and a good pretreatment effect is achieved.

Description

technical field [0001] The invention relates to the technical field of industrial automation machine vision, in particular to a mean filtering method and system. Background technique [0002] In the field of industrial automation machine vision, various types of defect detection projects are often encountered, and the mean filtering method is widely used in the preprocessing steps of such projects. At present, many methods on the market process the entire image or intercept the image of a rectangular area, and process it by filling pixels when processing the image boundary. For example, the mean filter in the image processing open source library opencv commonly used in the field of machine vision is like this. The disadvantages of this processing have the following two points. First, the processing area can only be a rectangle or the entire image, and the effect is not good for processing complex images of arbitrary shapes. The second is that because the image boundary is p...

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): G06T5/20G06T7/136G06T7/00
CPCG06T5/20G06T7/136G06T7/0004G06T2207/10024G06T2207/20024G06T2207/30108
Inventor 麦志杨郭佳佳麦浩晃刘立峰
Owner 昂视智能(深圳)有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More