•the link should follow the intensity edge
–want intensity to change rapidly ^ to the link
–
• c »  –         |intensity of r – intensity of s|
•
Defining the costs
Want to hug image edges:  how to define cost of a link?
p
q
c
Edittex
r
s