The image processing apparatus according to any one of (1) through (7), further including:
a prediction selector that selects a predicted image of either an intra-prediction or an inter-prediction;
in which the prediction selector selects the predicted image of the inter-prediction to calculate the predicted residual in case the transformation skip mode is selected in the inter-prediction.
(9)
The image processing apparatus according to (8), in which
the prediction selector selects the predicted image of either the intra-prediction or the inter-prediction on the basis of a costs of the inter-prediction and a cost of the intra-prediction in case the transformation skip mode is not selected in the inter-prediction.
(10)
The image processing apparatus according to (8) or (9), in which
the prediction selector selects the predicted image of the inter-prediction in case the transformation skip mode is selected for a transform unit of 4×4 pixels in the inter-prediction.
(11)
The image processing apparatus according to any one of (1) through (10), in which
the predicted residual represents the difference between a predicted image generated on the basis of an image as a target to be coded and the decoded image, and the image as the target to be coded.