Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: Resize or Scaling -- IM v6 Examples. You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

Resize or Scaling -- IM v6 Examples
by possibly noteworthy at 7:02 am EDT, May 21, 2008

ImageMagick gets seam carving.

Just as Sampling an image resizes by directly removing or duplicating whole columns and rows from an image, the special IM operator "-liquid-rescale" also removes or duplicates columns and rows of pixels from an image to reduce/enlarge an image. The difference is that it tries to do so in a more intelegent manner.

First the instead of removing a simple line of pixels, it removes a 'seam' of pixels. That is the column (or row) that could zig-zag through the image, at angles up to 45 degrees.

Secondly it trys to remove seams that have the 'least importance' in terms of the images contents. How it selects this is in terms of the images energy, or more simply, the amount of color changes a particular 'seam' involves. The 'seam' with the least amount of changes will be removed first, followed by higher 'energy' seams, until the image is the size desired.


 
RE: Resize or Scaling -- IM v6 Examples
by Dagmar at 7:05 pm EDT, May 21, 2008

possibly noteworthy wrote:
ImageMagick gets seam carving.

Just as Sampling an image resizes by directly removing or duplicating whole columns and rows from an image, the special IM operator "-liquid-rescale" also removes or duplicates columns and rows of pixels from an image to reduce/enlarge an image. The difference is that it tries to do so in a more intelegent manner.

First the instead of removing a simple line of pixels, it removes a 'seam' of pixels. That is the column (or row) that could zig-zag through the image, at angles up to 45 degrees.

Secondly it trys to remove seams that have the 'least importance' in terms of the images contents. How it selects this is in terms of the images energy, or more simply, the amount of color changes a particular 'seam' involves. The 'seam' with the least amount of changes will be removed first, followed by higher 'energy' seams, until the image is the size desired.

Why do ImageMagick demos always use the UGLIEST graphics possible?


 
 
Powered By Industrial Memetics