As in the overview section it is mention over there too that we took a sample image and there were two circle type objects in it as you can see the image below in Figure 1.1,which were very near to eachother and the image was in RGB(Red Green Blue) or colourful state quality in which you can't see the outlines of the circles because in the image there were some cracks and the objects were made of glass. Shining was also a big problem.So, in solution of these problems we changed the RGB image to YUV intensity image(Black & White) as it was easier to deal with the image in this quality.
When we convert RGB form to YUV intensity image we get an image in black & white quality basically you can see that in Figure 1.2.
(Figure 1.2)
Still YUV image was not good enough and we couldn't get the edges clearly. Then for the next step we changed the image to the binary format and we could only identify the edges one by one.Firstly, for the first object and then for the second.We used many methods to convert the format of the image to binary.
The very first method we used was OTSU method which is used for the reduction of a graylevel image to a binary image and we were working to sort out first for one object and then we could repeat the same method again for the second object.You can see the result we got after implementing the OTSU method in Figure 1.3.
This method does the same job what we were required to do but doesn't do that much in our case.So we moved further and then we tried "Global threshold method" in which we got the average threshold value equal to 0.517 and its result can be seen below in Figure 1.4.
(Figure 1.4)
As you can see that there are some interferential parts around the edge of two patterns so this method was also not working for us.
No comments:
Post a Comment