CN106204626B - A kind of fig counter based on image procossing - Google Patents

A kind of fig counter based on image procossing Download PDF

Info

Publication number
CN106204626B
CN106204626B CN201610595125.2A CN201610595125A CN106204626B CN 106204626 B CN106204626 B CN 106204626B CN 201610595125 A CN201610595125 A CN 201610595125A CN 106204626 B CN106204626 B CN 106204626B
Authority
CN
China
Prior art keywords
fry
counting
case
image procossing
counting case
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
CN201610595125.2A
Other languages
Chinese (zh)
Other versions
CN106204626A (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.)
Zhejiang Marine Fisheries Research Institute
Original Assignee
Zhejiang Marine Fisheries 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 Zhejiang Marine Fisheries Research Institute filed Critical Zhejiang Marine Fisheries Research Institute
Priority to CN201610595125.2A priority Critical patent/CN106204626B/en
Publication of CN106204626A publication Critical patent/CN106204626A/en
Application granted granted Critical
Publication of CN106204626B publication Critical patent/CN106204626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30242Counting objects in image

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Farming Of Fish And Shellfish (AREA)

Abstract

The invention discloses a kind of fig counter and calculation method based on image procossing, for the precision in order to improve the existing fig counter based on image procossing, counting case including placing fry, the top for counting case is equipped with photographic device, the photographic device is connected with computer, the bottom plate for counting case is equipped with several water inlets, and the side wall for counting case is equipped at least one overflow port, and several water inlets form several water flows straight up in counting case.Water flow straight up is uniformly thick in counting case of the invention, under flow action, fry can be evenly laid out at one layer of the water surface, the phenomenon that being not in fry troupe, when a small amount of fry overlaps, its overlapping part also only accounts for the fraction of fry body, and on this basis, the fig counter based on image procossing, which is equipped with algorithm compensation appropriate, can accurately count the fry quantity counted in case.

Description

A kind of fig counter based on image procossing
Technical field
The present invention relates to measuring equipments and technical field, and in particular to a kind of fig counter based on image procossing and Method of counting.
Background technique
The accurate counting of fry is that science launches feed, fry transportation and sale, survival rate of fish fry assessment and cultivation density control The basis of the links scientific managements such as system.Traditional method of counting mostly uses bowl, cup, bucket measurer etc. to sample, with the side of artificial eye Method counts, big, low efficiency that there are errors, the disadvantages of being limited, had damage to fry by artificial experience.What is occurred on the market is some existing Generationization fig counter, such as photoelectricity fig counter, electric bridge fig counter, multichannel fig counter are big vulnerable to fry The influence of the factors such as small, channel size and reduce technology acuracy, and it is expensive.
With the rapid development of computer and image processing techniques, the fry numeration, fry counting method based on image processing techniques is because of it High-efficient, the advantages that accuracy is high, required device simple, start to be pursued.Authorization Notice No. CN101430775B is disclosed A kind of automatic fry counting system based on computer vision, application publication number CN105374042A disclose a kind of based on machine The on-line automatic counting device of the fry of vision and method, be using camera obtain fry image, then to image at Reason and analysis, obtain fry quantity.But in actual operation, the distribution of fry be arbitrarily, it is non-uniform, it is possible to there are one Fixed overlapping, this can have an impact the accuracy of fry numeration, fry counting, so that measured value is slightly less than actual value, and fry quantity is more Error is bigger.
Summary of the invention
In order to improve the precision of the existing fig counter based on image procossing, the present invention provides one kind based at image It manages and makes the nonoverlapping fig counter of fry and method of counting.
The technical solution adopted by the invention is as follows:
A kind of fig counter based on image procossing, the counting case including placing fry, sets above the counting case There is photographic device, the photographic device is connected with computer, and the bottom plate for counting case is equipped with several water inlets, the counting case Side wall be equipped at least one overflow port, several water inlets count case in form several water flows straight up.
Transparent partition is equipped in the counting case, the mounting height of the partition is lower than the overflow port, the partition Several through-holes are equipped with, the partition is vertical with photographic device.
Several water inlets and through-hole rectangular array are arranged.
The body that the spacing of several water inlets is less than fry is long.
The bottom plate for counting case is white.
The overflow open height is adjustable.
The side wall for counting case is equipped with the strip notch of vertical direction, and covers strip notch lower half The valve plate divided, the valve plate can slide along the vertical direction, and the strip notch and valve plate constitute the overflow port.
A kind of method of counting of the fig counter based on image procossing, its step are as follows:
A. the fry image for counting fry group in case is obtained using the photographic device;
B. fry image separation obtained by step a in I connected domain, binary conversion treatment and is removed into noise, i.e. fry pixel For black, background colour is white:
C. the pixel number n of standard fry and the fry pixel subtotal of each connected domain are measured, m is followed successively by1, m2..., mI
D. fry number in each connected domainβ is fry The uniform factor of body,n maxFor the pixel number of maximum fry, 0.04≤β≤0.2;
E. summing, it is total to obtain the counting case fry
F. it repeats the above steps K times, obtains S1, S2..., SK
G. step f the data obtained is equalized, exports result
The beneficial effects of the present invention are:
Water flow straight up is uniformly thick in counting case of the invention, under flow action, fry can be evenly laid out At one layer of the water surface, the phenomenon that being not in fry troupe, when a small amount of fry overlaps, overlapping part also only accounts for fry body Fraction, on this basis, the fig counter based on image procossing is equipped with algorithm compensation appropriate and can accurately count Count the fry quantity in case.
Detailed description of the invention
Fig. 1 is the schematic diagram of the embodiment of the present invention.
Fig. 2 be in the embodiment of the present invention A-A to schematic diagram.
Fig. 3 is the schematic diagram of overflow port in the embodiment of the present invention.
Fig. 4 is the flow chart of method of counting of the embodiment of the present invention.
Fig. 5 is the fry image schematic diagram that the embodiment of the present invention obtains.
Fig. 6 is the schematic diagram of each connected domain in the embodiment of the present invention.
Fry 01 counts case 1, photographic device 2, computer 3, water inlet 11, overflow port 12, partition 13, through-hole 14, length Notch 15, valve plate 16, connected domain i1~i5
Specific embodiment
The invention will be further described with embodiment with reference to the accompanying drawing.
In embodiment, as shown in Figure 1, a kind of fig counter based on image procossing, the counting including placing fry 01 Case 1, the top for counting case 1 are equipped with photographic device 2, and the photographic device 2 is connected with computer 3, the bottom for counting case 1 Plate is equipped with several water inlets 11, and the side wall for counting case 1 is equipped at least one overflow port 12, several water inlets 11 Several water flows straight up are formed counting in case 1.Water straight up is uniformly thick in the counting case 1 of the present embodiment The phenomenon that stream, under flow action, fry 01 can be evenly laid out at one layer of the water surface, is not in 01 troupe of fry, a small amount of fry 01 when overlapping, and overlapping part also only accounts for the fraction of 01 body of fry, on this basis, the fry based on image procossing Counter, which is equipped with algorithm compensation appropriate, can accurately count the fry quantity counted in case.The water velocity of the present embodiment can It is adjusted according to the size of fry, type, is advisable with not injuring fry, not generating bubble.
In embodiment, as shown in Figure 1, being equipped with transparent partition 13, the mounting height of the partition 13 in the counting case 1 Lower than the overflow port 12, the partition 13 is equipped with several through-holes 14, and the partition 13 is vertical with photographic device 2.This implementation The partition 13 of example has the function of that auxiliary fry 01 positions, and fry 01 is fitted in the lower plane of partition 13 under the action of water flow, Fry is avoided in the bounce of the water surface, reduces the interference to photographic device 2, so that counting more accurate.
In embodiment, as shown in Fig. 2, several water inlets 11 and 14 rectangular array of through-hole are arranged.The present embodiment into The arrangement of the mouth of a river 11 and through-hole 14 makes the water flow risen more evenly, and the distribution of fry 01 also more evenly, is convenient for counting.
In embodiment, the body that the spacing of several water inlets 11 is less than fry 01 is long, and the lesser spacing of water inlet 11 makes Several water flows straight up in case 1, which must be counted, can drive water body in counting case 1 integrally to flow up, and can effectively reduce water The area body Zhong Zhiting prevents fry 01 in the stagnation of the area Zhi Ting, overlapping, so that count results are more accurate.
In embodiment, the bottom plate for counting case 1 is white, and the contrast of white background color and 01 body colour of fry can recognize It spends stronger, facilitates the subsequent binary conversion treatment of fry image.
In embodiment, as shown in figure 3,12 height of the overflow port is adjustable;It is vertical that the side wall for counting case 1 is equipped with The strip notch 15 in direction, and the valve plate 16 of 15 lower half portion of strip notch is covered, the valve plate 16 can be along vertical Direction sliding, the strip notch 15 constitute the overflow port 12 with valve plate 16.The overflow port 12 of the present embodiment is for adjusting Count the water surface elevation in case 1, be applicable in from the countings of different fries 01, the present invention is also optional to realize the function in other ways Energy.
In embodiment, as shown in Fig. 4, Fig. 5, Fig. 6, a kind of method of counting of the fig counter based on image procossing, It is characterized in having the following steps:
A. fry 01 group in counting case 1 fry image is obtained using the photographic device 2;
It b. is in I connected domain (i as shown in Figure 5, Figure 6 by fry image separation obtained by step a1~i5), binary conversion treatment And remove noise, i.e., fry pixel is black, and background colour is white:
C. the pixel number n of standard fry 01 and the 01 pixel subtotal of fry of each connected domain are measured, is followed successively by m1, m2..., mI
D. fry number in each connected domainβ is fry The uniform factor of body,n maxFor the pixel number of maximum fry, 0.04≤β≤0.2;
E. summing, it is total to obtain 1 fry of counting case
F. it repeats the above steps K times, obtains S1, S2..., SK
G. step f the data obtained is equalized, exports result
In general, the fry 01 of higher quality, individual is close, and uniformly factor-beta is typically maintained in 0.04 to fry individual Between~0.2, by the judgement to 01 quality of fry, the numerical value of β can be estimated, is selected when fry individual deviation is larger biggish β value, otherwise the lesser β value of selection.
For the present embodiment when counting 100,200 fries 01 of investment in case 1, count results are accurate 100,200; When counting 400 fries 01 of investment in case 1, count results are 397, error 0.75%;800 are put into counting in case 1 When fry, count results are 791, error 1.1%.
Obviously, the above embodiment of the present invention is merely to illustrate examples made by the present invention, and be not to of the invention The restriction of embodiment.For those of ordinary skill in the art, it can also be made on the basis of the above description His various forms of variations or variation.There is no need and unable to give poor example to all embodiments.And these belong to this hair Bright connotation changes and variations that derived from still fall within protection scope of the present invention.

Claims (6)

1. a kind of fig counter based on image procossing, the counting case (1) including placing fry (01), the counting case (1) Top be equipped with photographic device (2), the photographic device (2) is connected with computer (3), it is characterised in that: the counting case (1) Bottom plate be equipped with several water inlets (11), the side wall for counting case (1) is equipped at least one overflow port (12), several described Water inlet (11) is counting several water flows straight up of formation in case (1);Transparent partition is equipped in the counting case (1) (13), the mounting height of the partition (13) is lower than the overflow port (12), and the partition (13) is equipped with several through-holes (14), The partition (13) is vertical with photographic device (2);
The operating procedure of the fig counter is as follows:
A. the fry image for counting fry (01) group in case (1) is obtained using the photographic device (2);
B. fry image separation obtained by step a in I connected domain, binary conversion treatment and is removed into noise, i.e., fry pixel is black Color, background colour are white:
C. the pixel number n of standard fry (01) and fry (01) pixel subtotal of each connected domain are measured, m is followed successively by1, m2..., mI
D. fry number in each connected domainβ is that fry individual is equal The even factor,nmaxFor the pixel number of maximum fry, 0.04≤β≤0.2;
E. summing, it is total to obtain counting case (1) fry
F. it repeats the above steps K times, obtains S1, S2..., SK
G. step f the data obtained is equalized, exports result
2. the fig counter according to claim 1 based on image procossing, it is characterised in that: several water inlets (11) it is arranged with through-hole (14) rectangular array.
3. the fig counter according to claim 2 based on image procossing, it is characterised in that: several water inlets (11) body that spacing is less than fry (01) is long.
4. the fig counter according to claim 1 based on image procossing, it is characterised in that: counting case (1) Bottom plate is white.
5. the fig counter according to claim 1 based on image procossing, it is characterised in that: the overflow port (12) is high It spends adjustable.
6. the fig counter according to claim 5 based on image procossing, it is characterised in that: counting case (1) Side wall is equipped with the strip notch (15) of vertical direction, and covers the valve plate of strip notch (15) lower half portion (16), the valve plate (16) can be slided along the vertical direction, and the strip notch (15) and valve plate (16) constitute the overflow port (12)。
CN201610595125.2A 2016-07-26 2016-07-26 A kind of fig counter based on image procossing Active CN106204626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610595125.2A CN106204626B (en) 2016-07-26 2016-07-26 A kind of fig counter based on image procossing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610595125.2A CN106204626B (en) 2016-07-26 2016-07-26 A kind of fig counter based on image procossing

Publications (2)

Publication Number Publication Date
CN106204626A CN106204626A (en) 2016-12-07
CN106204626B true CN106204626B (en) 2019-01-29

Family

ID=57496154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610595125.2A Active CN106204626B (en) 2016-07-26 2016-07-26 A kind of fig counter based on image procossing

Country Status (1)

Country Link
CN (1) CN106204626B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108719153A (en) * 2018-05-03 2018-11-02 罗成 It is a kind of quickly to check aquatic products quantity and upload the device in high in the clouds
TWI687159B (en) * 2018-07-10 2020-03-11 群光電能科技股份有限公司 Fry counting system and fry counting method
CN109509175B (en) * 2018-10-15 2020-09-04 浙江大学 Portable fry counter based on machine vision and deep learning and counting method
CN111223137B (en) * 2018-11-26 2023-06-16 重庆小雨点小额贷款有限公司 Method, device, terminal and storage medium for determining quantity of cultured products
CN109952985A (en) * 2019-04-24 2019-07-02 中国海洋大学 Fry loading cartridge
CN112380920B (en) * 2020-10-23 2021-08-10 中国水产科学研究院东海水产研究所 Method for counting fry number by using video data
CN113160137A (en) * 2021-03-19 2021-07-23 东营市阔海水产科技有限公司 Shrimp fry counting method, terminal device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430775A (en) * 2008-11-17 2009-05-13 浙江海洋学院 Automatic fry counting system based on computer vision
EP2439681A1 (en) * 2009-06-05 2012-04-11 Osaka N.E.D. Machinery Corporation Individual counter using fluid
CN102805044A (en) * 2012-07-16 2012-12-05 宁波大学 Fish, shrimp and crab seed automatic counting device and method based on computer video processing
CN105374042A (en) * 2015-11-30 2016-03-02 中国计量学院 Device and method of on-line automatic count of fries on the basis of machine vision

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201118761A (en) * 2009-11-17 2011-06-01 Inst Information Industry Aquatic animal counting system, method and recording medium thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430775A (en) * 2008-11-17 2009-05-13 浙江海洋学院 Automatic fry counting system based on computer vision
EP2439681A1 (en) * 2009-06-05 2012-04-11 Osaka N.E.D. Machinery Corporation Individual counter using fluid
CN102805044A (en) * 2012-07-16 2012-12-05 宁波大学 Fish, shrimp and crab seed automatic counting device and method based on computer video processing
CN105374042A (en) * 2015-11-30 2016-03-02 中国计量学院 Device and method of on-line automatic count of fries on the basis of machine vision

Also Published As

Publication number Publication date
CN106204626A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106204626B (en) A kind of fig counter based on image procossing
CN103984979B (en) The algae automatic detection counting device and method being imaged without Lenses Diffractive
CN104502245B (en) Method for measuring fineness modulus of sand by utilizing image analysis technology
EP3143559B1 (en) Concentration control of living organisms in fluid
CN106930959B (en) Pumping system and method for determining the flow in pumping system
CN103630091B (en) Leaf area measurement method based on laser and image processing techniques
CN106529006A (en) Depth image-based broiler growth model fitting method and apparatus
CN103134571B (en) Water meter automatic verification technology based on dynamic video image processing and pattern recognition algorithm
CN115018844A (en) Plastic film quality evaluation method based on artificial intelligence
CN110349153A (en) The image method tobacco based on multi-feature fusion detection method of rate containing stalk
CN108534802A (en) Pipe bubble based on image processing techniques deviates measuring method
CN108519314A (en) A kind of paper porosity measurement based on Digital Image Processing and pore analysis method
CN109190827B (en) Method for identifying influence mechanism of furrow layout on rainfall runoff production
CN103954334A (en) Fully automatic image pickup type water meter verification system and operating method thereof
CN107024187A (en) A kind of leaf area measurement method based on digital camera images
EP3271864A1 (en) Tissue sample analysis technique
CN111104730A (en) Method for quickly judging rice whitening degree based on whiteness
CN107862697A (en) A kind of golden flower bacterium method of counting for Fu tea quality testings
CN105574516B (en) The ornamental pine apple chlorophyll detection method returned based on logistic in visible images
Creëlle et al. Validation of large-scale particle image velocimetry to acquire free-surface flow fields in vegetated rivers
CN118080280A (en) Monitoring system for film processing based on Internet of things
CN106339752A (en) Fry counting device and counting method
CN113838081A (en) Method and device for distinguishing color uniformity of flue-cured tobacco leaves based on machine vision
CN108459314A (en) A kind of three-dimensional solid-state face battle array laser radar non-uniform correction method
CN101636650A (en) Be used for producing the system and method for the carbon paste of using carbon electrode production

Legal Events

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