As you can see above the topic is "Determination of the image of an object" and topic itself is telling us what you are suppose to do. We took a sample image and there were two circle type objects in it as you can see the image below in Figure 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.
(Figure 1)
After converting it into YUV intensity the next task was to find out the radius and centre of both the objects, first by removing one of the object from the image and vice versa. We were unable to find out the edge of the objects still even you converted it to YUV intensity. For that purpose, we then added Gaussian noise through which we could see the edge of the objects a bit clear than before. Moving forward, we used filter and implemented convolution to see edge more clearer. At last, we used Sobel Operator in codes to detect the edge to the best form.
Now the next task was to find the circles for both objects, as we were interested to find out the center and radius of the objects, for that purpose we used Hough Transformation so that we can have the circles for both the objects so that we may get the center and radius of the circles.After implementing Hough's transformation we took approximately five close values both from the x-axis and y-axis and averaged them out for having the best possible center value.After getting the values we can now easily gap region length between both the objects and that's what we were supposed to do.
(Figure 1)
After converting it into YUV intensity the next task was to find out the radius and centre of both the objects, first by removing one of the object from the image and vice versa. We were unable to find out the edge of the objects still even you converted it to YUV intensity. For that purpose, we then added Gaussian noise through which we could see the edge of the objects a bit clear than before. Moving forward, we used filter and implemented convolution to see edge more clearer. At last, we used Sobel Operator in codes to detect the edge to the best form.
Now the next task was to find the circles for both objects, as we were interested to find out the center and radius of the objects, for that purpose we used Hough Transformation so that we can have the circles for both the objects so that we may get the center and radius of the circles.After implementing Hough's transformation we took approximately five close values both from the x-axis and y-axis and averaged them out for having the best possible center value.After getting the values we can now easily gap region length between both the objects and that's what we were supposed to do.