12.07.2015 Views

Neural Networks - Algorithms, Applications,and ... - Csbdu.in

Neural Networks - Algorithms, Applications,and ... - Csbdu.in

Neural Networks - Algorithms, Applications,and ... - Csbdu.in

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

112 BackpropagationAutomatic Pa<strong>in</strong>t QA System Concept. To automate the pa<strong>in</strong>t <strong>in</strong>spection process,a video system was easily substituted for the human visual system. However,we were then faced with the problem of try<strong>in</strong>g to create a BPN to exam<strong>in</strong>e<strong>and</strong> score the pa<strong>in</strong>t quality given the video <strong>in</strong>put. To accomplish the exam<strong>in</strong>ation,we constructed the system illustrated <strong>in</strong> Figure 3.10. The <strong>in</strong>put video imagewas run through a video frame-grabber to record a snapshot of the reflected laserimage. This snapshot conta<strong>in</strong>ed an image 400-by-75 pixels <strong>in</strong> size, each pixelstored as one of 256 values represent<strong>in</strong>g its <strong>in</strong>tensity. To keep the size of thenetwork needed to solve the problem manageable, we elected to take 10 sampleimages from the snapshot, each sample consist<strong>in</strong>g of a 30-by-30-pixel squarecentered on a region of the image with the brightest <strong>in</strong>tensity. This approachallowed us to reduce the <strong>in</strong>put size of the BPN to 900 units (down from the30,000 units that would have been required to process the entire image). Thedesired output was to be a numerical score <strong>in</strong> the range of 1 through 20 (a1 represented the best possible pa<strong>in</strong>t f<strong>in</strong>ish; a 20 represented the worst). Toproduce that type of score, we constructed the BPN with one output unit—thatunit produc<strong>in</strong>g a l<strong>in</strong>ear output that was <strong>in</strong>terpreted as the scaled pa<strong>in</strong>t score.Internally, 50 sigmoidal units were used on a s<strong>in</strong>gle hidden layer. In addition,the <strong>in</strong>put <strong>and</strong> hidden layers each conta<strong>in</strong>ed threshold ([9]) units used to bias theunits on the hidden <strong>and</strong> output layers, respectively.Once the network was constructed (<strong>and</strong> tra<strong>in</strong>ed), 10 sample images weretaken from the snapshot us<strong>in</strong>g two different sampl<strong>in</strong>g techniques. In the firsttest, the samples were selected r<strong>and</strong>omly from the image (<strong>in</strong> the sense that theirposition on the beam image was r<strong>and</strong>om); <strong>in</strong> the second test, 10 sequentialsamples were taken, so as to ensure that the entire beam was exam<strong>in</strong>ed. 4 Inboth cases, the <strong>in</strong>put sample was propagated through the tra<strong>in</strong>ed BPN, <strong>and</strong> thescore produced as output by the network was averaged across the 10 trials. Theaverage score, as well as the range of scores produced, were then provided tothe user for comparison <strong>and</strong> <strong>in</strong>terpretation.Tra<strong>in</strong><strong>in</strong>g the Pa<strong>in</strong>t QA Network. At the time of the development of this application,this network was significantly larger than any other network we had yettra<strong>in</strong>ed. Consider the size of the network used: 901 <strong>in</strong>puts, 51 hiddens, 1 output,produc<strong>in</strong>g a network with 45,101 connections, each modeled as a float<strong>in</strong>g-po<strong>in</strong>tnumber. Similarly, the unit output values were modeled as float<strong>in</strong>g-po<strong>in</strong>t numbers,s<strong>in</strong>ce each element <strong>in</strong> the <strong>in</strong>put vector represented a pixel <strong>in</strong>tensity value(scaled between 0 <strong>and</strong> 1), <strong>and</strong> the network output unit was l<strong>in</strong>ear.The number of tra<strong>in</strong><strong>in</strong>g patterns with which we had to work was a functionof the number of control pa<strong>in</strong>t panels to which we had access (18), as well as ofthe number of sample images we needed from each panel to acquire a relativelycomplete tra<strong>in</strong><strong>in</strong>g set (approximately 6600 images per panel). Dur<strong>in</strong>g tra<strong>in</strong><strong>in</strong>g,4 Results of the tests were consistent with scores assessed for the same pa<strong>in</strong>t panels by the humanexperts, with<strong>in</strong> a relatively m<strong>in</strong>or error range, regardless of the sample-selection technique used.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!