majority: assigns the majority value. A pixel gets the majority value of its 3x3 neighbourhood. command : majority bitplane, edge, im default : majority 1 , 0 , B range : <1,8> ,<0,1>