Indeed, a small rotation of the same analysis window generates a different NBP code. In order to deal with the rotation problem of the NBP method, we proposed an encoding process. This encoding process starts relatively from the higher neighbor of the analysis window.Thus, even if the pattern is rotated, the encoding process gives the same code. This encoding process is illustrated in Fig4.