Patent ID: 8780981
Filing Date: 2014-07-15
Classification: H04N

Abstract:
1. An image coding method of coding an input block included in an image, the image coding method comprising: generating a predicted block by predicting the input block; calculating a residual block by subtracting the predicted block from the input block; calculating quantized coefficients by performing transform and quantization on the residual block; calculating a coded residual block by performing inverse quantization and inverse transform on the quantized coefficients; generating a temporary coded block by adding the coded residual block to the predicted block; determining whether or not an offset process for correcting an error included in the temporary coded block is required, to generate first flag information indicating a result of the determination, the error being caused by the quantization in the calculating of quantized coefficients; executing the offset process on the temporary coded block when it is determined in the determining that the offset process is required; and performing variable-length coding on the quantized coefficients and the first flag information.