A saliency map (2D image)and a segmented image(2D image) of same image is already having. On the basis of saliency map, i have to calculate average saliency for each region of segmented image.
May be i miss understood the question but you asked for an average value per region that means that you get a scalar value for each region and thus it isn't an image.
i think my question is not clear.as seen in the image, i want to show the deer and calculate the mean of region (deer only). there may be 2-3 regions in the image.So i want to show each region separately and calculate the mean of each region.