CN102759530B - A kind of surface quality image on-line measuring device - Google Patents
A kind of surface quality image on-line measuring device Download PDFInfo
- Publication number
- CN102759530B CN102759530B CN201210227730.6A CN201210227730A CN102759530B CN 102759530 B CN102759530 B CN 102759530B CN 201210227730 A CN201210227730 A CN 201210227730A CN 102759530 B CN102759530 B CN 102759530B
- Authority
- CN
- China
- Prior art keywords
- image
- characteristic value
- surface quality
- described image
- image block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Image Processing (AREA)
Abstract
The invention provides a kind of surface quality image on-line measuring device, comprise image acquisition device and image processing IP core; Described image acquisition device, for collection surface quality image, and by extremely described image processing IP core of described surface quality image transmitting; Described image processing IP core, for described surface quality image is divided into multiple image blocks, parallel computation goes out the characteristic value of each described image block, and whether detect described image block according to described characteristic value qualified. Image processing IP core provided by the invention, can be divided into multiple image blocks by collecting surface quality image, and the characteristic value of parallel computation image block, has good real-time.
Description
Technical field
The present invention relates to technical field of image processing, relate in particular a kind of surface quality image and existLine detector.
Background technology
At present, machine vision technique is widely used for the fields such as quality control, and machine vision technique is followed meterCalculate the development of machine technology, field bus technique, technology is ripe day by day, the high speed development of machine vision techniqueStrong promotion development and the utilization of surface quality online measuring technique. For example,, in iron and steel tandem rolling and companyIn casting process, billet surface quality testing is one of key technology of automation steel rolling cast steel, and " online "Image processing in billet surface quality testing is Focal point and difficult point wherein.
In the online detection of surface quality, traditional image processing method is realized by algorithm software, orderBefore, the data output rate of most high speed linear array camera exceeds Gbps, traditional image processing methodIn the time processing high data output, can only rely on the dominant frequency that improves computer CPU to improve the speed of view data processingDegree, and the dominant frequency of computer is owing to being subject to the restriction of hardware, is very limited, therefore traditional image placeReason method can not meet the requirement of real-time of image processing and Algorithm Analysis.
Summary of the invention
In view of this, can not meet image processing and Algorithm Analysis in order to solve traditional image processing methodThe problem of requirement of real-time, a kind of surface quality on-line measuring device is provided, technical scheme is as follows:
The online device detecting of surface quality image, comprises image acquisition device and image processing IP core;
Described image acquisition device, for collection surface quality image, and by described surface quality image transmittingTo described image processing IP core;
Described image processing IP core, for described surface quality image is divided into multiple image blocks, parallel meterCalculate the characteristic value of each described image block, and whether detect described image block according to described characteristic value qualified.
Preferably, in the online device detecting of above-mentioned surface quality image, described image processing IP core bagDraw together image block pretreatment and sheet menu unit, and image buffer storage processing unit;
Described image block pretreatment and sheet menu unit, for surface quality image described in pretreatment, and by instituteState surface quality image and be divided into multiple image blocks, transfer to described image buffer storage processing unit;
Described image buffer storage processing unit, for the characteristic value of the each described image block of parallel computation, and rootWhether qualifiedly detect described image according to described characteristic value.
Preferably, in the online device detecting of above-mentioned surface quality image, described image pretreatment and sheetMenu unit comprises chip selection signal generator, and image pretreatment unit;
Described image pretreatment unit, for realizing the pretreatment operation of described surface quality image, described inPretreatment operation at least comprises the taking advantage of, add of view data of described surface quality image, and delay operation;
Described chip selection signal generator, for generation of chip selection signal, described chip selection signal is by a two field pictureBe divided into the image block of n/k piece along the direction of motion of described surface quality image, and by described image block transmissionTo the signal of described image buffer storage processing unit, wherein, the pixel that n is described image acquisition device, described inK behavior one two field picture of surface quality image.
Preferably, in the online device detecting of above-mentioned surface quality image, described image buffer storage is processed singleUnit comprises image buffer storage unit and graphics processing unit;
Described image buffer storage unit, for image block described in buffer memory, and described in described image block is offeredGraphics processing unit;
Described graphics processing unit, for realizing the characteristic value of image block described in parallel computation, and will described inThe threshold interval of the normal surface image feature value of characteristic value and precognition compares, if described characteristic value is notIn described threshold interval, be judged to be fault picture piece.
Preferably, in the online device detecting of above-mentioned surface quality image, described image processing IP core alsoComprise Image Sharing memory cell;
Described Image Sharing memory cell, for storing the characteristic value of described image block and described faultImage block, produces and is used for the image block of the characteristic value of described image block and described fault to described work simultaneouslyFull up or the half-full interrupt signal of control machine transmission.
Preferably, in the online device detecting of above-mentioned surface quality image, described Image Sharing storage is singleUnit comprises: characteristic value is interrupted generator, characteristic value memory cell, defect image memory cell, and lacksFall into image and interrupt generator;
Described characteristic value memory cell, all kinds of spies that calculate for storing described image buffer storage processing unitThe value of levying;
When characteristic value described in described characteristic value cell stores is to a half of himself capacity, described spyThe value of levying is interrupted generator and is produced the first half-full interrupt signal;
When characteristic value described in institute's characteristic value cell stores is during to himself capacity whole, described featureValue is interrupted generator and is produced the first full up interrupt signal;
Described defect image memory cell, for storing the image block of described fault;
When the data of the image block of fault described in described defect image cell stores are to himself capacityOne half, described defect image interrupts generator and produces the second half-full interrupt signal;
When the data of the image block of fault described in described defect image cell stores are to himself capacityAll time, described defect image interrupts generator and produces the second full up interrupt signal.
Preferably, in the online device detecting of above-mentioned surface quality image, described device also comprises imageTest cell, described image measurement unit comprises image function test cell and image property test cell;
Whether described image function test cell, calculate correctly for detection of the characteristic value of described image block;
Described image property test cell, for detection of the computational speed of the characteristic value of described image block whetherBe more than or equal to the picking rate of described surface quality image.
In technique scheme, there is following beneficial effect:
Image processing IP core provided by the invention, can be divided into multiple images by collecting surface quality imagePiece, the characteristic value of parallel computation image block, is a real-time clock, through test, provided by the inventionThe monolithic data processed result of image processing IP core out only lags behind more than 20 clock cycle of image input,If the master clock of image processing IP core is 250MHz, be also 20* (1/250MHz)=80ns, for a frameThe processing time 80ns*128=10.24us of image (being generally divided into 128), and 10.24us is much smaller than a frameThe acquisition time of image, is system quasi real time from theory, is strict reality from engineering applicationTime system, there is good real-time, CPU that this is computer etc. is incomparable.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to realityThe accompanying drawing of executing required use in example or description of the Prior Art is briefly described, apparently, belowAccompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, notPay under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
A kind of structural representation of the surface quality image on-line measuring device that Fig. 1 provides for the embodiment of the present inventionFigure;
Another structural representation of the surface quality image on-line measuring device that Fig. 2 provides for the embodiment of the present inventionFigure;
Another structural representation of the surface quality image on-line measuring device that Fig. 3 provides for the embodiment of the present inventionFigure;
Another structural representation of the surface quality image on-line measuring device that Fig. 4 provides for the embodiment of the present inventionFigure;
The structural framing figure of the image detecting element that Fig. 5 provides for the embodiment of the present invention;
Fig. 6 carries out piecemeal to image for the surface quality image on-line measuring device that the embodiment of the present invention providesSchematic diagram;
Surface quality image on-line measuring device computing in FPGA that Fig. 7 provides for the embodiment of the present inventionSequential chart.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried outDescribe clearly and completely, obviously, the embodiment describing that gathers is only the present invention's part embodiment,Instead of whole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not havingMake the every other embodiment obtaining under creative work prerequisite, all belong to the scope of protection of the invention.
With reference to figure 1, a kind of device that the online detection of surface quality is provided of Fig. 1 signal, comprising: imageCollector U1 and image processing IP core U2.
Image acquisition device U1, for collection surface quality image, and by above-mentioned surface quality image transmitting extremelyAbove-mentioned image processing IP core;
Image processing IP core U2, for being divided into multiple image blocks, parallel computation by above-mentioned surface quality imageGo out the characteristic value of each above-mentioned image block, and whether detect above-mentioned image block according to above-mentioned characteristic value qualified.
Line-scan digital camera is the common image capturing device of surperficial detection field, for the one-tenth of high-speed moving objectPicture and analysis. Line-scan digital camera can be used as image acquisition device collection surface quality image, and will collectSurface quality image transmitting is processed to image processing IP core U2.
Image processing IP core provided by the invention, can be divided into multiple images by collecting surface quality imagePiece, the characteristic value of parallel computation image block, is a real-time system, through test, provided by the inventionThe monolithic data processed result of image processing IP core out only lags behind more than 20 clock cycle of image input,If the master clock of image processing IP core is 250MHz, be also 80ns, (be generally divided into for a two field picture128) processing time 80ns*128=10.24us, and 10.24us is much smaller than the acquisition time of a two field picture,Being system quasi real time from theory, is strict real-time system from engineering application. With linear array phaseMachine line frequency 20KHz is example, according to method in embodiment, and the image frame grabber time (times of 32 row)=32*(1/20KHz)=1.6ms, it is far longer than 10.24us, has good real-time, and this is computerCPU or DSP etc. incomparable.
With reference to figure 2, a kind of structural representation that image processing IP core U2 is provided of Fig. 2 signal.
Image processing IP core U2 can comprise the U21 of image block pretreatment and sheet menu unit, image buffer storage placeReason unit U22.
Image block pretreatment and the U21 of sheet menu unit, for the above-mentioned surface quality image of pretreatment, and by upperState surface quality image and be divided into multiple image blocks, transfer to above-mentioned image buffer storage processing unit; Image buffer storageProcessing unit U22, for the characteristic value of the each above-mentioned image block of parallel computation, and according to above-mentioned characteristic valueWhether qualifiedly detect above-mentioned image.
Image block pretreatment and the U21 of sheet menu unit can comprise chip selection signal generator U211, and imagePretreatment unit U212;
Image pretreatment unit U212, for realizing the pretreatment operation of above-mentioned surface quality image, above-mentionedPretreatment operation at least comprises the taking advantage of, add of view data of above-mentioned surface quality image, and delay operation;
Chip selection signal generator U211, for generation of chip selection signal, above-mentioned chip selection signal is by a two field pictureBe divided into the image block of n/k piece along the direction of motion of above-mentioned surface quality image, and by above-mentioned image block transmissionTo the signal of above-mentioned image buffer storage processing unit, wherein, the pixel that n is above-mentioned image acquisition device, above-mentionedK behavior one two field picture of surface quality image.
Image buffer storage processing unit U22 comprises image buffer storage unit U221 and graphics processing unit U222;Image buffer storage unit U221, for the above-mentioned image block of buffer memory, and offers above-mentioned image by above-mentioned image blockProcessing unit; Graphics processing unit U222, for realizing the characteristic value of the above-mentioned image block of parallel computation, andThe threshold interval of the normal surface image feature value of above-mentioned characteristic value and precognition is compared, if above-mentioned spyThe value of levying, not in above-mentioned threshold interval, is judged to be fault picture piece. Chip selection signal generator U211 producesRaw chip selection signal, image block corresponding a two field picture is transferred to image buffer storage unit U221 by chip selection signal,Wherein, the number of image buffer storage unit U221 and graphics processing unit U222 is n/k, also schemesThe number of picture piece.
The image block of graphics processing unit U222 failure judgement can comprise the following steps:
To calculate to such an extent that above-mentioned image block characteristics value and normal surface image feature value interval compare, ifNot in above-mentioned threshold interval, be judged to be fault picture piece.
Describe taking billet surface as object below, can choose variance or light intensity average is characteristic value.
Choosing variance is characteristic value:
Method: normal billet surface variance threshold values interval is≤4 after repeatedly training, so all imagesPiece can be sent into image buffer storage processing unit, calculates variance yields through graphics processing unit > 4 image block,Be judged to be fault picture piece, all the other are normal billet surface.
Choosing light intensity average is characteristic value:
Method: the normal strong average threshold interval of steel billet surface light is 35≤normal light intensity after repeatedly training≤ 100, so all image blocks can be sent into image buffer storage processing unit, calculate through graphics processing unitLight intensity average<35 or>100 image block, be judged to be fault picture piece, all the other are normal steel billet tableFace.
It should be noted that, because a category feature value is very sensitive to some defect, but to part defect notWhether sensitivity, be not often very reliable so remove to define imaging surface qualified by single characteristic value, because ofThis, in the process of practical application, can calculate various features value, gets the friendship in multiple eigenvalue thresholds intervalCollection, could bring up to fault recall rate more than 95%!
With reference to figure 3, image processing IP core U2 can also comprise Image Sharing memory cell U23.
Image Sharing memory cell U23, for storing the characteristic value of above-mentioned image block and above-mentioned faultImage block, produces and is used for the image block of the characteristic value of above-mentioned image block and above-mentioned fault to above-mentioned work simultaneouslyFull up or the half-full interrupt signal of control machine transmission.
Image Sharing memory cell U23 can comprise: characteristic value is interrupted generator U231, characteristic value storageUnit U232, defect image memory cell U233, and defect image interrupts generator U234.
Graphics processing unit U222 in image buffer storage processing unit U22 is by characteristic value and defect image pieceBeing stored in respectively characteristic value memory cell U232 and defect image interrupts in generator U234.
Characteristic value is interrupted generator U231, for storing all kinds of that above-mentioned image buffer storage processing unit calculatesCharacteristic value; When characteristic value memory cell U232 stores the half of above-mentioned characteristic value to himself capacity, spyThe value of levying is interrupted generator U231 and is produced the first half-full interrupt signal; When characteristic value memory cell, U232 is above-mentionedCharacteristic value is during to himself capacity whole, and characteristic value is interrupted generator U231 and produced the first full up interruption letterNumber; The first half-full interrupt signal and the first full up interrupt signal start and read for the main equipment of image processing IP coreGet the data of characteristic value. Characteristic value is interrupted generator and can be coordinated easily main equipment to complete the table tennis of transfer of dataPang operation.
Defect image memory cell U233, for storing the image block of above-mentioned fault; When defect image storageUnit U233 stores the data of image block of above-mentioned fault to a half of himself capacity, above-mentioned defect mapPicture interrupts generator U234 and produces the second half-full interrupt signal; When defect image memory cell U233 storageThe data of the image block of above-mentioned fault are during to himself capacity whole, and above-mentioned defect image interrupts generatorU234 produces the second full up interrupt signal; The second half-full interrupt signal and the second full up interrupt signal are for imageProcess the main equipment startup of IP kernel and read defect image data. Defect image interrupts generator can join easilyClose the ping-pong operation that main equipment completes transfer of data. Ping-pong operation is the common one operation of electronic applications,Method is that two storage areas act on simultaneously, and storage and transmission are alternately carried out, i.e. B when A piece storagePiece transmission, when the storage of B piece, the transmission of A piece, reaches the object of trading space for time, very applicableIn the design of real-time system.
In Image Sharing memory cell U23, design feature value is interrupted generator and defect image interruption generationDevice, characteristic value is interrupted generator and is produced the half-full signal of characteristic value or the full up signal of characteristic value, and defect image interruptsGenerator produces the half-full signal of defect image, in order to complete the ping-pong operation of transfer of data, in order to promote realityShi Xing.
Characteristic value memory cell U232 and defect image memory cell U233 all provide PLB(ProcessorLocalBus) or OPB(On-chipPeripheralBus) bus access interface, characteristic value memory cellU232 and defect image memory cell U233 all can pass through PLB or OPB EBI carry easilyOn main equipment, complete the transmission of data to industrial computer. Main equipment herein can be for being embedded into FPGAInner soft-core processor MicroBlaze or hard nucleus management device PowerPC. Above-mentioned PLB or OPBEBI is open to main equipment, and main equipment can carry out processing transactions according to interrupt signal, such as startupPCIe transmission feature value or defective data are to industrial computer. The PCIe transmission is here to pass through dma mode, data transmission bauds test has reached 1.48Gbps at present.
Further, the present invention also comprises image measurement unit U3, and image measurement unit U3 comprises imageFunctional test unit U31 and image property test cell U32.
Whether image function test cell U31, calculate correctly for detection of the characteristic value of above-mentioned image block;
Image property test cell U32, for detection of the computational speed of the characteristic value of above-mentioned image block whetherBe more than or equal to the picking rate of above-mentioned surface quality image.
Image measurement unit U3 is for process the function of IP kernel U2 at preliminary stage test pattern, concrete,Detect the characteristic value of above-mentioned image block and whether calculate correctly, characteristic value comprise image block such as variance, entropyThe features such as value, gray scale, texture and frequency spectrum. Image measurement unit U3 test pattern is processed IP kernel U2Performance, be specially, whether the computational speed that detects the characteristic value of above-mentioned image block is more than or equal to above-mentioned tableThe picking rate of face quality image. Image measurement unit U3 inputs the surface quality figure to be tested collectingPicture, the characteristic value of these images is that technical staff knows in advance, from image processing IP core, U2 calculatesThe characteristic value of the characteristic value of coming and surface quality image to be tested is compared, and this image is unanimously describedThe function of processing IP kernel is correct; If the computational speed of the characteristic value of above-mentioned image block is more than or equal to above-mentioned surfaceThe picking rate of quality image, that is to say, if can enter figure at the next frame of surface image dataBefore picture is processed IP kernel, the characteristic value that completes surface image data present frame is calculated, and by the spy of present frameThe value of levying and image data transmission, to industrial computer, illustrate that the performance of this image processing IP core meets the demands. FigureThe structural framing of picture test cell U3 as shown in Figure 5, can complete above-mentioned image processing IP core function andPerformance test.
Wherein, 301 is the reset signal input of image measurement unit; 302 is enabling of image measurement unitSignal input; 303 is logic sum gate; 304 and 312 is logical AND gate; 305 and 310 is accumulator;307 is the first comparator, and comparison expression is a > b; 306 is real constant 4096; 308 is logic inverter;309 is real constant 4094; 311 is the second comparator, and comparison expression is a <b; 313 for Matlab flatThe test data of image measurement unit in platform; 314 is that view data imports in FPGA from Matlab platformThe input port of portion; 315 is reset signal output; 316 is the output of row useful signal; 317 is picture numberAccording to output.
Wherein, the t in above-mentioned 313 is that valid data are capable, aligns with 316 high level " 1 "; Y isInvalid data, is set to 0 herein, aligns with 316 low level " 0 ".
Image measurement unit U3 is in order to obtain the signal consistent with line-scan digital camera output timing:LINE_VALID and DATA_OUT. RST_OUT signal is in order to debug use, allows line-scan digital camera energyReach and image processing IP core synchronous reset. Image measurement unit U3 has following effect, first: canTest pattern gathers function and the performance of IP kernel, after the function of IMAQ IP kernel and performance satisfy condition,When real collection image, replaced by line-scan digital camera; The second, because line-scan digital camera is expensive and buying weekPhase is long, and this module can be carried out algorithm work in there is no line-scan digital camera, and project is done to assessment in early stageAdvance and there is very large meaning with progress.
Image processing IP core disclosed in this invention, can be applicable to FPGA(Field-ProgrammableGateArray, field programmable gate array) in, its operation result as shown in Figure 5, the signal in Fig. 5Meaning is:
Process in IP kernel test process at test pattern:
Image_data(view data) be the output DATA_OUT of image measurement unit;
The capable useful signal of Image_line_valid() be the output LINE_VALID of image measurement unit;
In the normal use procedure of Surface Quality Inspection System:
Image_data(view data) be the picturedeep certificate of line-scan digital camera output;
The capable useful signal of Image_line_valid() be the row useful signal of line-scan digital camera output;
Pixs_sum (pixel and signal) and pixs^2_sum(pixel quadratic sum signal) be image pretreatmentThe output of unit pre_dsp;
The output of image pretreatment unit pre_dsp and DSP_wr(data processing enable signal) together with doFor the input of image buffer storage processing unit, DSP_out_wr(transfer of data enable signal) andDSP_out_RSQ(data characteristics value output signal) be that image buffer storage processing unit completes parallel processingAfter output signal;
Image_index(image block call number), Image_error_data(defect image signal) andImage_block_ADDR(image block address signal) in input picture shared memory cell, rear class master establishesStandby (as MicroBlaze or PowerPC), can pass through PLB or OPB bus convenient access alsoTake data away.
Image processing IP core disclosed in this invention, in FPGA, operation result is as shown in Figure 7, rightIn single-frame images data, the time difference between the view data of input and the result of output remains on usRank.
The course of work of the present invention is:
1, according to the characteristic synthetic image test cell of used array camera, to realize image processingThe test of IP kernel function and performance. Without loss of generality, if the array camera using is industrial line-scan digital camera,Can be according to its pixel and line frequency characteristic, the bit wide real constant 306 of configuration image array [t, y], accumulator 305Size with 309 values.
2, with reference to figure 6, FPGA resource, algorithm structure and the camera parameter of the present invention comprehensively to selectDetermine image block method, get k behavior one two field picture of surface quality image, and by a two field picture edgeThe direction of motion of surface quality image is divided into the image block of n/k piece; Wherein, the pixel that n is line-scan digital camera.In actual applications, without loss of generality, can be set to 32 pixels by k, n is configured to 4096 pixels,Continuously image is cut apart to framing, frame is divided into the image block of 128 32 × 32 pixels,The capacity of single image piece is 1024Byte.
3, operating personnel select different image processing algorithms according to different demands, and by image processing algorithmResolve into the submodule that is applicable to FPGA parallel processing, on SystemGenerator platform, be implanted into imageProcess IP kernel, this image processing IP core can enter FPGA by directly transplanting. For some sequential spyThe module of property complexity, can use VHDL language to write and complete its front emulation on Modsim and make to reachAnticipated demand, converts General Porcess Unit to by BlackBox instrument.
4, call WaveScope virtual oscilloscope instrument, add the signal of paying close attention in hardware engineering, establishPut the timer (timecounter) in image measurement unit, determined emulation periodicity, clicked StartSimulation carries out emulation, with reference to Fig. 7, verifies whether each module reaches designing requirement, if there is any discrepancy,Need carry out part adjustment to hardware engineering targetedly, until meet design requirement.
5, the Compilation option in SystemGenerator module is arranged to ExportasapcoreToEDK, the FPGA model of Part option choice for use, after confirming that engineering is without design mistake, clicksGenerate generates hardware identification code, calls as Microblaze or PowerPC for the main equipment of rear class, realNow whole hardware system is complete.
6, in hardware debug, call ChipScope FVLA instrument, catch hardware engineeringMiddle paid close attention to signal, carries out post-simulation to the global design of transplanting, and guarantees algorithm in patent working processBeing implanted into temporal characteristics and the above-mentioned course of work 4 that the above-mentioned image processing hardware of this patent realizes after framework kissesClose, to reach design requirement.
7, operating personnel can, according to the changes in demand in later stage, be optimized and adjust algorithm, repeat above-mentionedDesign cycle, the hardware that completes the online detection algorithm of surface quality is realized, detect in real time steel billet, glass,The materials such as paper exist in process of production such as roll marks, be mingled with, scab, the quality such as cut and spotDefect.
In this description, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stressesBe and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so describeFairly simple, relevant part illustrates referring to method part.
It should be noted that, in this article, term " comprises ", " comprising " or its any other changeBody is intended to contain comprising of nonexcludability, thereby makes to comprise process, method, the article of a series of key elementsOr equipment not only comprises those key elements, but also comprise other key elements of clearly not listing, orAlso be included as the intrinsic key element of this process, method, article or equipment. In more restrictions notIn situation, the key element being limited by statement " comprising ... ", and be not precluded within and comprise described key elementIn process, method, article or equipment, also there is other identical element.
For convenience of description, while describing above device, being divided into various modules with function describes respectively. Certainly,In the time that enforcement is of the present invention, the function of each module can be realized in same or multiple hardware devices.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field can be realized or useThe present invention. To be aobvious and easy for those skilled in the art to the multiple amendment of these embodimentSee, General Principle as defined herein can be in the situation that not departing from the spirit or scope of the present invention,Realize in other embodiments. Therefore, the present invention will can not be restricted to these embodiment shown in this article,But to meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (5)
1. the online device detecting of surface quality image, is characterized in that, comprise image acquisition device withAnd image processing IP core;
Described image acquisition device, for collection surface quality image, and by described surface quality image transmittingTo described image processing IP core;
Described image processing IP core, for described surface quality image is divided into multiple image blocks, parallel meterCalculate the characteristic value of each described image block, and whether detect described image block according to described characteristic value qualified,In the time that billet surface image is detected, choose variance or light intensity average as characteristic value;
Concrete, described image processing IP core comprises image block pretreatment and sheet menu unit, and image is slowDeposit processing unit;
Described image block pretreatment and sheet menu unit, for surface quality image described in pretreatment, and by instituteState surface quality image and be divided into multiple image blocks, transfer to described image buffer storage processing unit;
Described image buffer storage processing unit, for the characteristic value of the each described image block of parallel computation, and rootWhether qualifiedly detect described image according to described characteristic value;
Concrete, described image pretreatment and sheet menu unit comprise chip selection signal generator, and image is pre-Processing unit;
Described image pretreatment unit, for realizing the pretreatment operation of described surface quality image, described inPretreatment operation at least comprises the taking advantage of, add of view data of described surface quality image, and delay operation;
Described chip selection signal generator, for generation of chip selection signal, described chip selection signal is by a two field pictureBe divided into the image block of n/k piece along the direction of motion of described surface quality image, and by described image block transmissionTo the signal of described image buffer storage processing unit, wherein, the pixel that n is described image acquisition device, described inK behavior one two field picture of surface quality image.
2. device according to claim 1, is characterized in that, described image buffer storage processing unit bagDraw together image buffer storage unit and graphics processing unit;
Described image buffer storage unit, for image block described in buffer memory, and described in described image block is offeredGraphics processing unit;
Described graphics processing unit, for realizing the characteristic value of image block described in parallel computation, and will described inThe threshold interval of the normal surface image feature value of characteristic value and precognition compares, if described characteristic value is notIn described threshold interval, be judged to be fault picture piece.
3. device according to claim 2, is characterized in that, described image processing IP core also comprisesImage Sharing memory cell;
Described Image Sharing memory cell, for storing characteristic value and the described fault graph of described image blockPicture piece produces for the characteristic value of described image block and described fault picture piece are transmitted to industrial computer simultaneouslyFull up or half-full interrupt signal.
4. device according to claim 3, is characterized in that, described Image Sharing memory cell bagDraw together: characteristic value is interrupted generator, characteristic value memory cell, defect image memory cell, and defect mapPicture interrupts generator;
Described characteristic value memory cell, all kinds of spies that calculate for storing described image buffer storage processing unitThe value of levying;
When characteristic value described in described characteristic value cell stores is to a half of himself capacity, described spyThe value of levying is interrupted generator and is produced the first half-full interrupt signal;
When characteristic value described in institute's characteristic value cell stores is during to himself capacity whole, described featureValue is interrupted generator and is produced the first full up interrupt signal;
Described defect image memory cell, for storing described fault picture piece;
When the data of fault picture piece described in described defect image cell stores are to one of himself capacityHalf, described defect image interrupts generator and produces the second half-full interrupt signal;
When complete to himself capacity of the data of fault picture piece described in described defect image cell storesWhen portion, described defect image interrupts generator and produces the second full up interrupt signal.
5. according to the device described in claim 1-4 any one, it is characterized in that, described device also wrapsDraw together image measurement unit, described image measurement unit comprises image function test cell and image property testUnit;
Whether described image function test cell, calculate correctly for detection of the characteristic value of described image block;
Described image property test cell, for detection of the computational speed of the characteristic value of described image block whetherBe more than or equal to the picking rate of described surface quality image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210227730.6A CN102759530B (en) | 2012-07-03 | 2012-07-03 | A kind of surface quality image on-line measuring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210227730.6A CN102759530B (en) | 2012-07-03 | 2012-07-03 | A kind of surface quality image on-line measuring device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102759530A CN102759530A (en) | 2012-10-31 |
CN102759530B true CN102759530B (en) | 2016-05-04 |
Family
ID=47054058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210227730.6A Active CN102759530B (en) | 2012-07-03 | 2012-07-03 | A kind of surface quality image on-line measuring device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102759530B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103344648A (en) * | 2013-07-10 | 2013-10-09 | 鞍钢股份有限公司 | Steel plate surface quality detection method and system based on GPU |
CN107767336A (en) * | 2016-08-19 | 2018-03-06 | 中国移动通信有限公司研究院 | A kind of method and device of image procossing |
CN106770321B (en) * | 2016-12-08 | 2019-07-19 | 广东工业大学 | A kind of plastic part defect inspection method based on multi-threshold section |
CN107402218A (en) * | 2017-09-25 | 2017-11-28 | 武汉华星光电技术有限公司 | Microdefect detection method, device and the equipment of CF substrates |
CN109632808B (en) * | 2018-12-05 | 2021-11-09 | 深圳大学 | Edge defect detection method and device, electronic equipment and storage medium |
CN109684948B (en) * | 2018-12-11 | 2021-07-27 | 歌尔股份有限公司 | Method, device and system for detecting mesh abnormality of object |
CN116985160A (en) * | 2019-05-07 | 2023-11-03 | 北京鼎新时代科技有限公司 | Online robot fine leveling table on rolling mill line |
CN114092748B (en) * | 2021-11-30 | 2022-06-14 | 中国科学院空天信息创新研究院 | SAR (synthetic aperture radar) unintentional interference detection method, device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1696675A (en) * | 2005-05-31 | 2005-11-16 | 哈尔滨工业大学 | Image type online flaws detection equipment in line array for surface of strip steel, and detection method |
CN102253049A (en) * | 2011-06-30 | 2011-11-23 | 东北大学 | Method for accurately detecting surface quality on line in production process of band steel |
CN102509255A (en) * | 2011-10-26 | 2012-06-20 | 苏州百滨电子科技有限公司 | High-speed image acquiring and processing method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5037166B2 (en) * | 2007-02-22 | 2012-09-26 | 新日本製鐵株式会社 | Surface flaw inspection system, surface flaw inspection method, and computer program |
CN101556251B (en) * | 2009-05-08 | 2012-02-08 | 西安理工大学 | CTP plate making quality testing method based on digital signal processor |
CN101988907A (en) * | 2010-09-16 | 2011-03-23 | 无锡动视科技有限公司 | Image processing system for surface detection of coiled material |
-
2012
- 2012-07-03 CN CN201210227730.6A patent/CN102759530B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1696675A (en) * | 2005-05-31 | 2005-11-16 | 哈尔滨工业大学 | Image type online flaws detection equipment in line array for surface of strip steel, and detection method |
CN102253049A (en) * | 2011-06-30 | 2011-11-23 | 东北大学 | Method for accurately detecting surface quality on line in production process of band steel |
CN102509255A (en) * | 2011-10-26 | 2012-06-20 | 苏州百滨电子科技有限公司 | High-speed image acquiring and processing method and device |
Non-Patent Citations (1)
Title |
---|
"冷轧带钢表面缺陷图像检测关键技术的研究";李长乐;《哈尔滨工业大学工学博士学位论文》;20110531;第18-19,21,25-26,106-109页 * |
Also Published As
Publication number | Publication date |
---|---|
CN102759530A (en) | 2012-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102759530B (en) | A kind of surface quality image on-line measuring device | |
CN104198872B (en) | Online equipment for monitoring power quality and method | |
CN103344648A (en) | Steel plate surface quality detection method and system based on GPU | |
CN101216438B (en) | Printed circuit boards coarse defect image detection method based on FPGA | |
CN104917645A (en) | Method and device for detecting message transmission overtime on line | |
CN108955901A (en) | A kind of infrared measurement of temperature method, system and terminal device | |
CN103714531A (en) | FPGA-based phase correlation method image registration system and method | |
CN105116318A (en) | Method for realizing burr detection in logic analyzer | |
US10445219B1 (en) | Extracting transaction level information from a circuit interface | |
CN205029751U (en) | Image data collection system based on CCD | |
CN205883160U (en) | Quick detection device of photovoltaic array hot spot based on infrared image handles | |
CN101221135A (en) | Printed circuit board image skeletonization method based on FPGA | |
CN109710562A (en) | A kind of configurable and high speed FPGA configuration circuit and implementation method based on SELECTMAP | |
CN115289991B (en) | Subway track deformation monitoring method and device and electronic equipment | |
CN102980527B (en) | A kind of three-dimension sensor real time high-speed data handling system based on CMOS | |
CN205829835U (en) | Image processing system for displacement transducer | |
Xu et al. | An ATCA-based high performance compute node for trigger and data acquisition in large experiments | |
CN105203045A (en) | System and method for detecting product shape integrity based on asynchronous time domain vision sensor | |
CN113077538B (en) | Method and device for establishing three-dimensional temperature and humidity cloud picture of machine room and terminal equipment | |
CN107705385A (en) | Diesel generating set method for inspecting and terminal device | |
CN103543157B (en) | Off-line strip surface image simulation dynamic collecting method and device | |
CN109740214B (en) | Method and device for constructing turnover counting model | |
CN206892323U (en) | Sonar array signal processing platform | |
Chuansheng et al. | A Novel FPGA-Based Moving Object Detection and Tracking Using Image Processing Technique | |
Huang et al. | Application of improved canny algorithm on the ic chip pin inspection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |