Special Object Extraction from Medieval Books Using Superpixels and Bag-of-Features (BoF)