An image processing device, comprising: an image dividing unit configured to divide an input image into a plurality of image sections; an encoding unit configured to independently encode each of the image sections, and generate a first code stream including a plurality of code sections corresponding to the image sections; and an editing unit configured to edit one of the code sections in the first code stream, and generate a second code stream based on the edited code section, characterized in that: the editing unit comprises an index changing unit configured to change an index indicating a position of one of the image sections from the first code stream and output the second code stream with one of the image sections from the first code stream having the changed index; and: the index changing unit is configured to change the index indicating the position of the one of the image sections to a value that sets the position of the image section out of the region of the input image, such that a code section corresponding to the image section remains in the second code stream but the image section will not appear as part of any reproduced image. an image dividing unit configured to divide an input image into a plurality of image sections; an encoding unit configured to independently encode each of the image sections, and generate a first code stream including a plurality of code sections corresponding to the image sections; and an editing unit configured to edit one of the code sections in the first code stream, and generate a second code stream based on the edited code section, characterized in that: the editing unit comprises an index changing unit configured to change an index indicating a position of one of the image sections from the first code stream and output the second code stream with one of the image sections from the first code stream having the changed index; and: the index changing unit is configured to change the index indicating the position of the one of the image sections to a value that sets the position of the image section out of the region of the input image, such that a code section corresponding to the image section remains in the second code stream but the image section will not appear as part of any reproduced image. the editing unit comprises an index changing unit configured to change an index indicating a position of one of the image sections from the first code stream and output the second code stream with one of the image sections from the first code stream having the changed index; and: the index changing unit is configured to change the index indicating the position of the one of the image sections to a value that sets the position of the image section out of the region of the input image, such that a code section corresponding to the image section remains in the second code stream but the image section will not appear as part of any reproduced image. the index changing unit is configured to change the index indicating the position of the one of the image sections to a value that sets the position of the image section out of the region of the input image, such that a code section corresponding to the image section remains in the second code stream but the image section will not appear as part of any reproduced image.