[visionlist] gif maker?

Daniele Marinazzo daniele.marinazzo at gmail.com
Wed Feb 7 10:24:45 -05 2018


You can also use mricro http://www.cabiatl.com/
mricro/mricro/movie/index.html

Or the animations described in this tutorial paper
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4648228/

Good luck
Daniele


On 07 Feb 2018 3:15 PM, "héla Hadhri" <hela.hadhri at gmail.com> wrote:

> Hey,
>
> I use imageio in Python.
>
> example : imageio.mimsave(OutputPath, ImagesList , duration)
>
> I find it very efficient.
>
> I hope it helps
>
>
> Héla HADHRI
> Doctorante au laboratoire LISTIC
> Projet ANR PHOENIX
>
>
>  +33 (0) 687 187 467 <%2B33%20%280%296%2083%2004%2058%2082>
> Hela.Hadhri at univ-smb.fr
>
> Polytech Annecy Chambéry - 5, chemin de bellevue
> 74944 Annecy-Le-Vieux, + 33(0)450 096 580
>
>
>
> 2018-02-07 12:28 GMT+01:00 Jonathan Peirce <jon.peirce at gmail.com>:
>
>> This is really easy in Python, with imageio library installed. You can
>> write a really simple script, as below.
>>
>> Using GIMP is fine but not easy to customise or repeat, because of the
>> need to go through dialog boxes etc. If you learn to do this efficiently in
>> code (Python, Matlab, Mathematica...) then you can do much more
>> "reproducible" work.  The script below is the simple version but there are
>> many ways to adapt it for, say creating a dialog box to choose the input
>> files etc.
>>
>> If you install a recent version of PsychoPy you'll have a simple editor
>> to paste in this script, as well as the imageio lib (i.e. everything you
>> need in order to run the code below.
>>
>> Jon
>>
>> #-----------------------------
>>
>> import imageio
>> import glob
>>
>> filenames = glob.glob("frames/*.png")  # creates a list of file names
>> searching this folder
>> filenames.sort()  # if you want them in alphabetical order then best to
>> do this
>> outputName = "myAnimation.gif"
>> secsPerFrame = 1/25.0  # you can provide a list instead, for 1 val per
>> frame
>> reps = 1  # 1 rep (0 for infinite loop, or some other number for fixed N
>> reps)
>>
>> outputImages = []
>> for thisFilename in filenames:
>>     print(thisFilename)
>>     frame = imageio.imread(thisFilename)
>>     outputImages.append(frame)
>>
>> imageio.mimsave(outputName, outputImages, loop=reps,
>> duration=secsPerFrame)
>> #-----------------------------
>>
>>
>>
>> On 07/02/2018 01:01, Andrew Watson wrote:
>>
>> Mathematica (and I believe Matlab) can stitch together a sequence of
>> frames to make an animated GIF.
>>
>>
>>
>> On Feb 6, 2018, at 10:54 AM, Horowitz, Todd (NIH/NCI) [E] <
>> todd.horowitz at nih.gov> wrote:
>>
>> Dear colleagues
>>
>> What software do you use for creating gif files? We want to make gifs
>> from radiological images, and our collaborators are understandably not
>> comfortable with uploading the images to online gif-creator sites. Is there
>> good desktop software for this purpose?
>>
>> thanks
>> Todd
>>
>> _______________________________________________
>> visionlist mailing list
>> visionlist at visionscience.com
>> http://visionscience.com/mailman/listinfo/visionlist_visionscience.com
>>
>>
>>
>>
>> _______________________________________________
>> visionlist mailing listvisionlist at visionscience.comhttp://visionscience.com/mailman/listinfo/visionlist_visionscience.com
>>
>>
>>
>> This message and any attachment are intended solely for the addressee
>> and may contain confidential information. If you have received this
>> message in error, please contact the sender and delete the email and
>> attachment.
>>
>> Any views or opinions expressed by the author of this email do not
>> necessarily reflect the views of the University of Nottingham. Email
>> communications with the University of Nottingham may be monitored
>> where permitted by law.
>>
>>
>>
>>
>>
>> _______________________________________________
>> visionlist mailing list
>> visionlist at visionscience.com
>> http://visionscience.com/mailman/listinfo/visionlist_visionscience.com
>>
>>
>
> _______________________________________________
> visionlist mailing list
> visionlist at visionscience.com
> http://visionscience.com/mailman/listinfo/visionlist_visionscience.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://visionscience.com/pipermail/visionlist_visionscience.com/attachments/20180207/0e4cdbe1/attachment.html>


More information about the visionlist mailing list