1. An encoding apparatus for encoding first and second views of a high dynamic range (HDR) image, the apparatus comprising: first and second receivers configured to receive the first and second views; a first view predictor configured to predict the first view by automatically generating a mapping function in response to an input from a low dynamic range (LDR) representation of the first view and a corresponding reference HDR image, and the automatically generated mapping function that is also applicable for use in predicting the first view of consecutive HDR images of a same scene; and a second view predictor configured to predict the second view from at least one of the first view, an LDR representation of the second view, and an LDR representation of the first view.