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.
if you look up the graph based saliency toolbox in matlab on the web, you can use that to segment your region in a way that its pretty easy to just run a boxcar saliency indicator over. an example would be statistical noise via a local STDev estimate. I can point you to some change detection publications that explain the process.
rereading your other posts - why not just do a binary map of the region of interest with some morphological tool, then run a window of saliency estimates of your choice (see my prior comment) along the whole mxn matrix?