How to implement a conditional random field based energy function from images?

爷,独闯天下 提交于 2019-12-06 12:43:14

问题


I am trying to implement some segmentation tool for my images, and I am trying to use conditional random field (CRF) based method. For example, in this paper.

The standard CRF energy function includes two parts, i.e., a unary potential and a pairwise potential

where L are the class labels and X are the observations (image pixels).

I have got some training image with labels of the objects in the image. For example, I have got the ground truth segmentation of the objects in the image with labels.

If I want to use texture of these objects as the feature, I am wondering how to implement and do the training of this energy function? For example, the unary term can be represented by

where v_texture is a vectorised texture feature of each labelled object.

My question is how to implement this log probability function? Using histogram? Thanks. A.

来源:https://stackoverflow.com/questions/24428296/how-to-implement-a-conditional-random-field-based-energy-function-from-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!