<<Prev 1 2 3 4 5 6 7 Next>>
Image Cleanup
First off you will notice that within the image the digits are black. In order to process them correctly
going forward we need to be manipulating white objects as RoboRealm considers white pixels as foreground and
black ones as background. All the following modules use this assumption as the basis for their processing. To
remedy this situation we simply invert the image. Using the negative module.
Now that the digits are in the correct color we can continue by removing all blobs (connected pixel groups)
that are smaller than 70 pixels. The choice of 70 is largely arbitrary but it should be a number where most
of the smaller insignificant objects are removed. The actual size will naturally depend on your situation.
The digits are now appearing more clearly but due to the original low lighting that the image was taken in the
border of the digits is not very smooth. To smooth things out a little we use
the Smooth Hull module to round out the digits' shapes.
But you will notice that we still have a rather big issue. The digits themselves are broken into two blobs. In order
to best match blobs we need to combine the digits into a single blob ...
<<Prev 1 2 3 4 5 6 7 Next>>
|