Shape Extraction Via Heat Flow Analogy