CN204463227U - An Image Filter Processing Accelerator - Google Patents
An Image Filter Processing Accelerator Download PDFInfo
- Publication number
- CN204463227U CN204463227U CN201520192682.0U CN201520192682U CN204463227U CN 204463227 U CN204463227 U CN 204463227U CN 201520192682 U CN201520192682 U CN 201520192682U CN 204463227 U CN204463227 U CN 204463227U
- Authority
- CN
- China
- Prior art keywords
- image
- pixel
- module
- gray
- coordinate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 32
- 238000001514 detection method Methods 0.000 claims abstract description 31
- 238000001914 filtration Methods 0.000 claims abstract description 10
- 230000006835 compression Effects 0.000 claims description 9
- 238000007906 compression Methods 0.000 claims description 9
- 238000013500 data storage Methods 0.000 claims description 6
- 210000000352 storage cell Anatomy 0.000 claims 2
- 238000000034 method Methods 0.000 abstract description 6
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
Abstract
Description
技术领域technical field
本实用新型涉及图像处理设备领域,尤其是一种图像滤波处理加速器。The utility model relates to the field of image processing equipment, in particular to an image filter processing accelerator.
背景技术Background technique
由于成像系统、传输介质和记录设备等的不完善,数字图像在其形成、传输记录过程中往往会受到多种噪声的污染。另外,在图像处理的某些环节当输入的像对象并不如预想时也会在结果图像中引入噪声。这些噪声在图像上常表现为一引起较强视觉效果的孤立象素点或象素块。一般,噪声信号与要研究的对象不相关它以无用的信息形式出现,扰乱图像的可观测信息。对于数字图像信号,噪声表为或大或小的极值,这些极值通过加减作用于图像象素的真实灰度值上,在图像造成亮、暗点干扰,极大降低了图像质量,影响图像复原、分割、特征提取、识别等后继工作的进行。Due to the imperfection of imaging system, transmission medium and recording equipment, digital images are often polluted by various noises in the process of formation, transmission and recording. In addition, in some aspects of image processing, when the input object is not as expected, noise will be introduced into the resulting image. These noises often appear as an isolated pixel point or pixel block that causes a strong visual effect on the image. Generally, the noise signal is irrelevant to the object to be studied, and it appears in the form of useless information, disturbing the observable information of the image. For digital image signals, the noise table is a large or small extreme value. These extreme values act on the real gray value of the image pixel through addition and subtraction, causing bright and dark point interference in the image, which greatly reduces the image quality. It will affect the follow-up work such as image restoration, segmentation, feature extraction, and recognition.
为了消除上述噪音,即对图像进行滤波处理,目前常用的方法有中值滤波、均值滤波和形态学滤波,这些滤波方式都是对目标图像的所有像素点进行全面的运算处理,而大部分的像素点是没有收到污染,不需要进行滤波处理,因此,现有图像滤波器做了很多无用功,影响图像的处理速度和效率。In order to eliminate the above noise, that is, to filter the image, the commonly used methods are median filter, mean filter and morphological filter. The pixels are not polluted and do not need to be filtered. Therefore, the existing image filters have done a lot of useless work, which affects the processing speed and efficiency of the image.
实用新型内容Utility model content
本实用新型所要解决的技术问题是提供一种提高图像滤波处理效率的图像滤波处理加速器。The technical problem to be solved by the utility model is to provide an image filter processing accelerator which improves the image filter processing efficiency.
本实用新型解决其技术问题所采用的技术方案是:一种图像滤波处理加速器,包括图像灰度检测模块、数据处理模块、数据传输模块以及图像传输模块,所述图像灰度检测模块与数据处理模块的输入口相连,所述数据传输模块以及图像传输模块均与数据处理模块的输出口相连;The technical solution adopted by the utility model to solve the technical problem is: an image filter processing accelerator, including an image grayscale detection module, a data processing module, a data transmission module and an image transmission module, the image grayscale detection module and data processing The input port of the module is connected, and the data transmission module and the image transmission module are connected to the output port of the data processing module;
所述图像灰度检测模块用于检测目标图像所有像素点的灰度值,记录各个像素点的坐标和及对应的灰度值,并将各个像素点的坐标和灰度值传输给数据处理模块;The image grayscale detection module is used to detect the grayscale values of all pixels of the target image, record the coordinates and corresponding grayscale values of each pixel, and transmit the coordinates and grayscale values of each pixel to the data processing module ;
所述数据处理模块用于对比各个像素点的灰度值,确定正常灰度值范围,记录灰度值超出正常范围的像素点的坐标;The data processing module is used to compare the gray value of each pixel, determine the normal gray value range, and record the coordinates of the pixel whose gray value exceeds the normal range;
所述数据传输模块用于将灰度值超出正常范围的像素点的坐标传输给图像后续处理装置;The data transmission module is used to transmit the coordinates of the pixels whose gray value exceeds the normal range to the image subsequent processing device;
所述图像传输模块用于将目标图片传输给图像后续处理装置。The image transmission module is used to transmit the target picture to the image subsequent processing device.
进一步地,所述图像灰度检测模块包括对中单元和检测单元,所述对中单元用于锁定目标图像的中心点,所述检测单元以中心点作为检测起点和坐标原点,检测并记录每个像素点的灰度值和坐标。Further, the image grayscale detection module includes a centering unit and a detection unit, the centering unit is used to lock the center point of the target image, and the detection unit uses the center point as the detection starting point and coordinate origin, detects and records each The gray value and coordinates of each pixel.
进一步地,所述检测单元为四个,同时检测和记录四个象限内的像素点的灰度值和坐标。Further, there are four detection units, which simultaneously detect and record gray values and coordinates of pixels in four quadrants.
进一步地,设置有与图像传输模块相连的无损压缩模块,所述无损压缩模块用于将图像进行无损压缩并由图像传输模块传输。Further, a lossless compression module connected to the image transmission module is provided, and the lossless compression module is used to perform lossless compression on the image and transmit it by the image transmission module.
进一步地,所述数据处理模块设置有数据存储单元和数据对比单元,所述数据存储单元用于存储前一目标图像的所有像素点的灰度值和坐标,所述数据对比单元用于对比当前目标图像与前一目标图像坐标相同的像素点的灰度值并计算灰度值差值,以便判断当前目标图像位于相应坐标的像素点是否受到噪声污染。Further, the data processing module is provided with a data storage unit and a data comparison unit, the data storage unit is used to store the gray values and coordinates of all pixels of the previous target image, and the data comparison unit is used to compare the current The gray value of the pixel point with the same coordinates in the target image and the previous target image is calculated, and the gray value difference is calculated, so as to judge whether the pixel point of the current target image at the corresponding coordinate is polluted by noise.
本实用新型的有益效果是:通过检测和记录目标图片每个像素点的灰度值和坐标值,由数据处理模块进行分析,计算出一定的坐标区域内正常的灰度值范围,并与此范围内像素点的实际灰度值进行比较,找出实际灰度值过大或者过小的像素点并记录此像素点的坐标,再将灰度值异常的像素点的坐标传输给滤波处理装置,同时将目标图像传输给滤波处理装置,滤波处理装置根据接收到的坐标,直接对灰度值异常的像素点进行处理,而不必对每个像素点进行运算和处理,大大地节约了处理时间,提高了图像滤波处理效率。The beneficial effects of the utility model are: by detecting and recording the gray value and coordinate value of each pixel point of the target picture, the data processing module analyzes and calculates the normal gray value range in a certain coordinate area, and compares with this Compare the actual gray value of the pixels within the range, find out the pixel whose actual gray value is too large or too small and record the coordinates of this pixel, and then transmit the coordinates of the pixel with abnormal gray value to the filter processing device At the same time, the target image is transmitted to the filter processing device, and the filter processing device directly processes the pixels with abnormal gray values according to the received coordinates, without having to calculate and process each pixel, which greatly saves the processing time , which improves the image filtering processing efficiency.
附图说明Description of drawings
图1是本实用新型图像滤波处理加速器的原理示意图。Fig. 1 is a schematic diagram of the principle of the image filter processing accelerator of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本实用新型进一步说明。Below in conjunction with accompanying drawing and embodiment the utility model is further described.
如图1所示,本实用新型的一种图像滤波处理加速器,包括图像灰度检测模块1、数据处理模块2、数据传输模块4以及图像传输模块3,所述图像灰度检测模块1与数据处理模块2的输入口相连,所述数据传输模块4以及图像传输模块3均与数据处理模块2的输出口相连;As shown in Figure 1, a kind of image filter processing accelerator of the present utility model comprises image grayscale detection module 1, data processing module 2, data transmission module 4 and image transmission module 3, described image grayscale detection module 1 and data The input port of the processing module 2 is connected, and the data transmission module 4 and the image transmission module 3 are connected to the output port of the data processing module 2;
所述图像灰度检测模块1用于检测目标图像所有像素点的灰度值,记录各个像素点的坐标和及对应的灰度值,并将各个像素点的坐标和灰度值传输给数据处理模块2;The image grayscale detection module 1 is used to detect the grayscale values of all pixels of the target image, record the coordinates and corresponding grayscale values of each pixel, and transmit the coordinates and grayscale values of each pixel to data processing module 2;
所述数据处理模块2用于对比各个像素点的灰度值,确定正常灰度值范围,记录灰度值超出正常范围的像素点的坐标;The data processing module 2 is used to compare the gray value of each pixel, determine the normal gray value range, and record the coordinates of the pixel whose gray value exceeds the normal range;
所述数据传输模块4用于将灰度值超出正常范围的像素点的坐标传输给图像后续处理装置;The data transmission module 4 is used to transmit the coordinates of the pixels whose gray value exceeds the normal range to the image subsequent processing device;
所述图像传输模块3用于将目标图片传输给图像后续处理装置。The image transmission module 3 is used to transmit the target picture to the image subsequent processing device.
利用图像灰度检测模块1检测和记录目标图片每个像素点的灰度值和坐标值,再由数据处理模块2进行分析,数据处理模块2建立三维坐标系,以x坐标和y坐标作为检测的各个像素点的坐标,以z坐标作为像素点的灰度值,由所有像素点的灰度值形成离散曲面,根据曲面的平滑度选择并记录z坐标值较大或较小的像素点的坐标,再将灰度值异常的像素点的坐标传输给图像后续处理装置,同时将目标图像传输给图像后续处理装置,图像后续处理装置即滤波处理装置,滤波处理装置根据接收到的坐标,直接对灰度值异常的像素点进行处理,而不必对每个像素点进行运算和处理,大大地节约了处理时间,提高了图像滤波处理效率。Use the image grayscale detection module 1 to detect and record the grayscale value and coordinate value of each pixel of the target picture, and then analyze it by the data processing module 2. The data processing module 2 establishes a three-dimensional coordinate system, and uses the x coordinate and y coordinate as the detection The coordinates of each pixel point, the z coordinate is used as the gray value of the pixel point, and the discrete surface is formed by the gray value of all the pixel points, and the pixel point with a larger or smaller z coordinate value is selected and recorded according to the smoothness of the surface Coordinates, and then transmit the coordinates of the pixels with abnormal gray values to the image subsequent processing device, and at the same time transmit the target image to the image subsequent processing device, the image subsequent processing device is the filter processing device, and the filter processing device directly The pixels with abnormal gray values are processed instead of calculating and processing each pixel, which greatly saves processing time and improves the efficiency of image filtering.
所述图像灰度检测模块1包括对中单元11和检测单元12,所述对中单元11用于锁定目标图像的中心点,所述检测单元12以中心点作为检测起点和坐标原点,检测并记录每个像素点的灰度值和坐标。以图像中心为坐标原点,将图像分为四个象限,便于对像素点进行有序地检测。The image grayscale detection module 1 includes a centering unit 11 and a detection unit 12, the centering unit 11 is used to lock the center point of the target image, and the detection unit 12 uses the center point as the detection starting point and the coordinate origin to detect and Record the gray value and coordinates of each pixel. Taking the center of the image as the coordinate origin, the image is divided into four quadrants, which is convenient for orderly detection of pixels.
所述检测单元12为四个,同时检测和记录四个象限内的像素点的灰度值和坐标。由四个检测单元12分别完成四个象限内的像素点的灰度值和坐标值检测和记录,将检测时间缩短为原来的四分之一,加快了检测速度,提高了检测效率。There are four detection units 12, which simultaneously detect and record the gray values and coordinates of pixels in four quadrants. The gray value and coordinate value detection and recording of the pixel points in the four quadrants are respectively completed by the four detection units 12, the detection time is shortened to a quarter of the original, the detection speed is accelerated, and the detection efficiency is improved.
设置有与图像传输模块3相连的无损压缩模块5,所述无损压缩模块5用于将图像进行无损压缩并由图像传输模块3传输。将图像进行无损压缩以后再传输给图像滤波处理器,防止在传输的过程中,图像受到二次噪声污染,从而影响滤波的效果。A lossless compression module 5 connected to the image transmission module 3 is provided, and the lossless compression module 5 is used to perform lossless compression on the image and transmit it by the image transmission module 3 . After the image is losslessly compressed, it is transmitted to the image filter processor to prevent the image from being polluted by secondary noise during the transmission process, thereby affecting the filtering effect.
所述数据处理模块2设置有数据存储单元21和数据对比单元22,所述数据存储单元21用于存储前一目标图像的所有像素点的灰度值和坐标,所述数据对比单元22用于对比当前目标图像与前一目标图像坐标相同的像素点的灰度值并计算灰度值差值,以便判断当前目标图像位于相应坐标的像素点是否受到噪声污染。对于连续拍摄的多张图像,由于拍摄环境、设备和传输环境相同或相似,相邻两张图像受到的噪声污染可能会一致或类似。通过对比相邻两张图像位于相同坐标的像素点的灰度值差值,能够判断二者受到的噪声污染是否类似或一致,如果二者受到的噪声污染类似或一致,则当前图像需要进行滤波处理的像素点位置与前一张图像需要进行滤波处理的像素点位置一致,数据处理模块2直接将前一张图像需要进行滤波处理的像素点坐标作为当前图像需要进行滤波处理的像素点的坐标,再发送给图像滤波处理器,能够节约大量的数据处理时间,提高图像处理效率。The data processing module 2 is provided with a data storage unit 21 and a data comparison unit 22, the data storage unit 21 is used to store gray values and coordinates of all pixels of the previous target image, and the data comparison unit 22 is used for Compare the gray value of the pixel with the same coordinates between the current target image and the previous target image and calculate the gray value difference, so as to judge whether the pixel at the corresponding coordinate of the current target image is polluted by noise. For multiple images taken continuously, due to the same or similar shooting environment, equipment and transmission environment, the noise pollution of two adjacent images may be consistent or similar. By comparing the gray value difference of the pixel points of two adjacent images at the same coordinates, it can be judged whether the noise pollution of the two is similar or consistent. If the noise pollution of the two is similar or consistent, the current image needs to be filtered The position of the processed pixel is consistent with the position of the pixel that needs to be filtered in the previous image, and the data processing module 2 directly uses the coordinates of the pixel that needs to be filtered in the previous image as the coordinates of the pixel that needs to be filtered in the current image , and then sent to the image filter processor, which can save a lot of data processing time and improve image processing efficiency.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520192682.0U CN204463227U (en) | 2015-04-01 | 2015-04-01 | An Image Filter Processing Accelerator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520192682.0U CN204463227U (en) | 2015-04-01 | 2015-04-01 | An Image Filter Processing Accelerator |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204463227U true CN204463227U (en) | 2015-07-08 |
Family
ID=53670082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201520192682.0U Expired - Fee Related CN204463227U (en) | 2015-04-01 | 2015-04-01 | An Image Filter Processing Accelerator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204463227U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108093182A (en) * | 2018-01-26 | 2018-05-29 | 广东欧珀移动通信有限公司 | Image processing method and device, electronic equipment and computer readable storage medium |
-
2015
- 2015-04-01 CN CN201520192682.0U patent/CN204463227U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108093182A (en) * | 2018-01-26 | 2018-05-29 | 广东欧珀移动通信有限公司 | Image processing method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109870461B (en) | Electronic components quality detection system | |
CN107194919B (en) | Mobile phone screen defect detection method based on regular texture background reconstruction | |
CN104063848B (en) | A low-illuminance image enhancement method and device | |
CN107678192B (en) | Mura defect detection method based on machine vision | |
CN109671078B (en) | Method and device for detecting product surface image abnormity | |
WO2017120796A1 (en) | Pavement distress detection method and apparatus, and electronic device | |
CN106442556A (en) | Device and method for detecting surface defects of perforated plate workpiece | |
CN108335331A (en) | A kind of coil of strip binocular visual positioning method and apparatus | |
CN110738700A (en) | Laser spot center detection method and device, computer equipment and storage medium | |
CN112669265B (en) | A method for surface defect detection based on Fourier transform and image gradient features | |
CN104197836A (en) | Vehicle lock assembly size detection method based on machine vision | |
CN112528868A (en) | Illegal line pressing judgment method based on improved Canny edge detection algorithm | |
WO2021000948A1 (en) | Counterweight weight detection method and system, and acquisition method and system, and crane | |
CN103983426A (en) | Optical fiber defect detecting and classifying system and method based on machine vision | |
CN106228541A (en) | Screen positioning method and device in visual inspection | |
CN106651831A (en) | Bamboo piece defect detection method and bamboo piece defect detection system | |
CN111242888A (en) | Image processing method and system based on machine vision | |
CN108288274A (en) | Mold detection method, device and electronic equipment | |
CN109255792B (en) | Video image segmentation method and device, terminal equipment and storage medium | |
CN103177244B (en) | Method for quickly detecting target organisms in underwater microscopic images | |
CN117522778A (en) | Hollow brick flaw detection system | |
CN113487538A (en) | Multi-target segmentation defect detection method and device and computer storage medium thereof | |
CN106851140B (en) | A method of digital photo image source identification using spatial smoothing filter | |
CN112070736A (en) | A visual measurement method of object volume combining target detection and depth calculation | |
CN116071692A (en) | Morphological image processing-based water gauge water level identification method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150708 Termination date: 20160401 |
|
CF01 | Termination of patent right due to non-payment of annual fee |