Compound Image Segmentation and Compression for Secure Transmission