An image processing apparatus comprising: one or more processors; and one or more memories including computer program instructions wherein the one or more memories and the computer program instructions are configured to, with the one or more processors, cause the apparatus at least to: obtain a first image with first depth information, the first image comprising for each pixel RGB color model levels and first depth values; obtain a second image with second depth information; detect regions of interest in the first image; segment the regions of interest (500, 502, 504, 506) from the first image with the first depth information into individual depth layers; perform image compensation for each of the individual depth layers according to the first depth information so that in image compensated individual depth layers a perspective and/or a viewpoint of the first image is modified more similar with the second image by applying at least one of the following: 3D transformation, tilting, and scaling; calculate an average depth of each of the individual depth layers of the depth values of pixels; and render the individual depth layers of the regions of interest from the first image, which are image compensated with the second image utilizing the average depth information and the second depth information, in order to produce a composite image. one or more processors; and one or more memories including computer program instructions wherein the one or more memories and the computer program instructions are configured to, with the one or more processors, cause the apparatus at least to: obtain a first image with first depth information, the first image comprising for each pixel RGB color model levels and first depth values; obtain a second image with second depth information; detect regions of interest in the first image; segment the regions of interest (500, 502, 504, 506) from the first image with the first depth information into individual depth layers; perform image compensation for each of the individual depth layers according to the first depth information so that in image compensated individual depth layers a perspective and/or a viewpoint of the first image is modified more similar with the second image by applying at least one of the following: 3D transformation, tilting, and scaling; calculate an average depth of each of the individual depth layers of the depth values of pixels; and render the individual depth layers of the regions of interest from the first image, which are image compensated with the second image utilizing the average depth information and the second depth information, in order to produce a composite image. obtain a first image with first depth information, the first image comprising for each pixel RGB color model levels and first depth values; obtain a second image with second depth information; detect regions of interest in the first image; segment the regions of interest (500, 502, 504, 506) from the first image with the first depth information into individual depth layers; perform image compensation for each of the individual depth layers according to the first depth information so that in image compensated individual depth layers a perspective and/or a viewpoint of the first image is modified more similar with the second image by applying at least one of the following: 3D transformation, tilting, and scaling; calculate an average depth of each of the individual depth layers of the depth values of pixels; and render the individual depth layers of the regions of interest from the first image, which are image compensated with the second image utilizing the average depth information and the second depth information, in order to produce a composite image. 3D transformation, tilting, and scaling; calculate an average depth of each of the individual depth layers of the depth values of pixels; and render the individual depth layers of the regions of interest from the first image, which are image compensated with the second image utilizing the average depth information and the second depth information, in order to produce a composite image.