Generic uniqueness of minimizer for Blake & Zisserman functional