Introduction About Site Map

XML
RSS 2 Feed RSS 2 Feed
Navigation

Main Page | Blog Index

Tuesday, November 1st, 2011, 11:04 pm

Manipulating Image Sequences and Making Animations

SO, TODAY was a little dull. In the midst of boredom scripts were produced to turn a sequence of images into an animation of small size with an example of crop, border, and resize (ImageMagick required). Let’s go through this one step at a time. Put all the images from the sequence in a working directory.

mogrify -resize 25% -border 3 *

This adds a border and also resizes all images at the same time.

mogrify -crop 300x70+0+40 *

This one crops the images in accordance with the coordinates given (width, height, horizontal offset, vertical offset). Once everything is processed:

animate *

Save the resultant animation as GIF, for example (there are other options). Here is a sample:

Person in 3-D

That specific animation provides insight into variability of surfaces on which geodesic measures are taken. For particular cases, detection is made harder by motion around the eyes (including closure), but this is one of the caveats of dealing with surfaces of these kinds. It would be easier with biomedical data.

Technical Notes About Comments

Comments may include corrections, additions, citations, expressions of consent or even disagreements. They should preferably remain on topic.

Moderation: All genuine comments will be added. If your comment does not appear immediately (a rarity), it awaits moderation as it contained a sensitive word or a URI.

Trackbacks: The URI to TrackBack this entry is:

https://schestowitz.com/Weblog/archives/2011/11/01/making-animations/trackback/

Syndication: RSS feed for comments on this post RSS 2

    See also: What are feeds?, Local Feeds

Comments format: Line and paragraph breaks are automatic, E-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Back to top

Retrieval statistics: 21 queries taking a total of 0.130 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|