The image encoding and decoding method and apparatus

The image encoding and decoding method and apparatus are disclosed. The decoding method, the real of the block the block pattern of the block by using a virtual block pattern and the Assumed block pattern given of the block one or more guess by the block patterns of neighboring blocks (a) step and the block of preferably it comprises a step (b) to obtain the block pattern.