Maven module :un.api : api-image :
Class : un.impl.image.process.Carving
Extends/Implements : -
Subclasses : -

Reduce the height of an image, using the minimum energy path method.

(cf. "Content Aware Image Resizing" by Avidan, S. & Shamir, A.)

@author Xavier Philippeau
@author Johann Sorel (UN project adaptation)


Variables : -
Functions : Carving, getImage, reduceHeight




Constructor
param  bimg the image to resize
public void Carving (Image bimg)


return  the current image
public Image getImage ()


Reduce the image height
param  newheight new height of the image
public void reduceHeight (int newheight)