Impelemented direct labelling method for binary labelling