A non-transitory recording medium in which a program for causing a computer of the image processing device to implement each step of an image processing method is recorded, the image processing method comprising:
- first decoding of decoding the image data that has been encoded and thereby generating decoded image data;
- second decoding of decoding the map data that has been encoded and thereby generating decoded map data;
- shaping by performing a shaping process to the decoded map data with reference to the decoded image data, wherein the shaping process includes an edge-preserved filtering process using coefficients generated based on the decoded image data;
- and
- image processing of performing image processing to the decoded image data with reference to the decoded map data that has been processed for shaping in the shaping.