CN108776979A - Utilize the method for image measurement plating medium bacterial strain diameter - Google Patents

Utilize the method for image measurement plating medium bacterial strain diameter Download PDF

Info

Publication number
CN108776979A
CN108776979A CN201810722188.9A CN201810722188A CN108776979A CN 108776979 A CN108776979 A CN 108776979A CN 201810722188 A CN201810722188 A CN 201810722188A CN 108776979 A CN108776979 A CN 108776979A
Authority
CN
China
Prior art keywords
bacterial strain
point
image
tablet
profile
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.)
Withdrawn
Application number
CN201810722188.9A
Other languages
Chinese (zh)
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.)
Autobio Experimental Instrument Zhengzhou Co Ltd
Autobio Labtec Instruments Zhengzhou Co Ltd
Original Assignee
Autobio Labtec Instruments Zhengzhou Co Ltd
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 Autobio Labtec Instruments Zhengzhou Co Ltd filed Critical Autobio Labtec Instruments Zhengzhou Co Ltd
Priority to CN201810722188.9A priority Critical patent/CN108776979A/en
Publication of CN108776979A publication Critical patent/CN108776979A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10056Microscopic image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Geometry (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a kind of method using image measurement plating medium bacterial strain diameter, one, obtain to carrying out image taking by the bacterium colony of culture after plating and include the tablet image A of the bacterium colony;Two, gray proces are carried out to tablet image A1, obtains tablet image A2;Three, binary conversion treatment is carried out to tablet image A2;Four, each corresponding profile of bacterial strain in tablet image A3 is found, and the corresponding profile of each bacterial strain is scanned, coboundary point, lower boundary point, left margin point, the right margin point of profile corresponding to each bacterial strain is found, calculates the length and width of each bacterial strain;The diameter calculation formula of bacterial strain be R2=(P2/P1)×R1;In formula:R2 is bacterial strain diameter;P2 is the number of pixels that bacterial strain width accounts in the picture;P1 is the number of pixels of plating medium in the picture;R1 is plate diameter.The invention has the advantages that realizing mass, the intellectualized operation measured colony diameter.

Description

Utilize the method for image measurement plating medium bacterial strain diameter
Technical field
The present invention relates to the measurements of plating medium bacterial strain diameter, more particularly, to utilization image measurement plating medium bacterium The method of strain diameter.
Background technology
Strain is connected on plating medium with oese by plating, or with pipette, dropper by certain volume Bacterium solution moves on plating medium, then cultivates.The purpose of plating is observation colonial morphology, isolates and purifies strain, viable bacteria Count and carried out on tablet various experiments.Plating medium forms circular colonies by inoculation, microorganism through outgrowth, leads to The position for identifying single bacterium colony, size are crossed, then measures the diameter of bacterium colony for subsequent detection and analysis, experiment.Currently, Measurement to colony diameter, it is common practice that doctor takes the cultured bacterium colony of ruler hand dipping, this is easy for causing to generate regarding Feel error, measurement accuracy and efficiency are low, and it is very inconvenient to measure operation.Also, some bacterium colonies connect together after culture The group's of being formed shape bacterium colony or bacterium colony in blocks, cause doctor that can not take measurement of the ruler to single bacterium colony.
Invention content
Present invention aims at provide a kind of method using image measurement plating medium bacterial strain diameter.
To achieve the above object, the present invention takes following technical proposals:
Method of the present invention using image measurement plating medium bacterial strain diameter carries out as steps described below:
The first step obtains the tablet image A for including the bacterium colony to carrying out image taking by the bacterium colony of culture after plating;
Second step carries out gray proces to the tablet image A1, obtains the tablet image A2 after gray proces;
Automatic threshold function in third step, library of being increased income using image procossing(AdaptiveThreshold)To the lithograph As A2 progress binary conversion treatments, i.e.,:
Tablet image A2 is scanned through, and finds out maximum gradation value Rmax and minimum gradation value Rmin, and it is median, meter to take threshold value T Calculating formula is:T=(Rmax+Rmin)/2, then scan image, is handled the gray value of each pixel, gray value is more than threshold value T then becomes 255 whites, and gray value, which is less than threshold value T, then becomes 0 black, tablet image A3 is obtained, to make the tablet image A3 There is only black (gray value 0), white (gray values 255) in picture;
Lookup profile function in 4th step, library of being increased income by image procossing(FindContours), find in tablet image A3 The corresponding profile of each bacterial strain, and the corresponding profile of each bacterial strain is scanned, find profile corresponding to each bacterial strain Coboundary point, lower boundary point, left margin point, right margin point;The boundary point includes X-coordinate, Y coordinate and pixel Number;Then the length and width of each bacterial strain is calculated separately out;
Since bacterial strain is rounded, length and width is equal, and the width of bacterial strain is shared number of pixels in the picture;Therefore, bacterial strain Diameter calculation formula be R2=(P2/P1)×R1;In formula:R2 is bacterial strain diameter;P2 is bacterial strain width shared picture in the picture Plain number;P1 is the number of pixels of plating medium in the picture;R1 is plate diameter;
The horizontal distance of the left margin point of bacterial strain profile to tablet left margin is the left margin point X-coordinate of bacterial strain profile;Bacterial strain wheel The horizontal distance of wide right margin point to tablet left margin is the right margin point X-coordinate of bacterial strain profile;The coboundary of bacterial strain profile The vertical range of point to tablet coboundary is the coboundary point Y coordinate of bacterial strain profile;On the lower boundary point to tablet of bacterial strain profile The vertical range on boundary is the lower boundary point Y coordinate of bacterial strain profile;
The length of bacterial strain is:The lower boundary point Y coordinate of bacterial strain subtracts coboundary point Y coordinate;
The width of bacterial strain is:The right margin point X-coordinate of bacterial strain subtracts the X-coordinate of left margin point.
Tablet image A described in the first step is JPG, BMP or PNG picture format.
The invention has the advantages that realizing mass, the intellectualized operation measured colony diameter;Substantially increase doctor's work Make efficiency, reduces measurement error.
Description of the drawings
Fig. 1 is the schematic diagram of tablet image A1 of the present invention.
Fig. 2 is the schematic diagram of tablet image A2 of the present invention.
Fig. 3 is the schematic diagram of tablet image A3 of the present invention.
Specific implementation mode
It elaborates below in conjunction with the accompanying drawings to the embodiment of the present invention, the present embodiment before being with technical solution of the present invention It puts and is implemented, give detailed embodiment and specific operating process, but protection scope of the present invention is not limited to down State embodiment.
Method of the present invention using image measurement plating medium bacterial strain diameter carries out as steps described below:
The first step obtains the tablet image A for including the bacterium colony to carrying out image taking by the bacterium colony of culture after plating, As shown in Figure 1;
Second step carries out gray proces to the tablet image A1, obtains the tablet image A2 after gray proces, as shown in Figure 2; Value gray=0.299 × 0.114 × blue of red+0.587 × green+ of the tablet image A2 pixels;
In formula:Red is the red color channel value of tablet image A1 pixels before gray proces;
Green is the green channel value of tablet image A1 pixels before gray proces;
Blue is the blue channel value of tablet image A1 pixels before gray proces;
Automatic threshold function in third step, library of being increased income using image procossing(AdaptiveThreshold)To the lithograph As A2 progress binary conversion treatments, i.e.,:
Tablet image A2 is scanned through, and finds out maximum gradation value Rmax and minimum gradation value Rmin, and it is median, meter to take threshold value T Calculating formula is:T=(Rmax+Rmin)/2, then scan image, is handled the gray value of each pixel, gray value is more than threshold value T then becomes 255 whites, and gray value, which is less than threshold value T, then becomes 0 black, obtains tablet image A3, as shown in Figure 3;It is described to make There is only black (gray value 0), white (gray values 255) in tablet image A3 pictures;
Lookup profile function in 4th step, library of being increased income by image procossing(FindContours), find in tablet image A3 The corresponding profile of each bacterial strain, and the corresponding profile of each bacterial strain is scanned, find profile corresponding to each bacterial strain Coboundary point, lower boundary point, left margin point, right margin point;The boundary point includes X-coordinate, Y coordinate;Then it counts respectively Calculate the length and width of each bacterial strain;
Since bacterial strain is rounded, length and width is equal, and the width of bacterial strain is shared number of pixels in the picture;Therefore, bacterial strain Diameter calculation formula be R2=(P2/P1)×R1;In formula:R2 is bacterial strain diameter;P2 is bacterial strain width shared picture in the picture Plain number;P1 is the number of pixels of plating medium in the picture;R1 is plate diameter;
The horizontal distance of the left margin point of bacterial strain profile to tablet left margin is the left margin point X-coordinate of bacterial strain profile;Bacterial strain wheel The horizontal distance of wide right margin point to tablet left margin is the right margin point X-coordinate of bacterial strain profile;The coboundary of bacterial strain profile The vertical range of point to tablet coboundary is the coboundary point Y coordinate of bacterial strain profile;On the lower boundary point to tablet of bacterial strain profile The vertical range on boundary is the lower boundary point Y coordinate of bacterial strain profile;
The length of bacterial strain is:The lower boundary point Y coordinate of bacterial strain subtracts coboundary point Y coordinate;
The width of bacterial strain is:The right margin point X-coordinate of bacterial strain subtracts the X-coordinate of left margin point.
Tablet image A described in the first step is JPG, BMP or PNG picture format.
The image procossing library of increasing income for seeking profile includes OpenCV, imageMagic, GraphicsMagick, ImageStone, GIMP, CxImage, LEADTOOLS, Halcon etc. are common several.

Claims (2)

1. a kind of method using image measurement plating medium bacterial strain diameter, it is characterised in that:It carries out as steps described below:
The first step obtains the tablet image A for including the bacterium colony to carrying out image taking by the bacterium colony of culture after plating;
Second step carries out gray proces to the tablet image A1, obtains the tablet image A2 after gray proces;
Tablet image A2 carries out binary conversion treatment described in automatic threshold function pair in third step, library of being increased income using image procossing, I.e.:
Tablet image A2 is scanned through, and finds out maximum gradation value Rmax and minimum gradation value Rmin, and it is median, meter to take threshold value T Calculating formula is:T=(Rmax+Rmin)/2, then scan image, is handled the gray value of each pixel, gray value is more than threshold value T then becomes 255 whites, and gray value, which is less than threshold value T, then becomes 0 black, tablet image A3 is obtained, to make the tablet image A3 There is only black, whites in picture;
It is corresponding to find each bacterial strain in tablet image A3 for lookup profile function in 4th step, library of being increased income by image procossing Profile, and being scanned to the corresponding profile of each bacterial strain finds the coboundary point, following of profile corresponding to each bacterial strain Boundary's point, left margin point, right margin point;The boundary point includes X-coordinate, Y coordinate and pixel number;Then it calculates separately out The length and width of each bacterial strain;
Since bacterial strain is rounded, length and width is equal, and the width of bacterial strain is shared number of pixels in the picture;Therefore, bacterial strain Diameter calculation formula be R2=(P2/P1)×R1;In formula:R2 is bacterial strain diameter;P2 is bacterial strain width shared picture in the picture Plain number;P1 is the number of pixels of plating medium in the picture;R1 is plate diameter;
The horizontal distance of the left margin point of bacterial strain profile to tablet left margin is the left margin point X-coordinate of bacterial strain profile;Bacterial strain wheel The horizontal distance of wide right margin point to tablet left margin is the right margin point X-coordinate of bacterial strain profile;The coboundary of bacterial strain profile The vertical range of point to tablet coboundary is the coboundary point Y coordinate of bacterial strain profile;On the lower boundary point to tablet of bacterial strain profile The vertical range on boundary is the lower boundary point Y coordinate of bacterial strain profile;
The length of bacterial strain is:The lower boundary point Y coordinate of bacterial strain subtracts coboundary point Y coordinate;
The width of bacterial strain is:The right margin point X-coordinate of bacterial strain subtracts the X-coordinate of left margin point.
2. the method for utilizing image measurement plating medium bacterial strain diameter according to claim 1, it is characterised in that:The first step Described in tablet image A be JPG, BMP or PNG picture format.
CN201810722188.9A 2018-07-04 2018-07-04 Utilize the method for image measurement plating medium bacterial strain diameter Withdrawn CN108776979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810722188.9A CN108776979A (en) 2018-07-04 2018-07-04 Utilize the method for image measurement plating medium bacterial strain diameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810722188.9A CN108776979A (en) 2018-07-04 2018-07-04 Utilize the method for image measurement plating medium bacterial strain diameter

Publications (1)

Publication Number Publication Date
CN108776979A true CN108776979A (en) 2018-11-09

Family

ID=64030893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810722188.9A Withdrawn CN108776979A (en) 2018-07-04 2018-07-04 Utilize the method for image measurement plating medium bacterial strain diameter

Country Status (1)

Country Link
CN (1) CN108776979A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109637056A (en) * 2018-12-13 2019-04-16 深圳众宝城贸易有限公司 A kind of artificial intelligence Supermarket account-settling system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0837148B1 (en) * 1996-10-21 2001-08-29 Kawasaki Steel Corporation Grain-oriented electromagnetic steel sheet
CN1829727A (en) * 2003-03-21 2006-09-06 斯比凯克公司 High viscosity xanthan polymer preparations
US20070254221A1 (en) * 2004-12-24 2007-11-01 Hi-Kuk Lee Photosensitive resin composition, thin film panel made with photosensitive resin composition, and method for manufacturing thin film panel
CN104087650A (en) * 2014-06-27 2014-10-08 华南理工大学 Detecting method for sub-lethal yeast under action of pulsed electric fields based on image analysis
CN104849276A (en) * 2015-05-20 2015-08-19 辽宁工程技术大学 Granite three-dimensional microstructure re-building method based on pixel statistics
CN106447020A (en) * 2016-09-13 2017-02-22 上海海事大学 Intelligent bacterium colony counting method
CN106485313A (en) * 2016-10-18 2017-03-08 山东省农业科学院农业质量标准与检测技术研究所 A kind of quick Numeration of bacterium colony

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0837148B1 (en) * 1996-10-21 2001-08-29 Kawasaki Steel Corporation Grain-oriented electromagnetic steel sheet
CN1829727A (en) * 2003-03-21 2006-09-06 斯比凯克公司 High viscosity xanthan polymer preparations
US20070254221A1 (en) * 2004-12-24 2007-11-01 Hi-Kuk Lee Photosensitive resin composition, thin film panel made with photosensitive resin composition, and method for manufacturing thin film panel
CN104087650A (en) * 2014-06-27 2014-10-08 华南理工大学 Detecting method for sub-lethal yeast under action of pulsed electric fields based on image analysis
CN104849276A (en) * 2015-05-20 2015-08-19 辽宁工程技术大学 Granite three-dimensional microstructure re-building method based on pixel statistics
CN106447020A (en) * 2016-09-13 2017-02-22 上海海事大学 Intelligent bacterium colony counting method
CN106485313A (en) * 2016-10-18 2017-03-08 山东省农业科学院农业质量标准与检测技术研究所 A kind of quick Numeration of bacterium colony

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武雪锋: "菌落自动计数系统的开发与研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109637056A (en) * 2018-12-13 2019-04-16 深圳众宝城贸易有限公司 A kind of artificial intelligence Supermarket account-settling system

Similar Documents

Publication Publication Date Title
US10614286B2 (en) Method of detecting gas-producing microbial colonies
EP3336195B1 (en) Method of differentiating microbial colonies in an image
CN103020996A (en) Lab-space-based detection method based on image color cast
CN106485313B (en) A kind of quick Numeration of bacterium colony
CN107644210A (en) Micro organism quantity evaluation method based on image procossing
JP6550076B2 (en) Method and sterility test apparatus for detecting microcolonies growing on a sample membrane or agarose medium
CN108776979A (en) Utilize the method for image measurement plating medium bacterial strain diameter
CN110751635B (en) Oral cavity detection method based on interframe difference and HSV color space
JP2007110932A (en) Automatic method for culturing and cell culture apparatus
CN110866906A (en) Three-dimensional culture human myocardial cell pulsation detection method based on image edge extraction
CN101963666B (en) Method for correcting intensity image distortion of streak tube imaging laser radar
CN103667417A (en) Method for detecting microbes in beverage
CN104460104B (en) The method for determining the edge of color filter block and the overlapping region of black matrix
CN110400320A (en) A kind of dividing method of electrowetting defect pixel
CN112365435A (en) Image dead pixel detection and edge-based restoration algorithm
CN104881652A (en) Row number automatic detection algorithm based on corn ear convexity characteristic
CN113436214B (en) Brinell hardness indentation circle measuring method and system and computer readable storage medium
CN104036470B (en) Image enhancing method for eliminating binary noisy points
CN202485628U (en) Corn ear characteristic measure apparatus
CN108151808B (en) A kind of steel pipe measuring device and method based on image procossing
CN105886389A (en) Culture flask for detecting microorganism in human blood or human body fluid and preparation method of culture flask
CN105420342A (en) Method for detecting content of coliforms in raw material gum
CN114395471B (en) High-resolution chromogenic plate and application thereof
CN108871224A (en) A kind of depth of groove detection method for LED glass lamp cup
CN103955683B (en) The method and system that a kind of lottery ticket identifier image is calibrated automatically

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20181109

WW01 Invention patent application withdrawn after publication