Texture based Segmentation Approches for Medical Images: Basics, Concepts, Design and Implementation of algorithms, comparisons of algorithms