Segmentation into Three Classes Using Gradients | Synapse