The goal was to resize a poster containing a panel with fixed margins in relation to the size of the poster. This panel contains an image and the final goal is to keep the most salient part of the image in focus.


I designed an algorithm to compute the most salient point of an image using the saliency map and image moments. Then, I compute the right size and position of the image in the new poster in order to have the most salient part of the image always in the focus, even for extreme poster aspect ratio.