1. An apparatus for expediting post-processing of an object in an image being segmented using a mesh, comprising: a processor programmed to: receive an identification of a post-processing task to be performed upon the object after segmentation using the mesh; receive a determination of information including a probability function representing a probability of usefulness of each triangle or vertex of the mesh for the post-processing task; encode the information on the mesh; segment the object in a new image using the mesh with encoded information; and perform the post-processing task by extracting the encoded information from the mesh.