Gist 1ec7d82931c03d4134419af0ccfdd985
✓ Published0🌍 Public
Aakeshavan
Last edited Oct 13, 2017
Created on Oct 13, 2017
This visualization demonstrates a synthetic image-segmentation experiment using TensorFlow and Keras, where a binary mask of a filled circle is generated with the skimage.draw.circle function and displayed via matplotlib. The notebook focuses on computing the Hausdorff distance metric between predicted and ground-truth segmentation masks, using Keras backend operations to implement the distance calculation. The visualization shows the input circle image as a matplotlib axes image, illustrating how the metric is applied to evaluate segmentation quality. The code imports TensorFlow, NumPy, Keras backend, and matplotlib inline, establishing a workflow for comparing segmentation outputs against reference shapes.
AI-generated description