Contribution to Image Segmentation and Integral Image Coding