CN107104658B - Filtering method and device with reconfigurable filtering template - Google Patents

Filtering method and device with reconfigurable filtering template Download PDF

Info

Publication number
CN107104658B
CN107104658B CN201710298704.5A CN201710298704A CN107104658B CN 107104658 B CN107104658 B CN 107104658B CN 201710298704 A CN201710298704 A CN 201710298704A CN 107104658 B CN107104658 B CN 107104658B
Authority
CN
China
Prior art keywords
filtering
data
template
unit
mean
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.)
Active
Application number
CN201710298704.5A
Other languages
Chinese (zh)
Other versions
CN107104658A (en
Inventor
董扬辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201710298704.5A priority Critical patent/CN107104658B/en
Publication of CN107104658A publication Critical patent/CN107104658A/en
Application granted granted Critical
Publication of CN107104658B publication Critical patent/CN107104658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0202Two or more dimensional filters; Filters for complex signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0202Two or more dimensional filters; Filters for complex signals
    • H03H2017/0207Median filters

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the invention discloses a filtering method and a device for filtering template reconfigurable, wherein the method comprises the following steps: configuring a corresponding filtering template for at least one data channel according to filtering data received from the data channel; storing the filtering data received from the data channel and the corresponding filtering template to a corresponding cache unit; and controlling the filtering data stored in the cache unit to adopt the corresponding filtering templates to carry out filtering processing in sequence. According to the filtering method and the filtering device with reconfigurable filtering templates, the corresponding filtering templates are configured according to the received filtering data, and the filtering processing is carried out on the filtering data, so that the filtering method and the filtering device can adapt to different filtering data on the premise of reducing the cost, and the flexibility and the universality of filtering are improved.

Description

Filtering method and device with reconfigurable filtering template
Technical Field
The embodiment of the invention relates to the technical field of circuits, in particular to a filtering method and a filtering device with reconfigurable filtering templates.
Background
The sensor is a detection device, and is used for receiving measured information, converting the received information into an electric signal, a numerical signal and the like, and outputting the electric signal, the numerical signal and the like, so that requirements of information transmission, processing, storage, display, recording, control and the like are met. For example, an image capture sensor implements processing of a captured image by capturing pixel grayscale values of the image.
With the development of science and technology, the requirement for data detection precision is higher and higher, taking an image acquisition sensor as an example, when an image is detected, due to the mechanical structure of detection equipment, the circuit inside the equipment, the unevenness of the image surface and other reasons, inherent vibration errors, electrical noise and the like are accompanied in the detection process, so that the detection result is not accurate enough. In the prior art, the inherent vibration error is reduced by improving the machining precision, and meanwhile, a plurality of filter circuits are applied to a circuit board for filtering and noise reduction, so that the detection precision of the sensor is improved on the premise of reducing the noise.
However, in the prior art, the difficulty of manufacturing the equipment and the complexity of the equipment are increased by improving the machining precision and reducing the noise by applying a plurality of filter circuits, and meanwhile, the cost of the equipment is increased.
Disclosure of Invention
In view of this, embodiments of the present invention provide a filtering method and apparatus with a reconfigurable filtering template, which can solve the problem that data detection acquired by a sensor is not accurate enough due to inherent vibration error, electrical noise, and the like on the premise of reducing complexity and cost of equipment.
In a first aspect, an embodiment of the present invention provides a filtering method with a reconfigurable filtering template, including:
configuring a corresponding filtering template for at least one data channel according to filtering data received from the data channel;
storing the filtering data received from the data channel and the corresponding filtering template to a corresponding cache unit;
and controlling the filtering data stored in the cache unit to adopt the corresponding filtering templates to carry out filtering processing in sequence.
Optionally, the configuring, according to the filtering data received from at least one data channel, a corresponding filtering template for the data channel includes:
counting a number of bits of the filtered data transmitted in the data channel;
determining the number of sampling points of the filtering data in the data channel corresponding to the neighborhood value according to the counting result;
and determining the filtering template corresponding to the data channel according to the number of sampling points of the neighborhood value.
Optionally, each of the filtering templates includes a mean filtering template and a median filtering template, where the mean filtering template includes a corresponding number of sampling points of the neighborhood value.
Optionally, the controlling the filtering data stored in the cache unit to sequentially perform filtering processing by using the corresponding filtering templates includes:
performing mean filtering on the filtering data and the corresponding neighborhood values to obtain a plurality of mean values after mean filtering;
and carrying out median filtering on the plurality of average values to obtain the median of the average values as filtered data.
Optionally, the storing the filtering data received from the data channel and the corresponding filtering template to a corresponding buffer unit includes:
determining a weight coefficient corresponding to the filtering template according to the bit number of the filtering data;
and matching and storing the filtering data and the corresponding filtering template to a corresponding cache unit according to the weight coefficient.
Optionally, the filtering method further includes:
and acquiring the filtered data, and outputting the filtered data in parallel.
In a second aspect, an embodiment of the present invention further provides a filtering apparatus with a reconfigurable filtering template, including:
the template configuration module is used for configuring a corresponding filtering template for at least one data channel according to filtering data received from the data channel;
the data caching module is used for storing the filtering data received from the data channel and the corresponding filtering template to a corresponding caching unit;
and the filtering processing module is used for controlling the filtering data stored in the cache unit to adopt the corresponding filtering templates to carry out filtering processing in sequence.
Optionally, the template configuration module includes:
a data bit count unit for counting the number of bits of the filtered data transmitted in the data channel;
the sampling point number determining unit is used for determining the sampling point number of the adjacent domain value corresponding to the filtering data in the data channel according to the counting result;
and the filtering template determining unit is used for determining the filtering template corresponding to the data channel according to the number of sampling points of the neighborhood value.
Optionally, each of the filtering templates includes a mean filtering template and a median filtering template, where the mean filtering template includes a corresponding number of sampling points of the neighborhood value.
Optionally, the filtering processing module includes:
the mean filtering unit is used for carrying out mean filtering on the filtering data and the corresponding neighborhood values to obtain a plurality of mean values after mean filtering;
and the median filtering unit is used for performing median filtering on the plurality of average values to obtain a median of the average values as filtered data.
Optionally, the data caching module includes:
the weight coefficient determining unit is used for determining the weight coefficient corresponding to the filtering template according to the bit number of the filtering data;
and the data caching unit is used for matching and storing the filtering data and the corresponding filtering template to the corresponding caching unit according to the weight coefficient.
Optionally, the filtering apparatus further includes:
and the data output module is used for acquiring the filtered data and outputting the filtered data in parallel.
According to the filtering method and device with reconfigurable filtering templates, provided by the embodiment of the invention, the corresponding filtering template is configured for at least one data channel according to the filtering data received in the data channel, the filtering data and the corresponding filtering template are stored in the corresponding cache unit, so that the filtering data in the cache unit are controlled to be sequentially filtered by adopting the corresponding filtering template, and therefore, on the premise of reducing the cost, the filtering template is reset to adapt to different filtering data, and the flexibility and the universality of filtering are improved.
Drawings
Fig. 1 is a flowchart of a filtering method with reconfigurable filtering templates according to an embodiment of the present invention;
fig. 2 is a flowchart of a filtering method with reconfigurable filtering templates according to a second embodiment of the present invention;
fig. 3 is a flowchart of a filtering method with reconfigurable filtering templates according to a third embodiment of the present invention;
fig. 4 is a flowchart of a filtering method with reconfigurable filtering templates according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a filtering apparatus with a reconfigurable filtering template according to a fifth embodiment of the present invention;
fig. 6 is a block diagram of a filtering apparatus with reconfigurable filtering templates according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a filtering method with reconfigurable filtering templates according to an embodiment of the present invention, where the method is applicable to a case where filtering processing is performed on different filtering data, and the method can be performed by a filtering apparatus with reconfigurable filtering templates according to an embodiment of the present invention, where the apparatus can be implemented in software and/or hardware, and the apparatus can be integrated in a data acquisition or detection device, as shown in fig. 1, and the method specifically includes:
s101, configuring corresponding filtering templates for at least one data channel according to filtering data received from the data channel.
The sensor receives the measured information and can convert the received measured information into corresponding electric signals or numerical signals and the like for output. However, in the data acquisition or processing output process, the mechanical structure and internal circuit of the device itself, the environment of the object to be detected and the existence of the surface irregularity of the device itself will affect the detection information, so that the data output by the sensor needs to be filtered to increase the detection accuracy.
Illustratively, the data acquisition sensor acquires information of a measured object, converts the information into corresponding data, and transmits the data through the data channel. Since the data output by the sensor in a specific clock cycle can be one or more, and a data channel needs to be configured for each data output by the sensor to transmit and process. In order to improve the data accuracy, a corresponding filtering template is configured for each data channel according to the filtering data received by the data channel. For example, an image capture sensor typically outputs pixel gray values of an image, and thus a corresponding filter template may be configured for each data channel according to the pixel gray values received in the data channel.
S102, storing the filtering data received from the data channel and the corresponding filtering template to a corresponding cache unit.
Illustratively, the filtered data output by the sensor is transmitted over a data channel for subsequent filtering. The sensor usually collects information according to a certain clock period, converts the collected information into corresponding filtering data, transmits the filtering data according to the data channels, and configures corresponding filtering templates for the data channels according to the filtering data received in each data channel. In order to filter the filtering data according to the clock period of the information acquired by the sensor, the filtering data and the corresponding filtering template in the same clock period need to be stored in the corresponding cache unit. As in the above example, the pixel grayscale values output by the image capturing sensor and the filter templates configured for the data channels may be stored in the corresponding buffer units together.
S103, controlling the filtering data stored in the cache unit to adopt the corresponding filtering templates to carry out filtering processing in sequence.
For example, the filtering data received in the data channel and the configured filtering template are stored in a corresponding buffer unit, and filtering is performed on the filtering data stored in the buffer unit by using the corresponding filtering template, so that the filtering data stored in each buffer unit needs to be controlled to be sequentially output. As in the above example, the pixel gray values stored in the buffer unit are filtered by using the corresponding filtering template, and if the mean filtering template is used, the pixel gray values and their corresponding neighborhood values need to be controlled to sequentially perform mean filtering to obtain corresponding filtered pixel gray values.
According to the embodiment of the invention, the corresponding filtering template is configured for the data channel according to the filtering data received in at least one data channel, and the filtering data and the corresponding filtering template are stored in the corresponding cache unit, so that the filtering data in the cache unit are controlled to be sequentially filtered by adopting the corresponding filtering template, and therefore, on the premise of reducing the cost, the filtering template is reset to adapt to different filtering data, and the flexibility and the universality of filtering are improved.
Optionally, the filtered data is obtained, and the filtered data is output in parallel.
For example, after filtering the filtering data, obtaining corresponding filtered data, storing the filtered data in the cache unit, and after filtering the filtering data acquired by the sensor in the same clock cycle, converting the serial output of the data in the cache unit into parallel output, so as to reduce the time required for filtering. As in the above example, after filtering the pixel gray values, the filtered pixel gray values are obtained, and the filtered pixel gray values are buffered until the pixel gray values of the whole picture are all filtered, and then all the filtered pixel gray values are output together to obtain the filtered whole picture.
Example two
Fig. 2 is a flowchart of a filtering method with reconfigurable filtering templates according to a second embodiment of the present invention, which is optimized based on the above embodiments, and provides a preferred specific method for configuring corresponding filtering templates for data channels according to obtained filtering data, specifically: counting a number of bits of the filtered data transmitted in the data channel; determining the number of sampling points of the filtering data in the data channel corresponding to the neighborhood value according to the counting result; and determining the filtering template corresponding to the data channel according to the number of sampling points of the neighborhood value. As shown in fig. 2:
correspondingly, the method of the embodiment includes:
s201, counting the number of bits of the filtering data transmitted in the data channel.
Illustratively, the filtered data output by the sensor is transmitted via the data channel, the transmitted filtered data having a corresponding number of bits, which may be, for example, 1-16 bits of data, such that the actual filtered data may be determined by counting the number of bits of the filtered data. For example, the number of bits of the filtered data corresponding to the thickness output by the thickness detection sensor may be counted.
S202, determining the number of sampling points of the filtering data in the data channel corresponding to the neighborhood value according to the counting result;
illustratively, the number of bits of the filtered data is counted to obtain a corresponding counting result, the counting result is the number of bits of the filtered data, and the neighborhood value corresponding to the counted number of bits of the filtered data is determined according to the number of bits of the filtered data, so that the number of sampling points of the filtered data corresponding to the neighborhood value in the data channel is further determined. In the above example, the filtered data related to the thickness output by the sensor determines the neighborhood value corresponding to the filtered data related to the thickness according to the number of bits of the filtered data, and further determines the number of sampling points corresponding to the filtered data.
S203, determining the filtering template corresponding to the data channel according to the number of the sampling points of the neighborhood value.
For example, each filtering template may include a mean filtering template and a median filtering template, and when performing mean filtering, it is necessary to have a determined neighborhood value and a sampling point number of the filtering data, where the sampling point number of the neighborhood value may be set to K × M, where K × M may be 3 × 3, for example. In addition, the neighborhood value and the number of sampling points corresponding to the filtering data can be determined to drive the corresponding median filtering template.
S204, storing the filtering data received from the data channel and the corresponding filtering template to a corresponding cache unit;
s205, controlling the filtering data stored in the cache unit to adopt the corresponding filtering templates to sequentially perform filtering processing.
The embodiment of the invention determines the sampling point number of the neighborhood value corresponding to the filtering data in the data channel by providing the specific bit number of the filtering data received in the data channel, thereby determining the filtering template corresponding to the data channel, configuring the corresponding filtering template according to the actual filtering data and improving the flexibility and the universality of filtering.
EXAMPLE III
Fig. 3 is a flowchart of a filtering method with reconfigurable filtering templates according to a third embodiment of the present invention, which is optimized based on the foregoing embodiments, and provides a specific method for preferentially controlling filtering data stored in a cache unit to sequentially perform filtering processing by using corresponding filtering templates, specifically: performing mean filtering on the filtering data and the corresponding neighborhood values to obtain a plurality of mean values after mean filtering; and carrying out median filtering on the plurality of average values to obtain the median of the average values as filtered filtering data. As shown in fig. 3:
correspondingly, the method of the embodiment includes:
s301, configuring a corresponding filtering template for at least one data channel according to filtering data received from the data channel.
S302, storing the filtering data received from the data channel and the corresponding filtering template to a corresponding cache unit.
S303, carrying out mean filtering on the filtering data and the corresponding neighborhood values to obtain a plurality of mean values after mean filtering.
Illustratively, the filtering template is preferably a median filtering template and a mean filtering template, and the mean filtering is performed before the median filtering is performed when filtering the filtered data. And determining the number of neighborhood value sampling points of the filtering data to determine a corresponding average filtering template before the average filtering is carried out. When the mean filtering is carried out, the filtering data and the neighborhood values are compared pairwise to obtain a plurality of mean values after the mean filtering.
S304, median filtering is carried out on the average values, and the median of the average values is obtained and used as filtered data.
Illustratively, a plurality of average values obtained after the average filtering are subjected to median filtering, median data of the plurality of average values are finally obtained by comparing the respective average values, and the median data are taken as filtered data to output a final filtering result
According to the embodiment of the invention, the filtering data stored in the cache unit and the neighborhood value thereof are subjected to mean filtering firstly to obtain a plurality of mean values after mean filtering, and then the plurality of mean values are subjected to median filtering to finally obtain the filtered filtering data, so that different noises can be filtered by fusing the mean filtering and the median filtering, the filtering and denoising capabilities are improved, and more accurate filtering data is further obtained.
Example four
Fig. 4 is a flowchart of a filtering method with reconfigurable filtering templates according to a fourth embodiment of the present invention, which is optimized based on the foregoing embodiments, and provides a preferred specific method for storing filtering data received from a data channel and corresponding filtering templates thereof in corresponding buffer units, specifically: determining a weight coefficient corresponding to the filtering template according to the bit number of the filtering data; and matching and storing the filtering data and the corresponding filtering template to a corresponding cache unit according to the weight coefficient. As shown in fig. 4:
correspondingly, the method of the embodiment includes:
s401, configuring a corresponding filtering template for at least one data channel according to filtering data received from the data channel.
S402, determining a weight coefficient corresponding to the filtering template according to the bit number of the filtering data.
And S403, matching and storing the filtering data and the corresponding filtering template to a corresponding cache unit according to the weight coefficient.
Illustratively, a corresponding filtering template is configured for the filtering channel according to the filtering data in the data channel, the filtering template corresponds to a corresponding weight coefficient, and the weight coefficient is stored in a corresponding cache unit, so that the corresponding cache unit is found by determining the filtering template according to the number of bits of the filtering data and then determining the weight coefficient corresponding to the filtering template, so as to store the corresponding filtering data and the corresponding filtering template.
S404, controlling the filtering data stored in the cache unit to adopt the corresponding filtering templates to carry out filtering processing in sequence.
According to the embodiment of the invention, the weight coefficient corresponding to the filtering template is determined according to the digit of the filtering data, and the corresponding cache unit is matched according to the weight coefficient, so that the filtering data stored in the cache unit can be sequentially filtered, the time required by filtering is reduced, and the filtering efficiency is improved.
EXAMPLE five
Fig. 5 is a block diagram of a filtering apparatus with reconfigurable filtering templates according to a fifth embodiment of the present invention, where the apparatus is applicable to a case where filtering processing is performed on different filtering data, and the apparatus may be implemented in software and/or hardware, and the apparatus may be integrated in a data acquisition or detection device, as shown in fig. 5, and the filtering apparatus includes: a template configuration module 51, a data buffer module 52 and a filtering processing module 53.
The template configuration module 51 is configured to configure a corresponding filtering template for at least one data channel according to filtering data received from the data channel;
the data buffer module 52 is configured to store the filtering data received from the data channel and the corresponding filtering template into a corresponding buffer unit;
the filtering processing module 53 is configured to control the filtering data stored in the cache unit to perform filtering processing in sequence by using the corresponding filtering templates.
According to the embodiment of the invention, the corresponding filtering template is configured for the data channel according to the filtering data received in at least one data channel, and the filtering data and the corresponding filtering template are stored in the corresponding cache unit, so that the filtering data in the cache unit are controlled to be sequentially filtered by adopting the corresponding filtering template, and therefore, on the premise of reducing the cost, the filtering template is reset to adapt to different filtering data, and the flexibility and the universality of filtering are improved.
EXAMPLE six
Fig. 6 is a block diagram of a filtering apparatus with reconfigurable filtering templates according to a sixth embodiment of the present invention, which is optimized based on the foregoing embodiments, and provides a preferred template configuration module 51 including: a data bit number counting unit 511, a sampling point number determination unit 512, and a filter template determination unit 513.
The data bit counting unit 511 is configured to count the number of bits of the filtered data transmitted in the data channel;
the sampling point number determining unit 512 is configured to determine, according to a counting result, a sampling point number of the neighborhood value corresponding to the filtering data in the data channel;
the filtering template determining unit 513 is configured to determine the filtering template corresponding to the data channel according to the number of sampling points of the neighborhood value.
Optionally, each of the filtering templates includes a mean filtering template and a median filtering template, where the mean filtering template includes a corresponding number of sampling points of the neighborhood value.
Optionally, the filtering processing module 53 includes a mean filtering unit 531 and a median filtering unit 532.
The mean filtering unit 531 is configured to perform mean filtering on the filtered data and the corresponding neighborhood values to obtain a plurality of mean values after the mean filtering;
the median filtering unit 532 is configured to perform median filtering on the plurality of average values to obtain a median of the average values as filtered filtering data.
Optionally, the data buffering module 52 includes a weight coefficient determining unit 521 and a data buffering unit 522.
The weight coefficient determining unit 521 is configured to determine a weight coefficient corresponding to the filtering template according to the number of bits of the filtering data;
the data buffer unit 522 is configured to store the filtering data and the corresponding filtering template to a corresponding buffer unit according to the weight coefficient matching.
On the basis of the above embodiments, the filtering apparatus provided in the embodiment of the present invention further includes a data output module 61.
The data output module 61 is configured to obtain the filtered data, and output the filtered data in parallel.
The filtering apparatus with reconfigurable filtering templates according to the embodiments of the present invention is used to execute the filtering method with reconfigurable filtering templates according to the above embodiments, and the technical principle and the generated technical effect are similar, which are not described herein again.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A filtering method with reconfigurable filtering templates, comprising:
counting the number of bits of the filtered data transmitted in the data channel;
determining the number of sampling points of the filtering data in the data channel corresponding to the neighborhood value according to the counting result;
determining the filtering template corresponding to the data channel according to the number of sampling points of the neighborhood value;
storing the filtering data received from the data channel and the corresponding filtering template to a corresponding cache unit;
and controlling the filtering data stored in the cache unit to adopt the corresponding filtering templates to carry out filtering processing in sequence.
2. The filtering method according to claim 1, wherein each of the filtering templates comprises a mean filtering template and a median filtering template, wherein the mean filtering template comprises a corresponding number of sampling points of the neighborhood value.
3. The filtering method according to claim 2, wherein the controlling of the filtering data stored in the buffer unit to perform filtering processing in sequence by using the corresponding filtering templates includes:
performing mean filtering on the filtering data and the corresponding neighborhood values to obtain a plurality of mean values after mean filtering;
and carrying out median filtering on the plurality of average values to obtain the median of the average values as filtered data.
4. The filtering method according to claim 1, wherein the storing the filtered data received from the data channels and the corresponding filtering templates into corresponding buffer units comprises:
determining a weight coefficient corresponding to the filtering template according to the bit number of the filtering data;
and matching a corresponding cache unit according to the weight coefficient, and storing the filtering data and the corresponding filtering template to the matched cache unit.
5. The filtering method according to any one of claims 1 to 4, further comprising:
and acquiring the filtered data, and outputting the filtered data in parallel.
6. A filtering apparatus with reconfigurable filtering templates, comprising:
the template configuration module comprises a data digit counting unit, a sampling point number determining unit and a filtering template determining unit;
the data digit counting unit is used for counting the digits of the filtering data transmitted in the data channel;
the sampling point number determining unit is used for determining the sampling point number of the adjacent domain value corresponding to the filtering data in the data channel according to the counting result;
the filtering template determining unit is used for determining the filtering template corresponding to the data channel according to the number of sampling points of the neighborhood value;
the data caching module is used for storing the filtering data received from the data channel and the corresponding filtering template to a corresponding caching unit;
and the filtering processing module is used for controlling the filtering data stored in the cache unit to adopt the corresponding filtering templates to carry out filtering processing in sequence.
7. The filtering apparatus according to claim 6, wherein each of the filtering templates comprises a mean filtering template and a median filtering template, wherein the mean filtering template comprises a corresponding number of sampling points of the neighborhood value.
8. The filtering apparatus according to claim 7, wherein the filtering processing module comprises:
the mean filtering unit is used for carrying out mean filtering on the filtering data and the corresponding neighborhood values to obtain a plurality of mean values after mean filtering;
and the median filtering unit is used for performing median filtering on the plurality of average values to obtain a median of the average values as filtered data.
9. The filtering apparatus as claimed in claim 7, wherein the data buffering module comprises:
the weight coefficient determining unit is used for determining the weight coefficient corresponding to the filtering template according to the bit number of the filtering data;
and the data caching unit is used for matching the corresponding caching unit according to the weight coefficient and storing the filtering data and the corresponding filtering template to the corresponding caching unit.
10. The filtering apparatus according to any one of claims 6 to 9, further comprising:
and the data output module is used for acquiring the filtered data and outputting the filtered data in parallel.
CN201710298704.5A 2017-04-27 2017-04-27 Filtering method and device with reconfigurable filtering template Active CN107104658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710298704.5A CN107104658B (en) 2017-04-27 2017-04-27 Filtering method and device with reconfigurable filtering template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710298704.5A CN107104658B (en) 2017-04-27 2017-04-27 Filtering method and device with reconfigurable filtering template

Publications (2)

Publication Number Publication Date
CN107104658A CN107104658A (en) 2017-08-29
CN107104658B true CN107104658B (en) 2020-08-18

Family

ID=59657764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710298704.5A Active CN107104658B (en) 2017-04-27 2017-04-27 Filtering method and device with reconfigurable filtering template

Country Status (1)

Country Link
CN (1) CN107104658B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194305B (en) * 2018-08-20 2021-07-13 电子科技大学 Digital instrument mean value filtering method based on density estimation
CN110351482A (en) * 2019-06-25 2019-10-18 杭州汇萃智能科技有限公司 Image preprocess apparatus, method and a kind of camera

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752483A (en) * 2012-06-12 2012-10-24 天津天地伟业数码科技有限公司 Filtering noise reduction system and filtering noise reduction method based on FPGA (field programmable gate array) platform
CN103400153A (en) * 2013-07-15 2013-11-20 中国航天科工集团第三研究院第八三五八研究所 Serial filtering matching method and system for real-time image identification
CN105243649A (en) * 2015-11-09 2016-01-13 天津大学 Image denoising method based on secondary noise point detection
EP3113104A1 (en) * 2015-06-30 2017-01-04 Softkinetic Software Method for signal processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752483A (en) * 2012-06-12 2012-10-24 天津天地伟业数码科技有限公司 Filtering noise reduction system and filtering noise reduction method based on FPGA (field programmable gate array) platform
CN103400153A (en) * 2013-07-15 2013-11-20 中国航天科工集团第三研究院第八三五八研究所 Serial filtering matching method and system for real-time image identification
EP3113104A1 (en) * 2015-06-30 2017-01-04 Softkinetic Software Method for signal processing
CN105243649A (en) * 2015-11-09 2016-01-13 天津大学 Image denoising method based on secondary noise point detection

Also Published As

Publication number Publication date
CN107104658A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
US8600122B2 (en) Apparatus and method for culling substantially redundant data in fingerprint sensing circuits
EP4254209A3 (en) A method, apparatus and system for measuring latency in a physical unit of a circuit
CN107104658B (en) Filtering method and device with reconfigurable filtering template
EP3226138B1 (en) Data acquisition chip test system and device and control method therefor
CN103986869A (en) Image collecting and displaying device of high-speed TDICCD remote sensing camera
CN111699499A (en) Inspection system, image recognition system, recognizer generation system, and learning data generation device
WO2013157265A1 (en) Image processing system, server device, image pickup device and image evaluation method
EP3442216A1 (en) Sensor system for data enhancement
JP2015114810A5 (en)
CN107229887A (en) Multi-code scanning device and multi-code scan method
KR101680939B1 (en) Method of scanning touch panel and touch integrated circuit for performing the same
CN101929859A (en) Image full-frame scanning based space debris detecting method
US9477868B1 (en) Adaptive fingerprint-based navigation
CN111402220B (en) Method and device for acquiring information
US20210368095A1 (en) Method, apparatus, electronic device, storage medium and system for vision task execution
CN112785634A (en) Computer device and synthetic depth map generation method
EP2187383A3 (en) Image display apparatus
CN114063964A (en) Volume compensation optimization method and device, electronic equipment and readable storage medium
CN201369796Y (en) Image acquisition system and image acquisition device
JP3991751B2 (en) Solid-state imaging device and reading method thereof
KR100962987B1 (en) Camera adhesion type image processing and data transmission apparatus for optical motion capturing
CN104639842A (en) Image processing device and exposure control method
CN114240843A (en) Image detection method and device and electronic equipment
KR101734005B1 (en) Data readout system having multiple unit chips sharing one common reference voltage
US10614333B2 (en) Method for reading graphical indicator, indicator structure and electronic apparatus thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant