Optimal MAP Parameters Estimation in STAPLE Using Local Intensity Similarity Information