implemented basic version of segmentation with manual threshold
implemented otsu (testat02)