ENH: Add SingleValuedCostFunctionImageSource.
Merge pull request #218 from thewtex/costfunction-image

ENH: Add SingleValuedCostFunctionImageSource.