Abnormally Detection In Medical Images Using Bag Of Models