Segmentation of component

asked 2017-02-14 09:01:23 -0500

horczech gravatar image

updated 2017-02-14 09:02:46 -0500

I am trying to segment a QFN package on the xray image of the PCB image. The general description of QNF package is that square or rectangule in the centre with the rectangular pins on the edge. The example is on this image (replace '(dot)' with '.' ): https://goo(dot)gl/photos/LSVcXwA2e3yPh8gj9 (https://goo(dot)gl/photos/LSVcXwA2e3y...)

I can segment the rectangles on the xray image quite good but (see this image https://goo(dot)gl/photos/vSdD43ZjekF7mnxbA (https://goo(dot)gl/photos/vSdD43ZjekF...)

I dont know how to write the condition to segment only the QFN package. The package can be square or rectangle and can have different number of pins on the edge. Do you have any idea?

edit retag flag offensive close merge delete