add sparse_image_encoder/decoder