The Printed Circuit Board (PCB) manufacturing Industries have an inspection system for the defects on Surface Mounted Device (SMD).There are five types of defects, namely, missing component, misalignment,
wrong orientation of IC chip, wrong parts and poor solder joints,component rotation etc. Sometimes industries want to measure the height of the component.
Although there are many components on one PCB and as the size of PCB become smaller the the defect inspection becomes cricial. There defects are very very thin but they causes the huge [url removed, login to view] this purpose PCB inspection takes place in many PCB manufacturing industries before hand over the PCB to the customer.
To inspect the PCB; AOI (Automatic Optical Inspection) system is being used. This system has the 5 cameras (gray scale) and many LEDs. 4 cameras are in 30 degree angle and 1 is vertical over the PCB. This machine automatically loads the PCB. Images get captured by gray scale camera over the PCB. By doing some image processing we can examine whether the component is displaced or not and also the height of the component.
I have some 2D gray scale images of PCB inspection. I want to measure the height of the component (from 2D to 3D measurement). And also want to measure whether the component is displaced, rotates or not. And if it is displaced; then how many pixels it is being displaced and how much angle it is being rotated.
NOTE : For this I would like to use Open CV Image processing language. The attachment contain some example images which I want to inspect.