CN109064463A - A kind of rippling the area ratio measurement method and system - Google Patents

A kind of rippling the area ratio measurement method and system Download PDF

Info

Publication number
CN109064463A
CN109064463A CN201810886273.9A CN201810886273A CN109064463A CN 109064463 A CN109064463 A CN 109064463A CN 201810886273 A CN201810886273 A CN 201810886273A CN 109064463 A CN109064463 A CN 109064463A
Authority
CN
China
Prior art keywords
image
flank
tooth
region
engagement
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.)
Granted
Application number
CN201810886273.9A
Other languages
Chinese (zh)
Other versions
CN109064463B (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.)
CRRC Qingdao Sifang Co Ltd
Original Assignee
CRRC Qingdao Sifang 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 CRRC Qingdao Sifang Co Ltd filed Critical CRRC Qingdao Sifang Co Ltd
Priority to CN201810886273.9A priority Critical patent/CN109064463B/en
Publication of CN109064463A publication Critical patent/CN109064463A/en
Application granted granted Critical
Publication of CN109064463B publication Critical patent/CN109064463B/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
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/155Segmentation; Edge detection involving morphological operators
    • 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
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
    • 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/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Biochemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)

Abstract

This application discloses a kind of rippling the area ratio measurement method and systems.Firstly, the flank of tooth for obtaining gear acquires image;Thereafter, flank of tooth acquisition image is handled, obtains region of engagement bianry image and class point corrosion pit bianry image;According to region of engagement bianry image and class point corrosion pit bianry image, point corrosion pit bianry image is obtained;Finally, obtaining the spot corrosion the area ratio of gear teeth face according to the quantity of the non-zero pixels of region of engagement bianry image point and the quantity of the non-zero pixels point of point corrosion pit bianry image.This method is not necessarily to measure by human eye, and the flank of tooth acquisition image that need to only obtain gear can be obtained the spot corrosion the area ratio of gear teeth face, significantly reduces the burden of manual measurement, while be improved measurement efficiency.In addition, compared with the prior art, using the degree of wear for the rippling the area ratio quantitative assessment gear that this method is calculated, so that the objectivity of evaluation improves.

Description

A kind of rippling the area ratio measurement method and system
Technical field
This application involves mechanical equipment and system detection field more particularly to a kind of rippling the area ratio measurement method and System.
Background technique
Gear drive is widely used in the various mechanical equipments such as space flight, high-speed rail, lathe, the safety of mechanical equipment and can Performance state by property and gear is closely bound up.In high-speed rail train Meshing Process of Spur Gear, gear teeth face is due to by periodicity The active force of variation is easy to generate small fatigue crack in region of engagement, the i.e. region of internal-external gear occlusal contact condition.With tired Labor crackle constantly extends, extends, and the biscuit metal on the flank of tooth is finally made to fall off, and forms point corrosion pit.
The key of detection gear performance state is the degree of wear of detection gear, can pass through the spot corrosion for measuring gear teeth face The area ratio determines the degree of wear of gear.Spot corrosion the area ratio indicates point corrosion pit in the area ratio/occupancy ratio of entire region of engagement.Gear teeth The spot corrosion the area ratio in face is higher, shows that gear wear degree is higher.It is obtained currently, spot corrosion the area ratio relies primarily on human eye observation's method , this method subjectivity is strong, and labor workload is big, inefficiency, and fault rate is high.
Summary of the invention
Based on the above issues, the application provides a kind of rippling the area ratio measurement method and system, it is intended to solve measurement The subjectivity of gear pitting corrosion the area ratio is too strong, the problem that labor workload is big, low efficiency and fault rate are high.
The technical solution that the application solves technical problem is:
The application is in a first aspect, provide a kind of rippling the area ratio measurement method.This method comprises:
The flank of tooth for obtaining gear acquires image;
Flank of tooth acquisition image is handled, region of engagement bianry image and class point corrosion pit bianry image are obtained;
According to the region of engagement bianry image and the class point corrosion pit bianry image, point corrosion pit bianry image is obtained;
According to the quantity of the non-zero pixels point of the region of engagement bianry image and the non-zero of the point corrosion pit bianry image The quantity of pixel obtains the spot corrosion the area ratio of the gear teeth face.
Optionally, the flank of tooth for obtaining gear acquires image, specifically includes:
Image is acquired with the flank of tooth that prefixed time interval obtains the gear of uniform rotation.
Optionally, described that flank of tooth acquisition image is handled, region of engagement bianry image is obtained, is specifically included:
Four vertex of mesh regional in image are acquired according to the flank of tooth, obtain region of engagement template image, the first form Learn operator and the second morphological operator;Quadrangle engagement in the region of engagement template image comprising being made of four vertex Region;The quadrangle mesh regional interior pixels gray value is 1, and the quadrangle mesh regional external pixels gray value is 0;
Using the region of engagement template image and first morphological operator, region of engagement bianry image is obtained.
Optionally, described that flank of tooth acquisition image is handled, obtain region of engagement bianry image and class point corrosion pit two It is worth before image, further includes: image segmentation is carried out to flank of tooth acquisition image using default processing threshold value, after being divided The flank of tooth acquires image;The acquisition moment of the flank of tooth acquisition image is moment t;
Dilation operation is carried out to the flank of tooth acquisition image after the segmentation using the circular configuration operator of pre-set radius, is obtained Image after expansion;
Calculate after the expansion maximum non-zero region area in image;
If maximum non-zero region area maximum corresponding with the flank of tooth acquisition image that the previous acquisition moment obtains is non- The difference of null range area is greater than preset area limit value, and maximum corresponding with the flank of tooth acquisition image that the latter acquisition moment obtains is non- The difference of null range area is greater than the preset area limit value, then is determined as to locate by the flank of tooth acquisition image of moment t acquisition Reason obtains the region of engagement bianry image and the flank of tooth of the class point corrosion pit bianry image acquires image.
Optionally, described to utilize the region of engagement template image and first morphological operator, obtain region of engagement two-value Image specifically includes:
Flank of tooth acquisition image is handled using first morphological operator and the first preset threshold, obtains two It is worth image B1
Flank of tooth acquisition image is handled using Sobel operator and the second preset threshold, obtains bianry image B2
According to the region of engagement template image, the bianry image B1With the bianry image B2, determine the translation of region of engagement Parameter;
According to the translation parameters, the quadrangle mesh regional of the region of engagement template image is translated, is nibbled Close area's bianry image.
Optionally, described that flank of tooth acquisition image is carried out using first morphological operator and the first preset threshold Processing, obtains bianry image B1, it specifically includes:
Top-hat enhancing is carried out to flank of tooth acquisition image using first morphological operator, obtains the first enhancing Image;
Threshold segmentation is carried out to the first enhancing image with the first preset threshold, obtains bianry image B1
Optionally, described that flank of tooth acquisition image is handled using Sobel operator and the second preset threshold, it obtains Bianry image B2, it specifically includes:
Utilize Sobel operator h1And h2Flank of tooth acquisition image is filtered respectively, obtains two width filtered images;
Obtain two width filtered image absolute value I after being addedf
By flank of tooth acquisition image and the IfIt is added, obtains the second enhancing image;
Threshold segmentation is carried out to the second enhancing image with the second preset threshold, obtains binary image;
By the binary image and the bianry image B1It is added, obtains bianry image B2
Optionally, the method also includes:
Obtain the position of centre of gravity [cen_x, cen_y] of the region of engagement template image;
It is described according to the region of engagement template image, the bianry image B1With the bianry image B2, determine region of engagement Translation parameters specifically includes:
According to the region of engagement template image and the bianry image B1, obtain the first translation parameters to be selected of region of engagement [r_off1,c_off1];
According to the region of engagement template image and the bianry image B2, obtain the second translation parameters to be selected of region of engagement [r_off2,c_off2];
The position of centre of gravity [cen_x, cen_y] is obtained with the position [cen_ after the described first translation parameters translation to be selected x1,cen_y1] and the position of centre of gravity [cen_x, cen_y] translated with the described second translation parameters to be selected after position [cen_ x2,cen_y2];
[cen_x described in calculating1,cen_y1] with the distance d of the position of centre of gravity [cen_x, cen_y]1And it is described [cen_x2,cen_y2] with the distance d of the position of centre of gravity [cen_x, cen_y]2
By the d1With the d2In smaller value be determined as the translation parameters of region of engagement.
Optionally, described that flank of tooth acquisition image is handled, class point corrosion pit bianry image is obtained, is specifically included:
Top-hat enhancing is carried out to flank of tooth acquisition image using second morphological operator, obtains third enhancing Image;
Threshold segmentation is carried out to third enhancing image with third predetermined threshold value, obtains class point corrosion pit bianry image.
The application second aspect, provides a kind of rippling the area ratio measuring system, which includes: that Image Acquisition is set Standby and processor;
Described image acquires equipment, and the flank of tooth for obtaining gear acquires image;
The processor, is used for: handling flank of tooth acquisition image, obtains region of engagement bianry image and class spot corrosion Cheat bianry image;According to the region of engagement bianry image and the class point corrosion pit bianry image, point corrosion pit bianry image is obtained;Root According to the number of the non-zero pixels point of the quantity and point corrosion pit bianry image of the non-zero pixels point of the region of engagement bianry image Amount, obtains the spot corrosion the area ratio of the gear teeth face.
Optionally, described image acquires equipment, comprising: light source and at least one camera;
The light source and the camera are respectively placed in the two sides of the gear;
The camera acquires image for obtaining the flank of tooth of gear of uniform rotation with prefixed time interval.
Optionally, the quantity of the camera is two, and the flank of tooth front that one of camera is used to obtain the gear is adopted Collect image, another camera is used to obtain the flank of tooth reverse side acquisition image of the gear.
Compared with prior art, the application has at least the following advantages:
Rippling the area ratio measurement method provided by the present application, firstly, the flank of tooth for obtaining gear acquires image;Thereafter, Flank of tooth acquisition image is handled, region of engagement bianry image and class point corrosion pit bianry image are obtained;According to region of engagement binary map Picture and class point corrosion pit bianry image obtain point corrosion pit bianry image;Finally, according to the non-zero pixels of region of engagement bianry image point The quantity of quantity and the non-zero pixels of point corrosion pit bianry image point obtains the spot corrosion the area ratio of gear teeth face.
This method acquires image by the flank of tooth to gear and carries out image procossing after obtaining the flank of tooth acquisition image of gear Mode, respectively obtain region of engagement bianry image and point corrosion pit bianry image.Due to non-zero pixels point in point corrosion pit bianry image Indicate point corrosion pit, non-zero pixels point collectively forms region of engagement in the bianry image of region of engagement, therefore according to region of engagement bianry image and The quantity of non-zero pixels point in point corrosion pit bianry image, can calculate point corrosion pit in the area ratio/occupancy ratio of entire region of engagement, i.e. tooth Take turns the spot corrosion the area ratio of the flank of tooth.This method is not necessarily to measure by human eye, and the flank of tooth acquisition image that need to only obtain gear can be obtained The method of the spot corrosion the area ratio of gear teeth face, this automatic measurement spot corrosion the area ratio significantly reduces the burden of manual measurement, together When be improved measurement efficiency.In addition, the mill for the rippling the area ratio quantitative assessment gear being calculated using this method Damage degree, so that the objectivity of evaluation improves.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts, It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is rippling the area ratio measuring method flow chart provided by the embodiments of the present application;
Fig. 2 is Image Acquisition schematic diagram of a scenario provided by the embodiments of the present application;
Fig. 3 is handled to obtain the process of region of engagement bianry image to be provided by the embodiments of the present application to flank of tooth acquisition image Figure;
Fig. 4 is handled to obtain the stream of class point corrosion pit bianry image to be provided by the embodiments of the present application to flank of tooth acquisition image Cheng Tu;
Fig. 5 is spot corrosion the area ratio measuring method flow chart in flank of tooth front provided by the embodiments of the present application;
Fig. 6 is positive region of engagement template image provided by the embodiments of the present application;
Fig. 7 is flank of tooth direct picture provided by the embodiments of the present application;
Fig. 8 is bianry image B provided by the embodiments of the present application1
Fig. 9 is bianry image B provided by the embodiments of the present application2
Figure 10 is positive region of engagement bianry image provided by the embodiments of the present application;
Figure 11 is the image provided by the embodiments of the present application on flank of tooth direct picture after superposition engagement area edge;
Figure 12 is point corrosion pit bianry image in front provided by the embodiments of the present application;
Figure 13 is the image provided by the embodiments of the present application on flank of tooth direct picture behind superposition point corrosion pit edge;
Figure 14 is a kind of structural schematic diagram of rippling the area ratio measuring system provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only this Apply for a part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
In recent years, gear drive is widely answered in the various mechanical equipments such as space flight, high-speed rail, lathe and mechanical system With.Due to the particularity of gear structure and the kind of drive, the active force that gear is subject in engagement process be it is periodically variable, Fatigue crack is caused in the very easy region of engagement in each flank of tooth of gear of this active force, with prolonged use and abrasion, The final derivation of fatigue crack on gear teeth face is at point corrosion pit.
With being gradually increased for awareness of safety, the safety that people periodically check the components of mechanical equipment and mechanical system is hidden Suffer from.For example, can determine the safety and reliability of components according to abration position, the degree of wear etc. of components.Gear The degree of wear can be evaluated according to the spot corrosion the area ratio of gear teeth face, and the spot corrosion the area ratio of the flank of tooth is higher, the abrasion journey of gear It spends higher.
Inventor it has been investigated that, at present the spot corrosion the area ratio of gear teeth face by human eye observation obtain, but rely on people There are many drawbacks for work measurement method, such as: measurement subjectivity is too strong, and there may be differences for different survey crew's measurement standards It is different;In addition, the environmental condition for measuring different rippling the area ratios causes the fault rate measured higher there may be difference etc.. Due to the above drawback, the spot corrosion the area ratio of the gear teeth face of human eye observation is utilized, it is difficult to carry out for the degree of wear to gear Accurate and effective assessment, and then be unfavorable for checking the security risk of working gear.In addition to this, human eye observation gear teeth face Spot corrosion the area ratio larger workload, operation convenience is low, and survey crew's working efficiency is lower.
Inventor it has been investigated that, Image Acquisition, the mode of processing can be used, measure the spot corrosion the area ratio of gear teeth face, Solve problem above present in human eye observation.Inventor provides a kind of rippling area in the embodiment of the present application as a result, Rate measurement method and system.With reference to the accompanying drawing, first to rippling the area ratio measurement method provided by the embodiments of the present application It is described in detail.
Embodiment of the method one:
Referring to Fig. 1, which is rippling the area ratio measuring method flow chart provided by the embodiments of the present application.
As shown in Figure 1, rippling the area ratio measurement method provided in this embodiment, comprising:
S101: the flank of tooth acquisition image of gear is obtained.
Firstly the need of the interrelated of understanding gear teeth face, region of engagement, point corrosion pit and spot corrosion the area ratio.
Gear includes multiple teeth, and each tooth includes two for the intermeshing flank of tooth of tooth with other gears, is respectively Flank of tooth front and flank of tooth reverse side.There is region of engagement on each flank of tooth of each tooth, due to long term wear on region of engagement, forms Point corrosion pit.Point corrosion pit is distributed mainly on the region of engagement of the flank of tooth.Spot corrosion the area ratio refers to spot corrosion hole point in the region of engagement of a flank of tooth Area ratio/occupancy ratio.
In the present embodiment, for the spot corrosion the area ratio for measuring gear teeth face, it is necessary first to obtain the flank of tooth acquisition image of gear. In this step, it is desirable that include at least a complete flank of tooth of gear in the flank of tooth acquisition image of acquisition.
The realization process of this step for ease of understanding, reference can be made to Fig. 2, which is Image Acquisition scene provided in this embodiment Schematic diagram.
In Fig. 2, gear 201 is set on rotatable platform, and the center of gear is overlapped with the axle center of rotatable platform, gear with turn Moving platform uniform rotation.Light source 202 is located at the upside of gear, and camera 203 and camera 204 are respectively positioned on the downside of gear.Wherein, phase Machine 203 is used to obtain the flank of tooth front acquisition image of gear with the flank of tooth front 205 of prefixed time interval acquisition gear;Camera 204 for obtaining the flank of tooth reverse side acquisition image of gear with the flank of tooth reverse side 206 of prefixed time interval acquisition gear.With tooth The rotation of wheel, camera 203 and camera 204 distinguish the flank of tooth front acquisition image and flank of tooth reverse side of each tooth on available gear Acquire image.
It should be noted that Image Acquisition scene shown in Fig. 2 is only that example images provided by the embodiments of the present application are adopted Collect scene.In practical applications, for obtain gear the flank of tooth acquire image equipment can be arbitrarily have Image Acquisition and The equipment of transfer function, such as mobile phone and tablet computer etc..In addition, the number of devices for obtaining flank of tooth acquisition image can be one Or it is multiple.Multiple equipment can be used for improving collecting efficiency.It, can be by adjusting image if an image capture device is only arranged The position and acquisition direction for acquiring equipment, acquire positive (anti-) face of the flank of tooth of acquisition gear before the different flank of tooth, such as adjustment, adjustment Anti- (just) face of the flank of tooth of gear is acquired afterwards.
It is understood that during flank of tooth acquisition image, to guarantee collecting efficiency, gear and acquisition equipment can be made With relative rotation.Gear can also carry out at the uniform velocity in addition to being set to the mode that rotatable platform is rotated by other modes Rotation, herein not to the set-up mode of gear without limiting.Further, it is also possible to which gear is made to be in resting state, uniform rotation is adopted Collect equipment, and then guarantees gear and acquire the relative rotation of equipment room.
S102: flank of tooth acquisition image is handled, region of engagement bianry image and class point corrosion pit bianry image are obtained.
For engaging the gear used for a long time, the flank of tooth of acquisition is acquired on image, the ash in flank engagement area and other regions There is more apparent difference in angle value.For the location and range for determining flank engagement area, this step can be using image procossing Mode handles the flank of tooth acquisition image that step S101 is obtained, and obtaining region of engagement interior pixels gray value is 1, region of engagement The region of engagement bianry image that perimeter grey scale pixel value is 0.
In addition, the non-flaw formed by engagement, example existing for the point corrosion pit in flank engagement area and region of engagement perimeter Such as scratch, scratch and spot can embody the gray value differences with respective adjacent domain on the flank of tooth acquisition image of acquisition It is different.Therefore image can be acquired to the flank of tooth of acquisition to handle, obtain class point corrosion pit bianry image.Class point corrosion pit bianry image In, the gray value of the flaw of real point corrosion pit and similar point corrosion pit is 1, other area grayscale values are 0 on image.
The specific implementation for obtaining region of engagement bianry image and class point corrosion pit bianry image will be in subsequent embodiment in detail It describes in detail bright.
S103: according to region of engagement bianry image and class point corrosion pit bianry image, point corrosion pit bianry image is obtained.
In class point corrosion pit bianry image, real point corrosion pit is distributed in flank engagement area, and non-point corrosion pit is distributed in region of engagement Perimeter, therefore be to determine real point corrosion pit in class point corrosion pit bianry image, it, can be by region of engagement two-value in this step Image is multiplied with class point corrosion pit bianry image, obtains point corrosion pit bianry image.
The region that gray value is 1 in point corrosion pit bianry image, be gray value is 1 in the bianry image of region of engagement region and The region for the area coincidence that gray value is 1 in class point corrosion pit bianry image, in addition to this, other regions in point corrosion pit bianry image Gray value is 0.The region that gray value is 1 in point corrosion pit bianry image, it may be determined that be real point corrosion pit.
S104: according to the quantity of the non-zero pixels of region of engagement bianry image point and the non-zero picture of point corrosion pit bianry image The quantity of vegetarian refreshments obtains the spot corrosion the area ratio of gear teeth face.
The non-zero pixels point of point corrosion pit bianry image represents point corrosion pit, the common structure of non-zero pixels point of region of engagement bianry image It is therefore, non-with region of engagement bianry image by by the quantity of the non-zero pixels point of point corrosion pit bianry image at flank engagement area The quantity of zero pixel is divided by, and the quotient of acquisition can be used as the spot corrosion the area ratio of gear teeth face.
The above are a kind of rippling the area ratio measurement methods provided by the present application, firstly, obtaining the flank of tooth acquisition of gear Image;Thereafter, flank of tooth acquisition image is handled, obtains region of engagement bianry image and class point corrosion pit bianry image;According to nibbling Area's bianry image and class point corrosion pit bianry image are closed, point corrosion pit bianry image is obtained;Finally, according to the non-of region of engagement bianry image The quantity of the non-zero pixels point of the quantity and point corrosion pit bianry image of zero pixel, obtains the spot corrosion the area ratio of gear teeth face.
This method acquires image by the flank of tooth to gear and carries out image procossing after obtaining the flank of tooth acquisition image of gear Mode, respectively obtain region of engagement bianry image and point corrosion pit bianry image.Due to non-zero pixels point in point corrosion pit bianry image Indicate point corrosion pit, non-zero pixels point collectively forms region of engagement in the bianry image of region of engagement, therefore according to region of engagement bianry image and The quantity of non-zero pixels point in point corrosion pit bianry image, can calculate point corrosion pit in the area ratio/occupancy ratio of entire region of engagement, i.e. tooth Take turns the spot corrosion the area ratio of the flank of tooth.This method is not necessarily to measure by human eye, and the flank of tooth acquisition image that need to only obtain gear can be obtained The method of the spot corrosion the area ratio of gear teeth face, this automatic measurement spot corrosion the area ratio significantly reduces the burden of manual measurement, together When operate measurement difficulty reduce, measurement efficiency is improved.In addition, the rippling area being calculated using this method The degree of wear of rate quantitative assessment gear, so that the objectivity of evaluation improves.
Rippling the area ratio measurement method provided in this embodiment can be applied to various gears, such as internal gear, may be used also To be applied to the different flank of tooth of gear, such as flank of tooth front and flank of tooth reverse side.Herein without limitation to the application range of this method.
With reference to the accompanying drawing 3, in the application previous embodiment, flank of tooth acquisition image is handled to obtain region of engagement two The specific implementation of value image is described in detail.
Referring to Fig. 3, the figure be it is provided by the embodiments of the present application to the flank of tooth acquisition image handled to obtain region of engagement two-value The flow chart of image.
As shown in figure 3, provided in this embodiment handled to obtain the reality of region of engagement bianry image to flank of tooth acquisition image Existing process, comprising:
S301: acquiring four vertex of mesh regional in image according to the flank of tooth, obtains region of engagement template image, first Morphological operator and the second morphological operator.
In the flank of tooth acquisition image of gear, there are grey scale pixel values, and there are more apparent differences with other area pixel gray values Region, i.e. mesh regional.The gray value of mesh regional is relatively high.The mesh regional that the flank of tooth acquires image pushes up there are four having Point, respectively left upper apex, bottom left vertex, bottom right vertex and right vertices.
It can be acquired in image in the flank of tooth and find and mark aforementioned four vertex, by four set of vertices quadrangularlies, setting Quadrangle interior pixels gray value is 1, and quadrangle external pixels gray value is 0, and then obtains region of engagement template image.Region of engagement In template image, include the quadrangle mesh regional being made of four vertex, the interior pixels gray value of quadrangle mesh regional It is 1, the external pixels gray value of quadrangle mesh regional is 0.
According to left upper apex p1With bottom left vertex p2, region of engagement tilt angle can be calculated, the calculation formula of tilt angle is such as Under:
Wherein, yP2And yP1Respectively indicate vertex p1And p2Place row, xP2And xP1Respectively indicate vertex p1And p2Institute Column.
In turn, this step can give birth to the first morphological operator and second for being angled θ according to the tilt angle theta respectively Morphological operator.First morphological operator and the second morphological operator are linear structure operator, for the subsequent tooth to gear Face acquisition image is handled.
Wherein, the first morphological operator sets the first morphological operator according to the enhancing demand at edge for enhancing edge Length;Second morphological operator is for screening point corrosion pit, therefore the point that the length of the second morphological operator detects as needed Etch pit minimum dimension is determining, such as: if the minimum dimension of the point corrosion pit of demand detection is 80, the length of the second morphological operator 90 can be taken.
S302: utilizing the region of engagement template image and first morphological operator, obtains region of engagement bianry image.
In the region of engagement template image that the present embodiment obtains, since quadrangle mesh regional is set according to label and gray value Postpone, the specific location of the quadrangle mesh regional relative in gear acquisition image real mesh regional it is specific There are nuances for position.For this purpose, this step is to obtain region of engagement bianry image, it is thus necessary to determine that the translation of region of engagement template image Parameter to implement translation to the quadrangle mesh regional in the template image of region of engagement according to the parameter, and then obtains quadrangle and nibbles Close regional location matched region of engagement bianry image corresponding with mesh regional position real in gear acquisition image.
For this purpose, the first morphological operator and Sobel operator, which is respectively adopted, in this step acquires image to the flank of tooth that S101 is obtained It is handled, in the hope of shifting parameter of making even.Concrete condition is referring to S3021 to S3023.
S3021: being handled flank of tooth acquisition image using first morphological operator and the first preset threshold, Obtain bianry image B1
Specifically, it can use first morphological operator and top-hat enhancing carried out to flank of tooth acquisition image, The first enhancing image is obtained, Threshold segmentation is then carried out to the first enhancing image with the first preset threshold, obtains binary map As B1
S3022: flank of tooth acquisition image is handled using Sobel operator and the second preset threshold, obtains two-value Image B2
Specifically, it can use Sobel operator h1And h2Flank of tooth acquisition image is filtered respectively, obtains two width Filtered image.Wherein, h1And h2It is 3 × 3 matrix.Filter gray value with higher at obtained image border, non-side Gray value is 0 at edge.Operator h1With operator h2Filtered image in, image gray scale with higher at transverse edge Value, another image gray value with higher at longitudinal edge.Therefore, two width filtered images are added, are added Absolute value I afterwardsf, by flank of tooth acquisition image and the IfIt is added, obtains the second enhancing image.In second enhancing image, side Edge is very clear.
Thereafter, Threshold segmentation is carried out to the second enhancing image with the second preset threshold, obtains binary image, then will The binary image and the bianry image B1It is added, obtains bianry image B2
Inventor has found that flank of tooth acquisition image procossing in part is B1Afterwards, preferably enhanced as a result, part It is B that the flank of tooth, which acquires image procossing,2Afterwards, it obtains preferably enhancing result.Therefore, the present embodiment is based on B1And B2It seeks respectively to be selected Translation parameters, and then translation parameters is determined from two kinds of translation parameters to be selected.
S3023: according to the region of engagement template image, the bianry image B1With the bianry image B2, determine engagement The translation parameters in area.
Before executing this step, position of centre of gravity [cen_x, the cen_ of the region of engagement template image can be obtained in advance y].By in the template image of region of engagement, the pixel position that gray value is 1 is denoted as [xi,yi], wherein 1≤i≤N, N are whole with i Number, N indicate the pixel total quantity that gray value is 1 in the template image of region of engagement.The calculation formula of position of centre of gravity is as follows:
In a kind of optional embodiment, S3023 be can specifically include:
Firstly, according to the region of engagement template image and the bianry image B1, obtain the first translation to be selected of region of engagement Parameter [r_off1,c_off1];And according to the region of engagement template image and the bianry image B2, obtain the of region of engagement Two translation parameters [r_off to be selected2,c_off2]。
Thereafter, the position of centre of gravity is obtained with the position [cen_x after the described first translation parameters translation to be selected1, cen_ y1] and the position of centre of gravity translated with the described second translation parameters to be selected after position [cen_x2, cen_y2].Wherein, cen_ x1=cen_x+c_off1, cen_y1=cen_y+r_off1, cen_x2=cen_x+c_off2, cen_y2=cen_y+r_ off2
Later, [cen_x described in calculating1,cen_y1] with the distance d of the position of centre of gravity [cen_x, cen_y]1, Yi Jisuo State [cen_x2,cen_y2] with the distance d of the position of centre of gravity [cen_x, cen_y]2.Calculate distance d1And d2Can be used it is European away from From calculation formula.
With d1With d2In it is lesser translated apart from corresponding translation parameters after, quadrangle mesh regional can be with the flank of tooth Acquire the really corresponding matching in mesh regional position in image.Therefore, by the d1With the d2In smaller value it is corresponding flat Shifting parameter is determined as the translation parameters of region of engagement.That is, if d1Greater than d2, then by the second translation parameters [r_ to be selected off2,c_off2] translation parameters [r_off, c_off] as region of engagement, wherein r_off=r_off2, c_off=c_ off2;If d1Less than d2, then by the first translation parameters [r_off to be selected1,c_off1] translation parameters [r_ as region of engagement Off, c_off], wherein r_off=r_off1, c_off=c_off1
S3024: according to the translation parameters, the quadrangle mesh regional of the region of engagement template image being translated, Obtain region of engagement bianry image.
The translation parameters that region of engagement is determined by step S3023 is [r_off, c_off], then can be by region of engagement Prototype drawing The quadrangle mesh regional of picture along line direction to right translation r_off, translate c_off downwards along column direction, obtain region of engagement two It is worth image.
Flank of tooth acquisition image is handled to obtain a kind of tool of region of engagement bianry image the above are provided in this embodiment Body implementation.Firstly, four vertex of mesh regional in image are acquired according to the flank of tooth, acquisition region of engagement template image, First morphological operator and the second morphological operator;Thereafter, it is calculated using the region of engagement template image and first morphology Son obtains region of engagement bianry image.In region of engagement bianry image and the flank of tooth acquisition image obtained through the above steps really Relative translation is not present in mesh regional, therefore the region of engagement accuracy that region of engagement bianry image determines is higher.Higher region of engagement Accuracy is conducive to be promoted the accuracy of the survey calculation of gear pitting corrosion the area ratio.
Obviously, rippling the area ratio measurement method provided by the embodiments of the present application can also be using other than aforesaid way Method is handled to obtain region of engagement bianry image to flank of tooth acquisition image, therefore, herein for acquisition region of engagement bianry image Image procossing mode do not do any specific restriction.
In addition, the present embodiment additionally provides a kind of method for obtaining translation parameters to be selected suitable for above-mentioned S3023.Below with According to region of engagement template image and bianry image B1, obtain the first translation parameters [r_off to be selected of region of engagement1,c_off1] be Example, is described in detail.The method for obtaining the first translation parameters to be selected includes:
(1) B is calculated1The pixel maximum value row of the row that is not zero in L column (L is positive integer), by row with nibble Close the row y in area's template image where left upper apexP1Subtract each other, obtains the row parameter r_off of the first translation parameters to be selected1=row- yP1
(2) B is calculated separately1In using row+L as starting point, be divided into L, terminal is the picture being not zero in each row of row+10 × L The minimum value of vegetarian refreshments column obtains col (k), k=1 ..., 10.
(3) it calculates separately in the template image of region of engagement with yP1+ L is starting point, is spaced L, terminal yp1In each row of+10 × L, The minimum value for the pixel column being not zero obtains col_min (k), k=1 ..., 10.
(4) 10 groups of col (k) are utilized respectively and subtract col_min (k), 10 groups of differences of acquisition take intermediate value, median result The column parameter c_off of one translation parameters to be selected1
It is understood that the above method can also be used, according to region of engagement template image and bianry image B2, nibbled Close the second translation parameters [r_off to be selected in area2,c_off2].Herein, no longer to obtain the second translation parameters to be selected process into Row detailed description.
It is understood that flank of tooth acquisition image is the basis for measuring rippling the area ratio.To guarantee previous embodiment The measurement accuracy of the rippling the area ratio measurement method of offer can also carry out flank of tooth acquisition image in S102 Processing before obtaining region of engagement bianry image and class point corrosion pit bianry image, screens flank of tooth acquisition image.
Specifically, before S102, rippling the area ratio measurement method provided by the embodiments of the present application can also include:
Q1: image segmentation is carried out to flank of tooth acquisition image using default processing threshold value, the flank of tooth after being divided is adopted Collect image.
It is understood that in the flank of tooth acquisition image for the gear that S101 is obtained, in addition to including spot corrosion the area ratio to be measured The flank of tooth, it is also possible to include the chaff interferent in the imperfect flank of tooth or environment of other teeth.Due to the imperfect flank of tooth of other teeth With the presence of the chaff interferent in environment, it is unfavorable for subsequent processing flank of tooth acquisition image and obtains region of engagement bianry image, therefore, this step It is rapid to handle threshold value using default, image segmentation is carried out to the flank of tooth acquisition image of gear, obtains the tooth for clearly highlighting region of engagement The flank of tooth after the segmentation of wheel acquires image.Meanwhile the acquisition moment for recording flank of tooth acquisition image is moment t.
Q2: carrying out dilation operation to the flank of tooth acquisition image after the segmentation using the circular configuration operator of pre-set radius, Image after being expanded.
In flank of tooth acquisition image after the segmentation that Q1 is obtained, due to the influence of region of engagement point corrosion pit, part facets product Region of engagement may be disconnected with main region of engagement (i.e. the region of engagement of large area), therefore herein, can will by dilation operation The region of engagement of small area is connected together with main region of engagement, forms more complete region of engagement in image upon inflation.
Q3: maximum non-zero region area in image is calculated after the expansion.
After expansion in image, maximum non-zero region is more complete region of engagement.
It is understood that in the process for the flank of tooth acquisition image for obtaining the gear of uniform rotation with prefixed time interval In, over time, the acquisition direction of image and the angle of flank of tooth vertical line constantly change, only at a time image Acquisition direction optimum, the flank of tooth acquisition image of acquisition passes through above-mentioned processing, maximum non-zero region area in image after expansion Compared to the maximum non-zero region area at previous acquisition moment and latter acquisition moment, significant advantage is all had.Then obtain this The flank of tooth acquisition image at moment is acquired most beneficial for the subsequent spot corrosion the area ratio for obtaining gear teeth face.
Therefore, this step to each width flank of tooth acquisition image by Q1 and Q2 treated maximum non-zero region area into Row calculates, to acquire the flank of tooth of the corresponding maximum non-zero region area of width flank of tooth acquisition image and its front and back moment acquisition The corresponding maximum non-zero region area of image is compared.
Q4: if maximum non-zero region area maximum corresponding with the flank of tooth acquisition image that the previous acquisition moment obtains The difference of non-zero region area is greater than preset area limit value, and maximum corresponding with the flank of tooth acquisition image that the latter acquisition moment obtains The difference of non-zero region area is greater than preset area limit value, then is determined as to handle by the flank of tooth acquisition image of moment t acquisition The flank of tooth for obtaining region of engagement bianry image and class point corrosion pit bianry image acquires image.
If maximum non-zero region area and previous acquisition moment (such as t-t1, t1For prefixed time interval) obtain tooth The difference that face acquires the corresponding maximum non-zero region area of image is not more than preset area limit value, or with latter acquisition moment t+t1It obtains The difference of the corresponding maximum non-zero region area of flank of tooth acquisition image obtained is not more than preset area limit value, then continues latter acquisition Moment t+t1The corresponding maximum non-zero region area of flank of tooth acquisition image of acquisition, with t moment and t+2 × t1The maximum at moment is non- Null range area is compared, and so on, the flank of tooth acquisition image of Q4 condition is met until searching out, Q4 condition will be met The flank of tooth acquires image and adopts as the flank of tooth for being subsequently used for S102 processing acquisition region of engagement bianry image and class point corrosion pit bianry image Collect image.
With reference to the accompanying drawing 4, in the application previous embodiment, flank of tooth acquisition image is handled to obtain class point corrosion pit The specific implementation of bianry image is described in detail.
Referring to fig. 4, the figure be it is provided by the embodiments of the present application to the flank of tooth acquisition image handled to obtain class point corrosion pit two It is worth the flow chart of image.
As shown in figure 4, provided in this embodiment handled to obtain class point corrosion pit bianry image to flank of tooth acquisition image Implementation process, comprising:
S401: top-hat enhancing is carried out to flank of tooth acquisition image using second morphological operator, obtains third Enhance image.
S402: Threshold segmentation is carried out to third enhancing image with third predetermined threshold value, obtains class point corrosion pit binary map Picture.
In class point corrosion pit bianry image, the gray value of the flaw of real point corrosion pit and similar point corrosion pit is 1, on image Other area grayscale values are 0.
Flank of tooth acquisition image is handled to obtain one kind of class point corrosion pit bianry image the above are provided in this embodiment Specific implementation.Obviously, rippling the area ratio measurement method provided by the embodiments of the present application can also use aforesaid way Method in addition handles flank of tooth acquisition image to obtain class point corrosion pit bianry image, therefore herein for acquisition class spot corrosion The image procossing mode of hole bianry image does not do any specific restriction.
Based on the rippling the area ratio measurement method that previous embodiment provides, the flank of tooth is utilized present invention also provides a kind of The application example of spot corrosion the area ratio measurement method measurement flank of tooth front spot corrosion the area ratio.With reference to the accompanying drawing, to this method application The realization process of example is described in detail.
Embodiment of the method two:
Referring to Fig. 5, which is spot corrosion the area ratio measuring method flow chart in flank of tooth front provided in this embodiment.
As shown in figure 5, spot corrosion the area ratio measurement method in flank of tooth front provided by the embodiments of the present application, comprising:
S501: with prefixed time interval t1The flank of tooth front for shooting gear obtains the flank of tooth front acquisition image of gear.
In the present embodiment, t1=0.5 second.Write down the acquisition moment t of a certain flank of tooth front acquisition image.
S502: flank of tooth front acquisition image is handled with area-of-interest split plot design, determines the flank of tooth met the requirements Front acquisition image.
In the present embodiment, with threshold value TgThreshold segmentation is carried out to flank of tooth front acquisition image, then uses radius r1=6 Circular configuration operator does dilation operation to the bianry image after segmentation, maximum non-zero region area a in image after calculating expansion1。 And obtain t1The corresponding maximum non-zero region area a of image before second0And t1The corresponding maximum non-zero of image after second Region area a2
If a1-a0Greater than preset area limit value Ta, and a1-a2Greater than Ta, determine the flank of tooth front acquisition that acquisition moment t is obtained Image is met the requirements.If conditions are not met, then continuing t+t1The corresponding maximum non-zero region of flank of tooth acquisition image that moment obtains Area a2, with t moment and t+2 × t1The maximum non-zero region area a at moment1And a3It is compared, if a2-a1Greater than preset area Limit value Ta, and a2-a3Greater than Ta, determine acquisition moment t+t1The flank of tooth front acquisition image of acquisition is met the requirements.And so on, directly Image is acquired to the flank of tooth front met the requirements is searched out.
In the present embodiment, Tg=50, Ta=10000.
S503: new time interval t is determined2, with new time interval t2The flank of tooth front for shooting gear, it is each to obtain gear The flank of tooth front of a tooth acquires image.
If the revolving speed of gear is v, number of teeth S, then new time interval t2For the inverse of v and S product.
From the acquisition moment of the determining flank of tooth front acquisition image met the requirements, with new time interval t2Obtain tooth Take turns the flank of tooth front acquisition image of each tooth.In turn, ensure that the flank of tooth front acquisition image of each tooth collected is met the requirements. As an example, passing through new time interval t if certain moment obtains the flank of tooth front acquisition image of certain tooth of gear2Under acquisition The flank of tooth front of one tooth acquires image.
In the present embodiment, v=1/220 (unit: revolutions per second), S=52, then t2=4.23 seconds.
S504: image M is acquired to any one width flank of tooth front0It is handled and is cut out, obtain flank of tooth direct picture M.
The present embodiment is to reduce flank of tooth front to acquire in image, other scenes other than the flank of tooth are to rippling the area ratio It is influenced caused by measurement, image can be acquired to flank of tooth front and be cut out, only retain face portion and neighbour important in image Near field.
To determine that be suitable for cuts out size, before clipping, region of interest regional partition is used to flank of tooth front acquisition image Method is handled.With threshold value Tg=50 pairs of flank of tooth front acquisition images carry out Threshold segmentation, then use radius r1=6 circle Construction operator does dilation operation to the bianry image after segmentation.Thereafter, the maximum non-zero region leftmost side in image after calculating expands Non-zero gray-value pixel point maximum value of the row, obtains row_i in column col_i and the column where pixel.With row_ I-20 is beginning-of-line, using col_i as column starting point, cuts the region of height height width width, obtains flank of tooth direct picture M。
In the present embodiment, cutting out rear picture altitude is height=760, width width=720.
S505: for flank of tooth direct picture M, the image mesh regional upper left, lower-left, bottom right and upper right four tops are marked Point p1、p2、p3、p4, and the grey scale pixel value inside and outside to the quadrangle mesh regional of four vertex composition is configured, Obtain positive region of engagement template image M1, and region of engagement tilt angle theta is obtained according to the vertex of quadrangle mesh regional1
In positive region of engagement template image, comprising by vertex p1To p4The quadrangle mesh regional of composition, setting quadrangle are nibbled Closing region interior pixels gray value is 1, and external pixels gray value is 0.As shown in fig. 6, the figure is front provided in this embodiment Region of engagement template image.
S506: generation length is len1, angle θ1The first morphological operator Se1, using Se1To flank of tooth direct picture M Carrying out top-hat enhances to obtain the first enhancing image Ie1, to Ie1With threshold value Te1Threshold segmentation is carried out, bianry image B is obtained1
In the present embodiment, len1=310, Te1=40.
As shown in Figure 7 and Figure 8, Fig. 7 is flank of tooth direct picture M, and Fig. 8 is bianry image B1
S507: it is based on front region of engagement template image M1With bianry image B1, obtain the first translation parameters to be selected of region of engagement [r_off1,c_off1]。
In the present embodiment, using the method for aforementioned (1) to (4), the first translation parameters to be selected is obtained, L=10 is taken.
S508: Sobel operator h is generated1And h2, using h1And h2Flank of tooth direct picture M is filtered, and filtering is tied Fruit phase adduction takes absolute value to obtain If.By M and IfAddition obtains the second enhancing image Ie2.To the second enhancing image Ie2With threshold value Te2Carry out Threshold segmentation, the image after being divided, by the image area B after segmentation1It is added, obtains bianry image B2
As shown in figure 9, Fig. 9 is bianry image B2
In the present embodiment, Te2=120, two Sobel operators are respectively as follows:
S509: it is based on front region of engagement template image M1With bianry image B2, obtain the second translation parameters to be selected of region of engagement [r_off2,c_off2]。
In the present embodiment, referring to the method for aforementioned (1) to (4), the second translation parameters to be selected is obtained, L=10 is taken.S510: According to positive region of engagement template image M1Position of centre of gravity, the first translation parameters [r_off to be selected1,c_off1] and it is second to be selected flat Shifting parameter [r_off2,c_off2], determine translation parameters [r_off, c_off].By the quadrangle region of engagement of region of engagement template image Domain along line direction to right translation r_off, translate c_off downwards along column direction.Obtain positive region of engagement bianry image Bh1
As shown in Figure 10 and Figure 11, Figure 10 is front region of engagement bianry image Bh1, Figure 11 is on flank of tooth direct picture M Image after superposition engagement area edge.
S511: to flank of tooth direct picture M, generation length is len2, angle θ2The second morphological operator Se2, use Se2Top-hat enhancing is carried out to flank of tooth direct picture M, obtains third enhancing image Ied, image Ie is enhanced to thirddWith threshold value Te3Threshold segmentation is carried out, positive noodles point corrosion pit bianry image Bd is obtained1
In the present embodiment, len2=90, Te3=40.
S512: by positive region of engagement bianry image Bh1With positive noodles point corrosion pit bianry image Bd1It is multiplied, obtains positive spot corrosion Cheat bianry image Bf1
Figure 12 is positive millet cake etch pit bianry image Bf1, Figure 13 is after being superimposed point corrosion pit edge on flank of tooth direct picture M Image.According to Figure 13, the distributing position and size of point corrosion pit on the positive region of engagement of the flank of tooth would know that.
S513: statistics front point corrosion pit bianry image Bf1The quantity N of middle non-zero pixels point1, and positive region of engagement two-value Image Bh1The quantity N of middle non-zero pixels point2.The acquisition positive spot corrosion the area ratio of the flank of tooth is N1/N2
Spot corrosion the area ratio N1/N2It can be used to the flank of tooth front degree of wear of the quantitative assessment gear tooth.
The above are the application examples of spot corrosion the area ratio measurement method in flank of tooth front provided by the present application.The present embodiment is in determination After the flank of tooth front acquisition image met the requirements, by the new time interval of determination, and with new time interval shooting gear The flank of tooth front acquisition image in flank of tooth front, each tooth of acquisition is all satisfied requirement, can be used for measuring the flank of tooth front of each tooth Spot corrosion the area ratio.In addition, the present embodiment is cut out flank of tooth front acquisition image, reduce flank of tooth front acquisition image In, other scenes other than the flank of tooth are influenced on caused by the measurement of rippling the area ratio.
Certainly, this method also can be applied to the measurement of the spot corrosion the area ratio of flank of tooth reverse side, specific implementation process with it is upper The measurement process for stating flank of tooth front spot corrosion the area ratio is similar, refers to the description in above-described embodiment, this will not be detailed here.
Based on the rippling the area ratio measurement method that previous embodiment provides, the embodiment of the present application also provides a kind of teeth Millet cake loses the area ratio measuring system.Rippling the area ratio measuring system provided in this embodiment is carried out with reference to the accompanying drawing detailed Thin introduction.
Referring to Figure 14, which is the structural schematic diagram of rippling the area ratio measuring system provided by the embodiments of the present application.
As shown in figure 14, rippling the area ratio measuring system 141 provided in this embodiment, comprising: image capture device 1411 and processor 1412.
Wherein, image capture device 1411, the flank of tooth for obtaining gear acquire image;
Processor 1412, is used for: handling flank of tooth acquisition image, obtains region of engagement bianry image and class spot corrosion Cheat bianry image;According to the region of engagement bianry image and the class point corrosion pit bianry image, point corrosion pit bianry image is obtained;Root According to the number of the non-zero pixels point of the quantity and point corrosion pit bianry image of the non-zero pixels point of the region of engagement bianry image Amount, obtains the spot corrosion the area ratio of the gear teeth face.
The above are gear pitting corrosion the area ratio measuring systems provided by the embodiments of the present application.The system is in the flank of tooth for obtaining gear After acquiring image, in such a way that the flank of tooth to gear acquires image progress image procossing, region of engagement bianry image is respectively obtained With point corrosion pit bianry image.It is non-in the bianry image of region of engagement due to non-zero pixels point expression point corrosion pit in point corrosion pit bianry image Zero pixel collectively forms region of engagement, therefore according to the number of non-zero pixels point in region of engagement bianry image and point corrosion pit bianry image Amount, can calculate point corrosion pit in the area ratio/occupancy ratio of entire region of engagement, i.e. the spot corrosion the area ratio of gear teeth face.The system be not necessarily to according to It is measured by human eye, the flank of tooth acquisition image that need to only obtain gear can be obtained the spot corrosion the area ratio of gear teeth face, this automatic survey The method of amount spot corrosion the area ratio significantly reduces the burden of manual measurement, while is improved measurement efficiency.In addition, using should The degree of wear for the rippling the area ratio quantitative assessment gear that method is calculated, so that the objectivity of evaluation improves.
Optionally, in rippling the area ratio measuring system provided by the above embodiment, image capture device 1411, packet It includes: light source and at least one camera;
The light source and the camera are respectively placed in the two sides of the gear;
The camera acquires image for obtaining the flank of tooth of gear of uniform rotation with prefixed time interval.
Optionally, if the quantity of the camera is two, one of camera can be used for obtaining the flank of tooth of the gear Front acquisition image, another camera can be used for obtaining the flank of tooth reverse side acquisition image of the gear.Therefore, within the system, Image capture device 1411 can obtain flank of tooth front acquisition image and flank of tooth reverse side acquisition image simultaneously.
Based on above-mentioned rippling the area ratio measuring system, present invention also provides the systematic difference examples.It is right below The system application example is described.
The rippling the area ratio that the system is applied to internal gear measures.
Internal gear is mounted on rotatable platform, in image capture device, includes a rectangular LED light source and two industrial phases Machine.Wherein light source is placed on gear side, and two industrial cameras are placed on the other side of gear.
Internal tooth wheel diameter is 168mm, is highly 108mm, includes 52 teeth, the length × width × height of each tooth is having a size of 45mm × 10mm × 10mm, internal gear are vertically disposed on rotatable platform.
Light source uses the CCS light source having a size of 51mm × 51mm, and the perpendicular separation with gear bottommost tooth is 3mm, horizontal Between be divided into 5mm.
The interval of two industrial camera mass centers is 130mm, industrial camera model MER-1070-10GM, camera mass center with The vertical height of gear bottommost tooth is identical.Industrial camera lens are TEC-M55, and the horizontal distance of camera lens front end and gear is 400mm。
In system, processor is responsible for handling flank of tooth acquisition image, obtains region of engagement bianry image and class point Etch pit bianry image;According to the region of engagement bianry image and the class point corrosion pit bianry image, point corrosion pit bianry image is obtained; According to the non-zero pixels point of the quantity of the non-zero pixels point of the region of engagement bianry image and the point corrosion pit bianry image Quantity obtains the spot corrosion the area ratio of the gear teeth face.
The correlation function of processor and operation can be found in the rippling the area ratio measurement method that previous embodiment provides The relevant operation of execution, this will not be detailed here.
The above is only the preferred embodiment of the application, not makes any form of restriction to the application.Though Right the application has been disclosed in a preferred embodiment above, however is not limited to the application.It is any to be familiar with those skilled in the art Member, in the case where not departing from technical scheme ambit, all using the methods and technical content of the disclosure above to the application Technical solution makes many possible changes and modifications or equivalent example modified to equivalent change.Therefore, it is all without departing from The content of technical scheme, any simple modification made to the above embodiment of the technical spirit of foundation the application are equal Variation and modification, still fall within technical scheme protection in the range of.

Claims (12)

1. a kind of rippling the area ratio measurement method, which is characterized in that the described method includes:
The flank of tooth for obtaining gear acquires image;
Flank of tooth acquisition image is handled, region of engagement bianry image and class point corrosion pit bianry image are obtained;
According to the region of engagement bianry image and the class point corrosion pit bianry image, point corrosion pit bianry image is obtained;
According to the quantity of the non-zero pixels point of the region of engagement bianry image and the non-zero pixels of the point corrosion pit bianry image The quantity of point, obtains the spot corrosion the area ratio of the gear teeth face.
2. being specifically included the method according to claim 1, wherein the flank of tooth for obtaining gear acquires image:
Image is acquired with the flank of tooth that prefixed time interval obtains the gear of uniform rotation.
3. according to the method described in claim 2, it is characterized in that, it is described to the flank of tooth acquisition image handle, obtain Region of engagement bianry image, specifically includes:
Four vertex of mesh regional in image are acquired according to the flank of tooth, obtain region of engagement template image, the first morphology is calculated Son and the second morphological operator;Quadrangle region of engagement in the region of engagement template image comprising being made of four vertex Domain;The quadrangle mesh regional interior pixels gray value is 1, and the quadrangle mesh regional external pixels gray value is 0;
Using the region of engagement template image and first morphological operator, region of engagement bianry image is obtained.
4. according to the method in claim 2 or 3, which is characterized in that it is described that flank of tooth acquisition image is handled, it obtains To before region of engagement bianry image and class point corrosion pit bianry image, further includes: acquired using default processing threshold value to the flank of tooth Image carries out image segmentation, and the flank of tooth after being divided acquires image;The acquisition moment of the flank of tooth acquisition image is moment t;
Dilation operation is carried out to the flank of tooth acquisition image after the segmentation using the circular configuration operator of pre-set radius, is expanded Image afterwards;
Calculate after the expansion maximum non-zero region area in image;
If the maximum non-zero region area maximum area of non-zero regions corresponding with the flank of tooth acquisition image that the previous acquisition moment obtains The difference of domain area is greater than preset area limit value, and maximum area of non-zero regions corresponding with the flank of tooth acquisition image that the latter acquisition moment obtains The difference of domain area is greater than the preset area limit value, then is determined as to handle by the flank of tooth acquisition image of moment t acquisition and obtain The flank of tooth for obtaining the region of engagement bianry image and the class point corrosion pit bianry image acquires image.
5. according to the method described in claim 3, it is characterized in that, described utilize the region of engagement template image and described first Morphological operator obtains region of engagement bianry image, specifically includes:
Flank of tooth acquisition image is handled using first morphological operator and the first preset threshold, obtains binary map As B1
Flank of tooth acquisition image is handled using Sobel operator and the second preset threshold, obtains bianry image B2
According to the region of engagement template image, the bianry image B1With the bianry image B2, determine the translation ginseng of region of engagement Number;
According to the translation parameters, the quadrangle mesh regional of the region of engagement template image is translated, region of engagement is obtained Bianry image.
6. according to the method described in claim 5, it is characterized in that, described default using first morphological operator and first Threshold value handles flank of tooth acquisition image, obtains bianry image B1, it specifically includes:
Top-hat enhancing is carried out to flank of tooth acquisition image using first morphological operator, obtains the first enhancing image;
Threshold segmentation is carried out to the first enhancing image with the first preset threshold, obtains bianry image B1
7. according to the method described in claim 5, it is characterized in that, described utilize Sobel operator and the second preset threshold to institute It states flank of tooth acquisition image to be handled, obtains bianry image B2, it specifically includes:
Utilize Sobel operator h1And h2Flank of tooth acquisition image is filtered respectively, obtains two width filtered images;
Obtain two width filtered image absolute value I after being addedf
By flank of tooth acquisition image and the IfIt is added, obtains the second enhancing image;
Threshold segmentation is carried out to the second enhancing image with the second preset threshold, obtains binary image;
By the binary image and the bianry image B1It is added, obtains bianry image B2
8. method according to claim 6 or 7, which is characterized in that the method also includes:
Obtain the position of centre of gravity [cen_x, cen_y] of the region of engagement template image;
It is described according to the region of engagement template image, the bianry image B1With the bianry image B2, determine the translation of region of engagement Parameter specifically includes:
According to the region of engagement template image and the bianry image B1, obtain the first translation parameters [r_ to be selected of region of engagement off1,c_off1];
According to the region of engagement template image and the bianry image B2, obtain the second translation parameters [r_ to be selected of region of engagement off2,c_off2];
The position of centre of gravity [cen_x, cen_y] is obtained with the position [cen_x after the described first translation parameters translation to be selected1, cen_y1] and the position of centre of gravity [cen_x, cen_y] translated with the described second translation parameters to be selected after position [cen_x2, cen_y2];
[cen_x described in calculating1,cen_y1] with the distance d of the position of centre of gravity [cen_x, cen_y]1And [the cen_x2, cen_y2] with the distance d of the position of centre of gravity [cen_x, cen_y]2
By the d1With the d2In smaller value be determined as the translation parameters of region of engagement.
9. according to the method described in claim 3, it is characterized in that, it is described to the flank of tooth acquisition image handle, obtain Class point corrosion pit bianry image, specifically includes:
Top-hat enhancing is carried out to flank of tooth acquisition image using second morphological operator, obtains third enhancing image;
Threshold segmentation is carried out to third enhancing image with third predetermined threshold value, obtains class point corrosion pit bianry image.
10. a kind of rippling the area ratio measuring system, which is characterized in that the system comprises: image capture device and processing Device;
Described image acquires equipment, and the flank of tooth for obtaining gear acquires image;
The processor, is used for: handling flank of tooth acquisition image, obtains region of engagement bianry image and class point corrosion pit two It is worth image;According to the region of engagement bianry image and the class point corrosion pit bianry image, point corrosion pit bianry image is obtained;According to institute The quantity of the quantity of the non-zero pixels point of region of engagement bianry image and the non-zero pixels point of the point corrosion pit bianry image is stated, Obtain the spot corrosion the area ratio of the gear teeth face.
11. system according to claim 10, which is characterized in that described image acquires equipment, comprising: light source and at least one A camera;
The light source and the camera are respectively placed in the two sides of the gear;
The camera acquires image for obtaining the flank of tooth of gear of uniform rotation with prefixed time interval.
12. system according to claim 10, which is characterized in that the quantity of the camera is two, one of camera Flank of tooth front for obtaining the gear acquires image, another camera is used to obtain the flank of tooth reverse side acquisition figure of the gear Picture.
CN201810886273.9A 2018-08-06 2018-08-06 Method and system for measuring tooth surface pitting area rate Active CN109064463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810886273.9A CN109064463B (en) 2018-08-06 2018-08-06 Method and system for measuring tooth surface pitting area rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810886273.9A CN109064463B (en) 2018-08-06 2018-08-06 Method and system for measuring tooth surface pitting area rate

Publications (2)

Publication Number Publication Date
CN109064463A true CN109064463A (en) 2018-12-21
CN109064463B CN109064463B (en) 2020-10-20

Family

ID=64831725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810886273.9A Active CN109064463B (en) 2018-08-06 2018-08-06 Method and system for measuring tooth surface pitting area rate

Country Status (1)

Country Link
CN (1) CN109064463B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109754442A (en) * 2019-01-10 2019-05-14 重庆大学 A kind of gear pitting corrosion detection system based on machine vision
CN110660057A (en) * 2019-11-01 2020-01-07 重庆大学 Binocular automatic gear pitting detection device based on deep learning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030183306A1 (en) * 1994-08-01 2003-10-02 Franz Hehmann Selected processing for non-equilibrium light alloys and products
CN102636490A (en) * 2012-04-12 2012-08-15 江南大学 Method for detecting surface defects of dustproof cover of bearing based on machine vision
CN102914545A (en) * 2012-11-15 2013-02-06 潍坊学院 Gear defect detection method and system based on computer vision
CN107228860A (en) * 2017-06-28 2017-10-03 北京因时机器人科技有限公司 A kind of gear defect detection method based on image rotation cyclophysis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030183306A1 (en) * 1994-08-01 2003-10-02 Franz Hehmann Selected processing for non-equilibrium light alloys and products
CN102636490A (en) * 2012-04-12 2012-08-15 江南大学 Method for detecting surface defects of dustproof cover of bearing based on machine vision
CN102914545A (en) * 2012-11-15 2013-02-06 潍坊学院 Gear defect detection method and system based on computer vision
CN107228860A (en) * 2017-06-28 2017-10-03 北京因时机器人科技有限公司 A kind of gear defect detection method based on image rotation cyclophysis

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜李峰: "齿轮接触疲劳试验中若干关键技术的研究", 《中国优秀硕士论文全文数据库》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109754442A (en) * 2019-01-10 2019-05-14 重庆大学 A kind of gear pitting corrosion detection system based on machine vision
CN109754442B (en) * 2019-01-10 2023-02-21 重庆大学 Gear pitting detection system based on machine vision
CN110660057A (en) * 2019-11-01 2020-01-07 重庆大学 Binocular automatic gear pitting detection device based on deep learning

Also Published As

Publication number Publication date
CN109064463B (en) 2020-10-20

Similar Documents

Publication Publication Date Title
WO2005124316A3 (en) Method and apparatus for configuring and testing a machine vision detector
CN107179322A (en) A kind of bridge bottom crack detection method based on binocular vision
CN107347151B (en) Binocular camera occlusion detection method and device
EP1950707A3 (en) Soft shadows for cinematic lighting for computer graphics
CN109064463A (en) A kind of rippling the area ratio measurement method and system
CN105551064B (en) A kind of method based on characteristics of image estimation windrow volume change
CN103543161A (en) On-line detection method of continuous casting billet surface quality
WO2016078598A1 (en) Combined lighting apparatus and method based on image quality control
EP1217584A3 (en) Method and apparatus for filtering of image scene data in virtual 3-D space
EP1768067A3 (en) Electro-optical device for counting persons, or other, based on stereoscopic vision, and relative method
CN106524917A (en) Volume measurement method for object on conveyor belt
CN110598633B (en) Tumble behavior identification method, device and system
CN104103047B (en) Electrocardiogram image inclination degree correcting method
CN110672313B (en) Fault diagnosis method and equipment based on sound signals
EP1372114A3 (en) X-ray ct apparatus and method using three dimensional back projection
CN107862712A (en) Sized data determines method, apparatus, storage medium and processor
CN104236498A (en) Method for measuring end size of switch rail
CN102842203A (en) Method for monitoring bridge fault on basis of video image
CN102436578B (en) Formation method for dog face characteristic detector as well as dog face detection method and device
CN115272271A (en) Pipeline defect detecting and positioning ranging system based on binocular stereo vision
CN101193202A (en) Method for display highly dynamic image on the traditional output device
CN112734739A (en) Visual building crack identification method based on attention mechanism and ResNet fusion
CN116012701A (en) Water treatment dosing control method and device based on alum blossom detection
CN103245666A (en) Automatic detecting method for appearance defects of storage battery polar plate
JP6975677B2 (en) Pavement damage diagnostic system

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