CN103759662B - A kind of textile yarn diameter dynamic rapid measurement device and method - Google Patents

A kind of textile yarn diameter dynamic rapid measurement device and method Download PDF

Info

Publication number
CN103759662B
CN103759662B CN201310754359.3A CN201310754359A CN103759662B CN 103759662 B CN103759662 B CN 103759662B CN 201310754359 A CN201310754359 A CN 201310754359A CN 103759662 B CN103759662 B CN 103759662B
Authority
CN
China
Prior art keywords
yarn
image
diameter
test point
pixel
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.)
Expired - Fee Related
Application number
CN201310754359.3A
Other languages
Chinese (zh)
Other versions
CN103759662A (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.)
Donghua University
Original Assignee
Donghua University
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 Donghua University filed Critical Donghua University
Priority to CN201310754359.3A priority Critical patent/CN103759662B/en
Publication of CN103759662A publication Critical patent/CN103759662A/en
Application granted granted Critical
Publication of CN103759662B publication Critical patent/CN103759662B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Treatment Of Fiber Materials (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The present invention relates to a kind of textile yarn diameter dynamic rapid measurement device and method, device includes casing, yarn tension controller, control cabinet, lighting source, image acquiring device and computer.To intercept detection vertex neighborhood length subgraph as process object, according to the distribution character of its Gray scale projection curve, quickly by subgraph dividing sinker line body zone, the doubtful area of yarn body and background area;The doubtful area's pixel of yarn body is classified for constraints builds grader with the gamma characteristic of the doubtful area's pixel of yarn body and its to yarn body area direction is connective again, is extracted complete yarn body image-region;With the average value of the yarn test point axial direction neighborhood all position spot diameters of length as test point yarn diameter.By setting up test point and picture numbers address mapping table, realize carrying out automatic batch processing to the image sequence of continuous intake moving yarn.The present invention can quickly and automatically realize detection spot diameter quick detections all to preset length yarn.

Description

A kind of textile yarn diameter dynamic rapid measurement device and method
Technical field
The present invention relates to digital intelligent textile technology field, more particularly to a kind of textile yarn diameter dynamic is quick to be surveyed Amount apparatus and method.
Background technology
The fineness of yarn is one of fabric construction major parameter, is a leading indicator for evaluating yarn proterties.Yarn is straight Footpath is the direct indicator for describing fineness of yarn, and it is that caused by spinning industrial production one has engineering significance to determine accurately and quickly yarn diameter Work.Yarn as textile enterprise process product, its diameter and textile technology is closely related, is set in spinning process The foundation of the technological parameters such as devil catcher gauge is determined in meter, while being also design textile production process, calculating fabric compactness with thickness One of important parameter of degree, prediction fabric feeling and style.By detection and analysis to yarn diameter, help to study yarn The mechanism of various technological parameters and influence in forming process.Especially as a kind of stock of fabric production, yarn diameter It is the important evidence for carrying out fabric and knitted fabric design and determining weaving parameter.In Fabric Design, fabric compactness is One major design index of national Specification, and fabric compactness exactly directly depends on yarn diameter size.Yarn diameter Also relate to division and the price of various cotton kinds, and the yarn strength utilization of fabric and cotton during fabric strength calculating The percentage of cloth cotton junction impurity fault lattice, while also affecting breadth processing coefficient of printing and dyeing mill etc..With textile fabric material Material is developed rapidly, and various novel spinnings, textured yarn, mixed yarn etc. are more and more more, and their volume weight difference is also increasing, Go to carry out Fabric Design using traditional diameter quotient, usually to reflect and do not correspond result with actual conditions.In existing process bar Under part, the actual Coeffcient of diameter of conventional cotton yarn and the Coeffcient of diameter traditionally continued to use also have larger difference to become Change.Quick, accurate and automatic test of the above-mentioned Long-term change trend to yarn diameter proposes new requirement.But due to yarn and other Textile material has its inherent feature, i.e., identical yarn diverse location, its diameter difference is larger, and section morphology is irregular, to yarn Linear diameter carries out large sample statistics and analysis to be needed to increase heavy test job.Particularly in test process, Yarn filoplume It is difficult to differentiate between with yarn body, bigger difficulty is brought to test job.The static test yarn for using for a long time both at home and abroad at present The various methods of linear diameter, the need for being difficult to meet produce reality, differentiate and manual particularly by the sight under artificial condition Measurement brings that testing standard is inconsistent, causes artificial measurement error and measurement efficiency lowly, cannot even more adapt to The need for modern production and scientific research development.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of textile yarn diameter dynamic rapid measurement device and method, Yarn fine hair and cross sectional shape can be removed on the probabilistic influence of yarn diameter, test position yarn object effective diameter is obtained.
The technical solution adopted for the present invention to solve the technical problems is:A kind of quick survey of textile yarn diameter dynamic is provided Amount device, including casing, are provided with the yarn imaging chamber of closing in the casing, be detected yarn and pass through yarn imaging chamber, are detected The two ends for surveying yarn are connected with yarn driver and yarn tension controller respectively by wire installation;The yarn of the closing into As interior is provided with one group of lighting source being connected with light source controller, one piece of illumination light filter plate is provided with front of light source;It is described Yarn imaging chamber upper side is provided with the image acquiring device of the moving yarn image that yarn is detected for dynamic acquisition, downside One block of black background plate of bedding;The yarn driver, light source controller and yarn tension controller are connected with system control box; Described image acquisition device and system control box are connected with computer respectively;The yarn that the computer is obtained to image acquiring device The continuous dynamic image sequence of line is processed, and measures the diameter of test point yarn, and analyzes the change of preset length yarn diameter Statistical nature;Wherein, the diameter of yarn is that centered on test point, own in the continuous yarn line segment of yarn axial direction neighborhood length The average value of pixel position diameter;The computer measurements for presetting detection spot diameter all for designated length yarn It is, according to detection parameter and yam physical size and the mapping relations of picture size, to automatically determine each test point corresponding image sequence Number and position, build test point and picture numbers address mapping table, and realize test point in figure by the way of address mapping table As the immediate addressing in sequence.
The casing is semi-closed structure, and the yarn imaging chamber is totally enclosed lucifuge structure.
The lighting source is milky halogen light source, and the illumination light filter plate is milky diffusing glass.
The computer is to intercept the subgraph of the continuous yarn line segment as process object, first to subgraph along yarn axis Projected to direction, according to the distribution character of Gray scale projection curve, subgraph is divided into yarn body area, background area and yarn The doubtful area of line body;Again by subgraph grey level histogram bimodal distribution, gradation of image is divided into three intervals, according to yarn sheet Interval range where the doubtful area's grey scale pixel value of body and its connective to yarn body area direction, further draws to doubtful area's pixel Point, final full segmentation goes out yarn ontology diagram as region.
The computer to the yarn body image-region that is extracted along its yarn central axis, from left to right with picture Element is treatment unit, each pixel position is counted successively and passes through yarn body area with the perpendicular straight line of central axis The number of pixels in domain, calculates the test point yarn diameter.
If the continuous yarn line segment for the required treatment siding-to-siding block length of the test point of yarn diameter bridges two adjacent picture frames, Then first the adjacent image that the interval is bridged is spliced, then intercepts its continuous yarn line segment subgraph and processed.
The technical solution adopted for the present invention to solve the technical problems is:Also provide a kind of textile yarn diameter dynamic quick Measuring method, comprises the following steps:
(1)To detected yarn, first mark yarn starts test position on the detection system, set sample spacings distance and Diameter detects parameter;
(2)Calibrating template is carried using system and device, image acquiring device is demarcated, calculate image pixel institute right The physical size of yarn should be detected, and sets the bat of the size, yarn movement speed and image acquiring device of detection yarn tension Take the photograph speed;
(3)Device as claimed in claim 1 will be arranged on for the yarn for detecting, and starts detection means, work as yarn When line passes through image space by certain speed, image acquiring device continuously gathers the temporal image sequence of yarn, and stores In computer;
(4)To acquired same yarn image sequence, treatment is filtered successively, what is introduced in elimination imaging process makes an uproar Sound, is then converted into gray level image, and image sequence is numbered in order;
(5)To the consecutive image sequence after numbering, according to preliminary setting parameter and imaging system picture size and physics chi Very little mapping relations, determine each yarn test point position in image sequence corresponding image sequence number and its in the images in order Put;If the yarn line segment for the treatment of, when its siding-to-siding block length is not in same two field picture, then needs to bridge the interval needed for detection sampling point Adjacent image carry out splicing, make its synthesis one image, then to the spliced image and its subsequent image frames, press Order is renumberd;To the image of follow-up splicing in need, similar process is done, ultimately produce test point address mapping table;
(6)To all test points, according to the address mapping table for being generated, corresponding image is found in image sequence successively Frame and its test point position, calculate centered on test point, and the left and right distance of yarn axial direction is respectively diameter detection parameter Continuous yarn line segment all position spot diameters average value, and using the average value as the diameter of the yarn of test point;
(7)According to institute's result of calculation, statistical analysis is carried out to the diameter of designated length detection yarn automatically, including yarn is straight The parameters such as the average value in footpath, mean square deviation and the coefficient of variation;
(8)Shown to yarn diameter dynamic detection and the result analyzed by liquid crystal display.
Beneficial effect
As a result of above-mentioned technical scheme, the present invention compared with prior art, has the following advantages that and actively imitates Really:
(1)The present invention in detection means design aspect, based on NI Vision Builder for Automated Inspection and image processing techniques, be with computer Center, by yarn dynamic image acquisition, treatment and yarn diameter detection, analysis concentrate on one, and with close body structure As Image-capturing platform, the extraneous light disturbance of shielding, while using halogen light source and milky diffusion glass in the inside of casing Glass piece, to eliminate reflection and illumination shade, obtains clearly yarn image as optical filter.By install additional yarn driver and Yarn tension controller, can truly simulate yarn dynamic weaving state, meet the test request of yarn diameter.
(2)Measurement to location point yarn diameter, with a neighborhood of the location point diameter average a little represent, Help to eliminate influence of the yarn enchancement factor to test result, improve the Stability and veracity of test result.Simultaneously to yarn The extraction of line body image-region, first using the distribution character of Gray scale projection curve, quickly by subgraph preliminary classification after, it is then right The method that the doubtful area's pixel of yarn body builds grader, can quickly and accurately extract complete yarn body image district Domain, yarn fine hair can be effectively eliminated again to be influenceed on yarn body image-region.
(3)Detection yarn movement consecutive image sequence is obtained using machine vision, and by the way of address mapping table pair Immediate addressing and positioning are carried out in all test point image sequences, the quick measurement of textile yarn diameter dynamic is realized, is yarn Diameter carries out large sample statistics and analysis offer effectively and rapidly analysis method.
Brief description of the drawings
Fig. 1 is schematic device of the invention;
Fig. 2 is address mapping table structural representation in the present invention;
Fig. 3 is that yarn detection dot map intercept method and sciagraphy determine image Preliminary division schematic diagram in the present invention;
Fig. 4 is the doubtful area's pixel processing method schematic diagram of yarn body in the present invention;
In figure:Casing 1, CCD camera 2, optical lens 3, imaging chamber 4, black background plate 5, light source 6, light source controller 7, Light filter plate 8, yarn driver 9, system controller 10, wire installation 11, tension controller 12, display 13, computer 14.
Specific embodiment
With reference to specific embodiment, the present invention is expanded on further.It should be understood that these embodiments are merely to illustrate the present invention Rather than limitation the scope of the present invention.In addition, it is to be understood that after the content for having read instruction of the present invention, people in the art Member can make various changes or modifications to the present invention, and these equivalent form of values equally fall within the application appended claims and limited Scope.
Dynamically analyzed and measurement apparatus the present invention relates to a kind of textile yarn diameter, as shown in figure 1, including casing 1, it is described The yarn imaging chamber 4 of closing is provided with casing 1, yarn is detected and is passed through yarn imaging chamber 4, its two ends passes through 11 points of wire installation It is not connected with yarn driver 9 and yarn tension controller 12;One group of connection light source is provided with the yarn imaging chamber 4 of the closing The lighting source 6 of controller 7;Install one piece of illumination light filter plate 8 additional in front of light source;The upper side of yarn imaging chamber 4 is installed There are CCD camera 2 and optical lens 3, for moving yarn image described in dynamic acquisition, one block of black background plate 5 of downside bedding;Institute Yarn driver 9, light source controller 7 and yarn tension controller 12 is stated to be connected with system control box 10;CCD camera 2 and it is System control cabinet 10 and display screen 13 are connected with computer 14 respectively;The yarn sequential chart that the computer 14 is obtained to CCD camera As sequence is processed, the diameter of test point yarn is accurately measured, and it is special to analyze the statistics of preset length yarn diameter change Property.
Described casing 1 is semi-closed structure, and yarn imaging chamber 4 is totally-enclosed lucifuge structure.Described yarn tension control Device processed 12 and yarn driver 9 are used to control yarn in kind with certain speed and tension force by yarn imaging chamber 4, so that CCD Camera 2 can continuous acquisition detection yarn sequence image.Described light source 6 is milky halogen light source, and its illumination light filter plate 8 is Milky diffusing glass.In addition, the CCD imaging systems are also equipped with the standard calibration plate that resolution ratio is 10 μm, it is with to imaging System is demarcated, the accurate proportionate relationship for determining yam physical size and its image.
Whole device is with computer as core and uses Windows operating system.In order to reduce veiling glare pair in detection process The influence of imaging system, obtains tested yarn clearly image, and using totally enclosed type lucifuge body structure, the extraneous veiling glare of shielding is done Disturb.Meanwhile, illuminator is constituted using milky halogen light source in the inside of sensing chamber, and install a piece of milky diffusion glass additional Glass, to eliminate the influence of light reflection and illumination shade to yarn image quality;All black plastic plate is laid in the bottom of imaging chamber Background is imaged as yarn, to facilitate subsequent extracted yarn body image-region;Driven by installing tension controller and yarn additional Device, can make the certain tension force of yarn holding and speed by imaging area in detection process, meet yarn diameter testing conditions. And system controller can be realized for the control command of host computer being converted into the control signal that matches with each executing agency.
In implementation process of the invention, following equipment can be used:
(1)Computer system:Lenovo Qitian M7300:CPU uses Intel Duo i3550, double-core/tetra- thread, frequency 3.2GHz 2 × 256KB of L2 cache, three-level caching 4MB;Board chip set IntelH57, mainboard memory size is 2GB;Internal memory Type is DDR31333;Hard-disk capacity 500GB, 7200 turns of rotating speed, SATAII;Video card type is only aobvious AMDRadeonHD4350, Video memory capacity 512MB, display sizes are 17 inches.
(2)CCD camera:CCD type number is HV1303UM, major parameter:Resolution ratio is the CMOSCCD of 1280*1024;Optics Size is 1/1.8 〞;The pixel of highest 1,300,000;Highest horizontal resolution is 1280;Digital-to-analogue conversion precision is 10bit;45dB's High s/n ratio(AGCOFF);Can ON/OFF automatic growth control(AGC), digital gain multiple is:*2、*1、*0.5、*0.25; Light source for 550nm, its sensitivity is:2.1V/Lux-s;Can be from motion tracking(ATW)/ black-to-white level weighing apparatus the school for manually setting Positive way;Two kinds of power supply supplies of acceptable 24VAC and 12VDC.
(3)Optical lens:Model Computar, H0514-MP, 1/2 " specification;C interface;5(mm)Focal length;Aperture(F): 1.4-16C;Visual angle(Level):65.5°;Nearest image distance(m):0.1;Before effective aperture27.8, after 14.8;Pre-filter screw threadAppearance and size(Diameter × depth mm):44.5×45.5.
(4)Light source:Using ASB-W-030 halogen tungsten light sources, lamp filament size:1mmx4mm, input power:30W, output light: 800lumens, electric current:2.75A, colour temperature:3100°K.Spectral intensity is distributed nearly black body radiation.220VAC, 50/60Hz power.And Can select automatic remote optical fiber control illumination optical 0.5amp.
(5)Optically filtering piece:Using opal glass RM1, thickness is 2mm, tolerance+0.1mm, average neutral bias≤15, Maximum neutral bias≤20, white light transmission coefficient is 31 ± 3, linear expansion coefficient(Temperature+20~+120)93, proportion is 2.45.
(6)Yarn driver:Fuselage is long:7.6cm+0.2cm;Motor axial length:2.0cm;Fuselage size:5.6*5.6cm;Volume Determine voltage 2.3v;Rated current 2.8A;The Europe of resistance 0.83.
(7)Tension controller:Using electromagnetism control yarn tension controller CZS-152, tension force scope:0~350g( Power is adjustable)Computer can be led to and be controlled parameter setting, tension force is unrelated with threading speed, and control accuracy is high, tension stability, Device is powered:AC24V.
The invention further relates to a kind of textile yarn diameter dynamic method for fast measuring, it is characterised in that the survey to yarn diameter Amount is mainly made up of with analysis following seven steps:
Step 1:Detected yarn is numbered, and marks yarn to start test position, set sample spacings distance and The detection parameters such as diameter detection parameter δ;Wherein, parameter δ is the important parameter of interception image size when sampling spot diameter detection, by Influenceed by many factors such as fine hair, cross sectional shapes in yarn diameter, the present invention is in order to overcome enchancement factor to testing result Influence, use centered on test point, length is the average value of all position spot diameters of the yarn line segment of 2 δ, used as test point Yarn diameter.
Step 2:Calibrating template is carried using system and device, high-speed CCD imaging system is demarcated, calculate image slices The physical size of plain corresponding detection yarn, and set the shooting speed of the size, yarn movement speed and CCD of detection yarn tension Degree;Because in detection process, yarn diameter is easily influenceed by the tension force and the speed of service of yarn, under different test conditions, survey The diameter of the yarn for going out is differed.National textile industry standard FZ/T01034-2008, to textile, woven fabric stretching bullet Property experimental technique all done corresponding regulation, the present invention, can be right before detection in order to meet yarn tension and velocity test condition System is configured, and meets test condition, it is ensured that the validity of testing result.
Step 3:To be arranged on above-mentioned device and activation system for the yarn for detecting, when yarn presses certain speed During by image space, CCD imaging systems continuously gather yarn time-series image, and are stored in computer;
Step 4:To acquired same yarn image sequence, treatment is filtered successively, eliminate introducing in imaging process Noise, be then converted into gray level image, and image sequence carried out to it in order and be numbered.
The present invention considers the reason for imaging circumstances and internal circuit produce noise, and the yarn image of intake is often present at random The noise of distribution, i.e. Gaussian noise, in order to be able to detect the image lateral edge of yarn exactly, it is necessary to the image to gathering is carried out Denoising.Using the method for image filtering, picture noise can be effectively removed.Because frequency domain filtering is the height by filtering image Frequency composition and remove noise, it can also lose the texture feature information of image while noise is removed, and make image blur, no Beneficial to the extraction of textural characteristics.In addition, frequency-domain transform operand is larger, it is difficult to realize real-time.The present invention in implementation process, Image is pre-processed using improved average and median filtering algorithm, removes the noise of yarn image.
Linear filtering shortcoming has also obscured the edge and image of whole image, particularly image while being and reduce noise Grain details, therefore be directly unfavorable for the reservation of high frequency texture signal using mean filter.Mean filter operation is right successively Operate neighborhood of pixel points pixel value take average and make it is image blurring, if having ready conditions retain original pixel point value, that is, only have When the value of pixel is more than a certain threshold value than neighboring mean value, the value that neighboring mean value is the point is just taken, the otherwise value of the point keeps It is constant.This processing method, can be such that yarn image does not obscure, while can remove noise again.
Likewise, because the operation of median filtering algorithm is, with certain operation order, to choose in its filter window and pass through The value of intermediate pixel after sequence, and do not have positive connection with the value of original pixel point.If in image some characteristic sizes compared with Small, the object does not have pixel to come centre after sequence, then the object will be corroded and even disappear after filtering.So using A threshold value is first set, when only the value of the point is more than threshold value set in advance with the difference of neighborhood intermediate value, the intermediate value of neighborhood is just taken, Otherwise just retain the value of the point.So process, if certain pixel is noise, it will differ larger with the intermediate value of neighborhood, just It can be removed.If image information object, there is object point in itself in neighborhood, so the intermediate value of neighborhood and the point Pixel value would not differ too big, as long as setting suitable threshold value, it is possible to retain the value of the point, so as to retain more images The characteristic information at minutia particularly yarn edge, is conducive to the extraction of follow-up yarn body image-region.
Step 5:To the consecutive image sequence after numbering, according to preliminary setting parameter and imaging system picture size and physics The mapping relations of size, determine each yarn test point in image sequence corresponding image sequence number and its in the images in order Position.If detection sampling point needed for treatment yarn line segment, when its siding-to-siding block length is not in same two field picture, then need to interval across The adjacent image for connecing carries out splicing, makes its one image of synthesis, then to the spliced image and its subsequent image frames, Renumber in order;To the image of follow-up splicing in need, similar process is done, ultimately produce test point address of cache Table.
Yarn diameter large sample statistics and analysis requirement is realized, it is necessary to certain detection all pre- regular inspections of length in order to quick The yarn diameter of measuring point carries out automation batch processing.The present invention according to preset detection parameter and imaging system picture size with The mapping relations of physical size, determine test point in the picture numbers corresponding to image sequence and its in the images in order Position.But may there are such some test points, treatment needed for its position is located at the edge of yarn picture frame, the point is interval Length is 2 δ yarn line segments, and its subgraph bridges two adjacent picture frames, it is impossible to intercepted in a two field picture.Method proposed by the present invention It is that the adjacent image for first being bridged to the interval carries out splicing, adjacent two field pictures is synthesized an image, and to spelling Image after connecing, in the arrangement position of image sequence, distributes a sequence number according to it;To its subsequent image frames, compile again in order Number.According to the position characteristics of all test points, similar process is done to whole image sequence, make each test point, can be at it Interception corresponding length is the yarn line segment subgraph of 2 δ in corresponding picture frame.Finally according to test point correspondence image sequence number and in figure Position generation test point address mapping table as in.
In the processing procedure of test point, first pre-set according to yarn, calculate the number N of yarn diameter test point, Pre-defined its length is the two-dimensional array of N+1, then stores test point using the two-dimensional array in image sequence Two-stage address, i.e. the sequence number of image and position in the images.In defined two-dimensional array, with the subscript value of array The sequence number of test point is represented, such as 0 is designated as under array, the 1st two-stage address of test point of element storage yarn, subscript is represented Be 1, represent element storage yarn the 2nd two-stage address of test point, by that analogy, under be designated as N-1, represent that the element is stored The two-stage address of yarn n-th test point.For with N number of test point, the length but defined arrays is N+1, the purpose is to Last element of array, i.e., be designated as down the element of its N, deposits a test point end mark, is that the batch processing of system is carried For an end diagnostic criterium.In the array, the picture numbers of the X domain representation test points of its element, and the Y domain representations detections The axial location coordinate in the picture frame is put, Fig. 2 illustrates the address mapping table structure of test point.Using the above method, will be The fast automatic batch processing of all detection spot diameter detections of certain length yarn lays the foundation.
Step 6:To all test points, according to the address mapping table for being generated, found in image sequence successively corresponding Picture frame and location point in the images, calculate the diameter of all test point yarns.
As shown in figure 3, the yarn diameter of the detection line SS ' corresponding to certain location point O, be centered on detection line SS ', Yarn axial direction ZZ ', its left and right distance is respectively the average value of all position diameters of δ length continuous yarn line segments, used as position Put the yarn diameter of point O.The value of δ is generally 2~4 millimeters in detection process, is in order to more using this processing method Science, the diameter for characterizing detection sampling point position yarn exactly, to reduce the enchancement factors such as yarn fine hair, cross sectional shape to detection The probabilistic influence of result.Fig. 3 illustrates how the position according to test point, from comprising the siding-to-siding block length yarn image, cuts The yarn line segment subgraph is taken out, wherein SS ' is the yarn diameter detection line of test point position O, and its corresponding detection interval is 2 δ. Measurement to all pixels point position diameter on the δ of length of yarn 2, its key be how according to the feature of yarn fine hair image, from The image-region of yarn body is partitioned into truncated picture.
The method that the present invention is used is that first the subgraph is projected along yarn axial direction, according to Gray scale projection curve Distribution character, realize subgraph Preliminary division, isolate yarn body area, background area and the doubtful area of yarn object;Then by son Background determined by image grey level histogram and the peak value of yarn object, three intervals are divided into by gradation of image, and according to yarn The direction in interval range where the gray value of the doubtful area's pixel of body and the pixel to yarn body area is connective as constraint, builds Grader, is further divided into yarn body area and background area by the pixel in the doubtful area of yarn body.
Concrete methods of realizing is as shown in Figure 3 and Figure 4.Fig. 3 illustrates how to carry out Preliminary division to subgraph.Due in dress The background of black is employed in putting, its black region correspondence background in intake image, and the canescence region correspondence yarn for changing The transitional region of body or background and target.Yarn line segment subgraph to intercepting is projected along yarn axial direction, according to gray scale The distribution character of drop shadow curve, divides the image into five parts, respectively A, B, B ', C, and C ', realizes the Preliminary division of image. Its division methods is by image gray projection curve for 0.77 times of area above of gray scale peak value is A areas, and to determine that it is yarn Body image-area portion(To different detection yarns, it divides threshold value can be determined by test method), and take in the middle of it Position is that ZZ ' lines are the axis of yarn;It is 0.15 times~the 0.77 of peak value in gray value corresponding to its drop shadow curve of A areas both sides Part between times, i.e. B and B ' areas, it is believed that be the doubtful area of yarn body.In the two regions, because yarn body receives cross section The influence of irregular and its yam surface fine hair, it tends to be difficult to the pixel in area is directly divided into yarn body region or background Area using subsequent processes, it is necessary to be processed.And on the outside of the doubtful area of yarn body, the gray value of its drop shadow curve is in its peak value Less than 0.15 times of C and C ' region, then be background area.
Further the pixel of area B and B ' doubtful to yarn body is classified, and its key is location of pixels to be considered, gray scale Value tag and with the factor such as yarn body image-region connectedness, shadow of the enchancement factor such as removal yarn fine hair to pixel classifications Ring.The major part of the subgraph intercepted by us is yarn body and image background, therefore in the Nogata of the subgraph Two most significant peak values, i.e. yarn body target cluster pixel grey scale peak value and background are certainly existed in figure and clusters the ash of pixel Degree peak value.Using histogrammic bimodal corresponding grey scale level position, subgraph gray value is divided into three intervals, its division methods It is:Take background gray scale peak value right side and gray scale declines 10% position and is divided into S areas with left part, take yarn body gray scale peak value left side Gray scale declines 10% position and is divided into T areas with right part, and the zone line in S areas and T areas is set to M areas.Realize to region B and B ' figures As pixel is classified, its pixel processing method includes two aspects:One is on image processing procedure.To region B processes pixels Order is since close to the row on the upside of A areas, from lower to upper, from left to right, to be processed line by line;And for the place to region B ' It is since close to the row on the downside of A areas, from top to bottom, from left to right, to be processed line by line to make sequence in order, and Fig. 4 shows its pixel Processing sequence, it is stipulated that the reason for being processed as order be consider yarn body image connectedness.Two is region B and B ' images The processing method of pixel.We are with No. 0 pixel in Fig. 4(To region B)As a example by illustrate its sorting technique.If treatment at present Pixel is No. 0 pixel(To region B)If its gray value is located in the T regional extents of yarn grey level histogram, and and yarn body Region direction pixel is connected(I.e. No. 1 pixel and yarn body area image connectivity), then it is to range yarn body figure by the pixel As region;If the grey scale pixel value is located at the S regions of yarn grey level histogram, the pixel is to be attributed to background pixel.If the picture Plain gray scale is located at the M regions of yarn grey level histogram, and the classification to the pixel is divided into two kinds of situations.If No. 0 pixel(To region B) In the adjacent pixel in the direct direction of yarn body(That is No. 1 pixel of region B), not with yarn body regional connectivity, then at present Treatment pixel ranges background;If No. 0 pixel(To region B)In the adjacent pixel in the direct direction of yarn body(That is region B's No. 1 pixel), be connected with yarn body image-region, then need further to investigate its lower-left then with the pixel of its lower right side UNICOM's situation, i.e., No. 2 pixel and No. 8 pixels(To region B)As long as having a pixel and yarn body region among this two pixel Communicate, then current treatment pixel is classified as object pixel, otherwise, the pixel is still classified as background pixel.To region B's and B ' All pixels, are processed using the above method, you can yarn body image-region is extracted from truncated picture, while Influence of the yarn fine hair to doubtful area's pixel classifications can preferably be rejected.
It is from left to right treatment unit with pixel along the central axis ZZ ' of yarn to the yarn object being partitioned into, unites successively Count out each pixel position and pass through the number of pixels in yarn body region with the perpendicular straight line of central axis, calculate The test point yarn diameter.To all test points, by address mapping table, corresponding picture frame is found in image sequence successively Location point in the images, according to above-mentioned method, calculates the diameter of all test point yarns.
Step 7:According to institute's result of calculation, the diameter to designated length detection yarn is analyzed automatically, including yarn is straight The parameters such as the average value in footpath, mean square deviation and the coefficient of variation.
Step 8:Shown to yarn diameter dynamic detection and the result analyzed by liquid crystal display.
The production requirement of modern textile enterprise carries out large sample statistics and analysis to yarn diameter, but due to yarn and other Textile material has its inherent feature, i.e. yarn diameter to differ greatly, and section morphology is irregular, and Yarn filoplume and yarn body are difficult To distinguish, bigger difficulty is brought to test job.The various methods of the static test yarn diameter of use, it is difficult to meet life The need for producing reality and the need for modern production and scientific research development.Computer vision system and image processing techniques are developed into The automatic quick measurement and statistical analysis of yarn diameter provide new method.Apparatus and method proposed by the invention, can quickly, Automatic batch processing continuously is carried out to obtaining detected yarn image sequence, is realized to all detection spot diameters of designated length yarn Detection and its statistics characteristic analysis, overcome the defect of static yarn diameter measurement.

Claims (6)

1. a kind of textile yarn diameter dynamic rapid measurement device, including casing (1), it is characterised in that set in the casing (1) There is the yarn imaging chamber (4) of closing, be detected yarn and pass through yarn imaging chamber (4), the two ends for being detected yarn are filled by wire (11) are put to be connected with yarn driver (9) and yarn tension controller (12) respectively;Set in the yarn imaging chamber (4) of the closing There is one group of lighting source (6) being connected with light source controller (7), one piece of illumination light filter plate (8) is provided with front of light source;It is described Yarn imaging chamber (4) upper side is provided with the image acquiring device of the moving yarn image that yarn is detected for dynamic acquisition, One piece of black background plate (5) of downside bedding;The yarn driver (9), light source controller (7) and yarn tension controller (12) It is connected with system control box (10);Described image acquisition device and system control box (10) are connected with computer (14) respectively;Institute State computer (14) to process the continuous dynamic image sequence of yarn that image acquiring device is obtained, measure test point yarn Diameter, and analyze the statistical nature of preset length yarn diameter change;Wherein, the diameter of yarn be centered on test point, The average value of all pixels point position diameter in the continuous yarn line segment of yarn axial direction neighborhood length;The computer is for referring to The all measurements for presetting detection spot diameter of measured length yarn are according to detection parameter and yam physical size and picture size Mapping relations, automatically determine each test point corresponding image sequence number and position, build test point and picture numbers address of cache Table, and immediate addressing of the test point in image sequence is realized by the way of address mapping table;The computer is to intercept The subgraph of the continuous yarn line segment is process object, and first subgraph is projected along yarn axial direction, is thrown according to gray scale The distribution character of shadow curve, yarn body area, background area and the doubtful area of yarn body are divided into by subgraph;Again by subgraph ash Degree histogram bimodal distribution, is divided into three intervals, according to the doubtful area's grey scale pixel value location of yarn body by gradation of image Between scope and its connective to yarn body area direction, doubtful area's pixel is further divided, final full segmentation goes out yarn sheet Body image-region.
2. textile yarn diameter according to claim 1 dynamic rapid measurement device, it is characterised in that the casing (1) It is semi-closed structure, the yarn imaging chamber (4) is totally enclosed lucifuge structure.
3. textile yarn diameter according to claim 1 dynamic rapid measurement device, it is characterised in that the lighting source (6) it is milky halogen light source, the illumination light filter plate (8) is milky diffusing glass.
4. textile yarn diameter according to claim 1 dynamic rapid measurement device, it is characterised in that the computer pair The yarn body image-region for being extracted along its yarn central axis, from left to right with pixel be treatment unit, unite successively Count out each pixel position and pass through the number of pixels in yarn body region with the perpendicular straight line of central axis, calculate The test point yarn diameter.
5. textile yarn diameter according to claim 1 dynamic rapid measurement device, it is characterised in that for yarn diameter If the required treatment siding-to-siding block length of test point continuous yarn line segment bridge two adjacent picture frames when, first the interval is bridged Adjacent image is spliced, then is intercepted its continuous yarn line segment subgraph and processed.
6. a kind of textile yarn diameter dynamic method for fast measuring, it is characterised in that comprise the following steps:
(1) to detected yarn, first mark yarn starts test position on the detection system, sets sample spacings distance and diameter Detection parameter;
(2) calibrating template is carried using system and device, image acquiring device is demarcated, calculate the corresponding inspection of image pixel The physical size of yarn is surveyed, and sets the shooting speed of the size, yarn movement speed and image acquiring device of detection yarn tension Degree;
(3) device as claimed in claim 1 will be arranged on for the yarn for detecting, and starts detection means, when yarn is pressed When certain speed passes through image space, image acquiring device continuously gathers the temporal image sequence of yarn, and is stored in meter In calculation machine;
(4) to acquired same yarn image sequence, treatment is filtered successively, eliminate the noise introduced in imaging process, Then it is converted into gray level image, and image sequence is numbered in order;
(5) to the consecutive image sequence after numbering, according to preliminary setting parameter and imaging system picture size and physical size Mapping relations, determine each yarn test point position in image sequence corresponding image sequence number and its in the images in order; If the yarn line segment for the treatment of, when its siding-to-siding block length is not in same two field picture, then needs what the interval was bridged needed for detection sampling point Adjacent image carries out splicing, makes its one image of synthesis, then to the spliced image and its subsequent image frames, by suitable Sequence is renumberd;To the image of follow-up splicing in need, the treatment in this step is done, ultimately produce test point address of cache Table;
(6) to all test points, according to the address mapping table for being generated, found in image sequence successively corresponding picture frame and Its test point position, calculates centered on test point, and the left and right distance of yarn axial direction is respectively the company that diameter detects parameter The average value of all position spot diameters of continuous yarn line segment, and using the average value as the diameter of the yarn of test point;
(7) according to institute's result of calculation, the diameter to designated length detection yarn carries out statistical analysis automatically, including yarn diameter Average value, mean square deviation and the coefficient of variation;
(8) shown to yarn diameter dynamic detection and the result analyzed by liquid crystal display.
CN201310754359.3A 2013-12-31 2013-12-31 A kind of textile yarn diameter dynamic rapid measurement device and method Expired - Fee Related CN103759662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310754359.3A CN103759662B (en) 2013-12-31 2013-12-31 A kind of textile yarn diameter dynamic rapid measurement device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310754359.3A CN103759662B (en) 2013-12-31 2013-12-31 A kind of textile yarn diameter dynamic rapid measurement device and method

Publications (2)

Publication Number Publication Date
CN103759662A CN103759662A (en) 2014-04-30
CN103759662B true CN103759662B (en) 2017-06-06

Family

ID=50526938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310754359.3A Expired - Fee Related CN103759662B (en) 2013-12-31 2013-12-31 A kind of textile yarn diameter dynamic rapid measurement device and method

Country Status (1)

Country Link
CN (1) CN103759662B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104535004B (en) * 2015-01-29 2017-05-31 江南大学 A kind of yarn diameter detection method based on image procossing
CN105332123B (en) * 2015-12-03 2018-02-16 江南大学 A kind of spun-yarn fineness uniformity online test method
CN106841224A (en) * 2017-04-17 2017-06-13 江南大学 A kind of yarn image spacing triggering collection system
CN107192712A (en) * 2017-05-22 2017-09-22 绍兴众舟科技有限公司 A kind of yarn twist measuring method and yarn twist measuring system
CN107884412B (en) * 2017-12-21 2023-11-14 华南农业大学 Annual ring information detection device and method for conifer tree core
JP2019137537A (en) * 2018-02-14 2019-08-22 村田機械株式会社 Clearing limit setting device and yarn winding machine
CN109389583B (en) * 2018-09-17 2020-11-24 东华大学 Intelligent tube yarn quality classification management method and implementation device thereof
CN110220468A (en) * 2019-06-21 2019-09-10 广东工业大学 A kind of spinning equipment, wire vent detection device and yarn examination method out
CN111507943B (en) * 2020-03-27 2022-08-19 江苏恒力化纤股份有限公司 Method for detecting broken filaments of polyester filaments
US11694374B2 (en) * 2020-04-13 2023-07-04 Delta Electronics, Inc. Method for gating in tomographic imaging system
CN112748154B (en) * 2020-09-15 2023-05-16 湖南工程学院 Device and method for detecting specification parameters of elastic bunchy yarn
CN114247946A (en) * 2021-10-29 2022-03-29 江苏塞维斯数控科技有限公司 Dynamic diameter detection system for wire-moving wire cutting machine in closed-loop servo
CN116309519A (en) * 2023-04-03 2023-06-23 新创碳谷集团有限公司 Roller winding detection method, device and storage medium
CN117647189B (en) * 2024-01-30 2024-04-12 成都工业职业技术学院 Method and system for detecting radial clearance of horizontal bearing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1174607A (en) * 1993-11-10 1998-02-25 劳森-赫菲尔公司 System and method for electronically displaying yarn qualities
DE20213110U1 (en) * 2002-08-21 2003-01-02 Inst Innovative Technologien T Rotating shaft sensor deformation unit uses high speed camera with constant angle marker
CN1769889A (en) * 2004-11-06 2006-05-10 索若两合股份有限公司 Yarn detection device
CN202290810U (en) * 2011-10-17 2012-07-04 江苏巨力钢绳有限公司 Online wire diameter measuring device
CN102663748A (en) * 2012-03-27 2012-09-12 电子科技大学 Low depth of field image segmentation method based on frequency domain
CN103163132A (en) * 2011-12-08 2013-06-19 常州中港纺织智能科技有限公司 System and method for real-time appearance digital analysis for yarn
CN103176420A (en) * 2013-03-26 2013-06-26 东华大学 Physical yarn woven-pattern digital modeling device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1174607A (en) * 1993-11-10 1998-02-25 劳森-赫菲尔公司 System and method for electronically displaying yarn qualities
DE20213110U1 (en) * 2002-08-21 2003-01-02 Inst Innovative Technologien T Rotating shaft sensor deformation unit uses high speed camera with constant angle marker
CN1769889A (en) * 2004-11-06 2006-05-10 索若两合股份有限公司 Yarn detection device
CN202290810U (en) * 2011-10-17 2012-07-04 江苏巨力钢绳有限公司 Online wire diameter measuring device
CN103163132A (en) * 2011-12-08 2013-06-19 常州中港纺织智能科技有限公司 System and method for real-time appearance digital analysis for yarn
CN102663748A (en) * 2012-03-27 2012-09-12 电子科技大学 Low depth of field image segmentation method based on frequency domain
CN103176420A (en) * 2013-03-26 2013-06-26 东华大学 Physical yarn woven-pattern digital modeling device and method

Also Published As

Publication number Publication date
CN103759662A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103759662B (en) A kind of textile yarn diameter dynamic rapid measurement device and method
CN103176420B (en) Physical yarn woven-pattern digital modeling device and method
CN102253043B (en) Monocular CCD (Charge Coupled Device) digitalized analysis method of multi-angle yarn appearance
CN105067639B (en) The eyeglass defect automatic detection device and method of a kind of Grating Modulation
CN104535004B (en) A kind of yarn diameter detection method based on image procossing
CN103630544B (en) A kind of vision on-line detecting system
CN102523366B (en) Automatic fabric weaving style analyzing system and method
CN103163132A (en) System and method for real-time appearance digital analysis for yarn
CN102778414B (en) Machine vision-based fabric physical property detection method and device
WO2023102952A1 (en) Coiled material detection device, system and method capable of achieving real-time detection
CN103097879A (en) Method and device for analyzing the optical quality of a transparent substrate
CN107273622B (en) Digital yarn simulation method based on fiber
Zhang et al. Automatic inspection of yarn-dyed fabric density by mathematical statistics of sub-images
Wang et al. Objective evaluation on yarn hairiness detection based on multi-view imaging and processing method
Zhang et al. A computer vision-based system for automatic detection of misarranged warp yarns in yarn-dyed fabric. Part I: continuous segmentation of warp yarns
CN111879791B (en) Machine vision system and method for enhancing raised features on pattern surface
CN107300360A (en) A kind of shaft size fast algorithm of detecting of rain fed crops seed three
CN102103090A (en) Device and method for detecting quality of web of carding machine on line based on computer vision
JP2008089534A (en) Method and device for inspecting fabric of carbon fiber
Li et al. A direct measurement method of yarn evenness based on machine vision
CN202433309U (en) Real-time yarn appearance digitized analytic system
CN110261388A (en) A kind of multi-angle yarn appearance digital test device and test method
CN104778709A (en) Construction method of electronic blackboard based on yarn sequence images
CN204188140U (en) High-speed and continuous obtains the device of many figure warp threads picture online
CN218412304U (en) Automatic fabric inspection device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170606

Termination date: 20191231

CF01 Termination of patent right due to non-payment of annual fee