Defining the costs
q
c
p
Want to hug image edges:  how to define cost of a link?
the link should follow the intensity edge