Step 6: Display tresholded gray image (binary image) (display #2 operator in figure 5 and result in figure 3);
Step 7 Filter thresholded image, by opening with a disc smaller than tablets, that remove all noises at high level (morphOpen operator in figure 5);
Step 8: Display image obtained by opening (display #3 operator in figure 5 and result in figure 4.a);
Step 7: Opening the image from figure 4.a with a rectangle that inscribe in right tablets and cannot be inscribed in broken tablet (morphOpen #1 operator in figure 5);
Step 8: Display image obtained by opening with arectangle (display #4 operator in figure 5 and result in figure 4.b);
Step 9: Subtract image obtained by opening with a rectangle (figure 4.b), from filtered thresholded image (figure 4.a) (aluOp operator in figure 5);
Step 10: Display difference image (display #5 operator in figure 5 and result in figure 4.c);