An extension of local binary pattern, named Number Local binary pattern (NLBP), is presented for texture analysis. First, the method divides the patterns into uniform and non-uniform according to the uniform measure. Second, the non-uniform pattern is further divided into different groups based on the numbers of ‘1’ bits and ‘0’ bits. The experiment shows that NLBP achieves a good texture discrimination compared with the state of the art methods such as Uniform Local Binary Pattern (ULBP) and Extended Local Binary Pattern (ELBP).