Dynamic programming approach for context classification using the Markov random field | IEEE Conference Publication | IEEE Xplore