Image based classification platform: Application to breast cancer diagnosis