CN114092397B - Corrosion aluminum foil hole area and diameter statistical method based on image processing - Google Patents
Corrosion aluminum foil hole area and diameter statistical method based on image processing Download PDFInfo
- Publication number
- CN114092397B CN114092397B CN202111198633.4A CN202111198633A CN114092397B CN 114092397 B CN114092397 B CN 114092397B CN 202111198633 A CN202111198633 A CN 202111198633A CN 114092397 B CN114092397 B CN 114092397B
- Authority
- CN
- China
- Prior art keywords
- area
- gray
- hole
- holes
- areas
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10056—Microscopic image
- G06T2207/10061—Microscopic image from scanning electron microscope
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30148—Semiconductor; IC; Wafer
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Geometry (AREA)
- Analysing Materials By The Use Of Radiation (AREA)
- Image Analysis (AREA)
Abstract
An image processing-based corrosion aluminum foil hole area and diameter statistical method comprises the following steps: obtaining an SEM image of the corroded aluminum foil, and converting the SEM image into a gray matrix; dividing a gray matrix area into a base area and a hole area according to the gray value of the gray matrix, respectively calculating the areas of the base area and the hole area, counting the number of holes according to the calculated areas of the base area and the hole area, and calculating the average area and the average diameter of the holes. The method can accurately compare the difference of the areas of all areas among different corrosion aluminum foils, and can accurately measure the diameters of holes, thereby being convenient for the subsequent analysis of the aluminum foil performance.
Description
Technical Field
The invention belongs to the technical field of image processing and aluminum foil surface analysis, and particularly relates to an image processing-based corrosion aluminum foil hole area and diameter statistical method.
Technical Field
Capacitors are one of three passive electronic components (resistors, capacitors and inductors) in the world, and play an important role in the electronic component industry, and are essential basic electronic components in electronic circuits. The aluminum electrolytic capacitor has the advantages of low cost, excellent performance, mature process, convenient application and the like, and has great demand in electronic components and complete machines.
With the continuous development of the electronic industry, the performance requirement on the aluminum electrolytic capacitor is higher and higher, and the aluminum electrolytic capacitor is promoted to develop towards the directions of miniaturization, long service life and the like. Anodized foil is a key material of aluminum electrolytic capacitors, and how to improve the performance of the anode foil of the aluminum electrolytic capacitors is a core problem to be solved by miniaturization of circuit systems.
The corrosion aluminum foil is a basic material of the aluminum electrolytic capacitor, and the quality of the corrosion aluminum foil directly influences the performance of the anode foil of the aluminum electrolytic capacitor. At present, the research on the microstructure and the morphology characterization of the corrosion foil is less, and the performance of the corrosion foil is characterized by lacking a systematic measurement method. Most of microscopic characterization subjective factors on the corroded aluminum foil are large, meanwhile, observation is only concentrated on one or a plurality of holes, the overall performance cannot be reflected, and the test result is random and not convincing.
Disclosure of Invention
Aiming at the problems existing in the aluminum foil microscopic analysis technology for aluminum electrolytic capacitors in the prior art, the invention aims to provide an image processing-based aluminum foil corrosion hole area and diameter statistics method, by using the method, the difference of areas of different corrosion aluminum foils can be accurately compared, and meanwhile, the diameter of the hole can be accurately measured, so that the subsequent analysis of the aluminum foil performance is facilitated.
In order to achieve the above purpose, the technical scheme provided by the invention is as follows:
an image processing-based corrosion aluminum foil hole area and diameter statistical method comprises the following steps:
obtaining an SEM image of the corroded aluminum foil, and converting the SEM image into a gray matrix; dividing a gray matrix area into a base area and a hole area according to the gray value of the gray matrix, respectively calculating the areas of the base area and the hole area, counting the number of holes according to the calculated areas of the base area and the hole area, and calculating the average area and the average diameter of the holes.
Further, the magnification of the image is 2-10K.
Further, converting the SEM image into a gray matrix comprises the steps of: SEM images were read using the imread function of matlab software, and then image images were converted from RGB format to gray matrix using the RGB2gray function.
Further, dividing the gray matrix area into a base area and a hole area according to the gray value of the gray matrix comprises the following steps:
4.1 Obtaining the average gray scale advdata of the gray matrix, judging according to the gray scale of each pixel, wherein the pixel points with gray scales smaller than (0.6-1.0) advdata are hole areas, and the pixel points with gray scales larger than or equal to (0.6-1.0) advdata are aluminum substrates;
4.2 Counting the number of the pixel points in each area to obtain the number and the proportion of the pixel points occupied by the aluminum substrate and the hole area, and further obtaining the size of the occupied area of the aluminum substrate area and the hole area according to the proportion scale.
Further, step 4.2) is followed by the following steps: the bwaseaopen function is used to remove undesirable areas.
Further, the bwaseaopen function selects a 4 neighborhood decision to remove less than 4-100 pixels.
Further, the counting of the number of holes is performed according to the calculated areas of the base area and the hole area, and the average area and diameter of the holes are calculated, comprising the following steps:
counting the number of holes by using a bwlabel function, and counting and calculating the area and average diameter of each hole by using a regiolprops function; the diameter distribution of the holes in the whole area of the SEM image was counted and a histogram was drawn.
Further, the bwlabel function is set to 4 neighbors.
Compared with the prior art, the invention has the beneficial effects that:
compared with manual measurement, the method is accurate in calculation of the hole area and the diameter, and the calculation of a large number of holes in multiple pictures can effectively avoid errors and improve the accuracy of measurement. The invention can solve the problems of complicated manual multiple measurement and randomness, and the calculation method controlled by the program is more efficient and convenient. The invention uses simple gray level calculation to judge the image area, saves the calculation cost and reduces the consumption of memory and time. The bwaseaopen function is used for removing the areas which do not meet the requirements, and errors caused by irregular corrosion morphology are reduced. The data obtained by the method can be used for generating a corresponding corrosion aluminum foil hole model, so that the subsequent further analysis on the performance of the corrosion aluminum foil is facilitated.
Drawings
FIG. 1 is a flow chart of a method for counting the area and diameter of holes of an etched aluminum foil based on image processing in accordance with the present invention;
FIG. 2 is a schematic SEM image of example 1 of the present invention;
FIG. 3 is a schematic diagram of the embodiment 1 of the present invention after morphological treatment and area division, wherein the black area is an aluminum substrate and the white area is a hole;
FIG. 4 is a statistical histogram of the hole diameter distribution obtained in example 1 of the present invention.
Detailed Description
The present invention will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, the invention provides an image processing-based corrosion aluminum foil hole area and diameter statistical method, which comprises the following steps:
1) Photographing an SEM of the corrosion foil: shooting the surface of the corroded aluminum foil by using a scanning electron microscope to obtain a required SEM image, wherein the magnification of the image is 2-10K;
2) Reading and converting into a gray matrix: and reading an image of the surface morphology of the aluminum foil hole, which is obtained by scanning electron microscope shooting, by matlab software, and converting the image into a gray matrix.
2.1 Using the imread function of matlab to read SEM images;
2.2 Using an RGB2gray function to convert the image from RGB format to gray matrix;
3) Dividing gray areas: dividing the picture area into the following parts according to the gray value: the areas of the substrate area and the hole area are calculated respectively;
3.1 Firstly, obtaining the average gray scale advdata of the whole gray scale matrix, judging according to the gray scale of each pixel, judging the pixel points with gray scales smaller than (0.6-1.0) advdata as hole areas, and judging the rest pixel points as aluminum substrates;
3.2 Counting the number of the pixel points in each area while judging to obtain the number and proportion of the pixel points occupied by the aluminum substrate area and the hole area, and further obtaining the size of the occupied areas according to the proportion;
3.3 Using the bwaseaopen function) removes undesirable areas, reducing errors due to corrosion topography irregularities. bwaseaopen function parameter selection: using a 4 neighborhood decision, areas smaller than 4-100 pixels are removed. The area size is determined by the magnification of the SEM image taken.
4) Area and diameter were calculated: counting the number of the hole areas and calculating the average area and diameter of the holes:
4.1 Using a bwlabel function to count the number of hole areas. And selecting a bwlebel function parameter to judge a 4-neighborhood.
4.2 Using a regionprops function to calculate and calculate the area and average diameter of each hole.
4.3 Statistics of hole diameter distribution of the whole area of SEM image and drawing a histogram.
Example 1
1) Photographing an SEM of the corrosion foil: photographing the surface of the corroded aluminum foil by using a scanning electron microscope to obtain an SEM image shown in FIG. 2, wherein the magnification of the image is 5.0K;
2) Reading and converting into a gray matrix: and reading an image of the surface morphology of the aluminum foil hole, which is obtained by scanning electron microscope shooting, by matlab software, and converting the image into a gray matrix.
2.1 Using the imread function of matlab to read SEM images;
2.2 Using an RGB2gray function to convert the image from RGB format to gray matrix;
3) Dividing gray areas: dividing the picture area into the following parts according to the gray value: respectively calculating the total area of the aluminum substrate and the holes;
3.1 Firstly, obtaining the average gray scale advdata of the whole gray scale matrix, judging according to the gray scale of each pixel, judging the pixel points with gray scale less than 0.8 x advdata as hole areas, and judging the rest pixel points as aluminum substrates;
3.2 The pixel points of each area are counted while judging to obtain the occupied area of each area, the pixel block sizes occupied by the holes and the aluminum substrate in the embodiment are 369659 pixels and 859141 pixels respectively, the area ratio is about 4:9, and the occupied area is about 380 mu m according to the calculation of the scale 2 And 900 μm 2 ;
3.3 Using bwaseaopen function to remove undesirable regions, the bwaseaopen function selects a region with a 4 neighborhood decision removal area of less than 16 pixels. This embodiment gives a schematic diagram of black and white areas as shown in fig. 3, where black is the aluminum substrate area and white is the hole area.
4) Area and diameter were calculated: counting the number of the hole areas and calculating the average area and diameter of the holes:
4.1 Using a bwlabel function to count the number of hole areas. The bwlabel function uses a 4 neighborhood decision. In this embodiment, 246 holes are calculated.
4.2 Using a regionprops function to calculate and calculate the area and average diameter of each hole. The average diameter was calculated to be 1.27 μm and the average area was calculated to be 1.67 μm in this example 2 。
4.3 Statistics of hole diameter distribution of the whole area of SEM image and drawing a histogram. This example gives the histogram shown in fig. 4, from fig. 4: the etched aluminum foil selected in this example has a concentrated pore diameter, which is in the range of 0.2-0.8 μm. It is expected that the aluminum foil will have a relatively stable performance in the middle-low pressure formation process, and the specific capacity of the aluminum foil will be seriously lost due to large-scale blockage of small-area holes in the high pressure formation process.
Claims (2)
1. The method for counting the area and the diameter of the holes of the corroded aluminum foil based on image processing is characterized by comprising the following steps of: obtaining an SEM image of the corroded aluminum foil, and converting the SEM image into a gray matrix; dividing a gray matrix area into a base area and a hole area according to the gray value of the gray matrix, respectively calculating the areas of the base area and the hole area, counting the number of holes according to the calculated areas of the base area and the hole area, and calculating the average area and the average diameter of the holes;
converting the SEM image into a gray matrix comprises the steps of: reading an SEM image by adopting an imread function of matlab software, and then converting the image from an RGB format to a gray matrix by adopting an RGB2gray function;
dividing the gray matrix area into a base area and a hole area according to the gray value of the gray matrix comprises the following steps:
4.1 Obtaining the average gray scale advdata of the gray matrix, judging according to the gray scale of each pixel, wherein the pixel points with gray scales smaller than (0.6-1.0) advdata are hole areas, and the pixel points with gray scales larger than or equal to (0.6-1.0) advdata are aluminum substrates;
4.2 Counting the number of pixel points in each area to obtain the number and proportion of the pixel points occupied by the aluminum substrate and the hole area, and further obtaining the size of the occupied area of the aluminum substrate area and the hole area according to a scale;
step 4.2) is followed by the following steps: removing areas which do not meet the requirements by adopting a bwaseaopen function;
the bwaseaopen function selects a 4 neighborhood to judge and remove the area smaller than 4-100 pixels;
counting the number of holes according to the calculated areas of the substrate area and the hole area, and calculating the average area and the diameter of the holes, wherein the method comprises the following steps:
counting the number of holes by using a bwlabel function, and counting and calculating the area and average diameter of each hole by using a regiolprops function; counting the diameter distribution of holes in the whole area of the SEM image and drawing a histogram;
the bwlabel function is set to 4 neighbors.
2. The image processing-based corrosion aluminum foil hole area and diameter statistics method according to claim 1, wherein the magnification of the image is 2-10K.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111198633.4A CN114092397B (en) | 2021-10-14 | 2021-10-14 | Corrosion aluminum foil hole area and diameter statistical method based on image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111198633.4A CN114092397B (en) | 2021-10-14 | 2021-10-14 | Corrosion aluminum foil hole area and diameter statistical method based on image processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114092397A CN114092397A (en) | 2022-02-25 |
CN114092397B true CN114092397B (en) | 2023-08-22 |
Family
ID=80296960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111198633.4A Active CN114092397B (en) | 2021-10-14 | 2021-10-14 | Corrosion aluminum foil hole area and diameter statistical method based on image processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114092397B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115358979B (en) * | 2022-08-12 | 2023-06-16 | 武汉大学 | Quality inspection method and device for inclined live-action three-dimensional model |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101782526A (en) * | 2010-01-19 | 2010-07-21 | 江苏大学 | Method and device for automatically restoring, measuring and classifying steel dimple images |
CN106442526A (en) * | 2016-08-29 | 2017-02-22 | 青岛理工大学 | Activated sludge floc analysis method based on MATLAB |
CN109447063A (en) * | 2018-09-29 | 2019-03-08 | 佛山市云米电器科技有限公司 | A kind of kitchen fume concentration detection method based on image procossing |
CA3062555A1 (en) * | 2018-07-18 | 2020-01-18 | China University Of Mining And Technology | Porous medium permeability prediction method based on machine image intelligent learning |
CN111524181A (en) * | 2020-04-28 | 2020-08-11 | 陕西科技大学 | Automatic measurement method for porous material holes based on scanning electron microscope image segmentation |
-
2021
- 2021-10-14 CN CN202111198633.4A patent/CN114092397B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101782526A (en) * | 2010-01-19 | 2010-07-21 | 江苏大学 | Method and device for automatically restoring, measuring and classifying steel dimple images |
CN106442526A (en) * | 2016-08-29 | 2017-02-22 | 青岛理工大学 | Activated sludge floc analysis method based on MATLAB |
CA3062555A1 (en) * | 2018-07-18 | 2020-01-18 | China University Of Mining And Technology | Porous medium permeability prediction method based on machine image intelligent learning |
CN109447063A (en) * | 2018-09-29 | 2019-03-08 | 佛山市云米电器科技有限公司 | A kind of kitchen fume concentration detection method based on image procossing |
CN111524181A (en) * | 2020-04-28 | 2020-08-11 | 陕西科技大学 | Automatic measurement method for porous material holes based on scanning electron microscope image segmentation |
Non-Patent Citations (1)
Title |
---|
费明德 ; 叶波 ; 陈永华 ; 郭剑 ; .基于图像处理的齿轮啮合面积计算.汽车科技.2017,(第01期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN114092397A (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110400290B (en) | Method and device for detecting chromatic aberration of solar cell and storage medium | |
CN110136120B (en) | Silk-screen printing sample plate size measuring method based on machine vision | |
CN114092397B (en) | Corrosion aluminum foil hole area and diameter statistical method based on image processing | |
CN107084666B (en) | Comprehensive detection method for size of brake pad based on machine vision | |
CN102202142B (en) | Burr detection device and burr detection method | |
CN108447050A (en) | A kind of Surface Flaw dividing method based on super-pixel | |
CN112581904B (en) | Moire compensation method for brightness gray scale image of OLED (organic light emitting diode) screen | |
CN110544231A (en) | lithium battery electrode surface defect detection method based on background standardization and centralized compensation algorithm | |
CN116030052A (en) | Etching quality detection method for lamination process of computer display panel | |
CN111311580A (en) | Steam drum liquid level abnormity identification method and system based on image identification | |
CN111861980A (en) | Imaging detection method, electronic equipment and computer readable storage medium | |
CN113570651B (en) | Carbonate reservoir pore radius distribution quantification method based on SEM image | |
CN112561875A (en) | Photovoltaic cell panel coarse grid detection method based on artificial intelligence | |
CN117351005A (en) | Method and system for detecting coating defects of carbon-coated foil | |
CN112381794A (en) | Printing defect detection method based on deep convolution generation network | |
CN115170476B (en) | Printed circuit board defect detection method based on image processing | |
CN112414943B (en) | Method and module for locating defects of semiconductor chip | |
CN114638958A (en) | Multi-feature fusion ternary positive electrode material roughness extraction method and device | |
CN114693652A (en) | Fabric defect detection method based on Gaussian mixture model | |
JP2007132868A (en) | Apparatus and method for measuring shape of cell on gravure plate | |
CN114359276A (en) | Steel die blanking optimization scheme obtaining method based on pockmark defects | |
CN113793321A (en) | Casting surface defect dynamic detection method and device based on machine vision | |
CN108036736B (en) | Groove curvature measuring method and device and defect number predicting method and device | |
CN112906733A (en) | Two-stage double-check bounded partial correlation real-time template matching method | |
CN108061694B (en) | Method for calculating contact angle of water drop on solid surface |
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 |