Automatic segmentation of hippocampus in histological images of mouse brains using deformable models and random forest