Liquid Resize, IM Examples, and future development.
Posted: 2008-02-03T18:00:11-07:00
I have places my own 'small' but initial testing of Liquid Rescaling into IM Examples. Should appear in a couple of hours.
Liquid Rescale - Seam Carving
http://imagemagick.org/Usage/resize/#liquid-rescale
This includes an animation, though the animation was done using repeated operations, rather than the use of a 'universal LQR filter image'.
The Next Step
The next step I think would be for a user preservation/removal mask though that should be either an different or expanded option.
For example, I would leave -liquid-rescale as a SIMPLE option for users to liquid resize multiple images, just as a normal -resize does.
But I would add a new 'expert LQR' option such as
-lqr 'mask'
whcih will let you take two images in the current image sequence, the second being some for of mask image to preferentially preserve/remove parts of the first image.
Actually you could make -liquid-rescale a simple user interface alias for say -lqr 'image_list' for completeness, just as -flatten is now a alias for -layers flatten.
Later -lqr options can interface with other expert controls of the LQR library. for example extract/use an energy function, seam removal order images, direct use of seam carving (horizontal, and vertical pixel seam removal), and so on.
This will allow a more control than the basic LQR operations, yet keep it simple for general users.
Liquid Rescale - Seam Carving
http://imagemagick.org/Usage/resize/#liquid-rescale
This includes an animation, though the animation was done using repeated operations, rather than the use of a 'universal LQR filter image'.
The Next Step
The next step I think would be for a user preservation/removal mask though that should be either an different or expanded option.
For example, I would leave -liquid-rescale as a SIMPLE option for users to liquid resize multiple images, just as a normal -resize does.
But I would add a new 'expert LQR' option such as
-lqr 'mask'
whcih will let you take two images in the current image sequence, the second being some for of mask image to preferentially preserve/remove parts of the first image.
Actually you could make -liquid-rescale a simple user interface alias for say -lqr 'image_list' for completeness, just as -flatten is now a alias for -layers flatten.
Later -lqr options can interface with other expert controls of the LQR library. for example extract/use an energy function, seam removal order images, direct use of seam carving (horizontal, and vertical pixel seam removal), and so on.
This will allow a more control than the basic LQR operations, yet keep it simple for general users.