A method for processing an intra prediction mode for blocks of an image, the blocks having multiple sizes, wherein a block in each size corresponds to one determined intra prediction mode value range, the method comprising: determining (110, 210, 310) whether an intra prediction mode of each neighboring block in multiple neighboring blocks of a current block is applicable to the current block; and obtaining (120, 220, 320) multiple mapped intra prediction modes of the current block according to a result of the determining, wherein the obtaining (120, 220, 320) multiple mapped intra prediction modes comprises: • if it is determined that an intra prediction mode of a neighboring block is applicable to the current block, setting the intra prediction mode of the neighboring block as a mapped intra prediction mode of the current block, and • if it is determined that the intra prediction mode of the neighboring block is not applicable to the current block, setting a specific intra prediction mode as the mapped intra prediction mode of the current block, wherein the specific intra prediction mode is a direct current prediction mode or a planar prediction mode; and wherein the determining (110, 210, 310) whether an intra prediction mode of each neighboring block in multiple neighboring blocks of a current block is applicable to the current block comprises: • when the value of the intra prediction mode of the neighboring block is within the determined intra prediction mode value range of the current block, determining that the intra prediction mode of the neighboring block is applicable to the current block; and • when the value of the intra prediction mode of the neighboring block is not within the determined intra prediction mode value range of the current block, determining that the intra prediction mode of the neighboring block is not applicable to the current block. determining (110, 210, 310) whether an intra prediction mode of each neighboring block in multiple neighboring blocks of a current block is applicable to the current block; and obtaining (120, 220, 320) multiple mapped intra prediction modes of the current block according to a result of the determining, wherein the obtaining (120, 220, 320) multiple mapped intra prediction modes comprises: • if it is determined that an intra prediction mode of a neighboring block is applicable to the current block, setting the intra prediction mode of the neighboring block as a mapped intra prediction mode of the current block, and • if it is determined that the intra prediction mode of the neighboring block is not applicable to the current block, setting a specific intra prediction mode as the mapped intra prediction mode of the current block, wherein the specific intra prediction mode is a direct current prediction mode or a planar prediction mode; • if it is determined that an intra prediction mode of a neighboring block is applicable to the current block, setting the intra prediction mode of the neighboring block as a mapped intra prediction mode of the current block, and • if it is determined that the intra prediction mode of the neighboring block is not applicable to the current block, setting a specific intra prediction mode as the mapped intra prediction mode of the current block, wherein the specific intra prediction mode is a direct current prediction mode or a planar prediction mode; and wherein the determining (110, 210, 310) whether an intra prediction mode of each neighboring block in multiple neighboring blocks of a current block is applicable to the current block comprises: • when the value of the intra prediction mode of the neighboring block is within the determined intra prediction mode value range of the current block, determining that the intra prediction mode of the neighboring block is applicable to the current block; and • when the value of the intra prediction mode of the neighboring block is not within the determined intra prediction mode value range of the current block, determining that the intra prediction mode of the neighboring block is not applicable to the current block. • when the value of the intra prediction mode of the neighboring block is within the determined intra prediction mode value range of the current block, determining that the intra prediction mode of the neighboring block is applicable to the current block; and • when the value of the intra prediction mode of the neighboring block is not within the determined intra prediction mode value range of the current block, determining that the intra prediction mode of the neighboring block is not applicable to the current block.