[go: up one dir, main page]

TWI456185B - Water turbidity detection system and the method thereof - Google Patents

Water turbidity detection system and the method thereof Download PDF

Info

Publication number
TWI456185B
TWI456185B TW101101376A TW101101376A TWI456185B TW I456185 B TWI456185 B TW I456185B TW 101101376 A TW101101376 A TW 101101376A TW 101101376 A TW101101376 A TW 101101376A TW I456185 B TWI456185 B TW I456185B
Authority
TW
Taiwan
Prior art keywords
images
value
block
turbidity
water
Prior art date
Application number
TW101101376A
Other languages
Chinese (zh)
Other versions
TW201329434A (en
Inventor
Chin Lun Lai
Chun Kai Chang
Original Assignee
Oriental Inst Technology
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 Oriental Inst Technology filed Critical Oriental Inst Technology
Priority to TW101101376A priority Critical patent/TWI456185B/en
Publication of TW201329434A publication Critical patent/TW201329434A/en
Application granted granted Critical
Publication of TWI456185B publication Critical patent/TWI456185B/en

Links

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)

Claims (24)

一種水質檢測系統,用以檢測一受測水源之濁度,該系統包括:一發光器,用以從該受測水源上方向該受測水源發射一同調光;一影像擷取裝置,連續擷取該受測水源表面的多個水面影像,每個所述水面影像中包括該同調光撞擊該受測水源中之懸浮粒子而在該受測水源表面產生的一漸層影像,該漸層影像的亮度從邊緣向中心增強;及一處理器,接收該些水面影像,並根據至少一亮度門檻定義出每一該些水面影像的一散射區塊,該散射區塊對應該水面影像的高亮度區域,該處理器分別計算該些散射區塊的一面積參數,並根據一篩選值比對該些面積參數以篩選該些散射區塊,以及根據篩選後所保留的該些散射區塊的該些面積參數獲得一參數統計值,並根據一濁度對照表比對該參數統計值,以判斷該受測水源的濁度;其中,該參數統計值越大,該受測水源的濁度越高。A water quality detecting system for detecting the turbidity of a water source to be tested, the system comprising: an illuminator for transmitting a dimming light from the water source to be tested to the measured water source; and an image capturing device continuously Taking a plurality of water surface images of the surface of the tested water source, each of the water surface images including a gradation image generated by the same dimming light colliding with the suspended particles in the tested water source on the surface of the tested water source, the gradation image The brightness is enhanced from the edge to the center; and a processor receives the water surface images and defines a scattering block of each of the water surface images according to at least one brightness threshold, the scattering block corresponding to the high brightness of the water surface image a region, the processor separately calculating an area parameter of the scattering blocks, and screening the scattering blocks according to a screening value ratio, and according to the scattering blocks retained after the screening The area parameters obtain a parameter statistical value, and the turbidity of the measured water source is determined according to a turbidity comparison table to determine the turbidity of the measured water source; wherein the larger the statistical value of the parameter, the measured water The higher the turbidity. 如申請專利範圍第1項所述的水質檢測系統,其中,該亮度門檻包括一第一門檻值,該處理器根據該第一門檻值將每一該些水面影像的每一像素區分為一第一像素值及一第二像素值其中之一,以產生一第一二值影像,其中,該散射區塊所對應的該些像素的像素值為該第一像素值。The water quality detecting system of claim 1, wherein the brightness threshold includes a first threshold value, and the processor divides each pixel of each of the water surface images into a first one according to the first threshold value. One of a pixel value and a second pixel value to generate a first binary image, wherein the pixel values of the pixels corresponding to the scattering block are the first pixel value. 如申請專利範圍第2項所述的水質檢測系統,其中,該處理器將該些水面影像進行灰階化處理,以形成多個灰階影像,該處理器根據該第一門檻值比對每一該些灰階影像的該些像素,以分別指定該些像素的像素值為該第一像素值及該第二像素值其中之一,進而產生該第一二值影像。The water quality detecting system of claim 2, wherein the processor performs grayscale processing on the water surface images to form a plurality of grayscale images, and the processor compares each of the first threshold values according to the first threshold value. The pixels of the grayscale images are respectively assigned to the pixel values of the pixels as one of the first pixel value and the second pixel value, thereby generating the first binary image. 如申請專利範圍第2項所述的水質檢測系統,其中,每一所述第一二值影像包括由多個對應該第一像素值的像素群聚所形成之至少一第一區塊,該處理器計算每一所述第一二值影像之該第一區塊的一區塊數量,並保留該區塊數量為一的該些第一二值影像為多個候選影像,其中,該些候選影像所包括的該第一區塊對應於該散射區塊。The water quality detecting system of claim 2, wherein each of the first binary images comprises at least one first block formed by a plurality of pixel groups corresponding to the first pixel value, The processor calculates a number of blocks of the first block of each of the first binary images, and reserves the first binary image of the number of blocks as a plurality of candidate images, wherein the The first block included in the candidate image corresponds to the scattering block. 如申請專利範圍第4項所述的水質檢測系統,其中,該處理器計算每一該些候選影像之該第一區塊的一第一區塊面積為該面積參數。The water quality detecting system of claim 4, wherein the processor calculates a first block area of the first block of each of the candidate images as the area parameter. 如申請專利範圍第4項所述的水質檢測系統,其中,該亮度門檻更包括一第二門檻值,該處理器根據該第二門檻值將對應於該些候選影像的該些灰階影像的該些像素的像素值分別指定為一第三像素值及一第四像素值其中之一,以產生多個第二二值影像,其中,由多個該第三像素值群聚所形成之一第二區塊對應於該散射區塊。The water quality detecting system of claim 4, wherein the brightness threshold further comprises a second threshold value, and the processor, according to the second threshold value, corresponds to the grayscale images of the candidate images. The pixel values of the pixels are respectively designated as one of a third pixel value and a fourth pixel value to generate a plurality of second binary images, wherein one of the plurality of the third pixel values is formed The second block corresponds to the scattering block. 如申請專利範圍第6項所述的水質檢測系統,其中,該處理器分別計算該些第二區塊的一第二區塊面積,以及計算每一所述候選影像的該第二區塊面積相對於該第一區塊面積的一比值為該面積參數。The water quality detecting system of claim 6, wherein the processor separately calculates a second block area of the second blocks, and calculates the second block area of each of the candidate images. A ratio relative to the area of the first block is the area parameter. 如申請專利範圍第7項所述的水質檢測系統,其中,該第二門檻值大於該第一門檻值,每一所述候選影像中的該第二區塊面積小於該第一區塊面積。The water quality detecting system of claim 7, wherein the second threshold value is greater than the first threshold value, and the second block area in each of the candidate images is smaller than the first block area. 如申請專利範圍第5或7項所述的水質檢測系統,其中,該處理器根據該篩選值篩選該些面積參數,並保留該些面積參數不大於該篩選值的該些候選影像,以及根據被保留的該些候選影像的該些面積參數計算出該參數統計值。The water quality detecting system of claim 5, wherein the processor filters the area parameters according to the screening value, and retains the candidate images whose area parameters are not greater than the screening value, and according to The parameter values of the candidate image images that are retained are calculated. 如申請專利範圍第9項所述的水質檢測系統,其中,該篩選值為被該處理器保留的該些候選影像的該些面積參數之平均值。The water quality detecting system of claim 9, wherein the screening value is an average of the area parameters of the candidate images retained by the processor. 如申請專利範圍第9項所述的水質檢測系統,其中,該處理器依照該篩選值進行至少兩次篩選。The water quality detecting system of claim 9, wherein the processor performs at least two screenings according to the screening value. 如申請專利範圍第2項所述的水質檢測系統,其中,該處理器對該些二值影像進行侵蝕及膨脹處理,以消除該些二值影像的毛邊效應。The water quality detecting system of claim 2, wherein the processor erodes and expands the binary images to eliminate the burr effect of the binary images. 一種水質檢測方法,利用一發光器、一影像擷取裝置及一處理器檢測一受測水源之濁度,該方法包括:由該發光器從該受測水源表面向該受測水源發射一同調光;由該影像擷取裝置連續擷取該受測水源表面的多個水面影像,每個所述水面影像中包括該同調光撞擊該受測水源中之懸浮粒子而在該受測水源表面產生的一漸層影像,該漸層影像的亮度從邊緣向中心增強;接收該些水面影像,並根據至少一亮度門檻定義出每一該些水面影像的一散射區塊,該散射區塊對應該水面影像的高亮度區域;分別計算該些散射區塊的一面積參數,並根據一篩選值比對該些面積參數以篩選該些散射區塊;根據篩選後所保留的該些散射區塊的該些面積參數獲得一參數統計值;及比對該參數統計值及一濁度對照表,以判斷該受測水源的濁度;其中,該參數統計值越大,該受測水源的濁度越高。A water quality detecting method for detecting turbidity of a water source to be tested by using an illuminator, an image capturing device and a processor, the method comprising: transmitting, by the illuminator, a homology from the surface of the tested water source to the water source under test The image capturing device continuously captures a plurality of water surface images of the surface of the tested water source, and each of the water surface images includes the same dimming light colliding with the suspended particles in the tested water source to generate on the surface of the tested water source a gradation image, the brightness of the gradation image is enhanced from the edge to the center; receiving the water surface images, and defining a scattering block of each of the water surface images according to at least one brightness threshold, the scattering block corresponding to a high-luminance region of the water surface image; respectively calculating an area parameter of the scattering blocks, and screening the scattering blocks according to a screening value ratio; according to the scattering blocks retained after the screening The area parameters obtain a parameter statistical value; and compare the statistical value of the parameter with a turbidity comparison table to determine the turbidity of the tested water source; wherein the larger the statistical value of the parameter, the The higher the turbidity of the water. 如申請專利範圍第13項所述的水質檢測方法,其中,根據該亮度門檻定義出每一該些水面影像的該散射區塊之步驟中,包括:根據該亮度門檻的一第一門檻值,將每一該些水面影像的多個像素區分為一第一像素值及一第二像素值其中之一,以產生一第一二值影像;其中,該散射區塊所對應的該些像素的像素值為該第一像素值。The water quality detecting method of claim 13, wherein the step of defining the scattering block of each of the water surface images according to the brightness threshold comprises: according to a first threshold value of the brightness threshold, Dividing a plurality of pixels of each of the water surface images into one of a first pixel value and a second pixel value to generate a first binary image; wherein the pixels corresponding to the scattering block The pixel value is the first pixel value. 如申請專利範圍第14項所述的水質檢測方法,其中,根據該水面影像產生該第一二值影像之前,更包括:將該些水面影像進行灰階化處理,以形成多個灰階影像;及根據該第一門檻值將每一該些灰階影像的該些像素分別指定為該第一像素值及該第二像素值其中之一,以產生該第一二值影像。The water quality detecting method according to claim 14, wherein before the generating the first binary image according to the water surface image, the method further comprises: grayscale processing the water surface images to form a plurality of grayscale images. And determining, according to the first threshold, the pixels of each of the grayscale images as one of the first pixel value and the second pixel value to generate the first binary image. 如申請專利範圍第14項所述的水質檢測方法,其中,產生該第一二值影像之後,更包括:計算每一所述第一二值影像中由多個對應該第一像素值的像素群聚所形成之至少一第一區塊的一區塊數量;及選取該區塊數量為一的該些第一二值影像為多個候選影像;其中,該些候選影像所包括的該第一區塊對應於該散射區塊。The water quality detecting method of claim 14, wherein after the generating the first binary image, the method further comprises: calculating, by each of the first binary images, a plurality of pixels corresponding to the first pixel value The number of blocks of the at least one first block formed by the clustering; and the first binary image with the number of the blocks being one of the plurality of candidate images; wherein the candidate image includes the first A block corresponds to the scattering block. 如申請專利範圍第16項所述的水質檢測方法,其中,選取該區塊數量為一的該些二值影像為該些候選影像之後,更包括:計算被選取的每一該些候選影像之該第一區塊的一第一區塊面積為該面積參數。The method for detecting water quality according to claim 16 , wherein after selecting the binary images of the number of blocks as the candidate images, the method further comprises: calculating each of the selected candidate images. A first block area of the first block is the area parameter. 如申請專利範圍第14項所述的水質檢測方法,其中,選取該區塊數量為一的該些第一二值影像為多個候選影像之後,更包括:根據該亮度門檻的一第二門檻值,將對應於該些候選影像的該些灰階影像的像素值分別指定為一第三像素值及一第四像素值其中之一,以產生多個第二二值影像;其中,由多個該第三像素值群聚所形成之一第二區塊對應於該散射區塊。The water quality detecting method of claim 14, wherein the selecting the first binary image of the number of blocks to be a plurality of candidate images further comprises: following a second threshold of the brightness threshold a value, the pixel values of the grayscale images corresponding to the candidate images are respectively designated as one of a third pixel value and a fourth pixel value, to generate a plurality of second binary images; One of the second pixel value clusters forms a second block corresponding to the scattering block. 如申請專利範圍第18項所述的水質檢測方法,其中,產生該些第二二值影像之後,更包括:分別計算該些第二區塊的一第二區塊面積;及計算每一所述候選影像的該第二區塊面積相對於該第一區塊面積的一比值為該面積參數;其中,該第二門檻值大於該第一門檻值,每一所述候選影像中的該第二區塊面積小於該第一區塊面積。The water quality detecting method of claim 18, wherein after generating the second binary images, the method further comprises: separately calculating a second block area of the second blocks; and calculating each The ratio of the area of the second block of the candidate image to the area of the first block is the area parameter; wherein the second threshold is greater than the first threshold, the first of each candidate image The area of the second block is smaller than the area of the first block. 如申請專利範圍第17或19項所述的水質檢測方法,其中,計算出該些候選影像的該些面積參數之後,更包括:根據該篩選值篩選該些面積參數,並保留該面積參數不大於該篩選值的該些候選影像;及根據被保留的該些候選影像的該些面積參數計算出該參數統計值;其中,該篩選值為被保留的該些候選影像的該些面積參數之平均值。The water quality detecting method of claim 17 or 19, wherein after calculating the area parameters of the candidate images, the method further comprises: screening the area parameters according to the screening value, and retaining the area parameter The candidate image is greater than the screening value; and the parameter statistics are calculated according to the area parameters of the candidate images that are retained; wherein the screening value is the area parameters of the candidate images that are retained average value. 如申請專利範圍第14項所述的水質檢測方法,其中,產生該第一二值影像之後,更包括:對該些二值影像進行侵蝕及膨脹處理,以消除該些二值影像的毛邊效應。The water quality detecting method of claim 14, wherein the generating the first binary image further comprises: etching and expanding the binary image to eliminate the burr effect of the binary image . 一種如申請專利範圍第1項所述之水質檢測系統的校正方法,包括:於該發光器之發光功率未衰減時,連續檢測該受測水源以判斷該受測水源的濁度;記錄該發光器之發光功率未衰減且該受測水源持續一時間長度的濁度為清澈等級時之一校正濁度值,並根據該校正濁度值及一誤差值產生一校正濁度範圍;產生該校正濁度範圍後持續擷取該受測水源的該些水面影像,並分析及計算該些參數統計值以判斷該受測水源的濁度;於判斷出該受測水源的濁度持續該時間長度為清澈等級時,計算該時間長度內的該些參數統計值而產生一參考濁度值;比對該參考濁度值與該校正濁度範圍,以判斷該參考濁度值是否小於該校正濁度範圍之下限;及當該參考濁度值小於該校正濁度範圍之下限時,根據一補償比例提高該發光器的發光功率。A method for correcting a water quality detecting system according to claim 1, comprising: continuously detecting the measured water source to determine the turbidity of the water source under test when the illuminating power of the illuminator is not attenuated; recording the illuminating The illuminating power of the device is not attenuated and the turbidity of the measured water source for a period of time is one of the corrected turbidity values, and a corrected turbidity range is generated according to the corrected turbidity value and an error value; the correction is generated After the turbidity range, the water surface images of the tested water source are continuously captured, and the statistical values of the measured parameters are analyzed and calculated to determine the turbidity of the tested water source; and the turbidity of the tested water source is determined to last for the length of time When the level is clear, calculating the parameter statistic values within the length of time to generate a reference turbidity value; comparing the reference turbidity value with the corrected turbidity range to determine whether the reference turbidity value is less than the corrected turbidity value The lower limit of the range; and when the reference turbidity value is less than the lower limit of the corrected turbidity range, the illuminating power of the illuminator is increased according to a compensation ratio. 如申請專利範圍第22項所述的校正方法,其中,根據該補償比例提高該發光器的發光功率之後,更包括:擷取該受測水源的該些水面影像,以計算另一參數統計值;比對所述另一參數統計值是否不小於該校正濁度範圍之下限;及當所述另一參數統計值是否不小於該校正濁度範圍之下限時,完成對該水質檢測系統之校正。The method of claim 22, wherein, after the illuminating power of the illuminator is increased according to the compensation ratio, the method further includes: capturing the water surface images of the water source to be measured to calculate another parameter statistic value. And comparing whether the statistical value of the other parameter is not less than a lower limit of the corrected turbidity range; and when the statistical value of the other parameter is not less than a lower limit of the corrected turbidity range, completing the correction of the water quality detecting system . 如申請專利範圍第22項所述的校正方法,其中,該校正濁度值為該時間長度內所計算出之該參數統計值之平均值。The method of claim 22, wherein the corrected turbidity value is an average of the statistical values of the parameter calculated over the length of time.
TW101101376A 2012-01-13 2012-01-13 Water turbidity detection system and the method thereof TWI456185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101101376A TWI456185B (en) 2012-01-13 2012-01-13 Water turbidity detection system and the method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101101376A TWI456185B (en) 2012-01-13 2012-01-13 Water turbidity detection system and the method thereof

Publications (2)

Publication Number Publication Date
TW201329434A TW201329434A (en) 2013-07-16
TWI456185B true TWI456185B (en) 2014-10-11

Family

ID=49225695

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101101376A TWI456185B (en) 2012-01-13 2012-01-13 Water turbidity detection system and the method thereof

Country Status (1)

Country Link
TW (1) TWI456185B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI569766B (en) * 2015-07-15 2017-02-11 A method for predicting saliva image recognition in female ovulation
TWI611183B (en) * 2016-07-26 2018-01-11 吳志偉 Remote water quality monitoring system
JP7614994B2 (en) * 2021-09-21 2025-01-16 東芝デジタルソリューションズ株式会社 Water Quality Monitoring System

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655462A (en) * 2009-09-11 2010-02-24 中国科学院地理科学与资源研究所 Apparatus for obtaining water quality information, method and system for recognizing water body eutrophication degree
TW201111763A (en) * 2009-09-21 2011-04-01 Ind Tech Res Inst Measuring device for water suspended solid concentration by laser optical imaging technology and measuring method therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655462A (en) * 2009-09-11 2010-02-24 中国科学院地理科学与资源研究所 Apparatus for obtaining water quality information, method and system for recognizing water body eutrophication degree
TW201111763A (en) * 2009-09-21 2011-04-01 Ind Tech Res Inst Measuring device for water suspended solid concentration by laser optical imaging technology and measuring method therefor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黃慶祥,水庫水質與光學性質模式之建立及其應用,國立成功大學鴻境工程學系碩士論文,95年7月 *

Also Published As

Publication number Publication date
TW201329434A (en) 2013-07-16

Similar Documents

Publication Publication Date Title
SG164293A1 (en) System and method for inspecting a wafer
CN101287073B (en) Adaptive Acquisition Method of Stable Brightness Image in Machine Vision System in Variable Lighting Environment
TW200723170A (en) Defect detecting device, image sensor device, image sensor module, image processing device, digital image quality tester, and defect detecting method
WO2020253827A1 (en) Method and apparatus for evaluating image acquisition accuracy, and electronic device and storage medium
JP2012043156A5 (en)
JP2014188222A5 (en)
JP2012073953A5 (en)
CN1525747A (en) Flicker detecting method and flicker detecting apparatus
CN109060842A (en) Citrus detection method of surface flaw, computer program based on surface fitting correction
JP2008278288A5 (en)
CN115861290B (en) Skin-feel wood door surface defect detection method
JP2008020235A5 (en)
EP2228990A3 (en) Image processing device and method
JP2010271987A5 (en)
JP5849397B2 (en) Surface defect detection device and surface defect detection method
TWI456185B (en) Water turbidity detection system and the method thereof
JP6745150B2 (en) Lighting device and image inspection device
TWI650534B (en) System and method for measuring luminance of light device
CN107037053A (en) Apparatus and method for detecting spot defect
CN106254723B (en) A kind of method of real-time monitoring video noise interference
JP6526514B2 (en) Inspection apparatus, method and program
JP2005164565A (en) Defect detection method for flat panel light- related plate element in low and high resolution images
US20250131546A1 (en) Method and system of adaptably detecting dirt, occlusion and smudge on camera lens and image sensor
KR101417467B1 (en) Apparatus for treating image of steel plate by cross light and method using thereof
TWI655412B (en) Light source detection system and method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees