The image processing apparatus further includes 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 that indicates the difference with an image as a target to be coded in case the transformation skip mode is selected in an optimum mode in the inter-prediction, e.g., in case the transformation skip mode is selected in a transform unit of 4×4 pixels. In case the transformation skip mode is not selected is an optimum mode is the inter-prediction, the prediction selector selects the predicted image of either the intra-prediction or the inter-prediction on the basis of costs of the inter-prediction and the intra-prediction.
According to a second aspect of the present technology, there is provided an image processing method including:
performing a filter process for applying an offset to pixels of a decoded image; and
inhibiting the offset from being applied to an edge portion depending on occurrence of a transform unit in a transformation skip mode in which orthogonal transformation is not performed on a predicted residual.