Finally it’s time to show something off. No more boring talk about things happening too slow and that I work behind the scenes with nothing that can be showed off. Now finally something to show off beginning of the work and how the program will do its comparison. I haven’t done the transforms myself, I am using OpenCV for this, but now I can practically show it. I expect by end of week have a “simple” image comparison to show off, using Hu Invariants.
First this is how the picture looks like before anything is done with it. It’s my pretty debug picture I talked about before.
This is how it looks like after I have transformed it into grey scale instead.
The grey scale picture is then turned into a binary image, by using adaptive thresholding. The thresholding adapts pixel for pixel, and compare it to it’s neighbours for a thresholding. It gives off some sort of contours, and removes noise in the picture. Probably lots of work can be put here to ensure the thresholding have good parameters or even tests a few different for best result.
The binary image is then used to take out the contours of the image. The contours can then be used to create Central moments and with that Hu invariants. Using Hu invariants two shapes can then be compared to each other, independant of roation. This steps shown off right now is just the basic first steps, required for more complex things, and does not really show off any work I have done, it’s just graphical and thus is easy to show. I hope that by end of week have something more exciting to show off that shows off something I have actually done and not just showing that I can make a library run.