Learning coupled conditional random field for image decomposition with application on object categorization