An image processing device comprising: a syntax processing section acquiring header information from an encoded stream, said syntax processing section comprising: a parameter acquiring section comprising: means for acquiring from a first quantization matrix parameter set, QMPS, included in said encoded stream, a first QMPS identifier assigned to said first QMPS, a QMPS being different from a sequence parameter set and a picture parameter set; means for acquiring a second QMPS identifier from said first QMPS; said syntax processing section further comprising a setting section for setting a quantization matrix of said first QMPS, said setting section comprising: means for checking whether said first QMPS identifier and said second QMPS identifier are equal; means for setting said quantization matrix of said first QMPS equal to a predefined default quantization matrix in the case that said first and second identifiers are equal; means for setting said quantization matrix of said first QMPS by copying a source quantization matrix of a previously decoded QMPS identified by said second QMPS identifier in the case that said first and second identifiers are not equal; said image processing device further comprising: a lossless decoding section for decoding quantization data from said encoded stream; and an inverse quantization section configured to inversely quantize the quantized data using the quantization matrix of said first QMPS. a syntax processing section acquiring header information from an encoded stream, said syntax processing section comprising: a parameter acquiring section comprising: means for acquiring from a first quantization matrix parameter set, QMPS, included in said encoded stream, a first QMPS identifier assigned to said first QMPS, a QMPS being different from a sequence parameter set and a picture parameter set; means for acquiring a second QMPS identifier from said first QMPS; a parameter acquiring section comprising: means for acquiring from a first quantization matrix parameter set, QMPS, included in said encoded stream, a first QMPS identifier assigned to said first QMPS, a QMPS being different from a sequence parameter set and a picture parameter set; means for acquiring a second QMPS identifier from said first QMPS; means for acquiring from a first quantization matrix parameter set, QMPS, included in said encoded stream, a first QMPS identifier assigned to said first QMPS, a QMPS being different from a sequence parameter set and a picture parameter set; means for acquiring a second QMPS identifier from said first QMPS; said syntax processing section further comprising a setting section for setting a quantization matrix of said first QMPS, said setting section comprising: means for checking whether said first QMPS identifier and said second QMPS identifier are equal; means for setting said quantization matrix of said first QMPS equal to a predefined default quantization matrix in the case that said first and second identifiers are equal; means for setting said quantization matrix of said first QMPS by copying a source quantization matrix of a previously decoded QMPS identified by said second QMPS identifier in the case that said first and second identifiers are not equal; means for checking whether said first QMPS identifier and said second QMPS identifier are equal; means for setting said quantization matrix of said first QMPS equal to a predefined default quantization matrix in the case that said first and second identifiers are equal; means for setting said quantization matrix of said first QMPS by copying a source quantization matrix of a previously decoded QMPS identified by said second QMPS identifier in the case that said first and second identifiers are not equal; means for setting said quantization matrix of said first QMPS equal to a predefined default quantization matrix in the case that said first and second identifiers are equal; means for setting said quantization matrix of said first QMPS by copying a source quantization matrix of a previously decoded QMPS identified by said second QMPS identifier in the case that said first and second identifiers are not equal; said image processing device further comprising: a lossless decoding section for decoding quantization data from said encoded stream; and an inverse quantization section configured to inversely quantize the quantized data using the quantization matrix of said first QMPS. a lossless decoding section for decoding quantization data from said encoded stream; and an inverse quantization section configured to inversely quantize the quantized data using the quantization matrix of said first QMPS.